summaryrefslogtreecommitdiffstats
path: root/.pi/goals/goal_events.jsonl
diff options
context:
space:
mode:
authoraur-build <aur-build@localhost>2026-11-18 07:01:09 +0000
committeraur-build <aur-build@localhost>2026-11-18 07:01:28 +0000
commitd7c386a703a9b69211d83854547218d6e1da9a51 (patch)
tree5b6097a70569d3ec0aaa3603a2e5346c1c5b539a /.pi/goals/goal_events.jsonl
parent22983d23554071013fb9caaa3a018ff2b649718b (diff)
downloadaur-build-d7c386a703a9b69211d83854547218d6e1da9a51.tar.gz
aur-build-d7c386a703a9b69211d83854547218d6e1da9a51.zip
test: the §2 invariant index (I1-I8, I10, I12)
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.
Diffstat (limited to '.pi/goals/goal_events.jsonl')
-rw-r--r--.pi/goals/goal_events.jsonl3
1 files changed, 3 insertions, 0 deletions
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"}