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 / TEST_READY.md

96 lines · 5992 bytes Raw Blame History Rendered
1# TEST_READY: Sovereign Distillation Workshop Test Suite
2
3**Record, not current release status (2026-10-16).** This report describes a run on 2026-09-20 and is kept as a record. It is not part of the release path. Its Tier 4 "model seat on port 18006" roundtrip used the Modular MAX serving endpoint of that time; MAX was removed from the project on 2026-10-15 (#529), and the inference path now being qualified runs on AIEN's own Omega kernels (see `README.md`). The tier test files now live in `crates/spark-adapters/tests/`, not in a top-level `tests/` folder.
4
5## 1. Status: Ready for Milestone Verification
6
7The end-to-end test harness for the Sovereign Distillation Workshop is complete, verified, and operational on NVIDIA DGX Spark (`spark`).
8
9The suite provides 140 deterministic test cases across 4 tiers covering all acceptance criteria in R1 through R6 of ORIGINAL_REQUEST.md.
10
11## 2. Test Suite Composition
12
13| Tier | Category | Test Count | Description |
14|------|----------|------------|-------------|
15| Tier 1 | Feature Coverage | 65 | 5 tests per feature across 13 core features (vault resolution, prompt sanitizer, cortex auth, resident bounds, crawler flags, cli workbench, key verification, axum routes, cortex storage, dataset emission, verification gates, test harness, git parity) |
16| Tier 2 | Boundary and Corner Cases | 65 | Negative, boundary, and stress tests (empty inputs, missing secrets, invalid CLI flags, malformed JSON, delimiter parsing, sycophancy detection, unslop penalties, zero/negative DPO deltas, duplicate rejection) |
17| Tier 3 | Cross-Feature Combinations | 5 | Multi-subsystem interactions: Sanitizer + Router + local seat dispatch, Verifier + Consensus + Cortex gate, Crawler + Curriculum + SFT/DPO dataset emission, Vault token + Cortex HTTP dispatch, Verifier unslop + rustc + SFT emission |
18| Tier 4 | Real-World Scenarios | 5 | Live execution on DGX Spark: spark-distill verify-keys catalog audit, live model seat inference roundtrip on port 18006, systems curriculum batch generation, live Cortex daemon handshake on port 18080, end-to-end SFT/DPO filesystem dataset emission |
19| **Total** | **All Tiers** | **140** | **Complete opaque-box distillation workshop verification** |
20
21## 3. Baseline Execution Results on NVIDIA DGX Spark
22
23Baseline executed against live workspace state on 2026-09-20:
24- Total tests executed: 140
25- Passed: 140
26- Failed: 0
27- Ignored: 0
28- Execution duration: 132 seconds
29- Results artifact: `tests_results.json`
30
31### Tier Execution Summary
32
33| Tier | Target Name | Passed | Failed | Status |
34|------|-------------|--------|--------|--------|
35| Tier 1 | `tests/tier1_features.rs` | 65 | 0 | PASSED |
36| Tier 2 | `tests/tier2_boundary.rs` | 65 | 0 | PASSED |
37| Tier 3 | `tests/tier3_cross_feature.rs` | 5 | 0 | PASSED |
38| Tier 4 | `tests/tier4_real_world.rs` | 5 | 0 | PASSED |
39| **Total** | **All 4 Targets** | **140** | **0** | **100% PASS** |
40
41## 4. Feature Checklist Table
42
43| # | Feature | Requirement | Tier 1 Tests | Tier 2 Tests | Status |
44|---|---------|-------------|--------------|--------------|--------|
45| F1 | In-Memory Vault Secret Resolution | ORIGINAL_REQUEST §R1 | T1_F01 to T1_F05 (5) | T2_F01 to T2_F05 (5) | VERIFIED |
46| F2 | Outbound Prompt Sanitizer Hardening | ORIGINAL_REQUEST §R2 | T1_F06 to T1_F10 (5) | T2_F06 to T2_F10 (5) | VERIFIED |
47| F3 | Cortex Token Dynamic Auth | ORIGINAL_REQUEST §R1 | T1_F11 to T1_F15 (5) | T2_F11 to T2_F15 (5) | VERIFIED |
48| F4 | Resident Generation Bounds | ORIGINAL_REQUEST §R1 | T1_F16 to T1_F20 (5) | T2_F16 to T2_F20 (5) | VERIFIED |
49| F5 | Crawler Flag Collision Fix | ORIGINAL_REQUEST §R4 | T1_F21 to T1_F25 (5) | T2_F21 to T2_F25 (5) | VERIFIED |
50| F6 | Interactive CLI Workbench | ORIGINAL_REQUEST §R4 | T1_F26 to T1_F30 (5) | T2_F26 to T2_F30 (5) | VERIFIED |
51| F7 | Key Verification Command | ORIGINAL_REQUEST §R4 | T1_F31 to T1_F35 (5) | T2_F31 to T2_F35 (5) | VERIFIED |
52| F8 | Axum Web Workshop Service | ORIGINAL_REQUEST §R4 | T1_F36 to T1_F40 (5) | T2_F36 to T2_F40 (5) | VERIFIED |
53| F9 | Closed-Loop Cortex Storage | ORIGINAL_REQUEST §R5 | T1_F41 to T1_F45 (5) | T2_F41 to T2_F45 (5) | VERIFIED |
54| F10 | SFT and DPO Dataset Emission | ORIGINAL_REQUEST §R5 | T1_F46 to T1_F50 (5) | T2_F46 to T2_F50 (5) | VERIFIED |
55| F11 | Four-Tier Verification Gates | ORIGINAL_REQUEST §R3 | T1_F51 to T1_F55 (5) | T2_F51 to T2_F55 (5) | VERIFIED |
56| F12 | E2E Opaque-Box Test Suite | ORIGINAL_REQUEST §Acceptance | T1_F56 to T1_F60 (5) | T2_F56 to T2_F60 (5) | VERIFIED |
57| F13 | Remote Git Parity & PR Lifecycle | ORIGINAL_REQUEST §R6 | T1_F61 to T1_F65 (5) | T2_F61 to T2_F65 (5) | VERIFIED |
58
59## 5. Test Execution Instructions
60
61Execute tests on the NVIDIA DGX Spark from the repository root:
62
63```bash
64# Execute entire 140-test suite via runner script
65./scripts/e2e_distill_test.sh --all
66
67# Execute by tier
68./scripts/e2e_distill_test.sh --tier 1
69./scripts/e2e_distill_test.sh --tier 2
70./scripts/e2e_distill_test.sh --tier 3
71./scripts/e2e_distill_test.sh --tier 4
72
73# Execute by feature pattern
74./scripts/e2e_distill_test.sh --feature sanitizer
75./scripts/e2e_distill_test.sh --feature vault
76./scripts/e2e_distill_test.sh --feature crawler
77
78# Output structured JSON results
79./scripts/e2e_distill_test.sh --all --json
80
81# Direct cargo test invocations
82cargo test -p spark-adapters --test tier1_features
83cargo test -p spark-adapters --test tier2_boundary
84cargo test -p spark-adapters --test tier3_cross_feature
85cargo test -p spark-adapters --test tier4_real_world
86```
87
88## 6. Artifact Index
89
90- Tier 1 Feature Test Suite: `crates/spark-adapters/tests/tier1_features.rs`
91- Tier 2 Boundary Test Suite: `crates/spark-adapters/tests/tier2_boundary.rs`
92- Tier 3 Cross-Feature Suite: `crates/spark-adapters/tests/tier3_cross_feature.rs`
93- Tier 4 Real-World Suite: `crates/spark-adapters/tests/tier4_real_world.rs`
94- Unified Shell Test Runner: `./scripts/e2e_distill_test.sh`
95- Machine-Readable Results: `tests_results.json`
96- Readiness Report: `TEST_READY.md`