Implement a bounded, dependency-free NMOS 6502 processor-state foundation in the fresh `6502-python-11` target. This experiment must exercise AFK's own roadmap and task decomposition; it is not authorization to implement a CPU or run a long unattended campaign. ## Frozen verdict policy This campaign is governed by `docs/canary-verdict-manifest-v2.md` at SHA-256: `CBC58183D6A6B4654F8CADE1F9D712258A141B792FFF4018FB0108F4D55A5991` 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 `2655af697f0947715a840ecc7349790cf0f4646e`. 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 collection failure 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 their 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 the 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 with 4-6 tasks total. At least one phase must own two or more tasks, and at least one phase plan must contain a real dependency edge between tasks in that phase. The final phase must end with a read-only verification task. Do not reuse the four task IDs from the bookkeeping canary. 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 of an unchanged deterministic failure. Implementation tasks may add focused tests. Their checks must name exact test paths. The final read-only task must run the protected contract and every implementation test, strict Ruff check, Ruff format check, and Git status with the target-local interpreter. It must report exact passing counts and preserve complete deterministic command output. ## 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 v2. - Preserve complete output artifacts and durable ownership for every task. - Stop after this bounded processor-state canary is complete.