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

GitHub aien-dev/aien-sovereign-core-mv#283 (code only)

closed derived 8a6751aaef14b7b0 #283

Imported from GitHub aien-dev/aien-sovereign-core-mv#283 (code only)

GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed).

Base d6990e5efd54c624981bdaf2da845dc17731c8bc · Head 49b282f89b6afea227dc613482f1524d345f8b0a

Fetch it

A git bundle of the pull request's head, 10014 bytes.

curl -fsSL https://interplane.io/drakestapleton/aien-sovereign-core-mv/patches/8a6751aaef14b7b0.bundle -o 8a6751aaef14b7b0.bundle
git fetch 8a6751aaef14b7b0.bundle refs/pull/283/head

Raw bundle · Diff

Provenance

This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record:

github-import 1
aien-dev/aien-sovereign-core-mv
283
49b282f89b6afea227dc613482f1524d345f8b0a
{"kind":"github-import","owner":"aien-dev","repo":"aien-sovereign-core-mv","number":283,"url":"https://github.com/aien-dev/aien-sovereign-core-mv/pull/283","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:36:39Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/.crumb b/.crumb
index 3feba035..be3e6777 100644
--- a/.crumb
+++ b/.crumb
@@ -77,14 +77,14 @@
         }
       ],
       "children_root": "sha256:c5269f93385287c09996ff41f0247f72de9237a2317f47c94c51273d6a0acef1",
-      "compiled_at": "2026-10-08T00:01:29Z",
+      "compiled_at": "2026-10-08T00:14:04Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:728c2b60079fe0975c4b87fa1ea5f990196753a766af5195ae6c4e016a22991f",
+      "digest": "sha256:083571290ea5f76686f631bd459af7b1f4c77f2e0ab4a0bd1df6a110523df151",
       "evidence_files": 186,
       "evidence_root": "sha256:fbe849218d18dc4b21a74410fdd8f7d98431a1d0123a0c69264386f770da4db4",
-      "files": 1314,
-      "generated_at_commit": "34f1c6d32b07ae3d12514bf60d35855b2eb14b74",
-      "source_tree": "sha256:b1b31b5762b9abeac925fa66818c874477b80b597825e4057bb6121a36b14153"
+      "files": 1317,
+      "generated_at_commit": "36be9eb9ef2b493c72a44eb5adc3400da10f95d1",
+      "source_tree": "sha256:31e0f28108c730327049f728ee16acfd8c03cc7c5dd02886546275b43f4b4448"
     }
   },
   "history": [],
