Skip to content

CH-5: Windows paths in the repo stop and the Windows CI leg - #310

Merged
jothimani-rajendran merged 6 commits into
mainfrom
ch-5-windows-paths
Oct 20, 2026
Merged

jothimani-rajendran merged 6 commits into
mainfrom
ch-5-windows-paths

Conversation

@jothimani-rajendran

@jothimani-rajendran jothimani-rajendran commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

What

  • repo_stop._repo_stop_words also splits with shlex(posix=False) and reads each word through PureWindowsPath, so rm C:\repo\.chock\stop.json names the repo (a POSIX split eats the backslashes).
  • Baseline-selection messages (validation/selection_source.py) name the repo-relative path with /.
  • windows-paths.yml runs the repo_stop (gap1d), pack hash, install and scaffold test files; no new permissions, actions unchanged.
  • A platform-independent test pins the Windows-path words.

Stacking

Stacks on #309 (CH-4, not yet merged): this branch carries a merge of #309's head (72df6a1), because tests/test_scaffold_kinds.py exists only there. Until #309 merges, the diff shows its commits too.

Owner follow-up

repo_stop is vendored runtime, so this diff drifts .chock/bin; the owner regenerates it on the branch after merging main. The worker did not run chock sync.

Not measured

Windows CI results, including the eight test_repo_stop_gap1d params: unmeasured until the Windows job runs. The pytest suite did not run locally (the pinned agentseam is not installable in the worker's environment); only the repo_stop function was exercised directly.

jothimani-rajendran and others added 6 commits October 19, 2026 15:47
repo_stop reads each shell word a second time without POSIX backslash
eating and through PureWindowsPath, so `rm C:\repo\.chock\stop.json`
names the repo. Baseline-selection messages name the repo-relative path
with forward slashes. windows-paths.yml also runs the repo_stop, pack
hash, install and scaffold test files.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Jothi Mani Rajendran <250249270+jothimani-rajendran@users.noreply.github.com>
Signed-off-by: Jothi Mani Rajendran <250249270+jothimani-rajendran@users.noreply.github.com>
NTFS has no executable bit; the scaffold chmod is a POSIX property.

Signed-off-by: Jothi Mani Rajendran <250249270+jothimani-rajendran@users.noreply.github.com>
Signed-off-by: Jothi Mani Rajendran <250249270+jothimani-rajendran@users.noreply.github.com>
@jothimani-rajendran
jothimani-rajendran marked this pull request as ready for review October 20, 2026 22:27
@jothimani-rajendran
jothimani-rajendran merged commit e5e05a0 into main Oct 20, 2026
26 checks passed
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.

1 participant