Repository navigation
feat(domain-driven-design): add a prune action and align seed, the contract and Next - #18212
Conversation
…ntract and Next Add `ubiquitous-language prune`: it finds audit's step 3 candidate groups, presents one group at a time, and removes or merges only accepted entries. The remove-or-merge rules and their report move out of curate into prune.md; prune's surviving-references report also lists plain uses of a removed term inside other entries. Prune triggers route to prune; audit stays read-only and names prune as its follow-up. seed counts names as the contract's "Counting a term" says, and the Boundaries line matches seed's accept-all rule. The contract gains an optional `Also called:` line and a no-history rule, and its header-sentence bullet says a check is added only when an audit shows a rejected word crept back. `## Next` lists conditional follow-ups. Cheat sheet regenerated. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RAoAtTH8RQe4ZKtmQdB7Rh
…ch lookup Also called A merge records the removed phrase on `Avoid:`, so prune runs curate step 5 for it and reports the hits, as the merge did inside curate. lookup returns an entry's `Also called:` names and resolves one to its entry. Drop the fallback example's `Also called:` line and keep the description's wording. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RAoAtTH8RQe4ZKtmQdB7Rh
Description only: a plain prune request now routes to prune. Graders, prompt and fixtures are unchanged, so it merges without a run (owner decision Q1529). 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. |
Lane run report
Run 45059802934, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
|
claude-security-review reviewed Security review: PR #18212 (head
|
|
claude-review reviewed Code review: PR #18212, adds a
|
No related issue: owner decisions in alignment pass 02 (Q1511, Q1512, Q1519, Q1521, Q1524, Q1526, Q1528)
Summary
Adds a
pruneaction to/domain-driven-design:ubiquitous-languageand alignsseed, theglossary contract and the skill's
## Nextwith the alignment pass 02 decisions.Fix
actions/prune.mdand aprunerouter row. Prune runsaudit's step 3 candidategroups (Implementation, Too general, Unused, Merge), presents one group at a time, and removes or
merges only accepted entries. The remove-or-merge rules and their report moved out of
curate.mdintoprune.md;curatenow adds and changes terms only and points toprune. Amerge still runs
curatestep 5 for the phrase it adds toAvoid:, as it did insidecurate."Prune the glossary" and "the glossary feels bloated" route to
prune;auditstays read-onlyand names
pruneas its follow-up.inside other entries.
seedsteps 3 and 4 count names as the contract's "Counting a term" says; thatsection's first line names
seed(andprune) besideauditandcurate; the Boundaries linematches
seedstep 5's accept-all rule.auditreports rejected words in use and acheck is added only when an audit shows one crept back.
Also called:line for an accepted synonym; counting andauditstep 5 treatit as the term itself, and
lookupreturns it and resolves it to its entry. Left out of thefallback example: a short Billing synonym that does not contain "invoice" would read as a
distinct concept.
Avoid:stays as a current rule.## Nextlists three conditional follow-ups;docs/skill-cheat-sheet.mdregenerated..changes/domain-driven-design/.Verification
plugins/skill-quality/scripts/check-skill.sh plugins/domain-driven-design/skills: PASS, 0errors (warnings: markdownlint not installed locally, description above the 419-char warn level
as before and grown 632 to 639 chars for
prunein the action list, body 97 to 102 lines).scripts/validate-plugins.sh --only domain-driven-design: passed, no warning for this plugin.scripts/check-spoke-plugin-root.sh --check: pass.scripts/check-next-graph.py: pass.scripts/generate-cheatsheet.mjs --check: in sync.scripts/affected-tests.shselected through the changed files directly:scripts/check-summary-reader-parity.test.sh(35/35),scripts/generate-cheatsheet.test.sh(66/66),
plugins/ai-slop/skills/audit/scripts/generated-docs-regions.test.sh(15/15),scripts/check-data-root.test.sh(17/17). The plugin's ownglossary-settingstests cover nochanged file. No evals run.
Related
plugins/domain-driven-design/evals/cl-prune-proposes-not-removes/prompt.mdstilldescribes a prune request routing to
audit; its graders (no.mdwrite, entry kept, reasonnamed) still hold under
prune, which writes nothing without a yes. Left unedited.plugins/playbooks/skills/repo-sweep/catalogs/hygiene.md(glossary step notes) still sendsremovals and merges to
curate; it belongs to the playbooks plugin.session: AI Hero
🤖 Generated with Claude Code
https://claude.ai/code/session_01RAoAtTH8RQe4ZKtmQdB7Rh