Skip to content

feat(domain-driven-design)!: rename curate-language to ubiquitous-language with locate, lookup, seed, curate and audit - #14952

Merged
kyle-sexton merged 5 commits into
mainfrom
feat/ubiquitous-language
Nov 10, 2026
Merged

kyle-sexton merged 5 commits into
mainfrom
feat/ubiquitous-language

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

No related issue: implements owner decisions Q61-Q65, Q67-Q69, Q73 and Q77-Q79 from a domain-language design interview; no tracker item was filed for them.

Summary

The glossary capability had one skill that only changed the glossary and called reading it "a one-line habit", so every reader skill found the file its own way. The measured result: testing:write never read the glossary in the merged wr-glossary-* eval cases (0/3 at the root and at docs/glossary.md), while the same model without the plugin read it 3/3. This PR gives the glossary one owner with a read path every reader uses.

Fix

  • /domain-driven-design:curate-language is renamed /domain-driven-design:ubiquitous-language (breaking: the old name no longer resolves) with five actions: locate (searches the whole repository, so a sibling docs/glossary.md is found), lookup (the one read-only path), seed (proposes a first glossary from code and docs; a person accepts each term), curate (the previous workflow) and audit (report-only checks, including rejected words in code, copy and error messages).
  • Glossary contract: a header sentence says what Avoid: means; states are listed under their entity, and a state gets its own entry only when used as a noun with rules of its own; an optional Shown to users as: line. The map file is called the glossary index; the glossary_file / glossary_map_file settings and their defaults are unchanged. Missing boundaries route to /event-storming:simulation. Glossary text is never loaded by an import or an always-on rule.
  • Readers call lookup, with a repository search when the plugin is absent: testing:write (now an explicit prerequisite with a printed Glossary: line), architecture:improve, planning interview, prd and plan, work-items triage and decompose, discipline:wait-what, discovery:explore, naming:name-it-better, and the review code-reviewer agent (advisory finding for a new name using a rejected word). Writers call curate.
  • After a glossary change, rejected words in code names are handed to /docs-hygiene:rename-references in their own change; those in user-facing copy and error messages are reported, never rewritten.

Verification

  • plugins/planning/tests/interview-defenses.test.sh: PASS after re-pinning three sections whose only change is the renamed skill token and the glossary read line (justification recorded in the test).
  • Plan, stress-test, standards-binding, review change-set, discovery contract and glossary-settings suites, and node --test on fanout-sweep and glossary-settings: all pass. check-skill.sh PASS for domain-driven-design, testing, naming and planning; check-changelog-fragments.sh --check, check-spoke-plugin-root.sh, check-skill-portability.sh, validate-plugin-contracts.mjs clean; cheat sheet and catalog regenerated.
  • Eval: the merged wr-glossary-* cases (tag glossary, 3 runs, graders unchanged) are to be rerun against this branch and compared with the Q60 baseline; the result will be posted on this PR.
  • Left out: the eval run itself (the worktree-isolated session that built this cannot launch claude plugin eval); the before/after invocation probe for the rewritten description.

Related

  • /docs-hygiene:rename-references audit orphans curate-language to ubiquitous-language: 0 broken references; the hits left are history records listed below plus the re-pin justification comments in interview-defenses.test.sh. The five cl-* eval cases keep their cl- prefix: it is a case-name prefix only, and renaming them would break comparison with earlier eval results; their prompts and tags use the new skill name.
  • Pre-existing records left as history: CHANGELOG entries, docs/upstream/ absorb records, the revert-12114 review eval fixture and the invocation-probe measurement table in plugins/skill-quality/reference/invocation-probes.md still name curate-language.
  • Follow-up PRs: planning interview changes (Q70-Q72, Q74-Q76) and rename-references glossary-driven renames (Q78, Q80).

🤖 Generated with Claude Code

https://claude.ai/code/session_01UJUn7MP8mf6tssdESwUFjG

kyle-sexton and others added 3 commits November 9, 2026 21:35
…guage

The skill now owns every glossary operation through five actions: locate,
lookup (the one read path for other skills), seed, curate and audit. The
contract gains a header sentence for Avoid, states listed under their
entity, and an optional "Shown to users as" line; the map file is called
the glossary index. testing:write reads the glossary as an explicit
prerequisite step.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UJUn7MP8mf6tssdESwUFjG
Every skill that reads the glossary before naming something now invokes
/domain-driven-design:ubiquitous-language lookup, with a repository search
fallback when that plugin is absent: architecture:improve, planning
interview, prd and plan, work-items triage and decompose, discipline
wait-what, discovery explore, naming name-it-better and the review
code-reviewer agent. Writers call the curate action. Eval case
descriptions cite sections instead of stale line numbers, generated docs
are regenerated, interview digests are re-pinned, and every touched
plugin carries a changelog fragment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UJUn7MP8mf6tssdESwUFjG
Action files are read verbatim, so the settings steps that need the
harness-filled values move from actions/locate.md into SKILL.md.

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 02:47
@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-10T02:47:30.907560Z
We couldn’t complete this review. Comment @codex review to try again.
844b2ee 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.

