Skip to content

docs(code-tidying): label batch-simplify routing fallbacks as local choices - #11785

Merged
kyle-sexton merged 2 commits into
mainfrom
docs/6916-w5-code-tidying-pointers
Nov 1, 2026
Merged

kyle-sexton merged 2 commits into
mainfrom
docs/6916-w5-code-tidying-pointers

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Refs: #6916

Summary

Wave 5 findings from the #6916 drift sweep in the code-tidying plugin (wave D, 2 findings). Both were re-read at main b0e26671d3.

Fix

  • batch-simplify/SKILL.md Phase 6: the fallback used when /multi-agent:route does not resolve (opus for a frontier or unknown session, effort medium) is labeled as this skill's stand-in for the worker role map and fan-out guard, not an upstream default.
  • batch-simplify/context/repo-mode.md: the verifier fallback at high is labeled the same way.
  • Patch fragment for code-tidying. No value changed.

Verification

  • scripts/check-affected.sh --tests on the committed head: 14 passed, 2 skipped.

Remaining on #6916

This pull request delivers one plugin's share of wave 5. Still open on the issue:

Related

🤖 Generated with Claude Code

…hoices

Wave 5 findings from the #6916 drift sweep in the code-tidying plugin. The
simplifier and verifier fallbacks used when /multi-agent:route does not
resolve are this skill's stand-in for the role map, not upstream defaults.

Refs: #6916

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 1, 2026 01:56
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T01:58:24.626656Z 6015f4b Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed de76728185c67b1abb15bbfa23ca324237c9957d: read 3 of 3 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #11785

I found no security issues in this pull request.

I read every hunk in all 3 changed files:

  • .changes/code-tidying/docs-6916-w5-code-tidying-labels-e19b07d5.md: a new changelog fragment.
  • plugins/code-tidying/skills/batch-simplify/SKILL.md: one line in Phase 6 step 2.
  • plugins/code-tidying/skills/batch-simplify/context/repo-mode.md: one sentence extended.

What changed: both skill edits add a sentence. It says the routing fallback is this skill's own stand-in for the /multi-agent:route role map, not an upstream default. The fallback is opus for a frontier or unknown session model, at effort medium for simplifiers and high for repo-mode verifiers. No model, effort, agent ladder rung, tool grant or prompt content changed. The existing instruction to say in the report that the multi-agent plugin makes routing configurable is kept word for word.

Instruction-surface check: the skill body is a standing instruction, so I checked it under that lens. The diff adds text and does not delete, narrow or soften any rule. Nothing that a protected class depends on was removed, so I did not need the instruction exception register.

Trusted paths and trust controls: no changed file matches a TRUSTED PATHS: glob. No plugin manifest, workflow, trusted-actor list, token request, kill switch or merge hold is touched.

PR context: the description matches the diff ("No value changed"). It contains no instructions aimed at the review lane.

Spend: none. Model and effort values are the same as before.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed de76728185c67b1abb15bbfa23ca324237c9957d: read 3 of 3 changed file(s); 0 finding(s), 0 as inline comments.

Code review: PR #11785

No findings. I read every hunk of all 3 changed files. None of them is on a trusted path.

The pull request adds two explanatory phrases and doesn't change any value:

  • plugins/code-tidying/skills/batch-simplify/SKILL.md (Phase 6): the simplifier fallback (opus when the session model is frontier or unknown, effort medium) is now labeled as this skill's stand-in for the worker role map and fan-out guard in /multi-agent:route, not an upstream default. The "say once in the report…" instruction is still there, now as its own clause.
  • plugins/code-tidying/skills/batch-simplify/context/repo-mode.md: the verifier fallback at effort high gets the same kind of label.
  • .changes/code-tidying/…-e19b07d5.md: a bump: patch fragment under ### Fixed. A patch bump fits a documentation fix that doesn't change behavior.

I checked that the terms used in the new labels exist in the multi-agent plugin. "Fan-out guard" is a defined concept there (plugins/multi-agent/README.md "## The fan-out guard", plugins/multi-agent/reference/defaults.yaml). worker and verifier are the role names the surrounding text already uses for /multi-agent:route.

The pull request only refs #6916; it doesn't close it, so there are no closing-issue acceptance criteria to check. No plugin manifest changed, so no manifest checks apply. I found no embedded instructions in the PR context. The author's verification (scripts/check-affected.sh --tests: 14 passed, 2 skipped) is their own claim; I couldn't run it, so it's unverified.

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

The pr-verify verifier failed head 6015f4b7ba105123a7071cc6ffaea248bf62a502. What it wrote, as data:

Summary: PR #11785 refs issue #6916 (the `/multi-agent:audit-defaults repo` drift sweep) and
  delivers two wave-5 label fixes in `code-tidying` batch-simplify. The diff is correct and in
  scope: it changes wording only, no values or dispatch logic, and the CI suites that cover these
  files passed. It fails because, as a `Refs:` partial delivery, its body must say what work on
  #6916 is still left, and it does not.
- PR body: as a `Refs: #6916` partial delivery, the body must name the work on #6916 that remains.
  It names the delivered part (wave 5, 2 findings in `code-tidying`) but has no Remaining section.
  Add one that lists what is still open on #6916: the unswept and capped target files, the wave-4
  findings not yet fixed, the branches not yet shipped, and the final count comment.
- PR body: wave 5 and its 2 `code-tidying` findings are not recorded in any trusted #6916 comment
  (the latest covers waves 3 and 4). Consider citing where the findings and their verdicts are
  recorded, so they can be traced to the sweep's count comment.
- plugins/code-tidying/skills/batch-simplify/SKILL.md:245: the added sentence labels the
  `opus`/`medium` fallback as this skill's stand-in for the `worker` role map and fan-out guard,
  with no value changed. It is correct and coherent.
- plugins/code-tidying/skills/batch-simplify/context/repo-mode.md:141: the verifier fallback at
  `high` gets the matching label. It is correct.
- .changes/code-tidying/docs-6916-w5-code-tidying-labels-e19b07d5.md: the patch fragment matches the
  change.

This pull request leaves the merge queue, and ci-status holds it out while it carries pr-verify-failed. A pr-verify pass at a new commit removes the label.

@github-actions github-actions Bot removed the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Nov 1, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 1, 2026
Merged via the queue into main with commit 8f85b4f Nov 1, 2026
40 checks passed
@kyle-sexton
kyle-sexton deleted the docs/6916-w5-code-tidying-pointers branch November 1, 2026 04:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant