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 / tools / aien-local-ci / evidence / ARCH190-cli-argv-20261024 / README.md
| 1 | # Launcher arguments: 35 controls pass after the repair |
| 2 | |
| 3 | The same offline controls report **23 passed, 12 failed** on Core main |
| 4 | `2f28ee89a26be1d326e29a85982bbc1c5714e437` and **35 passed, 0 failed** with this |
| 5 | repair. `before.log` and `after.log` retain the complete results. |
| 6 | |
| 7 | Tracking: [architecture #190](https://github.com/aien-dev/aien-architecture-mv/issues/190). |
| 8 | The merge desk owns this bounded dispatch repair. The recorded changed-file |
| 9 | lists and titles for all 52 open Core PRs were checked; none already changes |
| 10 | `tools/aien-local-ci/aien-local-ci`. |
| 11 | |
| 12 | ## Defect and change |
| 13 | |
| 14 | Only `start` and `stop` fill the launcher's lane-parser argument array. The |
| 15 | unconditional `set --` then replaced every command's arguments with that array. |
| 16 | As a result, `trigger omega <sha>` failed before resolving its repo, while |
| 17 | `plan --operator --base origin/main` silently invoked `plan` without its flags. |
| 18 | |
| 19 | The fix places that existing reset inside a `start`/`stop` condition. Other |
| 20 | commands retain their original arguments. Lane parsing, worker construction, |
| 21 | verification rules and required gate selection are unchanged. |
| 22 | |
| 23 | ## Offline controls |
| 24 | |
| 25 | Run: |
| 26 | |
| 27 | ```sh |
| 28 | bash tools/aien-local-ci/tests/cli_args_test.sh |
| 29 | ``` |
| 30 | |
| 31 | The controls cover exact repo and SHA resolution, unknown-commit refusal, |
| 32 | operator and base flags, `verify` and `once` argument forwarding, `log` line |
| 33 | counts, named and default worker lanes, missing lane requirements, invalid |
| 34 | lane names and lane-specific stop behavior. NUL-delimited argument comparison |
| 35 | checks argument boundaries. State and clone paths contain spaces. |
| 36 | |
| 37 | The fixture substitutes Git, the test binary, process discovery, detached |
| 38 | starts and Bash's signal builtin. Detached-start requests are recorded without |
| 39 | executing a worker. Both signal checks and signal delivery use a synthetic PID |
| 40 | inside the stub. No real worker, remote command, device access or activation |
| 41 | occurs. The fixture can take an alternate launcher path to test original source: |
| 42 | |
| 43 | ```sh |
| 44 | baseline=$(mktemp) |
| 45 | git show 2f28ee89a26be1d326e29a85982bbc1c5714e437:tools/aien-local-ci/aien-local-ci > "$baseline" |
| 46 | bash tools/aien-local-ci/tests/cli_args_test.sh "$baseline" |
| 47 | rm -f "$baseline" |
| 48 | ``` |
| 49 | |
| 50 | The original source is expected to return 1 with 12 failed controls. Both old |
| 51 | and new source pass all existing lane parsing controls in this fixture. |
| 52 | |
| 53 | ## Qualification limits |
| 54 | |
| 55 | Shell syntax and whitespace checks pass. The repository-required |
| 56 | `bash scripts/agent-preflight.sh` was attempted and **failed, exit 1** because |
| 57 | Cargo is absent. Branch, secrets and text checks passed; RustSec audit was |
| 58 | skipped because cargo-audit is absent. `preflight.log.gz` retains the exact output, including its original whitespace. |
| 59 | |
| 60 | The pinned Crumb source is `94fffbcf88492c5a1c54211b5126c8a6c370a98d`; its |
| 61 | locally built binary has SHA-256 |
| 62 | `d010857bfbd176f8fc1701fdafe9a6bd3d5bf512ad09f208876b0fcc8fa09c57`. |
| 63 | Regenerate and verify metadata with that tool after committing source. |
| 64 | |
| 65 | This candidate is suitable for draft publication. Full preflight and the |
| 66 | existing operator-qualified pipeline gates remain required before merge or |
| 67 | installation. There is no Spark runtime qualification or deployment claim. |