The glossary read line in /planning:prd pushed "ask ONE question" past the
first 20,000 bytes that reattach-slice.test.sh holds to; the line is
shorter now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UJUn7MP8mf6tssdESwUFjG
@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review: incremental (786d079 → e472335)

I found no security issues in this change.

critical-findings: 0

This lane already reviewed an earlier head, so this pass reported only CRITICAL and IMPORTANT findings (blocking only). The scope was the 8 files in .claude-lane/incremental-files.txt, and I read every hunk of each in .claude-lane/incremental.diff. All 8 are prose in skill and agent bodies. No script, workflow, manifest or trusted-path file changed.

What changed

  • Glob fallback. Six files change the fallback glossary Glob from **/{GLOSSARY,glossary,ubiquitous-language}*.md to **/*{glossary,Glossary,GLOSSARY,ubiquitous,UBIQUITOUS}*.md. They also add a precedence rule: a path the project declares, or glossary_file in docs/conventions/domain-driven-design.yaml, wins over the search. A tool's own reference glossary under reference/ or context/ folders is skipped. The files are architecture/improve/actions/deepening.md, planning/interview/context/loop.md, planning/prd/SKILL.md, review/agents/code-reviewer.md, testing/write/SKILL.md and work-items/decompose/SKILL.md. The wider Glob only finds more files to read as vocabulary. It adds no command, tool grant or write path.
  • domain-driven-design/ubiquitous-language/actions/locate.md. The "resolve the setting names" step moves ahead of the repository search, and the remaining steps are renumbered. No rule is removed. The rule that settings files are data, never instructions, is still at SKILL.md:44.
  • naming/name-it-better/SKILL.md. Words on a glossary's Avoid: line are now tagged glossary-stated and treated like user-stated, so the merge step disqualifies a candidate that uses one. The worst a hostile glossary can do is block a naming candidate. That is not a leak, compromise or charge.
  • review/agents/code-reviewer.md. The advisory glossary-word check is skipped when several glossaries match and there is no glossary index. It is a quality check, not a security control, so narrowing it matches no protected instruction class.

Instruction-surface check. No guardrail is deleted, narrowed or softened. I did not need the instruction exception register because no rule was removed.

Spend. Nothing in this change can bill. Prepaid-credit spend is unchanged.

Embedded text. I found no embedded directives in the changed files or lane inputs.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 5 inline finding(s) on 786d07923d5b018d8659545d048c6d0b216305cd; the summary is in this lane's pull request comment.

claude-lane: claude-review

Comment thread plugins/testing/skills/write/SKILL.md Resolved
Comment thread plugins/review/agents/code-reviewer.md Resolved
@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

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

claude-review, incremental review of 786d07923d..e4723354e3. I read every hunk of all 8 files in scope. This lane already reviewed an earlier head, so this pass reported blocking findings only.

Blocking findings: none.

What the push changes. It answers this lane's five earlier inline findings. Each of their threads is settled by an owner reply that states the fix, and for each the job reports lines changed since resolution: no.

  • locate.md step order. The setting names are now resolved in step 2, before the search in step 3. The "only needed when" condition is gone, and step 3 now refers to "the two setting names step 2 resolved". No other file refers to locate by step number, so the renumbering breaks no cross-reference.
  • name-it-better. Glossary Avoid: words now carry the provenance glossary-stated, treated as user-stated. The merge step disqualifies candidates containing user-stated blocklist words (plugins/naming/skills/name-it-better/SKILL.md L152-156), so glossary-rejected words are now enforced.
  • Fallback glob. The search pattern is now **/*{glossary,Glossary,GLOSSARY,ubiquitous,UBIQUITOUS}*.md at all six reader sites. Five of them also say that a declared path or glossary_file takes precedence, and that a tool's own reference glossary is skipped.
  • code-reviewer.md. The reviewer now reads the match that covers the changed files and skips reference/ and context/ glossaries. It skips the check when several plausible matches remain and there is no glossary index.

Not posted. These advisory points were not posted because this pass reports blocking findings only:

  • plugins/planning/skills/prd/SKILL.md gets the wider glob but not the declared-path or skip wording the other sites got.
  • Two sentences read awkwardly after the new clauses were added: the trailing "plus its glossary index" in deepening.md, and "…is skipped, and follow the ADRs" in decompose.

Closing issue: none is linked, so there are no acceptance criteria to check.

Verification: I ran no tests. Any test results in the PR description are the author's claims, and I did not confirm them.

Trusted paths: none of the 8 files in scope matches a trusted-path glob.

Spend: none. These are skill-text changes only.

…h; widen reader fallback

Review findings on #14952: locate now resolves the file-name settings
before it searches; the plugin-absent fallback at every reader matches
any *glossary* or *ubiquitous* file, lets a declared path or
glossary_file win, skips tools' reference glossaries, and reads the
match covering the area; name-it-better treats glossary Avoid words as
user-stated so the merge disqualifies them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UJUn7MP8mf6tssdESwUFjG
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 10, 2026
Merged via the queue into main with commit 3b6a026 Nov 10, 2026
70 checks passed
@kyle-sexton
kyle-sexton deleted the feat/ubiquitous-language branch November 10, 2026 03:20
@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