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
{{ message }}
Repository navigation
#721 tracked-handoff guard is bypassed when Claude starts from a repo subdirectory #754
cohort-13Open at the v0.34.0 tag, 2026-09-25. Frozen: nothing joins a cohort.filed-by-loopFiled by the maintainer loop, not by a human. Sets the author axis in dispatch_rank.
Found by the v0.34.0 release audit (round 2, finding N1). The release shipped with it by maintainer override: it is a gap in a guard v0.33.0 did not have at all, not a regression.
scripts/session-start-hook.sh (~:1831, _remember_handoff_is_tracked) decides "is this a git checkout" by testing for .git directly in the project/memory-project directory. When Claude Code is started from a subdirectory of a repository (e.g. repo/pkg/), .remember/ resolves to repo/pkg/.remember/. There is no .git there, so the guard returns "not tracked", and a repository-committed pkg/.remember/remember.md is injected as === LAST HANDOFF ===.
Fix direction: ask git about the file itself (e.g. git -C "$(dirname "$file")" ls-files --error-unmatch -- "$(basename "$file")") instead of testing for .git in one fixed directory. That also covers worktrees and submodules without special cases. Test-first: a tracked handoff under a subdirectory project must not be injected. Positive control: an untracked one is still delivered.
Related: #747 (same guard, worktree case). The same audit also reported the guard only matches the handoff file by name, and that identity.md is still anchored on the worktree path; those are filed separately.
cohort-13Open at the v0.34.0 tag, 2026-09-25. Frozen: nothing joins a cohort.filed-by-loopFiled by the maintainer loop, not by a human. Sets the author axis in dispatch_rank.
Activity
fix(#757): strip model/reject_pattern only when the project config is…
fix(#757): a repo-committed config is no longer trusted after migrati…
injection guard: refuse a symlinked directory in the memory path; nor…
curate: 8 trap.d fragments -- 1 promote, 1 merge, 6 decline (#807)
fix(Digital-Process-Tools#754,Digital-Process-Tools#755,Digital-Proce…