Repository navigation
docs(openspec): plan #3218 dry-run config unset writes nothing - #3234
Conversation
…ints... Plans #3218.
|
Review of the plan for #3218. CI: all 18 checks of head d099548 pass.
Sibling check: the same defect is not in the other config commands. Better than the earlier plans:
Related issues: #2740 (open, same requirement and the redaction design, see 1 and 3); #3158 (closed unmerged plan for #2740); #2963 and #2255 (merged, removed the preview). Verdict: hold until findings 1, 2, 3, 4 and 7 are fixed. Generated by Claude Code |
…-with-dry-run-deletes
Plans #3218 `devops --dry-run config unset <key>` deleted the key and wrote a backup, which contradicts the config-commands spec. The command called `remove_config_key(key, dry_run=False)` and never read the removal's diff. This change passes the dry-run flag to `remove_config_key`, so a dry run changes no config file, writes no backup and no audit record, and prints the diff of the removal. Each credential value in that diff shows as `***REDACTED***`, taken from `write_history.credential_paths`. The tests assert the new behavior: the file is unchanged, no backup exists, and the diff holds no credential value. Change: `openspec/changes/3218-config-unset-with-dry-run-deletes/`
|
Remediated the plan for #3218 to address all 7 review findings:
|
…5651) Plans #3246 The stage context gives the planner the names of a capability's requirements only, and the duplicate check compares names only (#3246). A plan then adds a requirement whose name is new while a base requirement states, or contradicts, the behavior: #3225, #3228 and #3234 each needed a modified block that the planner did not write. This change adds the text of the matching base requirements to the plan request, cut to 12 requirements and 6000 characters and ordered by relevance. The prompt tells the planner to change a requirement that states the behavior with modified. The review request carries the same text, so a finding that quotes a stated requirement returns the plan, and a new golden-set case replays the conflict of #3225. Change: `openspec/changes/3246-add-requirement-text-to-the-stage/` Co-authored-by: devops-cli-service[bot] <349441588+devops-cli-service[bot]@users.noreply.github.com>
Plans #3218
devops --dry-run config unset <key>deleted the key and wrote a backup, which contradicts the config-commands spec. The command calledremove_config_key(key, dry_run=False)and never read the removal's diff. This change passes the dry-run flag toremove_config_key, so a dry run changes no config file, writes no backup and no audit record, and prints the diff of the removal. Each credential value in that diff shows as***REDACTED***, taken fromwrite_history.credential_paths. The tests assert the new behavior: the file is unchanged, no backup exists, and the diff holds no credential value.Change:
openspec/changes/3218-config-unset-with-dry-run-deletes/