feat: align mutation guard with runtime_context workspace resolution (Closes #460) #462

Merged
sysadmin merged 1 commits from feat/issue-460-workspace-guard-alignment into master 2026-07-07 16:53:07 -05:00
1 Commits
Author SHA1 Message Date
sysadminandClaude Opus 4.8 b33844d74a feat: align mutation guard with runtime_context workspace resolution (Closes #460)
Share canonical workspace/repo-root resolution between gitea_get_runtime_context
and verify_preflight_purity so valid branches/ worktrees are not rejected when
the MCP process root differs from the stable control checkout. Fix relative
git-common-dir resolution and add regression tests.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
2026-07-07 16:11:23 -04:00