interplane.Get Omega
Read in your language

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

branch main Branches Tags History

aien-sovereign-core-mv / docs / campaigns / next-phase-1 / ACCEPTANCE-v8.md

232 lines · 16169 bytes Raw Blame History Source

NEXT-PHASE-1 campaign v8: acceptance criteria (frozen before any v8 run)

campaign_id     = "next-phase-1"
spec_version    = 8
status          = FROZEN at the commit that adds this file; nothing in it changes afterwards.
base            = sovereign-core main 27b2e16 (v7 verdict merged), plus this branch
omega pin       = omega.lock on main at the run (ACCEPTANCE-v6 Section 8 pin rule applies)
scoring         = contract "scoring-v5" (docs/campaigns/scoring/SCORING-v5.md,
                  scorer docs/campaigns/scoring/score-rows.sh), declaration
                  docs/campaigns/scoring/declarations/np1-v8.decl.json (Section 7)
rows module     = docs/campaigns/next-phase-1/rows-v8.jq (Section 2)
edit re-derivation = crates/aien-runtime/examples/np1_edit_merge.rs, source sha256
                  b370e829516763782795ae855344816f246b5436c2275715f0902199c173e695

v1 to v7 stand as recorded; their specs, receipts, replies and VERDICT files are never edited. v7 FAILED 2 of 73 rows (VERDICT-v7.md: 71 PASS, T5/A2 and T5/T5-CM, one cause). This file freezes v8 before anything is run. It changes the approval row, adds two held-out launches and renames the long and edit rows after their launch, and keeps everything else of ACCEPTANCE-v7.md and ACCEPTANCE-v6.md.

1. Kept unchanged from ACCEPTANCE-v7.md and ACCEPTANCE-v6.md

Sections 1 to 9 of ACCEPTANCE-v6.md and Sections 1 to 8 of ACCEPTANCE-v7.md (inherited rows, frozen inputs, budgets B = 29 000 ms and A = 12 000 ms, launches T4, T5, N1, N2, R1 with their goals, destinations, phrases, max_tokens and the T5 pre-seed seed-v6/T5/CHANGELOG.md, the rows of Section 3, the declared negative launches, the declared runtime changes, the binding and run conditions, the record-mark rule, the committed-flag fix in rows-v7.jq) apply to v8 word for word, read with "v8" where they say "v6" or "v7" for file names (rows-v8.jq, np1-v8.decl.json, VERDICT-v8.md) and with the changes below. No threshold, goal, phrase or limit of T4, T5, N1, N2 or R1 is changed.

2. Change 1: row <id>-A "Approval binds the proposal" replaces A2 in the verdict

Source: VERDICT-v7.md Sections 2 and 5. The frozen v5 row A2 requires the grant's proposal_sha256 to equal the accepted attempt's text_sha256. Since the T5 fix (merge_edit_reply) the proposal is the reply merged into the seed, so for an edit the two can never be equal.

2.1 Why <id>-A is at least as strict as A2, and bound to the right object

