zara-coding: validate repository snapshot collection shape #441

Open
nsaspy wants to merge 0 commits from rage/1-zara-coding-snapshot-evidence-shape into main
Owner

Advances #1 by closing another structured-evidence boundary: non-mapping repository snapshots now fail with an explicit contract error instead of leaking AttributeError from .get().

RAGE transaction

  • RED-first 88500bda: proves malformed snapshot containers must be rejected deterministically.
  • implementation 995ff24e: validates Mapping before reading snapshot fields; existing head/branch/dirty/path invariants remain unchanged.

No authority or execution expansion. Exact-head compatibility, full registry/plugin Nix checks, and generated package builds remain mandatory before merge.

Advances #1 by closing another structured-evidence boundary: non-mapping repository snapshots now fail with an explicit contract error instead of leaking `AttributeError` from `.get()`. ## RAGE transaction - RED-first `88500bda`: proves malformed snapshot containers must be rejected deterministically. - implementation `995ff24e`: validates `Mapping` before reading snapshot fields; existing head/branch/dirty/path invariants remain unchanged. No authority or execution expansion. Exact-head compatibility, full registry/plugin Nix checks, and generated package builds remain mandatory 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-snapshot-evidence-shape:rage/1-zara-coding-snapshot-evidence-shape
git switch rage/1-zara-coding-snapshot-evidence-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-snapshot-evidence-shape
git switch rage/1-zara-coding-snapshot-evidence-shape
git rebase main
git switch main
git merge --ff-only rage/1-zara-coding-snapshot-evidence-shape
git switch rage/1-zara-coding-snapshot-evidence-shape
git rebase main
git switch main
git merge --no-ff rage/1-zara-coding-snapshot-evidence-shape
git switch main
git merge --squash rage/1-zara-coding-snapshot-evidence-shape
git switch main
git merge --ff-only rage/1-zara-coding-snapshot-evidence-shape
git switch main
git merge rage/1-zara-coding-snapshot-evidence-shape
git push origin main
Sign in to join this conversation.
No description provided.