Skip to content

feat(domain-driven-design): keep business rules out of glossary entries - #14970

Merged
kyle-sexton merged 2 commits into
mainfrom
feat/glossary-adr-pointer
Nov 10, 2026
Merged

kyle-sexton merged 2 commits into
mainfrom
feat/glossary-adr-pointer

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

No related issue: implements owner decisions Q81 and Q87 from the domain-language interview, round 8.

Summary

The glossary contract keeps business rules out of entries, and the glossary skill names the ADR skill for decisions about why the system is built a certain way.

Fix

  • Business rules (Q87): context/glossary-contract.md adds a "Business rules" line: an entry says what a concept is; the rule lives in code (a type, a validation) and a test that names it; the rule's reason goes in an ADR when it passes /architecture:record-decision's admission test. actions/audit.md reports a rule found in a definition.
  • Pointer (Q81): the "No ADR ownership" boundary in SKILL.md names /architecture:record-decision for decisions over a weighed alternative, where it used to say only "the planning workflow".

Verification

  • scripts/check-changed-skills.sh origin/main: ubiquitous-language PASS, 0 errors; its three warnings (description length, an older numbered procedure, one line of body growth) were there before.

Related

🤖 Generated with Claude Code

https://claude.ai/code/session_01UJUn7MP8mf6tssdESwUFjG

kyle-sexton and others added 2 commits November 9, 2026 22:56
An entry says what a concept is; the rule lives in code and a test, and
its reason goes in an ADR when it passes record-decision's admission test.
The audit reports a rule in a definition, and the skill names
/architecture:record-decision for decisions about why the system is built
a certain way.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UJUn7MP8mf6tssdESwUFjG
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 10, 2026 04:06
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

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

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-10T04:07:02.158522Z
We couldn’t complete this review. Comment @codex review to try again.
6c64a7b 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions

Copy link
Copy Markdown
Contributor

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

Security review: PR #14970

No security issues found.

This review covered all 4 changed files in full. Every change is prose: a changelog fragment and wording in the domain-driven-design ubiquitous-language skill's SKILL.md, actions/audit.md and context/glossary-contract.md.

  • Instruction-surface lens: I checked the one reworded standing rule, the "No ADR ownership" boundary in SKILL.md. It is not deleted or softened. The skill still does not own ADRs; the new text only says that /architecture:record-decision owns them, where it used to say "the planning workflow". The other edits add rules (a "Business rules" purity line, and an audit check that reports a rule found in a definition). Nothing is removed. The change also adds no new tools, commands, hooks, permissions or off-machine writes, so no protected class from the instruction exception register is affected.
  • Trust controls / trusted paths: none of the changed files match a listed trusted-path glob. No trust control, token scope, kill switch or merge hold is touched.
  • Plugin manifests: no plugin.json or marketplace.json change.
  • PR context: I found no embedded instructions directed at the review lane.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

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

Code review: PR #14970, no findings

This change only edits documentation in the domain-driven-design plugin's ubiquitous-language skill, plus one changelog fragment:

  • context/glossary-contract.md adds a Business rules line. A glossary entry says what a concept is. The rule itself lives in code and a test, and the reason for the rule goes in an ADR when it passes /architecture:record-decision's admission test.
  • actions/audit.md adds "business rule" to the things an audit flags in a definition, and says where the finding should point instead.
  • SKILL.md changes the "No ADR ownership" boundary so it names /architecture:record-decision rather than "the planning workflow".
  • .changes/domain-driven-design/feat-glossary-adr-pointer-7c2d90e1.md is a bump: patch fragment that describes both changes.

Checks I made

  • The new references point at something real. plugins/architecture/skills/record-decision/SKILL.md exists and has a ## Admission test (advisory) section (L58), so the pointer the contract adds resolves at this head.
  • No contradiction with existing text. The audit step's existing state rule (a state gets its own entry "as a noun with rules of its own") is about when a state needs an entry, not about putting rules in the definition. It does not conflict with the new Business rules line.
  • Path-scoped rules. .claude/rules/skill-bodies-state-current-rules.md and .claude/rules/cost-claims.md apply to these files. The changed lines restate no volatile upstream detail and make no cost claim. The skill's successor graph is unchanged, so ## Next needs no edit.
  • Cross-plugin reference. Mentioning another plugin's skill without checking it is installed matches what audit.md already does with /docs-hygiene:rename-references.
  • Release level. No plugin manifest changed. The fragment's bump: patch fits a guidance-only change.

Closing issue: none. The PR body says it implements owner decisions Q81/Q87 and links #14966 as related. There are no acceptance criteria to check.

Verification: the scripts/check-changed-skills.sh result in the PR body is the author's claim and I did not confirm it. I had no shell in this run, so I ran nothing.

Paved paths: nothing to report for this docs-only change. The PR context file contains no embedded instructions.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 10, 2026
Merged via the queue into main with commit d7cda3c Nov 10, 2026
77 checks passed
@kyle-sexton
kyle-sexton deleted the feat/glossary-adr-pointer branch November 10, 2026 04:51
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant