zara-coding: validate verification snapshot object identity #443

Open
nsaspy wants to merge 2 commits from rage/1-zara-coding-verify-head-shape into main
Owner

Advances #1 by tightening the trusted repository-evidence boundary before evidence is serialized into the canonical Prolog-RLM VERIFY path.

RAGE transaction

  • RED-first 81267247: proves a non-Git-object snapshot HEAD must be rejected even when all repeated evidence fields agree with the malformed value.
  • implementation c925d8bb: requires the repository snapshot HEAD to be a full 40- or 64-hex Git object ID, matching the existing worktree/head evidence contract.

No execution surface or authority change. This prevents malformed/caller-crafted observed evidence from entering VERIFY as a plausible repository identity. Exact-head compatibility, full registry/plugin Nix checks, and package builds remain mandatory before merge.

Advances #1 by tightening the trusted repository-evidence boundary before evidence is serialized into the canonical Prolog-RLM VERIFY path. ## RAGE transaction - RED-first `81267247`: proves a non-Git-object snapshot HEAD must be rejected even when all repeated evidence fields agree with the malformed value. - implementation `c925d8bb`: requires the repository snapshot HEAD to be a full 40- or 64-hex Git object ID, matching the existing worktree/head evidence contract. No execution surface or authority change. This prevents malformed/caller-crafted observed evidence from entering VERIFY as a plausible repository identity. Exact-head compatibility, full registry/plugin Nix checks, and package builds remain mandatory before merge.
Some checks failed
CI / test (pull_request) Failing after 15s
This pull request has changes conflicting with the target branch.
  • plugins/zara-coding/lib/zara_coding/spec_verify.py
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin rage/1-zara-coding-verify-head-shape:rage/1-zara-coding-verify-head-shape
git switch rage/1-zara-coding-verify-head-shape

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