Implement and independently verify a bounded, dependency-free NMOS 6502 processor-state foundation in the fresh `6502-python-14` target. This is the full product canary after promotion of scoped-review and terminal command-policy repairs; it is not authorization to implement a CPU or run a long campaign. ## Frozen verdict policy This campaign is governed by `docs/canary-verdict-manifest-v5.md` at SHA-256: `03A3EA9521C431D8B04BBC88EC0C6E792C4F97B6AFAE4AB8C9383B320230FE7D` Do not add or reinterpret failure gates after campaign creation. Findings not listed as product or controls gates in that manifest are observations. Record them, but continue unless they require the manifest's immediate safety stop. ## Immutable baseline The target baseline is revision `b5d92a9911b50fde2b413744438c32f70ffd5e8d`. The black-box contract at `tests/acceptance/test_processor_state_contract.py` has SHA-256: `F04676F0BEBF6C99B23CAAF92F5ADFEF89EA901D7F669D2039228F85FF95325E` The contract may be read but must never be modified, replaced, renamed, deleted, listed as a required artifact, or claimed as a task-owned file. Its baseline pytest exit 2 is expected because `sixfiveohtwo` does not exist. The target repository is independent. Do not read, copy, import, or depend on source, tests, documentation, configuration, commits, or corpora from any sibling 6502 attempt repository. ## Product outcome Build the smallest clear public processor-state API that satisfies the frozen black-box contract. The public surface must provide `ProcessorState` and `StatusFlag` from `sixfiveohtwo`, including: - all eight named NMOS status bits with conventional masks; - byte normalization for A, X, Y, SP, and status on construction and later assignment; - word normalization for PC on construction and later assignment; - setting, clearing, and querying an individual status flag; - N/Z updates from a normalized byte while preserving every other flag; - page-one stack address calculation and wrapping push/pull pointer sequencing; - concise documentation of the public types, Python 3.12+ requirement, dependency-free intent, and explicit absence of opcode execution and a memory bus. Do not add opcode tables, instruction decoding or execution, a CPU loop, a memory bus, corpus fixtures, decimal arithmetic, interrupts, networking, or runtime dependencies. ## Planning challenge AFK must choose the phase names, phase goals, globally unique task IDs, source module layout, implementation files, focused tests, and task boundaries. The launch prompt intentionally supplies none of those implementation decisions. Produce exactly three phases and exactly five tasks with 2/2/1 phase ownership. Each of the first two phase plans must contain a real local dependency edge. The final phase must contain one read-only verification task. Do not reuse task IDs from attempts 10 through 13. Every mutating task must be an ordinary bounded implementation or documentation task, declare all intended versioned deliverables as required artifacts, provide deterministic acceptance criteria, disallow unscoped pytest, and stay within 6 changed files and 400 changed lines. Do not use red-first tasks, postapproval runtime decomposition, task replacement, or automatic retries. Implementation tasks may add focused tests. Before editing, workers may read the target and protected contract. When workers check their changes, they must invoke pytest only with exact project-relative test files owned by that task. They must never request bare pytest, a tests directory, or a test file owned by another task. A documentation task with no owned test file must not invoke pytest. Stop and escalate on command-policy rejection rather than retrying or working around it. Deterministic review for a scoped task may run only test files owned by that task. When a scoped task owns no test file, deterministic review must not run pytest. A setup or implementation task must not collect the protected future-state contract before the complete public product exists. The final read-only task must name and run the protected contract and every implementation test file with the target-local interpreter. It must also run strict Ruff check, Ruff format check, and Git status, report exact passing counts, verify the protected SHA-256, and preserve complete deterministic command output without modifying the target. ## Failure policy - Escalate rather than modifying the protected contract or escaping the target. - Escalate if the target interpreter cannot be resolved or environment drift is detected. - Do not install the target package into AFK's runner environment. - Do not treat ignored bytecode or tool caches as product artifacts or a failure; they are observations under manifest v5. - Preserve complete output artifacts and durable ownership for every task. - Pause for approval before each phase and stop after this bounded canary is complete.