From d7c386a703a9b69211d83854547218d6e1da9a51 Mon Sep 17 00:00:00 2001 From: aur-build Date: Wed, 18 Nov 2026 07:01:09 +0000 Subject: =?UTF-8?q?test:=20the=20=C2=A72=20invariant=20index=20(I1-I8,=20I?= =?UTF-8?q?10,=20I12)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit One named test per invariant, each asserted as a post-condition on a real end-to-end run rather than as a unit test of whichever helper happens to maintain it: I1 index entry -> release -> approval, I2 base is the accepted release after five unreviewed detections, I3 materialize fails closed on the recipe pin, I4 a mid-publish crash leaves the served index byte-identical, I5 resume repeats no completed step and records no duplicate artifact, I6 a rebuild needs no new approval, I7 the partial unique index refuses a second open review, I8 the index equals the accepted pointers in the DB and in the .db file on disk, I10 audit and approval are append-only, I12 every build records its world snapshot. --- .pi/goals/goal_events.jsonl | 3 +++ 1 file changed, 3 insertions(+) (limited to '.pi/goals/goal_events.jsonl') diff --git a/.pi/goals/goal_events.jsonl b/.pi/goals/goal_events.jsonl index 8e5ef14..f595116 100644 --- a/.pi/goals/goal_events.jsonl +++ b/.pi/goals/goal_events.jsonl @@ -11,3 +11,6 @@ {"type":"task_started","goalId":"mwl5tehk-xhe7fk","taskId":"task-p0-build","at":"2026-11-17T21:32:52.768Z"} {"type":"task_complete","goalId":"mwl5tehk-xhe7fk","taskId":"task-p0-build","evidence":"tests/pipeline.rs: 17 shim-driven e2e tests pass (fail-closed recipe_hash + pkgver, kill-mid-publish I4, crash-resume I5, CAS pointer, signed db+pkgs); cargo clippy clean","at":"2026-11-17T21:58:00.937Z"} {"type":"task_started","goalId":"mwl5tehk-xhe7fk","taskId":"task-p0-approve","at":"2026-11-17T21:58:43.315Z"} +{"type":"task_complete","goalId":"mwl5tehk-xhe7fk","taskId":"task-p0-approve","evidence":"tests/approve.rs: 10 tests pass incl. both-hash immutable approval row (migration 0006 trigger), stale identity/diff refused, collapse-in-place revision bump, viewed→superseded freeze, rejected identi","at":"2026-11-17T22:10:06.063Z"} +{"type":"goal_paused","goalId":"mwl5tehk-xhe7fk","reason":"user","status":"paused","at":"2026-11-17T22:12:03.674Z"} +{"type":"goal_resumed","goalId":"mwl5tehk-xhe7fk","reason":"user","at":"2026-11-18T06:57:52.837Z"} -- cgit v1.2.3