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-2 / ACCEPTANCE-v4.md

79 lines · 7693 bytes Raw Blame History Source

NEXT-PHASE-2: acceptance amendment v4 (frozen before any code of this cut)

campaign_id  = "next-phase-2"
spec_version = 4
amends       = ACCEPTANCE-v3.md spec_version 3 (unchanged; this file supersedes it row by
               row where it says so; every v3 row, rule and build step not named here stays
               as written, including the v2 rows v3 kept)
status       = FROZEN at the commit that adds this file. It is committed alone, before any
               code of the cut. Later changes need ACCEPTANCE-v5.md.
base         = sovereign-core main fef16ad (contains #228); omega.lock 62b6a28
reason       = VERDICT-v3.md: one FAIL row, C7a (the forced panic aborts the daemon)

Every claim has a source: sovereign-core file:line at fef16ad, or a command run before this file was written. Anything else is marked UNVERIFIED.

1. Findings this amendment is built on

#FindingEvidence
H1Release builds abort on panic: Cargo.toml:58 panic = "abort" in [profile.release]. A panic inside the start-up spawn_blocking task ends the process, so the Err(e) arm at crates/aien-runtime/src/server.rs:192-198 (Reconcile: failed:; VERDICT-v3 section 3 cites it as 190-197; the code is unchanged since its run, the arm spans 192-198) cannot run in a release build. Both campaign builds are release builds (ACCEPTANCE-v2 section 4)source; VERDICT-v3 section 3 (3 of 3 C7a runs aborted)
H2The error arm that release builds do take: reconcile_at_start maps a ControlResponse::Error from the start-up reconcile to set_reconcile_failed("refused: …") and the line Reconcile: refused: <e>; effect commands refuse until a successful reconcile (aien compose reconcile) (crates/aien-runtime/src/effects.rs:831-834). open_intent then refuses through reconcile_gate (effects.rs:486-495, EFFECT_REFUSED ReconcileFailed)source; the same arm is proven by VERDICT-v3 C6a..c, C6e..g, C6i, C7b
H3The socket is bound before the start-up reconcile runs (server.rs:97 bind, reconcile spawned at server.rs:188), so a start-up abort leaves a socket file with no process behind it. The next daemon start removes a socket file that refuses connections before it binds (server.rs:80-83)source
H4Real panic, observed. The v3 cpu-fault binary (sha256 7aa59474…bf846b) started with AIEN_FAULT_HOLD=reconcile_panic on a byte copy of F0v3: exit status 134 (SIGABRT, Aborted (core dumped)); log panicked at crates/aien-runtime/src/effects.rs:807:9: fault hold reconcile_panic: …; the home (compose dir, machine root, record mark) hashed identical before and after; a socket file aien.sock was left; aien compose recall answered {"ok":false,"error":"Failed to connect to AIEN runtime socket at …: Connection refused (os error 111)"}; provenance and state dirs stayed emptycommand, run once before this file was written, on a scratch copy (np2v4-probe), not part of any receipt

2. What this cut adds

  1. Error fault hook (test build only, feature fault-hold): AIEN_FAULT_HOLD=reconcile_error in the daemon's environment makes reconcile_at_start, on a home that exists (after its cortex.cx check), take the reconcile result to be ControlResponse::Error("fault hold reconcile_error: forced start-up reconcile error (test build)") instead of calling reconcile. The result then goes through the unchanged match of H2, so the production error arm (gate set, Reconcile: refused: line) is what runs.
  2. Panic hook kept unchanged: AIEN_FAULT_HOLD=reconcile_panic still panics at the top of reconcile_at_start (v3 2.6). It is now tested for what release builds do (row C7c).
  3. The default build has no fault code: neither reconcile_error nor reconcile_panic appears in the gpu binary; both appear in cpu-fault. Recorded in link_proof.

No production behaviour changes in this cut.

3. Rules for every run

R1..R6 of ACCEPTANCE-v3 unchanged. R6 (no E_MARK) also covers C7c.

4. Fixture, builds, controls (supersede v3 section 4 where named)

5. The rows (supersede v3 section 5 for the rows named; others unchanged)

RowInjection (exact)PASS iff (rules R1..R6 also hold)
C7a reconcile returns an errordaemon started with AIEN_FAULT_HOLD=reconcile_error on a home with history; then: authorize A1, execute A1, aien compose reconcile, execute A1, shutdown, restart without the hookthe start line starts Reconcile: refused: fault hold reconcile_error and ends effect commands refuse until a successful reconcile (aien compose reconcile); the daemon serves (socket up); authorize answers; the first execute is refused ReconcileFailed, no intent, no write; the reconcile answers ok; the second execute is DONE, the target written once; restart line normal (checked 0)
C7c real panic at start (new)daemon started with AIEN_FAULT_HOLD=reconcile_panic on a home with history; after it exits, restart without the hook and without removing the left socket file; recall; effects; shutdowndaemon exits, no socket, no write, read as: the process exits by itself with a non-zero status within the start timeout; its log names fault hold reconcile_panic; no process serves the socket (an aien compose recall sent while the hook daemon is gone fails to connect, ok false); the home (compose dir, machine root, record mark) hashes identical before the start and after the exit; the target file unchanged; provenance dir empty. Then the restart removes the left socket file itself and comes up with a normal reconcile line (checked 0); recall ok; the effect ledger holds no intent. Whether a socket file is left after the abort is recorded (a check that always holds, value = present or absent), not scored (H3)
C6das v3 (guarded; NOT_APPLICABLE is a row result, never PASS)as v3
C6ias v3 (exactly once)as v3

6. Verdicts (supersede v3 section 6 where named)