Repository navigation
docs(adr): name the two commands the decode rule does not stop - #124
Merged
Merged
Conversation
ADR 0010 said a file this version cannot read stops every command, and two commands were never in that set. `dw-mc cleanup` imports no configuration at all, and `dw-mc uninstall` wants the file's path and not what is in it - a file too broken to decode is exactly when taking the tool off this machine has to work. The exception is already enforced by the CLI coverage test; only the record overstated the rule. Closes #121 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ADR 0010 says in its title that a configuration file this version cannot read stops every command, and two commands were never in that set:
dw-mc cleanupimports no configuration at all, anddw-mc uninstallwants the file's path and not what is in it. A file too broken to decode is exactly when taking the tool off this machine has to work, so the exception is right — andsrc/cli/cli.test.tsalready enforces it. Only the record overstated the rule.What changes
cleanupanduninstallwith the reason each stands outside.--helpconsequence no longer calls it the one screen that keeps going, which the exception makes false.Test plan
pnpm check— pass (817 tests, 58 files, build clean)src/cli/cli.test.ts:29-33is the exception the prose now describes.Risk
None, docs only.
Left standing
Three places still state the absolute rule and are outside this issue:
docs/configuration.md:17,docs/adr/0009-one-review-run.md:17, and the shipped help copy atsrc/cli/header.ts:67with its comment at:55. The help string is what a user reads, so the docs and the copy want fixing together, in an issue of their own.Closes #121
🤖 Generated with Claude Code