Skip to content

docs(openspec): fix plan #2531 guard cwd at the exit seam - #3052

Merged
dan-petty merged 3 commits into
mainfrom
docs/2531-fix-plan
Nov 1, 2026
Merged

dan-petty merged 3 commits into
mainfrom
docs/2531-fix-plan

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The evaluation of PR #2995 found defects in the plan for issue #2531. This change fixes the plan in place. It changes no code and no test.

The old plan named a test file that does not exist. It also guarded only _resolve_git_dir. That guard cannot make the command finish: the next crash is in the settings code. The new plan has two task groups. It has spec deltas in the two right capabilities: command-error-exit and command-telemetry. The Feasibility section now records the probe output and the history of the exit seam.

Plans #2531

The plan named a test file that does not exist and guarded only
_resolve_git_dir, which leaves the next crash in settings. The plan now
adds the guard and a check in the command wrapper, uses the real test
files, carries spec deltas in the right capabilities, and maps each
acceptance criterion to a group.
@dan-petty dan-petty added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 1, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Changes in the plan:

Evaluation findings:

  • Confirmed and fixed: the missing test file, the guard that is too narrow, and the wrong spec capability.
  • Confirmed and fixed (minor): the wording of the git log bullet.
  • Not confirmed: none.

Verification:

  • openspec validate --strict passed.
  • uv run devops openspec check passed.
  • tests/invariants/test_change_folders.py passed (16 tests).
  • A path script finds every path in the plan on origin/main. The only misses are src/, tests/ and tests/test_tracer.py. The Feasibility section names the last one as a file that does not exist.

@dan-petty
dan-petty marked this pull request as ready for review November 1, 2026 13:24
@dan-petty
dan-petty merged commit 9f3b701 into main Nov 1, 2026
19 checks passed
@dan-petty
dan-petty deleted the docs/2531-fix-plan branch November 1, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant