interplane.Get Omega
Read in your language

atlas

aien-dev/atlas

Brought by drakestapleton

branch master Branches Tags History

atlas / TRANSITION_PLAN_M1.md

35 lines · 2631 bytes Raw Blame History Rendered
1# Sovereign Tooling Transition Plan: Milestone 1 (ATLAS)
2Tracking: aien-dev/aien-architecture#12, aien-dev/atlas#2
3
4## Context & Sovereignty Rule
5Per the Sovereign Machine doctrine, qualification and build tooling must be local, in-house, and offline, with zero Python in the trusted path.
6Milestone 1 previously used Python for static audit, execution harness, and gate orchestration (`run_milestone1_gates.py`, `seam1_artifact_audit.py`, `seam2_execution_harness.py`, `generate_audit_ledger.py`).
7
8## Implementation Summary
9A complete, pure C (C11) and POSIX shell replacement suite has been designed and implemented in `aien-dev/atlas`:
101. `tools/m1tool.c`: Pure C host qualification tool compiled via host `gcc` and linked directly with audited `sha256_clean.c`.
11 - Subcommands: `sha256`, `hexfield`, `bytes`, `audit-verify`, `gen-audit`, `mutate-sweep`, `mutate-adv`, `qemu-run`, `qemu-matrix`.
122. `run_m1_gates.sh` (symlinked as `run_milestone1_gates.sh`): Master POSIX shell gate runner orchestrating KAT verification, Seam 1 static audits, and Seam 2 QEMU execution harness.
13
14## Artifact Integrity & Receipt Preservation
15- The canonical binary artifact `atlas.bin` (SHA-256 `f7802501b410a0c19eff7b8fca8865c9ba9c96bfa4f8065ca8f508b67748b9a5`, 1480 bytes) is **not modified**.
16- The existing qualification receipt `qualification_receipt.json` remains **untouched** as historical evidence for the Python-based qualification.
17- The new C/shell tooling was verified to produce 100% gate pass rate across all 8 gates:
18 1. `ATLAS_ARTIFACT_IDENTITY_PASS`
19 2. `ATLAS_MACHINE_CONTRACT_PASS`
20 3. `ATLAS_AUDIT_PASS`
21 4. `ATLAS_STACK_DESCRIPTOR_DISJOINT_PASS`
22 5. `ATLAS_BOOT_QEMU_PASS`
23 6. `ATLAS_HANDOFF_QEMU_PASS`
24 7. `ATLAS_CORRUPTION_REFUSAL_QEMU_PASS` (268/268 refused: 256 sweep + 12 adversarial)
25 8. `ATLAS_FAIL_CLOSED_QEMU_PASS`
26
27## Transition Phasing
281. **Phase 1 (Dual-Track Availability - Present)**:
29 - Pure C and shell tooling (`tools/m1tool.c`, `run_m1_gates.sh`) are introduced.
30 - Developers and automated CI can verify gates using `./run_m1_gates.sh` without any Python runtime installed.
31 - Legacy Python scripts remain available as historical reference.
322. **Phase 2 (Formal Requalification Decision)**:
33 - When recorded in `aien-architecture#12`, `run_m1_gates.sh --write-receipt` generates a refreshed receipt reflecting the pure C/shell verification toolchain.
343. **Phase 3 (Python Retirement & Archival), done 2026-10-15**:
35 - Legacy Python files are deleted from the tree (kept in git history, see `HISTORICAL-PYTHON.md`), completing total retirement of Python. A CI guard keeps Python out.