diff --git a/docs/campaigns/open-model-qwen3/DIAGNOSTIC-LONG-1-RESULTS.md b/docs/campaigns/open-model-qwen3/DIAGNOSTIC-LONG-1-RESULTS.md
new file mode 100644
index 00000000..7e2edf54
--- /dev/null
+++ b/docs/campaigns/open-model-qwen3/DIAGNOSTIC-LONG-1-RESULTS.md
@@ -0,0 +1,63 @@
+# DIAGNOSTIC-LONG-1 results (measurement, no verdict)
+
+Run by session 031756, 2026-10-07, following DIAGNOSTIC-LONG-1.md (3a696da) unchanged: same five tasks, budgets
+and prediction. Labelled measurement on an unmerged build. Nothing here is a pass, a fail or a score.
+
+## Build and conditions (all OBSERVED)
+
+- sovereign-core 1297f83 (PR #284) with one local, uncommitted change: `omega.lock` set to 7cca7af, because the
+  build refuses an omega checkout that differs from the lock. omega 7cca7af (PR #331), physics 6d7cf0d.
+- Build logs show `has_omega_compose`, `has_omega_gpu` and `has_omega_wait_ms`, and link `rx_compose` and `omega_gpu`.
+- sha256: aien-cli be9f2ec812f207eacca80fb188f38c8a2a2bf7033bc4116b91df651273b3ca10; np1_reference 99898f67...354d;
+  np1_edit_merge 3f39f604...71f; tasks file ca4ba4d9ad1f9034c230f2122f0e22b6299adf1ec58627e82b9ec4d814febb1f.
+- CPU tests with the omega libraries linked (`cargo test -p aien-omega-compose -p aien-runtime -p aien-cli`, no model):
+  376 passed, 0 failed, 56 ignored (end-to-end tests needing a model or checkpoint). Includes
+  `compose_budget_setting_parses_and_refuses` and `measured_attempt_budget_admits_a_second_attempt`.
+- Environment as v2 (`AIEN_KV_CONTEXT_TOKENS=4096`, `AIEN_REQUIRE_BLACKWELL=1`, declared attempt) plus
+  `AIEN_COMPOSE_BUDGET_MS=120000` and `AIEN_COMPOSE_MAX_TOKENS=1024`. Model Qwen3-4B-Instruct-2507 cdbee75, the
+  v2 digests (not re-checked by a v2 wrapper; unchanged files).
+- Driver: next-phase-1 `run-campaign.sh` from 1297f83, unchanged, via a small bash wrapper (`run-part.sh`). The
+  receipt step used a scratch copy of the next-phase-1 folder whose `tasks-v8.json` was replaced by the diagnostic
+  tasks file, so the receipt tool could find D1 to D5. No task text, budget or prediction was changed.
+- Two quietlock holds named 031756-diag-long1 (owner id), no other hold or GPU job was live: part 1 (D1 D2 D3)
+  16:35:54Z to 16:44:19Z, exit 0; part 2 (D4 D5) 16:44:32Z to 16:50:45Z, exit 0. MemFree 35.8 GB, Cached 69.8 GB
+  before part 1 (35.5 GB / 69.5 GB before part 2). One launch per task, no retry, no rerun.
+
+## Per task (OBSERVED)
+
+| Task | tokens | finish | attempt ms | ms/token | parsed | committed | rows L / M / A / CM | non-empty lines in committed file |
+|---|---|---|---|---|---|---|---|---|
+| D1 | 313 | eos | 28625 | 91.5 | yes | yes | PASS PASS PASS PASS | 23 (min 12) |
+| D2 | 370 | eos | 33026 | 89.3 | yes | yes | PASS PASS PASS PASS | 23 (min 12) |
+| D3 | 435 | eos | 37798 | 86.9 | yes | yes | FAIL PASS PASS PASS | 13 (min 20) |
+| D4 | 473 | eos | 40906 | 86.5 | yes | yes | PASS PASS PASS PASS | 30 (min 15) |
+| D5 | 649 | eos | 61943 | 95.4 | yes | yes | FAIL PASS PASS PASS | 3 (min 20) |
+
+Every task used one attempt (no second attempt). Prefill is not logged separately per attempt; "attempt ms"
+includes it. Daemon start warm-up was about 27 s per start. Rows are a correctness reading only, as the plan says.
+Launch wall time (two daemon starts plus all steps): 163 s, 169 s, 173 s, 176 s, 197 s.
+
+## Readings against the plan
+
+- No task was cut at 1024. All five finished by eos at 313 to 649 tokens, so the model stops on its own on these
+  long documents; the v2 cut at 256 hid a complete answer for D1 and D2 (they finished at 313 and 370 tokens).
+- D1 and D2 (the v8 T4 and T6 goals): both parse, commit and pass the line count (D1 23 non-empty lines against 12).
+  Under the plan's reading this is "eos and rows pass: truncation was hiding a good answer", for these two goals.
+- D3 stopped by eos but wrote 13 non-empty lines (paragraph prose) against a 20 line minimum: the answer was
+  complete but short on line count, a task-wording matter, not a budget one.
+- D5 (FAQ): the reply was 649 tokens and 66 lines with 18 code fence lines (nested fenced blocks). The committed file has
+  4 lines: the proposal parser ended the content at the first inner closing fence. INFERRED from the reply text and
+  the committed file (not tested further): a nested fence in a reply truncates the committed content. Product issue,
+  separate from the token budget.
+- Prediction check (stated in the plan before the run): D1 and D2 predicted to stop between 400 and 800 tokens;
+  they stopped earlier (313, 370). Predicted at least one of five cut at 1024 (about 60 percent): none was.
+  D3 predicted most likely to be cut: it stopped at 435. D5 predicted most likely to stop by eos: it did (the longest).
+- omega#327 GPU memory error lines (NV_ERR_NO_MEMORY): none in any daemon log. The only matching line is the
+  declared-attempt WARNING printed at each daemon start.
+
+## Limits
+
+Five launches, greedy, one observation each: not a rate. D3 to D5 were never run before, D1 and D2 were seen in v2.
+Unmerged build with a local `omega.lock` change. Per-launch timing is wall clock on a loaded machine (about 70 GB
+cache). Raw logs, receipts and sha256 list: `~/workspace/oq3-diag-long1-runs` and
+`~/workspace/oq3-diag-long1-records` (`raw-logs.sha256`, `identity.sha256`).
diff --git a/docs/campaigns/open-model-qwen3/DIAGNOSTIC-LONG-1.md b/docs/campaigns/open-model-qwen3/DIAGNOSTIC-LONG-1.md
new file mode 100644
index 00000000..a11babf1
--- /dev/null
+++ b/docs/campaigns/open-model-qwen3/DIAGNOSTIC-LONG-1.md
@@ -0,0 +1,93 @@
+# DIAGNOSTIC-LONG-1: does truncation hide a good answer or delay a bad one? (plan; run 2026-10-07 by session 031756, results in DIAGNOSTIC-LONG-1-RESULTS.md)
+
+**This is a measurement, not a campaign. It has no verdict and scores nothing.** It is not frozen, is
+not an acceptance spec and does not replace or amend ACCEPTANCE-v2.md or VERDICT-v2.md. Its goals are
+diagnostic only and will NOT be reused in the next campaign, which needs fresh tasks. Draft written by
+session 031756, 2026-10-07. Nothing here has been run.
+
+## 0. Question
+
+In v2 (VERDICT-v2.md), T4 and T6 were cut at 256 tokens and refused. We do not know what Qwen3-4B would
+have written. Two readings: (a) it was writing a good document that needed more room (truncation hides
+a good answer), or (b) it would have kept going without finishing, or finished with something that fails
+the rows (truncation delays a bad one). The answer decides what the product needs: a larger budget for
+long documents, concise output, or splitting a long task into parts.
+
+## 1. Tasks (5 launches, one each, greedy)
+
+`diagnostic-long-1-tasks.json` in this folder:
+
+- D1 = the v8 T4 goal and D2 = the v8 T6 goal, unchanged text (so the v2 cut can be compared).
+- D3 (architecture doc, 20 lines), D4 (contributing guide, 15 lines), D5 (FAQ, 10 questions) are new
+  representative long-document goals written for this diagnostic. They are diagnostic only and will not
+  be reused in the next campaign.
+
+All five use `max_tokens` 1024.
+
+## 2. Bounded budget
+
+- `AIEN_COMPOSE_MAX_TOKENS` = 1024 per launch; `AIEN_COMPOSE_BUDGET_MS` = 120000 (omega waits 121 000 ms).
+  At about 88 ms per token (VERDICT-v2 Section 3), 1024 tokens is about 90 s of decode plus prefill, so
+  120 s is enough for the cap and still bounded: no launch can run past about 121 s.
+- One launch each, greedy, no retry, no repeat. Same model, digests, `AIEN_KV_CONTEXT_TOKENS=4096`,
+  `AIEN_REQUIRE_BLACKWELL=1` and declared-attempt setting as ACCEPTANCE-v2 Section 2.
+- Everything else is the NEXT-PHASE-1 v8 driver path (`run-campaign.sh`), unchanged.
+
+## 3. What is measured per task
+
+1. Tokens generated until the model stopped.
+2. Finish reason: `eos` (the model chose to stop) or cut at 1024.
+3. Elapsed ms, split into prefill and decode where the daemon logs them.
+4. Whether the reply parses as a file proposal (`parse_file_proposal`), and the refusal reason if not.
+5. The existing v8 rows for the launch (`rows-v8.jq`, the T4 and T6 rows for D1 and D2; the same row
+   shapes applied to D3 to D5 with their own phrases and min_lines) as a **correctness reading only**:
+   the row results are reported, never summed into a verdict.
+
+Reading the result (so the numbers are interpreted before they are seen):
+
+- eos before 1024 and the rows pass: truncation was hiding a good answer.
+- eos before 1024 and rows fail: the answer was bad, a larger budget would not have helped.
+- cut at 1024: the model does not stop on this kind of task; a bigger budget only delays, so the product
+  needs concise output or task splitting.
+
+## 4. Run plan
+
+- Build: local, unmerged, so the whole run is labelled measurement. omega branch `031756/compose-wait-ms`
+  (adds `rx_compose_set_wait_ms`) plus sovereign-core branch `031756/compose-budget` (adds
+  `AIEN_COMPOSE_BUDGET_MS`). Known gap: sovereign-core's call needs omega to expose a host-facade wrapper
+  `rxc_host_set_wait_ms` over `rx_compose_set_wait_ms` (the host handle hides the composition); if the omega
+  branch lacks it, the budget above 29 s is refused at open and this run cannot start until that is
+  added. The build commits and sha256 are recorded with the results.
+- One quietlock hold of 20 minutes or less. Estimate: 5 launches x 2 daemon starts x about 64 s = 10 min 40
+  s of starts, plus decode of at most 90 s per launch (7 min 30 s worst case) = about 18 min 10 s worst
+  case. That is too close to 20 minutes, so the run is two holds: D1 D2 D3, then D4 D5, each under 12
+  minutes by the same arithmetic. (If a start is faster than 64 s in a dry check, one hold may do.)
+- Fresh run base, for example `/home/drakestapleton/workspace/oq-long1-runs`; never under `oq3-v2-*`
+  (sealed evidence). The wrapper is not written yet: if `run-campaign.sh` runs a custom tasks file
+  without change, no wrapper is needed; otherwise a small bash wrapper is added to this PR before the
+  run. No Python.
+- Nothing is run on the GPU by the author of this draft; the run is a separate approved step.
+
+## 5. Prediction (stated before any run; UNVERIFIED, from v2 numbers and judgment)
+
+- D1 and D2: Qwen3 began a long markdown guide and was still writing at 256 tokens. My guess is it stops
+  by eos between 400 and 800 tokens, about 60 percent that both stop before 1024. If they stop, I expect
+  D1 to pass its rows more likely than D2 (D1 about 55 percent, D2 about 45 percent) with the risk on the
+  12-line count and the four phrases.
+- D3 to D5: likely longer (more lines requested). I expect D3 to be the one most likely cut at 1024
+  (about 45 percent), D5 (a list) the most likely to stop by eos.
+- Overall: more likely than not (about 60 percent) that at least one of the five is cut at 1024, which
+  would point at concise output or splitting, not just a bigger budget.
+
+## 6. After
+
+The numbers go to Drake for a product decision: a separate budget for short edits versus long documents,
+concise-output instructions, or splitting long tasks. Whatever is chosen, the next campaign gets its own
+frozen spec with fresh tasks (none of D1 to D5, and not T4 or T6, which Qwen3 has now seen).
+
+## 7. Limits
+
+- Five launches, one observation each, greedy decoding: not a rate.
+- D1 and D2 were seen by Qwen3 in v2 (cut); D3 to D5 were never run. Nothing here is held-out evidence.
+- Unmerged build; GPU memory failure omega#327 stays open.
+- No row is changed, no score is declared, nothing here is a pass or a fail.
diff --git a/docs/campaigns/open-model-qwen3/diagnostic-long-1-tasks.json b/docs/campaigns/open-model-qwen3/diagnostic-long-1-tasks.json
new file mode 100644
index 00000000..b4a92d4b
--- /dev/null
+++ b/docs/campaigns/open-model-qwen3/diagnostic-long-1-tasks.json
@@ -0,0 +1,10 @@
+{
+  "spec": "DIAGNOSTIC-LONG-1.md Section 1. Measurement only. D1 and D2 are the v8 T4 and T6 goals; D3 to D5 are new and diagnostic only: never reused in a campaign.",
+  "tasks": [
+    {"id": "D1", "from": "v8 T4", "kind": "long", "goal": "Create the file docs/GUIDE.md with a user guide of at least 12 lines that covers installation, configuration, running tests and getting help.", "destination": "docs/GUIDE.md", "phrases": ["installation", "configuration", "running tests", "getting help"], "min_lines": 12, "max_tokens": 1024, "seed": null},
+    {"id": "D2", "from": "v8 T6", "kind": "long", "goal": "Create 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.", "destination": "docs/TROUBLESHOOTING.md", "phrases": ["error messages", "log files", "network problems", "reporting a bug"], "min_lines": 12, "max_tokens": 1024, "seed": null},
+    {"id": "D3", "from": "new", "kind": "long", "goal": "Create the file docs/ARCHITECTURE.md describing the architecture of a small command line tool in at least 20 lines, covering the main components, the data flow, error handling and how to extend it.", "destination": "docs/ARCHITECTURE.md", "phrases": ["components", "data flow", "error handling", "extend"], "min_lines": 20, "max_tokens": 1024, "seed": null},
+    {"id": "D4", "from": "new", "kind": "long", "goal": "Create the file docs/CONTRIBUTING.md with contributor instructions of at least 15 lines covering setting up a development environment, coding style, submitting a change and the review process.", "destination": "docs/CONTRIBUTING.md", "phrases": ["development environment", "coding style", "submitting a change", "review process"], "min_lines": 15, "max_tokens": 1024, "seed": null},
+    {"id": "D5", "from": "new", "kind": "long", "goal": "Create the file docs/FAQ.md with a list of at least 10 frequently asked questions and answers about installing, updating, uninstalling and backing up a command line tool.", "destination": "docs/FAQ.md", "phrases": ["installing", "updating", "uninstalling", "backing up"], "min_lines": 20, "max_tokens": 1024, "seed": null}
+  ]
+}