coding: prove worktree lock state #380

Open
nsaspy wants to merge 0 commits from rage/202-worktree-lock-proof into main
Owner

Advances #1. Closes #202.

RAGE transaction:

  • RED 1ec36805: zero-exit lock without canonical lock state and changed post-lock identity must fail.
  • implementation 7f5d9657: re-read canonical worktree inventory after git worktree lock and prove target identity plus exact coordination reason.
  • fixture update 4f0eb675: positive lock tests now model the real state transition and assert a post-lock proof read.

No shell/runtime expansion; reason bounds, allowed-root confinement, and approval gating remain intact.

Required gate: focused tests, registry compatibility, full nix flake check, generated package builds, exact-head green before merge.

Advances #1. Closes #202. RAGE transaction: - RED `1ec36805`: zero-exit lock without canonical lock state and changed post-lock identity must fail. - implementation `7f5d9657`: re-read canonical worktree inventory after `git worktree lock` and prove target identity plus exact coordination reason. - fixture update `4f0eb675`: positive lock tests now model the real state transition and assert a post-lock proof read. No shell/runtime expansion; reason bounds, allowed-root confinement, and approval gating remain intact. Required gate: focused tests, registry compatibility, full `nix flake check`, generated package builds, exact-head green before merge.
Some checks failed
CI / test (pull_request) Failing after 17s
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin rage/202-worktree-lock-proof:rage/202-worktree-lock-proof
git switch rage/202-worktree-lock-proof

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff rage/202-worktree-lock-proof
git switch rage/202-worktree-lock-proof
git rebase main
git switch main
git merge --ff-only rage/202-worktree-lock-proof
git switch rage/202-worktree-lock-proof
git rebase main
git switch main
git merge --no-ff rage/202-worktree-lock-proof
git switch main
git merge --squash rage/202-worktree-lock-proof
git switch main
git merge --ff-only rage/202-worktree-lock-proof
git switch main
git merge rage/202-worktree-lock-proof
git push origin main
Sign in to join this conversation.
No description provided.