# Canary Verdict Manifest v7 Status: frozen for the fresh typed-verification repair canary before campaign creation ## Purpose This manifest retests whether typed-verification repair `6bf8267` supports a complete planner-generated NMOS processor-state campaign. Attempt 15 stopped after a retained `AFK_TARGET_PYTHON` override selected attempt 14's valid but out-of-scope interpreter, and its first task also required an automatic retry. Attempt 16 must plan, implement, document, and independently verify the bounded product 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: `e211a046597b95f677eed179139fcb6d4b165730` - Typed-verification repair revision: `6bf8267eb46632f57d276399f018a3d28ade2fa7` - Scoped-review repair revision: `8769a3b5f1336014cd82cac7ce969a296ebd20bc` - Terminal command-policy repair revision: `f99e63f21d33e3b72aca7bf64a2b8d6cb9d0a709` - Attempt-15 verdict revision: `e211a046597b95f677eed179139fcb6d4b165730` - Target: `F:\storage-dev\6502-python-16` - Target baseline revision: `32a2b3cd14b5dea16985a6c7637d6434e0cafb24` - 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-16\.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. The target baseline excludes only that immutable file from Ruff formatting so its frozen bytes remain stable. 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. 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. Before completion, each Python-mutating task also runs target-local Ruff check and Ruff format check against its owned Python files. 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 generated implementation test and the protected contract. 6. Every task completes in one accepted agent attempt. No task is replaced, broadened, decomposed after approval, automatically retried, or terminated by command policy or verification 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. Immediately before roadmap approval and every campaign step, `AFK_TARGET_PYTHON` is absent from the launching process environment. Every execution boundary records `F:\storage-dev\6502-python-16\.venv\Scripts\python.exe` as the target 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. Any other resolved target path is an immediate approved-environment safety stop. 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. Strict-mode `run_verification` schemas offered to every worker role omit `baseline_compare` from both the kind enum and its description while retaining `file_sha256`. No final-task tool call is rejected because of a hidden or unavailable verification kind. 13. The final read-only task treats this supplied manifest reference as governing task context, not as a target-local file. It uses typed `file_sha256` for the protected contract, then runs the target-local interpreter against every generated implementation test plus the protected contract, strict Ruff lint, Ruff format check, and clean Git status. It reports exact passing counts and makes no target mutation. 14. Every final-task typed verification call persists on the same task attempt with kind, fixed command, outcome code, return code, nonnegative elapsed time, output SHA-256, output character count, truncation state, bounded display output, and a unique existing full-output artifact whose UTF-8 bytes reproduce the metadata. Passed calls retain no rejection reason. 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 Rule Repair `6bf8267` is promotable only when product and controls both pass. A failed or incomplete channel leaves the repair unpromoted and requires a fresh target, campaign, and separately frozen manifest for any later rerun. Failed or cancelled campaign history is immutable and must never be resumed or rewritten.