aien-sovereign-core-mv
AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination.
Brought by drakestapleton
aien-sovereign-core-mv / docs / campaigns / next-phase-1 / ACCEPTANCE-v2.md
| 1 | # NEXT-PHASE-1 campaign v2: acceptance criteria (frozen before any v2 code or run) |
| 2 | |
| 3 | ```text |
| 4 | campaign_id = "next-phase-1" |
| 5 | spec_version = 2 |
| 6 | status = FROZEN at the commit that adds this file. The v2 code (fixed |
| 7 | proposal template, bounded automatic retry, omega.lock bump) |
| 8 | lands in LATER commits, so this file's hash predates it. |
| 9 | supersedes = nothing in Section 3 of ACCEPTANCE.md (spec_version 1). |
| 10 | ``` |
| 11 | |
| 12 | v1 stands as recorded: receipts `92acb566...` (attempt 4) and the three attempts before it |
| 13 | are never edited. v1 verdict FAIL on "Human interventions: rescues" = 3. |
| 14 | |
| 15 | ## 1. Task, steps, receipts: unchanged |
| 16 | |
| 17 | The bounded task, the eight steps S1..S8 and their recorded states (ACCEPTANCE.md Section 1), |
| 18 | the environment class (Section 2) and both receipt formats (Section 4) apply unchanged. |
| 19 | |
| 20 | ## 2. Pass criteria: v1 thresholds, unchanged |
| 21 | |
| 22 | | Criterion | Threshold (as v1) | |
| 23 | |-----------|-------------------| |
| 24 | | Task completion | 8 of 8 | |
| 25 | | Correctness: committed content | byte-identical, digests equal | |
| 26 | | Correctness: recall | byte-identical | |
| 27 | | Latency | report only | |
| 28 | | Resource use | report only (VmHWM before and after restart, GPU yes/no) | |
| 29 | | Human interventions: approvals | exactly 1, for the committed effect | |
| 30 | | Human interventions: rescues | 0 | |
| 31 | | Identity | identical digest | |
| 32 | | Memory | exists, digest verified, equal to pre-restart digest | |
| 33 | | Containment: workspace | empty | |
| 34 | | Containment: speculation | none | |
| 35 | |
| 36 | **What counts as a rescue (made explicit, not changed):** any human action after the campaign |
| 37 | driver is launched (editing, re-running a step, changing a prompt, goal or setting, restarting |
| 38 | outside S7). An automatic retry made by the Skill itself, inside one `RunComposeTask`, is NOT a |
| 39 | rescue. The driver is launched once, with one goal, one task, two daemon starts (one restart). |
| 40 | |
| 41 | ## 3. Declared production-path changes (v2) |
| 42 | |
| 43 | (a) **Fixed proposal template.** The "model" Skill of `RunComposeTask` asks the model for |
| 44 | exactly: first line `filename: <relative path>`, then the complete file content. The template is |
| 45 | part of the production `RunComposeTask` path (aien-runtime), the same for every goal; it is not |
| 46 | a per-run prompt edit. The parser accepts only that shape: the first nonempty line must be |
| 47 | `filename: <path>`, the path relative, without `..`, not absolute, not `~`, and the content |
| 48 | nonempty. A reply that fails the parser is refused by the Skill before AEGIS sees it. |
| 49 | |
| 50 | (b) **Bounded automatic retry inside the Skill.** At most 3 proposals per task. Attempt k > 1 |
| 51 | uses the same template plus one fixed correction line that names the previous refusal reason; |
| 52 | decoding stays greedy (temperature 0). Every attempt is recorded in the task report and in the |
| 53 | campaign receipt as `proposal_attempts[]`: attempt number, wall ms, generated token count, outcome |
| 54 | (`parsed` / `refused` / `timeout` / `error`), refusal reason, sha256 of the text, the text, and for |
| 55 | the attempt handed to AEGIS the AEGIS outcome (pass / fail). |
| 56 | |
| 57 | ## 4. Token and time budget (measured input, declared) |
| 58 | |
| 59 | - `max_tokens` per attempt = 48 (`AIEN_COMPOSE_MAX_TOKENS` default for the compose Skill). |
| 60 | - Measured rate on this path (v1, GB10, TinyLlama, same daemon): S3 = 13.6 s at 32 tokens |
| 61 | and 16.5 s at 48 tokens, i.e. about 5.7 tokens/s marginal with about 8 s fixed per attempt |
| 62 | (INFERRED from two points; v2 reports the measured per-attempt rate). |
| 63 | - Wall budget for all attempts of one task = 25 s, unchanged, below `rx_compose_run`'s 30 s |
| 64 | quiescence wait, which is NOT raised. Attempt 1 always starts; attempt k > 1 starts only if the |
| 65 | remaining budget is at least the measured duration of attempt k-1; each attempt's limit is the |
| 66 | remaining budget. At the measured rate a full 48-token attempt takes about 16.5 s, so a second |
| 67 | attempt fits only when the first ends early (end of sequence); this is expected and recorded. |
| 68 | |
| 69 | ## 5. Binding and run conditions |
| 70 | |
| 71 | - omega pinned by `omega.lock` = 62b6a2899fa230e57fcf7855ea7e2c26404514b6 (omega main after |
| 72 | omega#311). aien-omega-compose builds librx_compose from the lock by default. The GPU engine |
| 73 | (aien-omega-gpu) reads the same lock, so v2 also moves the GPU engine pin from CAND-2 |
| 74 | 79a805d to 62b6a28; the receipt records both. |
| 75 | - GB10 hold through omega `tools/quietlock` (`quietlock hold --minutes <= 20`), with start and |
| 76 | release whispers. One run of the driver. The verdict is whatever the rows give. |
| 77 | - Performance is an observation, not a criterion: the summary reports measured tokens/s. |