8000 docs(adr): name the two commands the decode rule does not stop by dominikwozniak · Pull Request #124 · dominikwozniak/dw-mc · GitHub
[go: up one dir, main page]

Skip to content

docs(adr): name the two commands the decode rule does not stop - #124

Merged
dominikwozniak merged 1 commit into
mainfrom
docs/121-decode-exceptions
Sep 20, 2026
Merged

dominikwozniak merged 1 commit into
mainfrom
docs/121-decode-exceptions

Conversation

@dominikwozniak
Copy link
Copy Markdown
Owner

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 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, so the exception is right — and src/cli/cli.test.ts already enforces it. Only the record overstated the rule.

What changes

  • docs/adr/0010-configuration-that-cannot-be-read.md — the title scopes the rule to the commands that read the file, and a paragraph names cleanup and uninstall with the reason each stands outside.
  • docs/adr/0010-configuration-that-cannot-be-read.md — the --help consequence 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)
  • No code changed, so no test changed. src/cli/cli.test.ts:29-33 is 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 at src/cli/header.ts:67 with 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

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>
@dominikwozniak
dominikwozniak merged commit f225ed6 into main Sep 20, 2026
1 check passed
@dominikwozniak
dominikwozniak deleted the docs/121-decode-exceptions branch September 20, 2026 14:27
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.

docs(adr): name the commands a configuration file this version cannot read does not stop

1 participant

0