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#354 (code only)

closed derived 7517c1040002f7ca #354

Imported from GitHub aien-dev/aien-sovereign-core-mv#354 (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 c16cc863d5f967c03f9c08b626dcae1ea23bd9cb · Head 9c9f72e78ff2acdb0c53e57ae921a82f36f7a7f7

Fetch it

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

curl -fsSL https://interplane.io/drakestapleton/aien-sovereign-core-mv/patches/7517c1040002f7ca.bundle -o 7517c1040002f7ca.bundle
git fetch 7517c1040002f7ca.bundle refs/pull/354/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
354
9c9f72e78ff2acdb0c53e57ae921a82f36f7a7f7
{"kind":"github-import","owner":"aien-dev","repo":"aien-sovereign-core-mv","number":354,"url":"https://github.com/aien-dev/aien-sovereign-core-mv/pull/354","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:36:55Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/.crumb b/.crumb
index cb5721fa..f5933ee6 100644
--- a/.crumb
+++ b/.crumb
@@ -77,14 +77,14 @@
         }
       ],
       "children_root": "sha256:95ba9db41a2ad217bd02bbbe25aaf363580b5cd23754f40351ee780858343de5",
-      "compiled_at": "2026-10-08T21:00:01Z",
+      "compiled_at": "2026-10-08T21:22:33Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:d481a4450e4115706459f4a560c62176c536690eac775bb78c1ebbdacb3ec616",
+      "digest": "sha256:faa6ae7884db6d1291dabe74c7fd71be2b47922b9c029e9f9a3d89d9fc3c0d10",
       "evidence_files": 187,
       "evidence_root": "sha256:27ee0353cb4d4aae2b7dbce2bfe0d9f4ef2a94cd7a4555b84684d59372503280",
-      "files": 1727,
-      "generated_at_commit": "416cd7b6cfd36b55163b59cdcda6d7a664c28dce",
-      "source_tree": "sha256:0eae044bb6b3f1dbe2385a3c239a28ccaf3266d5354755ad79e997d6861e93c5"
+      "files": 1728,
+      "generated_at_commit": "34cb9364234c5547e53681b373fb85b1a010fd69",
+      "source_tree": "sha256:808396408f1ebe1f0a0cc19db83638d11f9bd3c8d018170c1ce54988a72be6d7"
     }
   },
   "history": [],
diff --git a/crates/aien-runtime/src/requirements.rs b/crates/aien-runtime/src/requirements.rs
index f13d1fe8..ff1d6d60 100644
--- a/crates/aien-runtime/src/requirements.rs
+++ b/crates/aien-runtime/src/requirements.rs
@@ -69,10 +69,17 @@
 //!   `sky` do not). A topic word ending in `age` or `ages` also matches
 //!   without it when 4 letters remain, by a verb form only: the topic
 //!   `storage` is covered by `store` or `stored`, `postage` not by `post`
-//!   (sc#332). Irregular forms (`withdrew` / `withdraw`)
-//!   do not agree: the check errs on the side of refusing, unless the goal
-//!   names the form for that topic, written into the topic as `withdraw (or
-//!   withdrew)`.
+//!   (sc#332). A document word that is a topic word (or its word form) plus
+//!   `n`, `al` or `als`, with 4 or more letters before the ending (for `n`
+//!   only after `w` or `e`), also covers it: `withdrawn`, `withdrawal` and
+//!   `withdrawals` cover `withdraw`, `arrival` covers `arrive`, `grown` and
+//!   `taken` cover `grow` and `take`. This is an explicit list of endings, not
+//!   a prefix match: `drawer`, `withdrawer` and `withdrawable` do not cover
+//!   `withdraw`. The rule also lets close neighbours count: `signal` covers
+//!   `sign`, `personal` covers `person`, `linen` covers `line` (sc#353 G2).
+//!   Irregular forms (`withdrew` / `withdraw`) do not agree: the check errs
+//!   on the side of refusing, unless the goal names the form for that topic,
+//!   written into the topic as `withdraw (or withdrew)`.
 //! - sentence: a run of at least two words ended by `.`, `!` or `?` (not
 //!   inside a number such as `3.10`); an unfinished last fragment of at
 //!   least three words counts as one. List markers are ignored.
