Skip to content

docs(openspec): plan #3415 resolve a cited bare name in the stage probe - #3437

Merged
dan-petty merged 2 commits into
mainfrom
fix/3415-the-stage-probe-names-the-files
Nov 4, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/3415-the-stage-probe-names-the-files

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Plans #3415

The stage probe checks each cited path literally at the staging commit root. A bare file name such as stage_specs.py fails there even when a file with that name sits under src/devops_cli/roadmap/, and the planner then dismisses a file that exists (PR #3336 did).

The probe now reads the staged tree once, on the first missing cited path, lists the files of the same name that the commit holds, and names them as candidates. The line then says the path is no file at the root of the commit, not that it is no file of the commit. A path at the root keeps its present line. The candidates stay bounded by SAME_NAME_MAX.

The probe test covers a cited bare name with no root file, a root file with no same-name file, and six same-name files. The test that pins the probe command kinds adds ls-tree.

Change: openspec/changes/3415-the-stage-probe-names-the-files/

@devops-cli-service devops-cli-service Bot added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 4, 2026
@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 4, 2026 06:13
@dan-petty
dan-petty merged commit 1971c2a into main Nov 4, 2026
19 checks passed
@dan-petty
dan-petty deleted the fix/3415-the-stage-probe-names-the-files branch November 4, 2026 13:05
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