atlas
aien-dev/atlas
Brought by drakestapleton
atlas / HISTORICAL-PYTHON.md
| 1 | # HISTORICAL: the Milestone 1 Python scripts (removed from the tree 2026-10-15) |
| 2 | |
| 3 | The four Python files listed below were the original Milestone 1 (ATLAS) QEMU qualification scripts. They are no longer in this repository's tree. Their exact bytes stay in git history and can be read with `git show 2b171ed:<path>` (the last commit that holds them); the SHA-256 and git blob of each are in the table, so anyone can check that what they retrieve is the original. |
| 4 | |
| 5 | ## Decisions |
| 6 | |
| 7 | 1. Operator decision, Drake, 2026-10-09 (aien-dev/aien-architecture#12, aien-dev/atlas#2): keep the scripts byte for byte as frozen historical evidence, outside active AIEN execution. |
| 8 | 2. Operator rule, Drake, 2026-10-15: no Python anywhere in AIEN. This supersedes decision 1 for the working tree: the four files are deleted from the tree, and a CI guard (`scripts/check-no-python.sh`, run by `.github/workflows/no-python.yml`) fails the build if any Python file is tracked again. The evidence itself is unchanged: `qualification_receipt.json`, `atlas.bin` and the audit artifacts are untouched, and the script bytes remain retrievable from history as described above. |
| 9 | 3. Nothing depended on these files: no production entry point, build, CI workflow or runtime ran them (checked again 2026-10-15 with `git grep`). The Python-free gate runner below already replaced them. |
| 10 | 4. Historical evidence is not altered to conform to today's standards. Requalifying Milestone 1 with the current tooling remains a separate task. |
| 11 | |
| 12 | `TRANSITION_PLAN_M1.md` Phase 3 (retire the legacy Python) is complete as of 2026-10-15. |
| 13 | |
| 14 | ## File table |
| 15 | |
| 16 | | Path | SHA-256 | Git blob | What it was for | Evidence it backs | |
| 17 | |---|---|---|---|---| |
| 18 | | `generate_audit_ledger.py` | `092716bab5b070dbc7d9bafad1cb150ed9432c1b049459bebca26b860e15c096` | `abebd6917829456ed4379b7aca88a1ee3eca7ada` | Generated the reconciled Atlas machine-operation audit ledger (instructions x 4 + rodata words x 4 = 1480 bytes) | `atlas.audit`; `qualification_receipt.json` field `audit_ledger_reconciliation` (301 instructions, 69 rodata, 0 discrepancy) | |
| 19 | | `run_milestone1_gates.py` | `3af1e2af136bdf868a100906b3d034897b5f6a4d10bbf8c43947d8c44fdff569` | `1a12ae0ffaf9120166fb33dcdeb6fdbe0fb17e64` | Master M1 gate runner: SHA-256 KAT, Seam 1, Seam 2, summary | `qualification_receipt.json` field `gates` (8 gates true), `duration_seconds` 9.48 | |
| 20 | | `seam1_artifact_audit.py` | `7cc590ebc0b3976dc2d155da5c950bd65b2f550dbfea5fa666ff952f9109c546` | `c9a6d70a073aa358508cf31271e9ac08c84a4873` | Seam 1: static artifact audit (identity, contract, audit reconciliation, static target proof, stack/descriptor disjointness) | `qualification_receipt.json` fields `static_target_proof`, `disjoint_separation_proof`, gates `ATLAS_ARTIFACT_IDENTITY_PASS`, `ATLAS_MACHINE_CONTRACT_PASS`, `ATLAS_AUDIT_PASS`, `ATLAS_STACK_DESCRIPTOR_DISJOINT_PASS` | |
| 21 | | `seam2_execution_harness.py` | `270d5837b70e47261fc374ed631493c072311cd8b936ee36a096bf947a5a206e` | `9c58a196e0d7e5a72e549a610ed2f57789f0e8c6` | Seam 2: QEMU execution harness, 256-byte sweep + 12 adversarial mutations (268 cases), fail-closed check | `qualification_receipt.json` field `corruption_refusal_matrix` (268/268), gates `ATLAS_BOOT_QEMU_PASS`, `ATLAS_HANDOFF_QEMU_PASS`, `ATLAS_CORRUPTION_REFUSAL_QEMU_PASS`, `ATLAS_FAIL_CLOSED_QEMU_PASS` | |
| 22 | |
| 23 | Receipt: `qualification_receipt.json`, canonical artifact `atlas.bin` (SHA-256 `f7802501b410a0c19eff7b8fca8865c9ba9c96bfa4f8065ca8f508b67748b9a5`, 1480 bytes). The receipt does not embed digests of these scripts; the binding is by gate names and results. |
| 24 | |
| 25 | Hashes are of the files at repository commit `7e6b836` and unchanged through `2b171ed`, the last commit that holds them (default branch `master`). To confirm: `git show 2b171ed:<path> | sha256sum` and `git rev-parse 2b171ed:<path>`. |
| 26 | |
| 27 | ## Active replacement (separate, already present) |
| 28 | |
| 29 | `run_m1_gates.sh` (symlinked as `run_milestone1_gates.sh`) and `tools/m1tool.c` (pure C11 and POSIX shell, commit `0ec17d4`) are the current Python-free gate runner. They are not requalified by this marking and no new receipt is issued here (see decision item 4). |