Repository navigation
refactor(architecture)!: rename record-decision to adr with record, audit and prune actions - #18186
Conversation
…udit and prune actions The ADR skill is invoked as /architecture:adr and splits into a SKILL.md hub with an action router and three spokes: actions/record.md (the default: admission test, convention discovery, the write, retirement on a reversal, the pointer offer), actions/audit.md (read-only) and actions/prune.md (new: runs the audit's candidate steps, presents one group at a time, retires only accepted records through adr_retirement, the git-history pointer and the citation sweep). The citation sweep now lists a hit that does not refer to the record, such as a database migration in another numbered series, as not a citation with no edit. ## Next names each follow-up with the outcome it applies to. Every reference across the repo uses the new name; the cheat sheet and catalog are regenerated. Interview defense pins re-pinned, each a skill-name rename inside the pinned section with no gate, defense or pinned line changed: - SKILL.md Stance section: d2b7b090 -> c6265a36 - SKILL.md Step 3 section: 101586e9 -> 51b70b43 - SKILL.md "does NOT do" section: 261ea805 -> af378b0b - loop.md Step 2 section: d91d5185 -> f68750f6 Two pin-history comments that named the old skill are dropped, since the comment lint flags any rewrite of them. BREAKING CHANGE: the old skill name is gone with no alias. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RAoAtTH8RQe4ZKtmQdB7Rh
…d spoke The Read tool substitutes no variables, so record.md now names <plugin-root> and the adr SKILL.md renders it (check-spoke-plugin-root). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RAoAtTH8RQe4ZKtmQdB7Rh
…udgets The description was 502 characters (claude.ai's cap is 500) and the argument-hint 103 (budget 100). Catalog and cheat sheet regenerated. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RAoAtTH8RQe4ZKtmQdB7Rh
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: 1e5455ab84
ℹ️ 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".
…rune honors partial reversal docs/review/skills-and-agents.md requires eval evidence of no loss before a cut to an existing skill, and evals cannot run now. The record flow and the audit return to SKILL.md as they were, with the new name, the prune router row, the not-a-citation sweep line and the conditional Next section; actions/record.md and actions/audit.md are removed, and the move into action files goes to a held follow-up PR. prune applies Step 3's Partial reversal rule before ordinary retirement: a Contradicted candidate whose later record reverses only part of it keeps its file whatever adr_retirement says, and gets only the superseded-in-part status and the citation edits for the reversed part. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RAoAtTH8RQe4ZKtmQdB7Rh
Lane run report
Run 45048968399, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
Lane run report
Run 45048968399, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
|
claude-security-review reviewed Security review: incremental (a529f25 → 0d42b65), blocking onlyNo security issues found. Scope. One file changed since the last review: What changed. Step 5 now names a "replacing record": a Contradicted candidate's later record, or the kept record when the candidate is a duplicate from "Recorded in several repositories". A Instruction-surface lens. The change removes, narrows or softens no rule:
The edit only says where citations point for a duplicate that was already accepted. It does not let any record be retired without a person's decision. It is not a trust control, a merge hold or a trusted path. I did not read the protected-class list in the instruction exception register, because the diff removes no rule. Settled threads and prior findings. No settled thread is re-raised. The only prior post is this lane's earlier summary, which had 0 findings, so nothing is repeated. This review was blocking only: it reports only CRITICAL and IMPORTANT findings, and there are none. critical-findings: 0 |
|
claude-review reviewed Incremental review of This lane already reviewed an earlier head, so this review reports blocking findings only (prior-findings file: Scope: one file changed, Earlier finding is fixed. My earlier inline finding said prune step 5 dropped the citations of a duplicate from "Recorded in several repositories" instead of repointing them at the kept record. Step 5 now handles that case:
This matches Advisory, not counted: step 5's text is not wrapped consistently. Line 29 runs past the column width of the other lines. This is cosmetic and was dropped under blocking-only. Closing issue: none. The PR body cites owner decisions, so there are no acceptance criteria to check. Loosened checks would be marked: fail (default: the prompt has no Verifier dropped 0 of 0 candidates. |
…ecord prune step 5 dropped the citing lines of an accepted duplicate from "Recorded in several repositories"; SKILL.md says they point at the kept record. The kept record now counts as the replacing record for the sweep and for a supersede. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RAoAtTH8RQe4ZKtmQdB7Rh
…on files Moves the record flow (admission test, Steps 1 to 4) into actions/record.md and the audit into actions/audit.md; SKILL.md keeps the router. prune.md points at record.md and keeps the duplicate's kept-record rule from #18186. Held for eval evidence of no loss (docs/review/skills-and-agents.md). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RAoAtTH8RQe4ZKtmQdB7Rh
Conflicts were main's rename of /architecture:record-decision to /architecture:adr (#18186) against this branch's edits; each takes this branch's text with the rename applied. session-flow steps.md keeps this branch's pointer and adds main's glossary-change bullet. Re-pins (each section changed only by the rename, and SKILL.md "does NOT do" also by main's added Next line; every gate, halt, STOP-on-gap, no-silent-resolve and fudge-prohibition line is byte-identical): - SKILL.md Stance: 521870c5bc63c4ae8cbb4ebaa4191c216373564f4f5bb553317ea523002657a5 -> 2a7f350e82ae34ad27f0ac02e199cf516416fac631cfd19dcd741224b66b553e - SKILL.md Step 3: 927479bb736f24a9e1c16aef9570c608b2529b2c2ab04682982c338833beccb6 -> 4efb3896a64abd5f75c67fbddd4d2fca75144cfd5da298572fb1e8e7ef3ee434 - SKILL.md does NOT do: 6fbbb933036f9c1f2b060ec0e16099fa04bfb8082a8f429e396a462cd16856de -> 0bc0ea2cf034b6b3987093465c2588b0297c28f41709d7706f9f8f9579c5c171 - loop.md Step 2: 4987c4d5617aeb80fe5a43adc179f5a493d82a61a76c404cdcc51bbf2d2e7b78 -> c2124e154de0b15dc2aec0c4f43fc1a277a8bec3a56846d6a3fc7cd3f3d73cd6 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015XWwmeDkiEnVmSx4dtkkfh
No related issue: owner decision in alignment pass 02 (Q1525, Q1526)
Summary
The architecture plugin's decision-record skill is invoked as
/architecture:adr(clean break, no alias), and gains apruneaction.SKILL.mdkeeps the record flow (admission test, Steps 1 to 4) and the read-only audit as they were, with the new name, aprunerow in the action table and the changes below. Nothing is cut: a cut to an existing skill needs eval evidence of no loss (docs/review/skills-and-agents.md), so the move intoactions/record.mdandactions/audit.mdis held in #18188.actions/prune.md(new): runs the audit's candidate steps, presents candidates one group at a time, applies the Partial reversal rule to a record a later decision reverses only in part, and retires only the other records the person accepts throughadr_retirement, the git-history pointer line and the citation sweep; per-repository writes for target forms.Fix
architecture:adrin regexes andtool_usedgraders, never bareadr), probes (probes/adr.json), schema, config docs,docs/upstream/*,docs/glossary.md,scripts/check-adr-numbers.sh,landscape.json, the control-skill feature list. Catalog and cheat sheet regenerated with their generators.0007_...in another numbered series, is listed as not a citation with no edit.## Next(Q1524): three conditional bullets (recorded decision still needs a plan, audit found candidates, retirement left terms to rename).interview-defenses.test.shdigest pins re-pinned (rename only inside each section; old -> new in the commit message); two pin-history comments naming the old skill dropped because the comment lint flags any rewrite of them.major; code-tidying, docs-hygiene, docs-naming, domain-driven-design, instruction-placement, planning, playbooks, session-flow and pr-pipelinepatch.Verification
git grep -n record-decision: only CHANGELOG history lines remain.bash plugins/planning/tests/interview-defenses.test.sh: PASS=185 FAIL=0.bash plugins/skill-quality/scripts/check-skill.sh plugins/architecture/skills: 15 passed, 0 failed.bash scripts/validate-plugins.sh --only architecture: all plugin manifests and the catalog validated.node scripts/validate-plugin-contracts.mjs: validated, no finding in changed files.node scripts/generate-catalog.mjs --checkandnode scripts/generate-cheatsheet.mjs --check: in sync.bash scripts/check-spoke-plugin-root.sh --check: no unbaselined spoke.bash scripts/check-adr-numbers.test.sh: PASS=10 FAIL=0.bash scripts/check-skill-leaf-names.sh --check: no new leaf-name collision.bash scripts/check-changelog-fragments.sh --check: all fragments valid.Related
session: AI Hero
🤖 Generated with Claude Code
https://claude.ai/code/session_01RAoAtTH8RQe4ZKtmQdB7Rh