Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/atlas/blob/master/TRANSITION_PLAN_M1.md # atlas aien-dev/atlas Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `atlas / TRANSITION_PLAN_M1.md` 35 lines ยท 2631 bytes Raw Blame History Source # Sovereign Tooling Transition Plan: Milestone 1 (ATLAS) Tracking: aien-dev/aien-architecture#12, aien-dev/atlas#2 ## Context & Sovereignty Rule Per the Sovereign Machine doctrine, qualification and build tooling must be local, in-house, and offline, with zero Python in the trusted path. Milestone 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`). ## Implementation Summary A complete, pure C (C11) and POSIX shell replacement suite has been designed and implemented in `aien-dev/atlas`: - `tools/m1tool.c`: Pure C host qualification tool compiled via host `gcc` and linked directly with audited `sha256_clean.c`. - Subcommands: `sha256`, `hexfield`, `bytes`, `audit-verify`, `gen-audit`, `mutate-sweep`, `mutate-adv`, `qemu-run`, `qemu-matrix`. - `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. ## Artifact Integrity & Receipt Preservation - The canonical binary artifact `atlas.bin` (SHA-256 `f7802501b410a0c19eff7b8fca8865c9ba9c96bfa4f8065ca8f508b67748b9a5`, 1480 bytes) is not modified. - The existing qualification receipt `qualification_receipt.json` remains untouched as historical evidence for the Python-based qualification. - The new C/shell tooling was verified to produce 100% gate pass rate across all 8 gates: - `ATLAS_ARTIFACT_IDENTITY_PASS` - `ATLAS_MACHINE_CONTRACT_PASS` - `ATLAS_AUDIT_PASS` - `ATLAS_STACK_DESCRIPTOR_DISJOINT_PASS` - `ATLAS_BOOT_QEMU_PASS` - `ATLAS_HANDOFF_QEMU_PASS` - `ATLAS_CORRUPTION_REFUSAL_QEMU_PASS` (268/268 refused: 256 sweep + 12 adversarial) - `ATLAS_FAIL_CLOSED_QEMU_PASS` ## Transition Phasing - Phase 1 (Dual-Track Availability - Present): - Pure C and shell tooling (`tools/m1tool.c`, `run_m1_gates.sh`) are introduced. - Developers and automated CI can verify gates using `./run_m1_gates.sh` without any Python runtime installed. - Legacy Python scripts remain available as historical reference. - Phase 2 (Formal Requalification Decision): - When recorded in `aien-architecture#12`, `run_m1_gates.sh --write-receipt` generates a refreshed receipt reflecting the pure C/shell verification toolchain. - Phase 3 (Python Retirement & Archival), done 2026-10-15: - 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.