Repository navigation
refactor(architecture)!: share the lens steps and split layout into improve-layout - #16496
Conversation
…mprove-layout One plugin reference, reference/improvement-steps.md, owns the steps every improve lens takes the same way: base freshness, scope and fan-out, recorded decisions, the convention home with one exit-code table, the memory-tier write rules, badge bands and the hand-off. The lens playbooks cite it by section instead of citing the deepening playbook, and the boundaries and conventions playbooks name the plugin root through the rendered placeholder. The layout lens moves out of improve into /architecture:improve-layout with its script, tests, measures reference and eval cases. improve keeps deepening, boundaries and conventions; every roster place names them, and a roster test fails when a playbook has no Actions row or argument-hint entry. BREAKING CHANGE: /architecture:improve no longer takes the layout action; run /architecture:improve-layout. Co-Authored-By: Claude Fable 5.2 <[email protected]>
The roster rewrite took the manifest description past 500 characters; shorten it and regenerate the catalog. The README names improve-layout among the users of the shared steps. Co-Authored-By: Claude Fable 5.2 <[email protected]>
The no-question grader failed replies that gave the whole report and only closed with what the user can decide later. It now fails a reply that withholds the cards until the user answers, which is what the prompt's "don't wait on questions" asks for. Co-Authored-By: Claude Fable 5.2 <[email protected]>
The shared memory-tier section said every file a lens writes goes to the memory tier, which contradicted the deepening report in the temp directory and the conventions append to the topic doc; it now covers the durable run artifacts. The convention-home write rule now binds only a lens that writes under the home. Co-Authored-By: Claude Fable 5.2 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 03c710c4c9
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Lane run report
Failed GitHub API calls
|
|
claude-security-review reviewed Chunk 1 of 2 (40 files)Security review: PR #16496, chunk 1 of 2I found no security issues in this chunk. I read every hunk of all 40 files in What changed. The chunk is a refactor, mostly prose:
Instruction-surface lens. I checked every removed or moved rule for a guardrail that no longer applies anywhere:
None of this removes or loosens a rule in the register's protected classes: irreversible actions, secrets, data-integrity writes, external publication or agent authority. Eval scaffolds. The Arguments passed to the script. Manifest.
Trust controls. No file in this chunk matches a Spend. The new and moved eval cases spend prepaid model usage when the plugin-evals lane runs them: 6 runs each, 3 for the routing case, up to 30 turns and 900 s. That is not a hold and not a finding. The settled thread on Chunk 2 of 2 (6 files)Security review: PR #16496, chunk 2 of 2I found no security issues in this chunk. I read every hunk of all 6 chunk-2 files, both in
This lane already reviewed an earlier head ( Instruction-surface lens. I checked the register's protected classes, Gate 0's six classes via
Deleted
Trust controls and manifests. No chunk-2 file matches a Settled thread. The critical-findings: 0 |
|
claude-review reviewed Chunk 1 of 2 (40 files)Code review, chunk 1 of 2 (blocking only): nothing blockingThis lane already reviewed an earlier head, so this pass reports blocking findings only. I found none in this chunk. Scope. I read every hunk of all 40 chunk-1 files in
No issue closes this PR, so there are no acceptance criteria to check. The one settled thread ( What I checked
Not blocking, so not counted. Spend (not a finding). The new scaffolded eval cases run 6 times each (3 times for the routing case), up to 30 turns each, which spends prepaid API usage when the evals run. Verification. I ran nothing; this lane has no shell. The test and eval results in the PR description are the author's claims and I have not checked them. Verifier dropped 0 of 0 candidates. Chunk 2 of 2 (6 files)Code review, chunk 2 of 2 (blocking only): nothing blockingThis lane already reviewed an earlier head, so this review reports only blocking findings. I found none in this chunk. Scope. I read every hunk of the 6 files in this chunk:
No issue closes this PR, so there are no acceptance criteria to check. The one settled thread is on What I checked
Verification. I ran nothing, including Verifier dropped 0 of 0 candidates. critical-findings: 0 |
… a repository The four improve-layout cases and one case each for the boundaries and conventions lenses described a repository the eval workspace did not hold, so every run reported missing files and history and the cases could not show a regression. Each is now a plugin suite case whose scaffold builds a small git repository with the history, records and manifests the prompt describes, graded by file, tool and pattern checks where the outcome is structural and by a judge only for prose. The cases leave the legacy evals.json files; improve-layout's suite cases tag it. Co-Authored-By: Claude Fable 5.2 <[email protected]>
A period right after /architecture:improve-layout kept the prompt from parsing as a slash command, so runs loaded the skill through a Skill call and failed the no-other-skill check. The file-kept checks graded files the scaffold wrote, which the file grader does not see; a no-mv/rm check on Bash replaces them. Co-Authored-By: Claude Fable 5.2 <[email protected]>
…-improve-shared-lens-steps
… for a style With no recorded layout style, an attended run of the split-out skill stopped at Phase 1 to ask how files should be grouped, before running the co-change script, in every scaffolded run of the attended and marker-card cases; the improve lens ran the script first in some runs. Phase 1 now carries on without a style and the report asks once, after the cards. Co-Authored-By: Claude Fable 5.2 <[email protected]>
…-improve-shared-lens-steps # Conflicts: # docs/catalog.md # docs/skill-cheat-sheet.md # plugins/architecture/.claude-plugin/plugin.json # plugins/architecture/skills/improve/SKILL.md
…rom the shared steps Its own sentence treated every resolver exit but 0 as no rule recorded, which disagrees with the one exit-code table the lenses now share. Co-Authored-By: Claude Fable 5.2 <[email protected]>
No related issue: the owner chose this split in session on 2026-11-15, from an
/architecture:improvescan ofplugins/architecture.Summary
architecture:improveheld four lenses. Three of them borrowed steps by citing paragraphs of the deepening playbook, each stated its own write rules and its own reading of the convention-home resolver's exit codes (they disagreed), the lens list was kept by hand in about nine places and had drifted, and the layout lens shared none of the module vocabulary.Breaking:
/architecture:improve layoutis removed. The layout check is now/architecture:improve-layout.Fix
reference/improvement-steps.mdowns base freshness, scope and fan-out, decision-record discovery, one convention-home exit-code table, one memory-tier write contract, badge bands and the hand-off. Each lens cites it; none cites the deepening playbook for a borrowed step.lens-roster.test.shfails when a playbook has no Actions row or argument-hint entry, and the reverse.skills/improve-layout/, with its own trigger phrases.Behaviour that changed by unifying:
Verification
scripts/check-affected.shon the head: 17 passed, 1 skipped, 0 failed.co-change.test.shandlens-roster.test.shpass.main):mainmaindid so in 3 of 6). The skill now computes the cards first and, when attended, asks the grouping question once after them. A dedicated re-run of the two affected cases after the fix scored 1.00 on 6 of 6 runs each.Related
/architecture:enforce-boundaries(merged while this was open) now reads the convention home from the shared steps too.🤖 Generated with Claude Code