@@ -489,7 +496,11 @@ fn stem_parts(w: &str) -> (String, bool) {
 /// matches a document word that is a verb form of the rest, one that ended
 /// in `e` or lost a suffix (`storage`: `store`, `stored`; not `post` for
 /// `postage`); those keys carry an `age:` mark so nothing else meets them
-/// (sc#332). `topic` is true for the topic's words, false for the document's.
+/// (sc#332). A document word ending in `als`, `al` or `n` (4 letters left;
+/// for `n` only after `w` or `e`) also gives a `der:` key for the rest, which
+/// meets the topic word or its word form (`withdrawal`, `withdrawn`:
+/// `withdraw`; `arrival`: `arrive`; sc#353 G2). `topic` is true for the
+/// topic's words, false for the document's.
 pub(crate) fn word_keys(w: &str, topic: bool) -> Vec<String> {
     let (s, stripped) = stem_parts(w);
     let mut keys = vec![s.clone()];
@@ -508,8 +519,21 @@ pub(crate) fn word_keys(w: &str, topic: bool) -> Vec<String> {
             }
         }
     }
+    let low = w.to_lowercase();
+    if !topic {
+        for suf in ["als", "al", "n"] {
+            let base = low
+                .strip_suffix(suf)
+                .filter(|r| r.len() >= 4 && (suf != "n" || r.ends_with('w') || r.ends_with('e')));
+            if let Some(r) = base {
+                keys.push(format!("der:{r}"));
+                break;
+            }
+        }
+    }
     if topic {
-        let low = w.to_lowercase();
+        keys.push(format!("der:{low}"));
+        keys.push(format!("der:{s}"));
         for suf in ["ages", "age"] {
             if let Some(r) = low.strip_suffix(suf).filter(|r| r.len() >= 4) {
                 keys.push(format!("age:{}", stem(r)));
diff --git a/crates/aien-runtime/tests/requirements_topics_test.rs b/crates/aien-runtime/tests/requirements_topics_test.rs
index 604fde42..f93a591a 100644
--- a/crates/aien-runtime/tests/requirements_topics_test.rs
+++ b/crates/aien-runtime/tests/requirements_topics_test.rs
@@ -60,6 +60,20 @@ fn the_forms_the_goals_accept_cover_their_topics() {
         ("storage", "The seeds are stored in a tin."),
         ("withdraw (or withdrew)", "She withdrew fifty pounds."),
         ("withdraw (or withdrew)", "Withdrawing money is free."),
+        // sc#353 G2: noun and participle forms by the -n, -al, -als rule
+        ("withdraw (or withdrew)", "The money was withdrawn."),
+        ("withdraw (or withdrew)", "One withdrawal a day."),
+        ("withdraw (or withdrew)", "Withdrawals are free."),
+        ("withdraw", "The money was withdrawn."),
+        ("withdraw", "Withdrawals are free."),
+        ("withdrawing", "One withdrawal a day."),
+        ("arrive", "Note the arrival time."),
+        ("approve", "Ask for approvals."),
+        ("grow", "The plants have grown."),
+        ("take", "It was taken."),
+        // the cost of the rule, pinned so a tightening is deliberate (sc#354 review)
+        ("sign", "A signal."),
+        ("line", "A linen cloth."),
         ("interest", "The bank pays interest monthly."),
         ("balance", "Check the balances each week."),
         // the same rule elsewhere
@@ -101,7 +115,24 @@ fn other_words_still_do_not_cover_a_topic() {
         ("storage", "A story."),
         // an irregular form counts only when the goal names it
         ("withdraw", "She withdrew fifty pounds."),
-        ("withdraw (or withdrew)", "She withdrawal fifty pounds."),
+        // naming `withdrew` opens no loose match: a word sharing its letters stays out
+        ("withdraw (or withdrew)", "She drew fifty pounds."),
+        // the -n / -al / -als rule is explicit, not a prefix: other endings, the bare
+        // shorter word and a different stem stay refused (sc#353 G2)
+        ("withdraw", "Draw fifty pounds."),
+        ("withdraw", "Open the drawer."),
+        ("withdraw (or withdrew)", "Open the drawer."),
+        ("withdraw", "A withdrawer came."),
+        ("withdraw", "The funds are withdrawable."),
+        ("withdraw", "She withheld fifty pounds."),
+        ("drawer", "She drew a line."),
+        ("arm", "An armal plate."),
+        ("bee", "It has been."),
+        // 4 letters before -al / -als, and -n only after w or e (sc#354 review)
+        ("met", "A metal box."),
+        ("met", "Two metals."),
+        ("melo", "A melon."),
+        ("see", "It was seen."),
     ] {
         let r = [RequiredTopics(vec![topic.to_string()])];
         assert!(refusal_reason(&r, text).is_some(), "{topic}: {text}");
diff --git a/docs/campaigns/open-model-qwen3/ACCEPTANCE-v5.md b/docs/campaigns/open-model-qwen3/ACCEPTANCE-v5.md
index 45e6cb0f..29ef94db 100644
--- a/docs/campaigns/open-model-qwen3/ACCEPTANCE-v5.md
+++ b/docs/campaigns/open-model-qwen3/ACCEPTANCE-v5.md
@@ -49,7 +49,7 @@ changed to make a task pass. Probe evidence for every line is in `evidence-v5/`.
 
 **All eight causes are fixed on main** (gate G1, `evidence-v5/requirements-probe-b2cae6d.txt`): P1 sc#331 by #343, P2 sc#332
 by #347, P3 sc#333 by #345, P4 sc#334 by #340, P5 sc#335 by #341, P6 sc#336 by #348, P7 sc#337 by #350, P8 sc#338 by #351;
-b2cae6d holds all eight. One P2 follow-up is open: the topic check refuses three accepted forms of withdraw (gate G2, Section 9).
+b2cae6d holds all eight. The P2 follow-up (the topic check refused three accepted forms of withdraw, gate G2) is fixed by sc#354 (Section 9).
 Since sc#342 (b0cee16) the approval desk is required: the next-phase-1 driver creates the desk key and signs with `--desk 1`, and
 the v5 wrapper refuses the dev-only opt-out `AIEN_COMPOSE_AUTHORIZE_REQUIRES_DESK`.
 
@@ -361,9 +361,11 @@ changed to pass a gate.**
   (`evidence-v5/requirements-probe-b2cae6d.txt`: no uncertain span for any v5 or v4 goal); re-run on the frozen commit.
 - **G2 Topic forms.** The product's topic check accepts every accepted form of Section 3.1 for its topic (the
   `topic-forms-probe` re-run with the D3 forms; sc#332). The re-run uses each topic as the product reads it from the goal, so
-  the third topic is checked as `withdraw (or withdrew)`, not as the bare name. **OPEN** (2026-10-08, b0cee16,
-  `evidence-v5/topic-forms-probe-v5-b0cee16.txt`): 15 of 18 forms MET; `withdrawn`, `withdrawal` and `withdrawals` are refused by
-  the product. Product cause (a sc#332 follow-up), fixed in the product; no form is removed and no goal is reworded.
+  the third topic is checked as `withdraw (or withdrew)`, not as the bare name. **MET on sc#354** (2026-10-08, 37ad5ac,
+  `evidence-v5/topic-forms-probe-v5-fix-37ad5ac.txt`): 18 of 18 forms MET, and the G1 reader gives the same result for every v5
+  and v4 goal. It was OPEN on b0cee16 (`evidence-v5/topic-forms-probe-v5-b0cee16.txt`: 15 of 18; `withdrawn`, `withdrawal` and
+  `withdrawals` refused by the product). Product cause (a sc#332 follow-up), fixed in the product by an explicit `-n`/`-al`/`-als`
+  word-form rule; no form is removed and no goal is reworded. Re-checked on the frozen commit.
 - **G3 N1 reason.** On the frozen commit a stub-build run of N1 through the driver is refused before any model call with the
   reason of `N1-NR`; the exact error string (verbatim) and the file and field it lands in are recorded in `evidence-v5/` and copied into `N1-NR`; each inherited N1 row is run
   on that output and any that cannot read it is listed and replaced as Section 3.3 says (sc#336 keeps the order tested).
diff --git a/docs/campaigns/open-model-qwen3/evidence-v5/topic-forms-probe-v5-fix-37ad5ac.txt b/docs/campaigns/open-model-qwen3/evidence-v5/topic-forms-probe-v5-fix-37ad5ac.txt
new file mode 100644
index 00000000..1c7d0ef8
--- /dev/null
+++ b/docs/campaigns/open-model-qwen3/evidence-v5/topic-forms-probe-v5-fix-37ad5ac.txt
@@ -0,0 +1,34 @@
+# Gate G2 re-run on the topic-forms product fix (sc#353 G2 follow-up, sc#332 follow-up). Same method and probe source as
+# topic-forms-probe-v5-b0cee16.txt (sc#353): evidence-v5/probes/zz_topic_forms_v5.rs.txt,
+#   sha256 186434466dfb845447443172ba95c587ddb7023777a291bf9e3de495c028aaad, copied to crates/aien-runtime/examples/,
+#   run as cargo run -q -p aien-runtime --example zz_topic_forms_v5 -- docs/campaigns/open-model-qwen3/tasks-oq3-v5.json
+#   (the v5 task file from sc#353 head d2f7665), then deleted.
+# Computed 2026-10-08 on sovereign-core 37ad5ac (origin/main a0d0adb plus the fix). No model, no daemon, no GPU. CPU only,
+# quietlock clear.
+#
+# RESULT: G2 MET on the fix. 18 of the 18 accepted forms are MET. Against b0cee16 only withdrawn, withdrawal and withdrawals
+# changed (UNMET to MET); the other 15 lines and the topics as read are identical.
+# Other topics unchanged: the G1 reader probe (evidence-v5/probes/zz_req_probe.rs.txt, sha256
+#   5695671b048bd90fd5d898a2d1eae7e10869e755ba84dac644fa595ccf90cb85) on the v5 (11) and v4 (14) task files gives the
+#   same 25 result lines as requirements-probe-b2cae6d.txt: no goal's requirements or topics as read changed.
+#
+# uncertain spans: []
+# topics as read: ["interest", "deposit", "withdraw (or withdrew)", "balance"]
+interest	interest	This part is about interest today.	MET
+interest	interest	This part is about interests today.	MET
+interest	interest	This part is about interested today.	MET
+deposit	deposit	This part is about deposit today.	MET
+deposit	deposit	This part is about deposits today.	MET
+deposit	deposit	This part is about deposited today.	MET
+deposit	deposit	This part is about depositing today.	MET
+withdraw	withdraw (or withdrew)	This part is about withdraw today.	MET
+withdraw	withdraw (or withdrew)	This part is about withdraws today.	MET
+withdraw	withdraw (or withdrew)	This part is about withdrew today.	MET
+withdraw	withdraw (or withdrew)	This part is about withdrawn today.	MET
+withdraw	withdraw (or withdrew)	This part is about withdrawing today.	MET
+withdraw	withdraw (or withdrew)	This part is about withdrawal today.	MET
+withdraw	withdraw (or withdrew)	This part is about withdrawals today.	MET
+balance	balance	This part is about balance today.	MET
+balance	balance	This part is about balances today.	MET
+balance	balance	This part is about balanced today.	MET
+balance	balance	This part is about balancing today.	MET