Repository navigation
feat(domain-driven-design): glossary Actions line and tighter admission - #15140
Conversation
An entity entry may carry an optional Actions line naming the verb chosen for an operation on it, with the rejected verb in parentheses. lookup returns it and resolves a rejected verb to its entry; curate and audit search for rejected verbs as they do for Avoid words. Admission now keeps everyday words in their ordinary sense out: a term earns an entry only when it removes ambiguity in its context. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…sion Review fixes: a rejected verb counts only where it names that operation on that entity, so ordinary uses of a common verb are not drift. seed and the SKILL boundary now carry the everyday-word admission rule. The lint pointer, the lookup caller line and the Actions syntax cover rejected verbs and several pairs on one line. Two eval cases cover the everyday-word rule and an Actions line written by curate. Co-Authored-By: Claude Opus 5.5 <[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: 48032e6eb8
ℹ️ 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".
|
claude-security-review reviewed Security review (incremental, blocking only): no security issues found. I read every hunk of all 4 files changed since What changed and what I checked:
critical-findings: 0 |
|
claude-review reviewed Code review (incremental, blocking only):
|
…lookup lookup's caller instruction banned every rejected verb everywhere, so `Refund ... (Avoid: send)` also ruled out "send a notification". It now rejects the verb only for that operation on that entity, as audit step 3 searches for it. The cl-actions-verb-recorded case gains a noun-avoid-unchanged grader and samples, so folding "send" into Shipment's Avoid line fails the case. Co-Authored-By: Claude Opus 5.5 <[email protected]>
No related issue: owner decisions from an interview round
Summary
The glossary contract of
/domain-driven-design:ubiquitous-languagegets a tighter admission rule and an optionalActions:line for contested verbs.Fix
context/glossary-contract.md:Actions:line under the entity, likeStates:. It is used only when one verb was chosen over another for an operation on the entity, with the rejected verb in parentheses (Actions: submit (Avoid: raise)), and omitted when no verb was contested. The fallback example gainsActions: void (Avoid: cancel), and its header sentence now covers rejected verbs.actions/lookup.md: returns theActions:line, resolves a rejected verb to its entry, and tells the caller never to use a rejected word or verb.actions/curate.md: records theActions:line and searches for rejected verbs in step 5, as it does forAvoid:words.actions/audit.md: flags everyday-word entries and searches for rejected verbs. Likecurate, it counts a rejected verb only where it names that operation on that entity: next to the entity's name, or inside an identifier such ascancelInvoice. Anywhere else, a common verb like "send" is just ordinary English.actions/seed.mdand the SKILL.md "No general dictionary" boundary now carry the everyday-word admission rule.cl-everyday-word-rejected, where an everyday word is kept out, andcl-actions-verb-recorded, wherecuratewritesActions: dispatch (Avoid: send)under Shipment.Verification
plugins/domain-driven-design/tests/glossary-settings.test.shandnode --testonglossary-settings.test.mjsboth pass, 11 of 11.scripts/check-changed-skills.sh origin/main: PASS. Two warnings were already there; the third is the body growing from 94 to 95 lines.validate-cases.pyon the plugin's eval suite: no FAIL. The two new cases have deterministic graders, and their samples sort correctly.scripts/check-affected.sh: 14 passed, 2 skipped.scripts/check-changelog-fragments.sh --check, the vocabulary scanner and markdownlint on the changed files: clean.Related
/planning:interview(scenario walk and closing summary), whose agreed terms land in the glossary throughcurate: #15142.Follow-ups
Avoid:words, so it misses rejected verbs on anActions:line./testing:writefalls back to reading the glossary directly when this plugin is absent, and that path checks onlyAvoid:words./planning:planhas the same direct-read fallback, which checks onlyAvoid:words./naming:name-it-betteraddsAvoid:words to its blocklist but not rejected verbs./docs-hygiene:rename-referencesnames theAvoid:line as its rejected-word source and does not mention rejected verbs.🤖 Generated with Claude Code