Repository navigation
CU-1: reproduce the Cursor write-gate allow on a Windows runner (diagnostic) - #254
jothimani-rajendran wants to merge 2 commits into
Conversation
Builds the witness selection (chock-catalog f23cb0e) for Cursor into the runner home on Python 3.14.3, makes a git-init repo beside it, and traces the witnessed preToolUse payload from home and from the repo under Git Bash and pwsh. Temporary: removed before merge. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Jothi Mani Rajendran <250249270+jothimani-rajendran@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Jothi Mani Rajendran <250249270+jothimani-rajendran@users.noreply.github.com>
|
Result: does not reproduce on windows-latest. Run 38061466227, head Both outputs, with the long gate message elided ( So on a clean Windows host, the root comes from Generated by Claude Code |
What
CU-1 follow-up. On the owner's Windows machine, the Cursor
preToolUsepin hook answersallowto the witnessed payload when the hook process starts in the user's home folder, anddenywhen it starts in the repo.This PR adds a temporary workflow,
cu1-diag.yml, plus.github/cu1-diag/. The job, onwindows-latestwith Python 3.14.3:chock-catalogf23cb0e: block-no-verify and pin-github-actions) for Cursor into the runner's home, at~/.cursor/plugins/local/chock-witness;~/witness-repo-cursorwithgit initonly;chock_diag.py;hooks.json, under Git Bash;If the runner reproduces the bug, the fix, a regression test and 3.14.3 in the
windows-pathsmatrix land here, and the temporary job is removed. If it does not, both outputs are posted here and the work stops.Definition of done
.github/cu1-diag/removed before readyactionlintandzizmor --offlineclean; actions pinned by SHA;contents: read;persist-credentials: false🤖 Generated with Claude Code
Generated by Claude Code