Repository navigation
fix(domain-driven-design): resolve glossary settings when the settings-file write is refused - #16986
Conversation
…s-file write is refused The ubiquitous-language Settings step wrote the userConfig values to a file in the plugin data folder before running glossary-settings.mjs. A session that refused that write fell back to the default names, so the team and personal layers went unapplied. glossary-settings.mjs now reads --user-config - from stdin, and the skill passes the values through a quoted heredoc, so no file is written and the shell never expands them. A refused resolver run falls back to the defaults, said in one line. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…p at its original length Co-Authored-By: Claude Opus 5.5 <[email protected]>
…solver run is refused A refused heredoc run now falls back to the resolver without --user-config, so the team and personal layers still apply; only a missing node or a second refusal uses the default names. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…d code span 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: bff2d9f2ce
ℹ️ 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 foundThis review covers only what changed since What changed:
What I checked:
Spend: none. No workflow, model choice or run count changed. critical-findings: 0 |
|
claude-review reviewed Code review: PR #16986 (incremental, since
|
…e=value lines A saved value interpolated into a JSON string literal broke the whole userConfig layer when it held a double quote. --user-config - now reads one raw name=value line per setting, so no value needs escaping; the file form still reads JSON. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…gs form The ubiquitous-language Settings step runs node from a fenced block, so the plugin now declares node as an optional prerequisite and carries the generated prerequisites checker copies. The resolver's usage header becomes a doc comment naming --user-config FILE|- and the name=value stdin format. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Post-merge mutation testingKilled 3, survived 2, timeout 1, no coverage 0, invalid 0, not run 1.
Surviving mutants
The run's summary has the full report. |
No related issue: a defect found in the domain-language workshop's close-out audit, fixed here instead of filed.
Summary
/domain-driven-design:ubiquitous-languagewrote the user-level settings to a file in the plugin data folder before resolving the glossary file names. In 4 of 9 headless runs with no approval surface that write was refused, and the skill named no fallback, so a team or personal setting the resolver would have read went unapplied.Fix
glossary-settings.mjsreads--user-config -from stdin as one rawname=valueline per setting, and the skill pipes the values in through a quoted heredoc. No settings file is written or deleted, and no value needs escaping.node, or a second refusal, uses the default file names, and the skill says the settings were not resolved.nodeas an optional prerequisite, with the shared checker copies that declaration requires, and the resolver's usage header documents the stdin form.Verification
node --testontests/glossary-settings.test.mjs: 14 of 14 pass. New tests cover a value with a double quote and one with=, a backslash value dropped while the other setting applies, and an empty value and a placeholder staying unset.node scripts/check-declared-prerequisites.mjs,scripts/sync-shared-copies.sh --checkand its bump check exit 0.check-skillagainstmain: PASS, no new warning.scripts/validate-plugins.shandscripts/check-affected.shexit 0.Related
session: AI Hero
🤖 Generated with Claude Code