Skip to content

docs(plugins): point domain-driven-design through mutation-testing at docs/contracts - #11246

Merged
kyle-sexton merged 8 commits into
mainfrom
docs/7537-c-domain-driven-design-to-mutation-testing
Oct 30, 2026
Merged

kyle-sexton merged 8 commits into
mainfrom
docs/7537-c-domain-driven-design-to-mutation-testing

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

Refs: #7537

Summary

Points the links and comment paths in the domain-driven-design through mutation-testing plugins (23 plugins) to the plugin-author contracts at docs/contracts/<name>/ instead of docs/conventions/<name>/. Main has moved the contracts and left a stub with every section heading at each old path.

Fix

  • One commit rewrites 104 files across 23 plugins, with a changelog fragment per plugin.
  • The branch merges main at eb4beb8000 with no conflicts, and main added no new old-path references inside this scope, so there is no extra rewrite commit.
  • Left unchanged on purpose: CHANGELOG.md history; cross-plugin copies such as context/recommendation-basis.md and the test-helpers.sh copies, which the shared-libs PR rewrites; shared-library copies; and the generated README option blocks.
  • The fix-docs lane's commit 99a53d28a7 also rewords a few README sentences (explainer-video, guardrails, markdown-format: colon to period or "because"); they are lint fixes, not part of the path rewrite.
  • Fragments for domain-driven-design, evals and gaming were dropped: main already rewrote those plugins, so this diff no longer changes them.

Verification

  • scripts/check-affected.sh --tests --base eb4beb8000: 14 passed, 1 skipped, and 1 failed, tests, on deny-rules.test.mjs with spawnSync git ENOBUFS. That was main's bug, which fix(ci): give the deny-rules test's ls-files call a 64 MiB buffer #11161 fixed; the branch merges main after it, and the pre-push hook re-runs the selected suites.
  • lychee --offline with lychee.toml over the 86 changed Markdown files: 0 errors.

Related

🤖 Generated with Claude Code

kyle-sexton and others added 5 commits October 28, 2026 21:47
…lugin references at docs/contracts

