zara-coding: verify worktree cleanup through SPEC #452

Open
nsaspy wants to merge 0 commits from rage/1-zara-coding-worktree-absent into main
Owner

Advances #1 with a second dependency-ready local verification slice after #111.

RAGE transaction

  • RED-first 2dd9659: define a trusted worktree_absent/1 verification contract.
  • implementation 00f6a12 + 8ae02a4: register the pure provider/evaluator and project absence from the same bounded current Git worktree inventory already used by repository verification.

Contract

  • worktree_absent accepts exactly one structured path argument.
  • absence is derived only from the current bounded worktree inventory; inventory overflow/malformed evidence already fails closed before verification.
  • a matching registered worktree yields present:true and therefore fails the assertion; no match yields present:false and passes.
  • no Prolog filesystem collection, assertz, shell, mutation, worker identity claim, or plugin-private authorization path is introduced.

This gives cleanup/completion SPECs a way to prove a task worktree is gone without pretending Git's coordination locks establish principal ownership. Cross-plugin worker/principal composition remains correctly blocked on Zara Core #400.

Exact-head CI must pass whitespace, Zara compatibility, the full generated registry/plugin Nix gate, and package builds before merge.

Advances #1 with a second dependency-ready local verification slice after #111. ## RAGE transaction - RED-first `2dd9659`: define a trusted `worktree_absent/1` verification contract. - implementation `00f6a12` + `8ae02a4`: register the pure provider/evaluator and project absence from the same bounded current Git worktree inventory already used by repository verification. ## Contract - `worktree_absent` accepts exactly one structured `path` argument. - absence is derived only from the current bounded worktree inventory; inventory overflow/malformed evidence already fails closed before verification. - a matching registered worktree yields `present:true` and therefore fails the assertion; no match yields `present:false` and passes. - no Prolog filesystem collection, `assertz`, shell, mutation, worker identity claim, or plugin-private authorization path is introduced. This gives cleanup/completion SPECs a way to prove a task worktree is gone without pretending Git's coordination locks establish principal ownership. Cross-plugin worker/principal composition remains correctly blocked on Zara Core #400. Exact-head CI must pass whitespace, Zara compatibility, the full generated registry/plugin Nix gate, and package builds before merge.
Some checks failed
CI / test (pull_request) Failing after 16s
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/1-zara-coding-worktree-absent:rage/1-zara-coding-worktree-absent
git switch rage/1-zara-coding-worktree-absent

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/1-zara-coding-worktree-absent
git switch rage/1-zara-coding-worktree-absent
git rebase main
git switch main
git merge --ff-only rage/1-zara-coding-worktree-absent
git switch rage/1-zara-coding-worktree-absent
git rebase main
git switch main
git merge --no-ff rage/1-zara-coding-worktree-absent
git switch main
git merge --squash rage/1-zara-coding-worktree-absent
git switch main
git merge --ff-only rage/1-zara-coding-worktree-absent
git switch main
git merge rage/1-zara-coding-worktree-absent
git push origin main
Sign in to join this conversation.
No description provided.