Prepare the foundation of a fresh Python 3.12+ pure-Python NMOS 6502 instruction-core reference implementation named "6502-python-07". This is a bounded stabilization attempt 07 canary, not authorization to implement the CPU or run a long campaign. ## Canary objective Prove that AFK can create and validate a minimal importable project foundation without the retry, decomposition, environment, diagnostic, and reviewer-scratch failures found in earlier attempts. Stop after the three canary phases. Do not begin CPU implementation, oracle provisioning, opcode work, or comprehensive exercisers. The target repository is independent. Do not read, copy, import, or depend on source, tests, documentation, configuration, commits, or corpus checkouts from `6502-python`, `6502-python-r2`, `6502-python-r3`, `6502-python-r4`, `6502-python-05`, or `6502-python-06`. ## Required roadmap shape Plan exactly three canary phases containing exactly four tasks total: 1. `Package bootstrap`: only `bootstrap-package`. 2. `Repository and documentation contracts`: `add-ignore-contract`, then `document-foundation`. 3. `Independent canary verification`: only `verify-foundation-canary`. The four tasks have these exact contracts: 1. `bootstrap-package` - Create nonempty `pyproject.toml`, `sixfiveohtwo/__init__.py`, and `tests/test_import.py`. - This is an ordinary implementation task, not a red-first task. - The distribution name is `6502-python-07`; the import name is `sixfiveohtwo`. - Use Python 3.12+, hatchling, pytest, and Ruff with no runtime dependencies. - Acceptance runs only `tests/test_import.py` and Ruff checks for the three owned files. 2. `add-ignore-contract` - Create nonempty `.gitignore` and `tests/test_gitignore.py`. - Exclude only checkout-local virtual environments, caches, build output, coverage output, and future fetched corpus directories beneath `tests/`. - Acceptance runs only `tests/test_gitignore.py` and Ruff for the owned test. 3. `document-foundation` - Create nonempty `README.md` and `tests/test_readme_contract.py`. - Document the distribution/import-name mapping, Python requirement, dependency-free intent, embeddable-core scope, and explicit statement that no CPU implementation exists in this canary. - Acceptance runs only `tests/test_readme_contract.py` and Ruff for the owned test. 4. `verify-foundation-canary` - Read-only task with no required output artifacts. - Run the three named test files, strict Ruff check, Ruff format check, and Git status inspection. - Report the exact passing counts and complete the canary. Every mutating task must declare all listed required artifacts and at least one deterministic acceptance criterion. Every task must disallow unscoped pytest. Each task must fit within 6 changed files and 400 changed lines. These tasks are already atomic; do not decompose them. Do not add a fourth phase or any task outside these four contracts. ## Failure policy - Do not retry an unchanged deterministic failure. - Do not replace, broaden, or reinterpret a required artifact. - Do not invoke a sibling repository or ambient Python interpreter. - Do not install the project into AFK's runner environment. - Preserve complete output artifacts for every deterministic review command. - Do not treat reviewer-generated bytecode or cache files as product artifacts. - Escalate rather than continuing if the target interpreter cannot be resolved, environment drift is detected, a required artifact is missing, or the same failure recurs without changed files or evidence. ## Eventual product context After a human explicitly accepts this canary, a separate larger plan may continue toward a readable, dependency-free, host-embeddable NMOS 6502 instruction core. Its matched milestone will remain all 151 documented opcode files from SingleStepTests commit `2f6980a2d95757486c7bee24355c360e40e2a224`, followed by all 256 opcode files, Klaus functional validation, and Bruce Clark decimal validation. None of that work is in scope for this canary.