Rewrites links and comment paths to the plugin-author contracts from
docs/conventions/<name>/ to docs/contracts/<name>/ (#7537) in 104 files
across 23 plugin(s). The old paths keep a stub with every section heading,
so installed plugin versions keep resolving.

Refs: #7537

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…7-c-domain-driven-design-to-mutation-testing
These fragments said bump: none, so release-plugins.sh would drop them and
the corrected links in shipped skill text would never reach users.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review October 30, 2026 11:43
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T11:45:00.909185Z 3454e91 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.

@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review needs no new review of beb16aeada28f7d69be961b523e651208e938e47: no file of this pull request changed since the review of 99a53d2.

Incremental security review of 99a53d2 against 3454e91. I found no security issues.

The change touches three README files (plugins/explainer-video/README.md, plugins/guardrails/README.md, plugins/markdown-format/README.md). Each edit is punctuation or connective wording only: a colon or semicolon became a period or "because". I read the guardrails hunks under the instruction-surface lens. Those hunks describe the fail-closed payload handling, the npm exclusion from the CLI flag verifier, and block_root_delete_target_allowed_roots being set only from the hook's own environment. Each forbids and allows exactly what it did before, so no rule is deleted, narrowed or softened. The protected-class list in the instruction exception register was not consulted, because no rule changed.

No manifest, workflow, trusted-path code or userConfig file is in this increment. No manifest <field> lines apply.

critical-findings: 0

@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

claude-review needs no new review of beb16aeada28f7d69be961b523e651208e938e47: no file of this pull request changed since the review of 99a53d2.

Incremental review since 3454e91: no findings.

The change touches three READMEs (plugins/explainer-video, plugins/guardrails, plugins/markdown-format). Each hunk only swaps a colon or semicolon for a period or ", because". I read the incremental diff and checked each rewritten sentence:

  • explainer-video: "Videos are views." is followed by a full sentence.
  • guardrails (3 hunks): the rewritten sentences stay grammatical and keep their meaning. The edits are the "closes" sentence, the "git and npx, because every npm config key…" clause, and "Only you set it, because it is read from the hook's own environment".
  • markdown-format: "…nothing runs there. Carrying a config is the opt-in."

No behavior, option names, defaults, or links changed. No manifests are touched, so there are no manifest lines.

I did not run anything. The 118-file full diff and the closing-issue criteria were not re-checked, because they were reviewed at the earlier commit and are unchanged. No spend, cost, or security hold applies.

@github-actions

Copy link
Copy Markdown
Contributor

The pr-verify verifier failed head 99a53d28a78823e8ada75263056ead81908ae7f7. What it wrote, as data:

What it wrote (35 lines)
Summary: This PR (Refs #7537) delivers one part of the contracts move: it rewrites the
  `docs/conventions/<name>/` contract references to `docs/contracts/<name>/` in the
  domain-driven-design through mutation-testing plugins. The body names this part and lists the
  remaining sibling PRs. The rewrites are correct and fit the owner's decision (destination
  `docs/contracts/`, top-level `<concern>.yaml` settings stay where they are). It fails on one
  point: changelog fragments for three plugins (domain-driven-design, evals, gaming) announce link
  changes, but the diff changes nothing in those plugins. That would ship false release notes and
  needless patch bumps. A few unrelated punctuation edits are also included.
- `.changes/domain-driven-design/docs-7537-c-domain-driven-design-to-mutation-testing-8d9d6fb5.md`:
  the diff touches no file under `plugins/domain-driven-design/`, yet this fragment claims its links
  moved to `docs/contracts/` and bumps a patch version. Delete the fragment, or add the missing
  rewrites for that plugin if any exist.
- `.changes/evals/docs-7537-c-domain-driven-design-to-mutation-testing-8db86c5d.md`: the diff
  touches no file under `plugins/evals/`. Delete the fragment, or add the plugin's missing reference
  rewrites.
- `.changes/gaming/docs-7537-c-domain-driven-design-to-mutation-testing-a464bc30.md`: the diff
  touches no file under `plugins/gaming/`. Delete the fragment, or add the plugin's missing
  reference rewrites.
- `plugins/explainer-video/README.md:32`, `plugins/guardrails/README.md:1210,1260,1442`,
  `plugins/markdown-format/README.md:13`: punctuation and wording edits (colon to period, colon to
  'because') have nothing to do with the path rewrite. They are harmless, but either drop them or
  mention them in the PR body.
- `plugins/guardrails/hooks/block-convention-violation.sh:10`: the comment still names
  `docs/conventions/source-control.yaml` while the same comment block moves the commit-convention
  reference to `docs/contracts/commit-convention/`. This matches the owner's call that top-level
  `<concern>.yaml` settings stay. The owner deferred the call on `commit-convention/` and
  `loop-lane/` to the move PR. This PR assumes both moved to `docs/contracts/`, and that should be
  confirmed against what main actually moved.
- Spec context: the last comment on #7537 says 'Built attended (the move touches AGENTS.md)' and
  holds the issue at `needs-human`. This PR does not touch AGENTS.md, but a person should confirm
  that the attended-build hold is satisfied for these sibling PRs.
- Changed scripts and tests (`*.sh`, `watch-state.js`, `watch-state.test.js`,
  `plugins/miro/server/src/launcher.ts`) change only comments and string literals.
  `watch-state.test.js:129` was updated to match the changed prompt string in `watch-state.js:360`,
  so the test stays consistent. No logic changes.

This pull request leaves the merge queue, and ci-status holds it out while it carries pr-verify-failed. A pr-verify pass at a new commit removes the label.

@github-actions github-actions Bot added the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Oct 30, 2026
kyle-sexton and others added 2 commits October 30, 2026 08:08
Main already rewrote domain-driven-design, evals and gaming, so their
fragments would announce link changes this diff does not make.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot removed the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Oct 30, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Oct 30, 2026
Merged via the queue into main with commit f99e816 Oct 30, 2026
105 of 109 checks passed
@kyle-sexton
kyle-sexton deleted the docs/7537-c-domain-driven-design-to-mutation-testing branch October 30, 2026 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant