You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow-ups from the independent review of #6005 (PAN-5990), comment #6005 (comment). None are exploitable with today's configuration; all make the reaper's keep rules robust.
Wrapper commit check ignores merge commits. It uses git log --name-only, which lists no paths for merge commits, and every stash entry is a merge commit. Use --diff-merges=first-parent, so a stashed edit to a disallowed path is seen. Add a test with a stash that touches a non-allowed path.
Edited Overdeck-written files are exempt by path alone. The rendered .env (workspace.env.template, overdeck-written-paths.ts:105) and files copied from the agent template are exempt even when edited. Record a content hash when Overdeck writes them, as the .claude/ manifest already does, and exempt them only while the hash matches. An edited file counts as work.
.devcontainer/ is never inspected. It's on the build or cache list, so a precious file (.env, a SQL dump) inside a gitignored .devcontainer/ isn't checked. Take it off the skip list, or check precious names inside it.
Gitignored nested clones outside .tmp/ are not detected. This is unchanged from main. Detect any directory containing a .git inside the workspace, ignored or not, bounded, and judge it like the other nested clones.
Each item needs a test that fails when the fix is reverted.
Activity