summaryrefslogtreecommitdiffstats
path: root/.pi/goals/active_goal_2026111720432444_mwl5tehk-xhe7fk.md
diff options
context:
space:
mode:
authoraur-build <aur-build@localhost>2026-11-17 22:09:13 +0000
committeraur-build <aur-build@localhost>2026-11-17 22:09:13 +0000
commit22983d23554071013fb9caaa3a018ff2b649718b (patch)
treef3d8e51c1555762b81244f88f3ad0cdd1239a253 /.pi/goals/active_goal_2026111720432444_mwl5tehk-xhe7fk.md
parent4ac1d19ca5dc540db0478943a0cd70a5353307da (diff)
downloadaur-build-22983d23554071013fb9caaa3a018ff2b649718b.tar.gz
aur-build-22983d23554071013fb9caaa3a018ff2b649718b.zip
cli: operator command line with the approval path (§7.2)
aur-build init/subscribe/detect/reviews/show/approve/reject/build/run/ builds/status/packages/audit. approve renders the review and then approves with the hashes it just rendered, so the CLI cannot approve a diff it did not show you; --identity/--diff reproduce the stale case explicitly and a refusal exits 2 (the web equivalent is 409). Approvals are now immutable at the schema level: migration 0006 rejects UPDATE and DELETE on the approval table, because that row is the only proof the system has of what a human actually looked at (§7.2, I10). Publishing also refuses when no approval is reachable, including the manual-rebuild path that inherits one. 10 tests, including two that drive the compiled binary end to end against a file:// AUR fixture.
Diffstat (limited to '.pi/goals/active_goal_2026111720432444_mwl5tehk-xhe7fk.md')
-rw-r--r--.pi/goals/active_goal_2026111720432444_mwl5tehk-xhe7fk.md20
1 files changed, 11 insertions, 9 deletions
diff --git a/.pi/goals/active_goal_2026111720432444_mwl5tehk-xhe7fk.md b/.pi/goals/active_goal_2026111720432444_mwl5tehk-xhe7fk.md
index 04fdf9e..ec91fe8 100644
--- a/.pi/goals/active_goal_2026111720432444_mwl5tehk-xhe7fk.md
+++ b/.pi/goals/active_goal_2026111720432444_mwl5tehk-xhe7fk.md
@@ -5,14 +5,14 @@
"status": "active",
"autoContinue": true,
"usage": {
- "tokensUsed": 1848360,
- "activeSeconds": 4224
+ "tokensUsed": 2043927,
+ "activeSeconds": 4924
},
"sisyphus": false,
"createdAt": "2026-11-17T20:43:24.440Z",
- "updatedAt": "2026-11-17T21:57:10.569Z",
+ "updatedAt": "2026-11-17T22:09:08.579Z",
"activePath": ".pi/goals/active_goal_2026111720432444_mwl5tehk-xhe7fk.md",
- "revision": 201,
+ "revision": 235,
"scheduler": {
"version": 1,
"owner": "01a1eb32-2e3f-757c-a79a-21ac993facc5",
@@ -78,8 +78,10 @@
{
"id": "task-p0-build",
"title": "Build pipeline steps 0–9 and atomic signed publish (§8.1, §9)",
- "status": "pending",
- "verificationContract": "Shim-driven run of materialize→plan→chroot→sources→pkgver→build→collect→verify→ingest→publish; step 0 materializes from the local mirror and fails closed on recipe_hash mismatch; step 4 fails closed on pkgver mismatch; publish writes .tmp, fsyncs, renames, signs package and db, and updates current_accepted_release_id by compare-and-swap."
+ "status": "complete",
+ "verificationContract": "Shim-driven run of materialize→plan→chroot→sources→pkgver→build→collect→verify→ingest→publish; step 0 materializes from the local mirror and fails closed on recipe_hash mismatch; step 4 fails closed on pkgver mismatch; publish writes .tmp, fsyncs, renames, signs package and db, and updates current_accepted_release_id by compare-and-swap.",
+ "completedAt": "2026-11-17T21:58:00.936Z",
+ "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"
},
{
"id": "task-p0-invariants",
@@ -211,7 +213,7 @@
"blockCompletion": true,
"proposedAt": "2026-11-17T20:39:23.165Z"
},
- "currentTaskId": "task-p0-build"
+ "currentTaskId": "task-p0-approve"
}
# Goal Prompt
@@ -244,8 +246,8 @@ IF BLOCKED: stop and ask the user (e.g. no network for crates, toolchain uninsta
- Status: running
- Auto-continue: on
- Sisyphus mode: no
-- Time spent: 1h10m24s
-- Tokens used: 1.8M (1,848,360) tokens
+- Time spent: 1h22m04s
+- Tokens used: 2M (2,043,927) tokens
## Tasks
<!-- blockCompletion: true -->