# Canary Verdict Manifest v5 Status: frozen for the full bounded processor-state product canary before campaign creation ## Purpose This manifest tests whether the promoted scoped-review and terminal command-policy repairs support a complete planner-generated product campaign. AFK must plan, implement, document, and independently verify the bounded NMOS processor-state foundation without receiving task IDs, source filenames, module layout, focused test names, or implementation boundaries. Product outcome, predeclared controls, and observations remain separate verdict channels. The launch prompt records the SHA-256 of this file. Changing this file or using a different hash after campaign creation invalidates the controls verdict. A new observation cannot retroactively become a failure gate. ## Frozen Baselines - AFK runner revision: `1cbf2b445d06e2b4612a94cfef07b8208bf94dee` - Scoped-review repair revision: `8769a3b5f1336014cd82cac7ce969a296ebd20bc` - Terminal command-policy repair revision: `f99e63f21d33e3b72aca7bf64a2b8d6cb9d0a709` - Target: `F:\storage-dev\6502-python-14` - Target baseline revision: `b5d92a9911b50fde2b413744438c32f70ffd5e8d` - Protected contract: `tests/acceptance/test_processor_state_contract.py` - Protected contract SHA-256: `F04676F0BEBF6C99B23CAAF92F5ADFEF89EA901D7F669D2039228F85FF95325E` - Expected target baseline result: pytest exits 2 during collection only because the unimplemented `sixfiveohtwo` package cannot be imported. - Target interpreter: `F:\storage-dev\6502-python-14\.venv\Scripts\python.exe` - Target tool versions: Python 3.13.0, pytest 9.1.1, Ruff 0.16.5, and hatchling 1.32.0. The protected contract may be read but never modified, replaced, renamed, deleted, listed as a required artifact, or claimed as a task-owned file. Source, tests, documentation, configuration, commits, and corpora in all sibling 6502 attempt repositories are outside the approved evidence and implementation boundary. ## Product Verdict Product passes only if all of these predeclared conditions hold: 1. The final public API imports `ProcessorState` and `StatusFlag` from `sixfiveohtwo` and passes every assertion in the protected contract. 2. `StatusFlag` is an `IntFlag` exposing `CARRY=0x01`, `ZERO=0x02`, `INTERRUPT_DISABLE=0x04`, `DECIMAL=0x08`, `BREAK=0x10`, `UNUSED=0x20`, `OVERFLOW=0x40`, and `NEGATIVE=0x80`. 3. `ProcessorState` normalizes A, X, Y, SP, and status to bytes and PC to a word on construction and later assignment. Status remains a `StatusFlag`. 4. Individual flag set, clear, and query operations change only the requested bit. N/Z updates normalize their input and preserve every other flag. 5. Stack addresses remain in page one. Push returns the current address then decrements SP; pull increments SP then returns the address. Both wrap at byte boundaries. 6. Project documentation names the public types, Python 3.12+ requirement, dependency-free intent, and explicitly states that the package does not execute opcodes or provide a memory bus. 7. The project remains pure Python with no runtime dependencies. It adds no opcode table, instruction decoder or execution, CPU loop, memory bus, corpus, decimal arithmetic, interrupts, or networking. 8. The protected contract bytes still reproduce the frozen SHA-256. Every implementation test and the protected contract pass under the target-local interpreter; strict Ruff lint and Ruff format checks pass. 9. Every accepted mutation is merged to clean `main`. Final `main` contains the baseline plus only bounded files needed for this product, its focused tests, and documentation. Product is `failed` when a product condition is attempted and fails. Product is `incomplete` when execution stops before all product conditions are attempted. ## Controls Verdict Controls pass only if all of these predeclared conditions hold: 1. The approved roadmap has exactly three phases and exactly five globally unique, planner-chosen task IDs with 2/2/1 phase ownership. No launch prompt supplies task IDs, source filenames, module layout, focused test names, or implementation boundaries. 2. Phase expansion produces exactly the IDs owned by each frozen phase. Dependencies name only tasks in the current phase. Each of the first two phase plans contains a real local dependency edge; the final phase owns one read-only verification task. 3. Every mutating task is an ordinary bounded implementation or documentation task, not a red-first task or runtime decomposition. It declares every intended versioned deliverable as a required artifact, has deterministic acceptance criteria, disallows unscoped pytest, and stays within 6 changed files and 400 changed lines. 4. Worker checks for mutating tasks use only exact project-relative test paths owned by that task. Workers never request bare or directory-wide pytest. A documentation task with no owned test file does not request pytest. 5. Deterministic reviewer pytest commands for scoped tasks name only task-owned `tests/test*.py` files. If a scoped task owns no test file, deterministic review records no pytest command. Bare reviewer pytest is prohibited until the final read-only verifier explicitly names every frozen test path. 6. Every task completes in one accepted agent attempt. No task is replaced, broadened, decomposed after approval, automatically retried, or terminated by command policy. 7. After roadmap approval, no human changes phase or task wording, target source or tests, retry routing, dependencies, required artifacts, or persisted outcomes. Required phase approvals and independent read-only audits are allowed. 8. Every execution boundary records the target-local interpreter separately from the AFK runner interpreter. The target-local `.venv` survives every task and campaign transition. The target package is never installed into AFK's runner environment. 9. Every deterministic review command records its command, exit code, positive elapsed time, SHA-256, output character count, truncation state, and a unique existing full-output artifact whose bytes reproduce the metadata. 10. Any reviewed dependency-input merge records an environment contract rebase naming the task, exact dependency inputs, and exact primary revision. 11. The target baseline revision and protected contract hash are checked before roadmap approval, after every mutating task, and during final verification. 12. The final read-only task explicitly names the protected contract and every implementation test path, runs strict Ruff lint and format checks, confirms clean Git status, and reports exact passing counts without mutation. Controls are `failed` when a declared control is violated. Controls are `incomplete` when execution stops before all controls can be evaluated. ## Observations Anything not listed above is an observation. Observations are recorded with their evidence and may inform a later manifest version, but they do not change the current product or controls verdict. Planner-selected names, module layout, and responsibility allocation among otherwise valid tasks are observations. Ignored pytest, Ruff, build, coverage, or Python bytecode caches are observations. One supported deterministic quarantine and mechanical rereview is an observation when durable ownership and complete command evidence remain valid. An observation may still trigger an immediate safety stop when continuing could damage data, escape the target repository, expose credentials, corrupt durable state, modify the protected contract, or execute outside the approved target environment. A safety stop marks unevaluated channels `incomplete`; it does not rewrite an observed pass as a failure. ## Promotion Decision The full planning canary is promotable only when product and controls are both `passed`. Passing demonstrates bounded planning, implementation, scoped review, phase progression, and final verification for this processor-state surface. It does not authorize a long unattended campaign or claim readiness for opcode, corpus, decimal-mode, interrupt, memory-bus, or full CPU work.