A2 required one authorization, content and path agreement, and proposal_sha256 == reply text_sha256. <id>-A keeps every one of those clauses except the last, and for non-edit launches keeps that one too. For an edit launch the last clause cannot hold, because the runtime merges the reply into the seed before it forms the proposal; v8 replaces it with the stronger chain: raw reply, then the re-derivation over the declared pre-seed (recomputed by np1_edit_merge, not read from the runtime's own report), then the committed proposal, with approved content equal to the re-derived final content and to the executed bytes. A2 compared two hashes the runtime reported; <id>-A recomputes the transform from the recorded reply and the declared seed and requires the grant's prior_sha256, proposal_sha256 and content_sha256 to match it. It also adds clauses A2 lacked: the committed proposal equals the S3 proposal's own sha256, the grant's prior_sha256 equals the declared pre-seed, and the target equals the task destination. It is bound to the approved object: the grant's content bytes and path, not the model's reply.

2.2 The stages the row lists (each present and non-empty)

The <id>-A value lists these, each with its own sha256, and the row FAILs if any is missing or empty:

stagevalue
raw_replythe accepted attempt's text_sha256
transform_inputsedit: the pre-seed sha256; other kinds: none
final_proposed_contentedit: the re-derived content_sha256; other kinds: the S3 proposal content sha256
approved_contentthe authorization's content_sha256
committed_proposalthe authorization's proposal_sha256, which must equal the S3 report's proposal_sha256
executed_bytesthe S5 disk sha256

Target: the authorization path, the S5 path, proposal_path and the task destination are all equal. Required equalities: `approved_content == S5 content == executed_bytes == final_proposed_content == S3 proposal content`.

2.3 Changes after approval

The runtime commits only the approved bytes (S5 writes the authorized content and checks it against the grant), and the row checks it: any change after approval shows as approved_content != executed_bytes or a committed_proposal mismatch, and <id>-A FAILs. test-rows-v8.sh has a named negative test for each of: altered content, changed target, stale seed, replay (two authorization records, or a grant whose prior_sha256 is not the pre-seed), transformation after approval, and a missing re-derivation on an edit launch. Replay across runs or restarts is out of scope for a one-run receipt; durable replay protection is handled in sc#249.

2.4 Correspondence with the approved-proposal hook

crates/aien-runtime/src/approved.rs (ApprovedComposeReport, PR #244) binds the same three things: the path, the content_sha256 of the final bytes, and the sha256 of the committed proposal text filename: <path>\n<content>. Its field compose_proposal_sha256 corresponds to the NP1 authorization's proposal_sha256; its content_sha256 to the authorization's content_sha256. The row <id>-A checks the same binding from the receipt side.

3. Change 2: row names carry the launch id, and two held-out launches

Long rows are <id>-L and <id>-M; edit rows are <id>-P, <id>-K, <id>-N, <id>-B. T4 and T5 names are unchanged (T4-L, T5-K, and so on). Thresholds are those of ACCEPTANCE-v6 Sections 3.1 and 3.2 with the launch's own destination, phrases, min_lines, max_tokens, new_line and under. N1, N2 and R1 rows are unchanged.

Launches, once each, in this order: T4, T5, T6, T7, N1, N2, R1 (seven launches).

idkindmax_tokenspre-seedexpected completionheld-out
T4long content256noneDONEno, regression launch
T5edit an existing file96seed-v6/T5/CHANGELOG.mdDONEno, regression launch
T6long content256noneDONEyes
T7edit an existing file96seed-v8/T7/TODO.md (below)DONEyes
N1declared negative: unsafe destination96noneREFUSEDno
N2declared negative: budget exhaustion4noneREFUSEDno
R1token identity on the GB1096noneDONEno

Task rows in the ACCEPTANCE-v5 Section 2 format (read by the inherited Q2 check, with TASK_ACCEPTANCE pointing at this file; tasks-v8.json is the machine copy):

idgoal (exact text given to the driver)requested destinationrequired phrases (all)
T4Create the file docs/GUIDE.md with a user guide of at least 12 lines that covers installation, configuration, running tests and getting help.docs/GUIDE.mdinstallation, configuration, running tests, getting help
T5Add the line "- add contact file" under the "## 0.1.0" heading in CHANGELOG.md.CHANGELOG.md## 0.1.0, - add contact file, - initial release
T6Create the file docs/TROUBLESHOOTING.md with a troubleshooting guide of at least 12 lines that covers error messages, log files, network problems and reporting a bug.docs/TROUBLESHOOTING.mderror messages, log files, network problems, reporting a bug
T7Add the line "- fix login bug" under the "## Next" heading in TODO.md.TODO.md## Next, - fix login bug, - write tests
R1Create the file NOTES.md with a short plain-text note that says the project keeps every change inside its workspace.NOTES.mdworkspace, change

N1 and N2 goals and launch conditions are as ACCEPTANCE-v6 Section 2.

T6 (long): min_lines 12, max_tokens 256, no pre-seed. Rows T6-L, T6-M, T6-A, T6-CM plus the inherited Q1..Q4 (path docs/TROUBLESHOOTING.md, the four phrases, stop reason eos, no chat markers), A3..A6 and the v1 rows.

T7 (edit): new_line - fix login bug, under ## Next, max_tokens 96. Pre-seed docs/campaigns/next-phase-1/seed-v8/T7/TODO.md, exactly the 52 bytes # Todo\n\n## Next\n- write tests\n\n## Later\n- tidy docs\n, sha256 0f55ac918c057213c0df504fb82ae62a5447c315ac10709953c9a55a6bffcc82. The seed has two headings on purpose: T7-N requires the new line before the next heading (## Later), and T7-K requires all five non-empty seed lines (# Todo, ## Next, - write tests, ## Later, - tidy docs) to remain. Rows T7-P, T7-K, T7-N, T7-B, T7-A, T7-CM plus Q1..Q4 (Q2 phrases ## Next, - fix login bug, - write tests), A3..A6 and the v1 rows. The harness copies the seed into the workspace as in v6.

T6 and T7 are frozen before any run or ground check of them (CPU or GPU) and never changed after. No ground check of them was made, so how many tokens the T6 reply needs and whether it fits B is unknown. That headroom is stated as a risk, not measured: T4 used 22.4 s of the 29 s budget in v7, and T6 has no such measurement.

4. Change 3: wiring

5. Predictions (stated before the run)

Predictions only; the rows decide.

6. Run rules

As ACCEPTANCE-v7 Section 6, with seven launches. One GB10 run, one launch per task, no retries, no repeated launch, no rerun until pass, no tuning after results. Whatever the rows give is the verdict. The binding of ACCEPTANCE-v6 Section 8 applies, and the sha256 of the built np1_edit_merge is recorded with the run.

Pinned run path (B1): RUN_BASE is /home/drakestapleton/workspace/np1-v8-runs. run-v8.sh refuses any other value and refuses if that directory already exists, so the run is fresh and happens once. The workspace of launch <id> is RUN_BASE/<id>/ws, so the "Authorized workspace" text of every prompt is known before the run. Cause of the v6/v7 R1 prompt difference (checked against reference-v6 and reference-v7 R1.reference.json, session d6d82f, ~/handoffs/2026-10-07-overnight-WR1.md): the proposal prompt embeds Authorized workspace: {workspace}. v6 ran in .../jobs/a7c5d201/tmp/np1-v6-runs/R1/ws (prompt 100 tokens), v7 in .../jobs/665fb972/tmp/v7run/evidence/runs/R1/ws (98 tokens); template, goal and instructions are identical, only the path span differs. Replies are therefore path-dependent: the GPU-versus-CPU identity check inside one run is valid, and reply bytes of different runs (v6 against v7) are not comparable. This replaces the "unverified" note on the R1 98-versus-100 difference.

7. Verdict (scoring contract "scoring-v5")

As ACCEPTANCE-v6 Section 7. The declaration np1-v8.decl.json has 115 rows: the 73 rows of np1-v7.decl.json with T4/A2, T5/A2 and R1/A2 replaced by T4/T4-A, T5/T5-A and R1/R1-A, plus T6 (20 rows, built like T4) and T7 (22 rows, built like T5). Counts per launch: T4 20, T5 22, T6 20, T7 22, R1 21, N1 5, N2 5. One repetition each, role case, no control, none NOT_APPLICABLE. score-rows.sh gives PASS only if every declared row is present once and PASS. A launch with no run.json gets FAIL on every declared row of that launch.

8. What v8 does not prove