Item 9 of the hardening pass: the opt-in rehearsal completed a correctly reviewed 840-input lifecycle in about 92 minutes, with the replay derivation taking 75% of the time. The note carries the stage timings so the 11.6 owner budgets the run from a measurement.
69 KiB
Implementation Plan
Merge record
| Previous task group | Disposition in this plan |
|---|---|
| Completed pilot groups 1–4 and 6 | Retained as non-authorizing implementation and regression substrate; their legacy records do not satisfy replacement-population or V3 admission requirements |
| Previous group 5 pilot run | Superseded by the withdrawn-pilot lifecycle and separately sourced replacement population; no open pilot-run task is carried forward |
| Previous group 7 recognition table | Retired from this benchmark boundary; framework recognition is detector/fact-pack work and concrete repositories remain benchmark evidence only |
Task constraints
-
This specification consumes
openultrasast.detection-core.evaluation-admission.v3and never edits core-owned contracts. -
Historical pilot bytes and digests remain unchanged; legacy catalog, assembly, and scoring paths are non-authorizing compatibility inputs only.
-
Independent human review records are external governed inputs. Implementation may validate and ingest them but must never fabricate reviewer identity, conflict disclosure, or label judgment.
-
New and amended code keeps McCabe complexity at most 10, functions at most 50 logical lines, and new modules at most 400 logical lines.
-
Every zero or clean-looking result first proves nonzero readable input and required-stage execution.
-
Durable artifacts default to the configured S3-compatible store; local files are rebuildable scratch, and application credentials never create buckets or mutate lifecycle policy.
-
Detector logic, framework vocabulary, rollout, infrastructure administration, and the parked access-control arm remain outside this plan.
-
1. Establish the replacement benchmark foundation
-
1.1 Pin the validated V3 predecessor and frozen historical compatibility surface
- Verify the exact V3 schema, per-arm exact-scope plan and admission roots, shared-spend authority, case-release validation, and complete evaluation replay through the public core facade.
- Keep pooled V2 and historical pilot artifacts replayable only under their original schemas and refuse inferred conversion into V3.
- Refuse startup when the core schema or required V3 capability is absent, and prove all compatibility fixtures are readable and nonzero before interpreting them.
- Done when a benchmark-only conformance suite accepts the shipped V3 facade, preserves frozen historical bytes, and rejects V2, unknown, mixed, or incomplete roots without changing core-owned files.
- Requirements: 5.3, 5.5, 6.1, 6.6, 6.7, 8.4, 8.5, 8.6, 9.1, 9.2
- Boundary: Scoped Admission V3 Consumer
-
1.2 Build the canonical benchmark artifact and identity boundary
- Define deterministic canonical envelopes for reservation, review, lifecycle, population, observation, workflow, report, and replay references using full content digests and closed artifact kinds.
- Validate schema, digest, byte length, provenance, access class, canonical ordering, and same-identity byte equality before any artifact is accepted.
- Preserve the existing artifact-envelope substrate only where it satisfies the new contracts; incompatible legacy envelopes remain read-only and non-authorizing.
- Done when equal inputs produce byte-identical identities and malformed, empty, unsupported, or same-key/different-byte inputs fail before projection or scoring.
- Requirements: 7.1, 7.2, 7.3, 8.1, 8.4, 8.5, 8.6, 10.3
- Boundary: Benchmark Artifact Contracts
-
1.3 Define store settings, retention profiles, and capability prerequisites
- Load purpose-specific durable and transient store settings from environment names without serializing endpoints or credentials into artifacts.
- Represent required versioning, conditional-write, current-version, and noncurrent-version retention properties as validated capability profiles.
- Keep bucket creation, lifecycle mutation, cluster health, and credential provisioning outside application authority.
- Done when startup distinguishes missing or unsupported capabilities from clean benchmark results and a configured application identity cannot perform administrator-owned mutations.
- Requirements: 7.4, 7.7, 7.8, 8.5, 10.2, 10.3, 10.6
- Boundary: Benchmark Store Configuration
-
2. Establish permanent reservation and baseline lifecycle authority
-
2.1 Project reviewed repository influence into one permanent reservation census
- Canonicalize repository identities across aliases, former names, redirects, and fork networks before accepting influence evidence.
- Record reviewed
enumerated_onlyandinfluencedevents while adding only influenced identities and authoritative legacy sources to the permanent census. - Make equal events idempotent, conflicting identities fail closed, and the sorted census deterministic from the complete accepted event set.
- Done when reserved aliases and forks are excluded, enumeration alone does not reserve a repository, and changed event bytes cannot reproduce the accepted census identity.
- Requirements: 4.1, 4.2, 4.3, 4.4
- Boundary: Reservation Authority
-
2.2 Integrate historical withdrawal lifecycle with exact audit authorization
- Inventory every retained historical identity-bearing path with its repository-relative path, nonzero bytes, content digest, withdrawal reason, and reviewed authorization evidence.
- Mark the 2026-10-12 pilot withdrawn and non-admissible while preserving its bytes and original identities.
- Authorize audit reads only for exact unchanged path-and-digest pairs; reject directories, globs, repository allowlists, relocated files, and changed bytes.
- Done when the historical inventory reproduces exactly, the pilot cannot be presented as current qualification evidence, and no blanket exclusion is needed to read its authorized audit files.
- Requirements: 4.5, 4.6, 4.7, 4.8
- Boundary: Reservation Authority, Baseline Lifecycle Authority
-
2.3 Project causal replacement, retirement, and development-opening lifecycles
- Validate append-only lifecycle events whose predecessor chain covers withdrawal, exact replacement binding, retirement, and development opening.
- Keep replacement pending until the reviewed event binds the exact historical withdrawal, new population, and new freeze identities.
- Make retirement and development opening terminal for admission while preserving prior freezes, reports, and audit material unchanged.
- Create reviewed influence events when population-specific raw observations or diagnostics are opened for development.
- Done when duplicate equal events are idempotent, forks and missing predecessors fail, terminal states cannot be undone, and only an active replacement-complete projection is admission eligible.
- Requirements: 3.6, 4.7, 4.9, 5.1, 5.2, 5.6, 7.7
- Boundary: Baseline Lifecycle Authority
-
2.4 Route the permanent-reservation guard through exact reviewed authority
- Replace test-owned exception logic with the reservation census and exact historical authorization contracts.
- Require the replacement population to pass canonical identity, alias/fork, influence, and historical-file checks before acceptance.
- Preserve the guard's nonzero repository census and report every forbidden reference without treating an unread tree as zero.
- Done when the guard passes only for reviewed exact historical files, continues to reject every other reserved reference, and no reservation semantic is weakened.
- Requirements: 4.1, 4.2, 4.3, 4.4, 4.8, 4.9, 4.10
- Boundary: Reservation Guard Integration
- Depends: 2.1, 2.2, 2.3
-
3. Produce independently reviewed ecosystem and fix-derived ground truth
-
3.1 Preserve fix-site, repository, ecosystem, language, license, and provenance evidence
- Derive vulnerable and fixed locations from the security-fix file and function at the vulnerable parent and fixed revision without blame walk-back or SZZ introducing-commit inference.
- Retain canonical repository identity, observed language, package ecosystem evidence, license evidence, source evidence, change inputs, and nonzero function bytes.
- Treat concrete frameworks and repositories as evidence only and add no detector vocabulary or implementation behavior.
- Done when fixture fixes reproduce the exact pre/post functions and provenance, SZZ-style methods are unreachable, and an empty or unreadable function refuses candidate creation.
- Requirements: 1.1, 1.2, 1.5, 1.8, 2.1, 2.2
- Boundary: Fix-Site Catalog
-
3.2 Validate canonical repository ecosystem review
- Accept only reviewed
pythonorjavascriptecosystem identities, preserving TypeScript as an observed language withinjavascript. - Require producer/reviewer separation, review-policy satisfaction, conflict disclosure, and the source-evidence digest.
- Emit bounded insufficient evidence for unresolved or conflicting ecosystem classification, including polyglot ambiguity.
- Done when accepted repositories have exactly one canonical ecosystem and every unresolved, self-reviewed, stale, or conflicting review remains non-admissible.
- Requirements: 1.1, 1.5, 1.6, 1.8, 2.3
- Boundary: Review Authority
- Accept only reviewed
-
3.3 Validate independently reviewed positive ground truth and exact scopes
- Require explicit defect-present, fix-addresses, and in-repository-reachable judgments with producer/reviewer separation, policy evidence, and conflict disclosure.
- Keep optional model assistance as a separately identified non-authoritative input that can never satisfy a missing human judgment.
- Bind each accepted fix to one or more independently verified vulnerability-family and canonical-ecosystem scopes; record closed exclusion reasons otherwise.
- Count a multi-scope fix once by change identity while retaining every verified exact scope and granting no unverified scope.
- Done when all required judgments and exact scopes replay from reviewed evidence and any rejection, omission, self-review, model-only label, or scope substitution excludes the candidate.
- Requirements: 1.2, 2.3, 2.4, 2.5, 2.6
- Boundary: Review Authority
-
4. Freeze a reproducible label-isolated replacement population
-
4.1 Draw and validate representative ordinary pushes
- Draw at least twenty eligible first-parent ordinary pushes per accepted positive from the same canonical repository and exclude the security fix.
- Store each underlying ordinary push once with its reviewed ecosystem and deterministic draw/provenance identity.
- Exclude reviewed pre-freeze defects with a reason and route verified post-freeze contamination to lifecycle retirement rather than rewriting a result.
- Done when the same source and policy reproduce the draw, cross-ecosystem substitution fails, and every accepted positive contributes the required eligible ordinary-change count.
- Requirements: 3.1, 3.2, 3.4, 3.5, 3.6
- Boundary: Population Freezer
-
4.2 Classify and freeze the canonical population
- Consume only accepted ecosystem and ground-truth reviews plus the authoritative reservation census.
- Bind selections, ordinary draws, exclusions, review sets, provenance, policies, scope census, and new population/freeze identities into a deterministic freeze.
- Classify fewer than forty accepted positives, a missing ecosystem, missing second family, or infeasible claimed scope as development pilot or insufficient rather than admission.
- Done when only a freeze with at least forty accepted positives across Python and JavaScript/TypeScript and at least two families can be admission class, while unchanged material reproduces its identity and conflicting bytes are refused.
- Requirements: 1.1, 1.2, 1.3, 1.4, 1.6, 1.7, 3.2, 7.1, 7.2, 7.3
- Boundary: Population Freezer
-
4.3 Separate public material, private material, and sealed labels
- Publish only permissively licensed source material and represent uncertain or non-permissive content through opaque digest-bound private references.
- Keep label bytes and review judgments in private sealed objects unavailable to detector arms and presenters.
- Bind public manifest, private-object digest, sealed-label digest, license partitions, and exclusion counts without exposing private paths or payloads.
- Done when public serialization contains no private bytes, labels, credentials, or local paths and every opaque reference resolves only through the authorized custodian boundary.
- Requirements: 5.1, 5.3, 7.1, 7.6, 10.3
- Boundary: Population Freezer
-
4.4 Integrate the independently reviewed label-blind population manifest
- Construct only counts, exact scopes, canonical input identities, and digests needed by later plan composition, with no label-bearing field.
- Require an independent manifest review with policy satisfaction and conflict disclosure.
- Bind immutable population, freeze, census, scope, review, and input-set identities before any arm plan or label access.
- Done when the reviewed manifest reproduces its exact label-blind census and input set, contains no label-bearing field, and refuses self-review, stale review, missing scope counts, or changed population bytes.
- Requirements: 5.3, 5.4, 5.5
- Boundary: Population Freezer and Review Integration
- Depends: 1.1, 4.2, 4.3
-
5. Persist authoritative artifacts and custody durably
-
5.1 Implement create-only content-addressed artifact persistence
- Persist canonical reservation, review, lifecycle, population, sealed-label, observation, workflow, replay, and report artifacts under purpose-specific keys.
- Require conditional creation or immutable digest keys, strict expected-kind/digest reads, nonzero bytes before decode, and equal-byte idempotency.
- Enforce public, private, custodian-sealed, and operator-safe access classes before returning artifact bytes.
- Done when same-key/different-byte writes fail, unauthorized reads reveal no raw content, and accepted artifacts round-trip byte-identically through the configured S3-compatible store.
- Requirements: 5.1, 5.2, 7.1, 7.3, 7.4, 7.6, 7.7, 10.3
- Boundary: Artifact Repository
- Depends: 1.2, 1.3
-
5.2 Rebuild every authority after local scratch loss
- List and validate ordered durable projections for reservation, lifecycle, population, observation, workflow, replay, and report roots.
- Reject missing, conflicting, wrong-version, expired-authority, or digest-mismatched records rather than selecting a plausible latest value.
- Treat local journals and materialized files as replaceable caches, never the cross-run source of truth.
- Done when deleting scratch state and restarting reproduces every accepted identity, projection, and decision from durable objects alone.
- Requirements: 7.4, 7.5, 7.7, 8.6, 10.1, 10.2
- Boundary: Artifact Repository
-
5.3 (P) Probe conditional custody and retention capabilities
- Exercise conditional head creation, conditional update, two concurrent writers with one winner, version visibility, exact committed-successor reread, and restart recovery.
- Verify both current and noncurrent transient expiry against the pre-registered deadlines without changing store configuration.
- Prove nonzero probe inputs and fail loudly on unsupported, ambiguous, prematurely terminated, or unreadable responses.
- Done when a versioned capability report names every mandatory result and real-population admission is disabled unless all mandatory probes pass.
- Requirements: 5.7, 7.4, 7.5, 7.8, 8.4, 8.5
- Boundary: Durable Custody Store
- Depends: 1.3
-
5.4 Implement monotonic durable custody compare-and-swap
- Use canonical custody-log digests as domain identity and storage tokens only for conditional concurrency.
- Conditional-create the first head, conditional-update the exact current head, and reread/validate the direct available-to-spent successor before returning success.
- Reject stale heads, 409/412 conflicts, missing versions, invalid successors, ambiguous responses, and any attempt to restore available status.
- Done when concurrent spend attempts have exactly one valid successor and restart recovers the same monotonic spent log without exposing label bytes on a failed CAS.
- Requirements: 5.7, 7.3, 7.4, 7.5, 7.7, 7.8
- Boundary: Durable Custody Store
- Depends: 5.3
-
6. Register and execute immutable label-blind arms
-
6.1 Register exact arm identities, scopes, policies, and lifecycle state
- Bind shipped, experimental, and combined arms separately to immutable analyzer, configuration, fact, vocabulary, outcome, baseline, denominator, threshold, sufficiency, and claimed-scope identities.
- Accept only active arms unless a parked arm carries a separate reviewed strategy-decision reference; provide no such reference for access control.
- Produce one canonical evaluation plan covering every component and combined arm before label access.
- Done when identity or scope changes create a new plan, the parked access-control arm cannot enter a plan, and every claimed scope has one exact core V3 policy.
- Requirements: 5.5, 6.1, 8.6, 9.1, 9.2, 10.4, 10.5
- Boundary: Arm Registry
-
6.2 Preserve component observations through deterministic combination plans
- Pre-register only closed deterministic combination rules over complete component observation sets.
- Retain each contributing component identity and result while deriving a separate combined-arm observation set without rerunning cases.
- Prevent proof manufacture or transfer unless family, change input, packet identity, and finding-location anchor are identical.
- Done when component results remain independently reportable, missing or mismatched components block combination, and no combined arm acquires unrelated proof authority.
- Requirements: 9.1, 9.2, 9.3, 9.4, 9.5
- Boundary: Combination Planner
-
6.3 Build the isolated label-blind execution bundle and adapter boundary
- Materialize identical ordered case/input identities, code/change references, arm registration, budgets, environment identity, and output destination for each planned component arm.
- Launch only through an isolated local, Docker, or AX adapter with an allowlisted environment and no custody, private-label, sealed-label, review, expected-outcome, model-secret, or store-admin credentials.
- Keep execution-plane back-pressure and health external while recording bounded benchmark process outcomes.
- Done when an adapter receives all required label-blind inputs and tests prove no forbidden reference, byte sequence, credential, or environment variable crosses the process boundary.
- Requirements: 5.3, 5.5, 5.6, 9.1, 10.3, 10.4, 10.6
- Boundary: Isolated Arm Executor
-
6.4 Freeze complete observations with nonzero execution receipts and exact resume
- Record nonzero reads, required-stage execution, runtime, budgets, degradations, input-set identity, and output identity in a canonical execution receipt.
- Validate and durably freeze one custodian-sealed observation set for every planned component arm before spend.
- Reuse only an exact digest-matching completed checkpoint; never treat a missing/mismatched checkpoint as complete or silently rerun a completed arm under the same plan.
- Done when empty, skipped, prematurely terminated, partial, cross-arm, or changed-input execution yields impairment and no clean-looking observation set.
- Requirements: 5.6, 8.3, 8.4, 8.5, 9.1, 9.2, 10.2
- Boundary: Isolated Arm Executor
-
6.5 Integrate sealed pre-spend diagnostics with reviewed development opening
- Expose before spend only closed reason codes, counts, and digests from observation artifacts.
- Require the selected observation's exact checkpoint provenance and the complete population-derived affected-network set to be bound into the independently reviewed access request.
- Require a reviewed lifecycle development-opening transition and corresponding influence events before any human receives population-specific findings, paths, exception text, or diagnostics.
- Done when the safe projection contains only closed codes, counts, and digests, and no raw byte is returned until the exact durable
development_openedtransition and complete influence set are reread and later admission is ineligible. - Requirements: 4.3, 5.2, 5.6, 8.3, 10.2, 10.3
- Boundary: Isolated Arm Executor, Baseline Lifecycle Authority
- Depends: 2.3, 5.1, 6.4
-
7. Persist safe workflow state and operator projections
-
7.1 Define closed workflow outcomes and redacted serialization
- Represent completed, insufficient, and impaired states with closed reason, phase, degradation, count, gate, runtime, spend-state, and optional replay-reference fields.
- Require completed outcomes to reference exactly one complete V3 replay and reject a clean status for missing or failed required stages.
- Reject arbitrary exception text, filesystem paths, labels, repository contents, payloads, secrets, and customer content during serialization.
- Done when every terminal and resumable state has a deterministic digest and unsafe or free-form content cannot enter the shared outcome.
- Requirements: 8.1, 8.2, 8.3, 8.4, 8.5, 10.1, 10.2, 10.3
- Boundary: Workflow Outcome
-
7.2 (P) Implement the causal workflow journal and lease-protected head
- Append progress and heartbeat entries with exact sequence, predecessor, attempt, lease owner, counts, phase, and deadlines.
- Make the initial CAS head select the exact custodian-sealed automatic-retry authority reference and digest before first execution, and preserve that selection unchanged through every successor.
- Protect the current head with compare-and-swap, allow one resume owner only after an expired validated head, and refuse stale-owner append or renewal.
- Rebuild status from the complete chain to the head while ignoring orphan or stale entries.
- Done when concurrent resume has one winner, missing predecessors and forks fail, scratch-loss recovery resolves the same selected retry authority, substituted or orphan authority fails, and only an expired authoritative head projects
IMPAIRED/STALLEDwithout claiming infrastructure failure. - Requirements: 5.2, 5.6, 7.4, 7.5, 7.8, 8.3, 10.1, 10.2, 10.6
- Boundary: Workflow Journal
- Depends: 1.2, 1.3, 5.1
-
7.3 Render deterministic transport-neutral operator reports
- Resolve and validate an optional evaluation replay against the outcome reference before rendering.
- For completion, show each arm's exact-scope GO/NO-GO/insufficient status, sample counts, metrics, intervals, digests, demonstrated status, and named failed gates; show whole coverage separately.
- For impairment, show only closed safe reasons, progress counts, degradations, runtime, and whether labels were spent.
- Never infer eligibility, enable rollout, emit BLOCK from confidence, or expose private material; proof-backed demonstration remains distinct from product blocking policy.
- Done when JSON and concise text are deterministic, redacted, and equivalent projections suitable for stdout/file or a separately owned notifier transport.
- Requirements: 6.4, 6.5, 8.1, 8.2, 8.3, 9.3, 9.4, 9.5, 9.6, 9.7, 10.1, 10.2, 10.3, 10.6
- Boundary: Operator Presenter
- Depends: 7.1
-
8. Orchestrate one atomic multi-arm admission lifecycle
-
8.1 Validate lifecycle, store, population, plan, and exact-scope preflight
- Refuse a run unless the replacement lifecycle is active, artifact/custody capability reports pass, the admission-class freeze and reviewed label-blind manifest resolve, and every arm identity is current.
- Compose the complete core V3 plan manifest and evaluate every arm/scope threshold, minimum, and interval-precision rule before execution or label access.
- Persist
INSUFFICIENTwith exact scope/gate witnesses when any planned scope is infeasible, without launching arms or spending custody. - Only after complete feasibility succeeds, persist and exactly reread one custodian-sealed retry authority binding population/freeze, admission identity, registered plan, ordered arms/bundles/checkpoint slots, inputs, budgets, environments, and destinations; atomically select its reference and digest in the initial workflow head and reread that head before the first adapter call.
- Done when only a complete feasible Cartesian arm/scope plan advances with a recoverable journal-selected retry authority, while an insufficient path creates no retry authority or workflow authority head and whole-population counts or aggregates never substitute for an insufficient scope.
- Requirements: 1.3, 1.4, 1.7, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 6.1, 6.2, 6.3, 6.4, 6.5, 6.6, 6.7, 7.4, 7.5
- Boundary: Admission Orchestrator, Scoped Admission V3 Consumer, Workflow Journal
- Depends: 2.3, 4.4, 5.3, 5.4, 6.1, 7.1, 7.2
-
8.2 Execute and seal every planned observation before spend authority
- Send the identical ordered label-blind input set to every component arm, freeze all component observations, and derive all registered combined observations.
- Resolve and revalidate the retry authority selected by the current workflow head before execution; reject a missing, substituted, or mismatched authority before any checkpoint resolution, adapter call, or spend attempt.
- Build the V3 admission manifest from exact custodian-sealed observation references and combination lineage.
- Reauthorize immediately before custody CAS against current bytes, current lifecycle, current readiness, and current custody head.
- Done when an authority mismatch or a missing, partial, unreadable, changed, cross-arm, or unsealed observation prevents spend and produces a closed impaired outcome with no adapter or label-loader call on the authority-mismatch path.
- Requirements: 5.2, 5.3, 5.5, 5.6, 6.6, 6.7, 7.4, 7.5, 8.4, 8.5, 9.1, 9.2
- Boundary: Admission Orchestrator, Isolated Arm Executor, Workflow Journal
- Depends: 6.4, 7.2, 8.1
-
8.3 Commit spend before releasing labels and independently review V3 cases
- Conditionally append and reread the exact available-to-spent successor before opening nonzero sealed-label bytes inside the custodian boundary.
- Join ground truth to frozen observations without exposing labels to arms and bind every released case to exact scope, role, pair, result, evidence, change inputs, observation, and reviewed manifest.
- Require an independent post-spend release review with producer/reviewer separation, policy satisfaction, and conflict disclosure.
- Done when a failed or ambiguous CAS makes zero label reads, and only the exact reviewed V3 release bound to the committed receipt can reach scoring.
- Requirements: 5.7, 5.8, 5.9, 7.5, 8.4, 8.5
- Boundary: Admission Orchestrator, Durable Custody Store
-
8.4 Project exact-scope cases and promote only matching differential proof
- Project each underlying ordinary push once per claimed family in its reviewed ecosystem and never across ecosystems, while deduplicating whole coverage by change-input identity.
- Count a multi-scope positive once in whole coverage and once in every independently verified exact scope.
- Promote a label-blind proof candidate only when released roles, family/ecosystem scope, pair, packet/change inputs, finding anchor, differential record, control, and verification receipt all match.
- Report absent or inconclusive matching proof as
not demonstrated; refuse swapped, unrelated, cross-family, cross-location, scanner-only, or model-only evidence. - Done when scoped denominators and proof attachments replay exactly and no result or proof crosses an unverified scope, role, pair, ecosystem, or input identity.
- Requirements: 2.6, 3.3, 3.4, 6.2, 6.3, 6.4, 9.3, 9.4, 9.5
- Boundary: Admission Orchestrator, Proof Adapter
-
8.5 Produce every scoped report and one complete evaluation replay
- Submit each arm's released exact-scope cases through the shared authority and preserve independently valid component and combined reports.
- Require recall, false alarms per 100 ordinary pushes, precision, pair correctness, sample counts, Wilson intervals, operational evidence, and named gates for every completed exact scope.
- Keep optional aggregates non-authorizing with explicit constituents, counts, and weighting, and report deduplicated whole-population coverage separately.
- Validate and persist one complete V3 replay containing the shared spend and every planned arm before publishing a completed workflow outcome.
- Done when missing one planned arm/report blocks completion, baseline identity is complete, and a valid replay reproduces every scoped decision without legacy scoring helpers.
- Requirements: 6.2, 6.3, 6.4, 6.5, 8.1, 8.2, 8.3, 8.6, 9.1, 9.2, 9.6, 9.7, 10.1
- Boundary: Admission Orchestrator, Scoped Admission V3 Consumer
-
8.6 Resume exact pre-spend and post-spend workflows without changing authority
- Rebuild the validated workflow chain after scratch loss, resolve only the retry authority selected by its CAS head, and compare the candidate/current identity before checkpoint resolution or an adapter call; never accept an original registered identity from the caller.
- Resume pre-spend only from matching sealed checkpoints and unchanged population, freeze, admission, plan, arm, bundle, input, budget, environment, destination, and checkpoint-slot identities; leave custody available after execution impairment.
- For an exact independently reviewed identity-bound mismatch disposition, append and reread terminal lifecycle state before returning
IDENTITY_CHANGED; missing, invalid, malformed, or untrusted mismatch evidence fails closed before execution without claiming retirement or mutating lifecycle. - After committed spend, retain
labels_spent=true, resume the same immutable run from durable artifacts, and never restore untouched status. - Do not rerun completed arms, duplicate label release, or select an orphan journal entry after restart.
- Done when exact pre-spend retry resumes without rerunning completed arms or revealing raw observations, reviewed identity changes durably block admission, untrusted requests remain closed and non-authorizing, and crash points before CAS, after CAS/before label load, during scoring, and before publication converge to the same valid terminal identity or an explicit durable impaired outcome.
- Requirements: 5.2, 5.6, 5.7, 7.4, 7.5, 7.7, 8.3, 8.5, 10.1, 10.2
- Boundary: Admission Orchestrator, Workflow Journal, Baseline Lifecycle Authority
- Depends: 2.3, 7.2, 8.1, 8.2
-
9. Integrate legacy benchmark seams and the operator entry point
-
9.1 Route catalog, verification, and assembly through the new authorities
- Adapt existing fix-site cataloging and optional model-assistance records to the review authority without treating prior model or spot-check fields as accepted labels.
- Make legacy assembly a development-only facade that delegates to reservation, review, population, and artifact authorities and cannot emit an admission-class legacy manifest.
- Preserve historical readers and bytes while refusing old pilot identities as replacement inputs.
- Done when existing non-authorizing workflows remain usable for development and only reviewed replacement artifacts can enter V3 preflight.
- Requirements: 2.1, 2.2, 2.3, 2.4, 2.5, 4.5, 4.6, 4.9, 5.1
- Boundary: Legacy Benchmark Integration
-
9.2 Remove replacement authority from legacy aggregate scoring
- Route replacement metrics, gates, case validation, proof validation, and replay exclusively through the V3 core facade.
- Keep old aggregate helpers available only for frozen historical replay and reject their output as a replacement admission root.
- Remove access-control-specific conversion or site-judgment ownership from the general replacement path.
- Done when the replacement path has no alternative scorer, V2 fixtures remain byte-identical, and pooled or target-specific output cannot authorize a V3 result.
- Requirements: 6.2, 6.3, 6.4, 6.5, 8.2, 8.6, 9.5, 10.4, 10.5
- Boundary: Legacy Scoring Integration, Scoped Admission V3 Consumer
-
9.3 Publish benchmark-only run, resume, and status commands
- Validate settings and store capabilities before accepting source, freeze, run, resume, or status operations.
- Persist durable outputs incrementally, keep scratch bounded and rebuildable, and surface workflow status from the validated journal head.
- Emit deterministic operator JSON/text while leaving notifier transport, detector rollout, worker health, bucket administration, and retry policy with their owners.
- Done when an interrupted command resumes from the durable store, an expired lease reports benchmark
STALLED, and no command mutates detector or infrastructure state. - Requirements: 7.4, 7.5, 7.8, 8.3, 10.1, 10.2, 10.3, 10.4, 10.6
- Boundary: Benchmark Operator Entry Point
- Depends: 5.2, 7.2, 7.3, 8.6
-
10. Build and bind the independently reviewed replacement population
-
10.1 Create bounded sourcing and review queues for both initial ecosystems
- Source fix-derived application candidates without reading admission labels into detector development and exclude the complete permanent-reservation census before review.
- Produce separate bounded review queues covering Python and JavaScript/TypeScript and at least two vulnerability families, with nonzero source/fix/reachability evidence for each candidate.
- Persist resumable queue state and exclusions durably without treating enumeration as repository influence.
- Done when independent reviewers receive canonical evidence packages with no model verdict presented as authority and a restart reproduces the same pending queue identities.
- Requirements: 1.1, 1.2, 1.5, 1.8, 2.1, 2.2, 4.1, 4.4, 7.4, 7.5
- Boundary: Replacement Population Sourcing
-
10.2 Ingest the first bounded independently reviewed Python cohort
- Accept only externally supplied review records with distinct producer/reviewer identities, policy satisfaction, conflict disclosure, required ground-truth judgments, reachability, canonical ecosystem, and exact verified scopes.
- Limit this ingestion unit to one supplied batch of at most twenty candidate review records.
- Record every exclusion and insufficiency reason without fabricating or self-approving missing reviews.
- Keep detector observations and admission labels outside the ingestion process.
- Done when one bounded Python review batch has at least ten accepted reachable positives and every accepted or excluded candidate replays from its external review evidence.
- Requirements: 1.1, 1.5, 1.6, 2.3, 2.4, 2.5, 2.6, 4.1, 4.2
- Boundary: Review Authority, Replacement Population Sourcing
- Depends: 10.1
-
10.3 Ingest the first bounded independently reviewed JavaScript/TypeScript cohort
- Apply the same independent-review, conflict-disclosure, reachability, exact-scope, reservation, and exclusion rules to the canonical
javascriptecosystem. - Limit this ingestion unit to one supplied batch of at most twenty candidate review records.
- Preserve TypeScript as observed language evidence without creating a separate ecosystem or detector requirement.
- Do not fabricate or self-approve missing reviews; leave the cohort pending when external decisions are unavailable.
- Done when one bounded JavaScript/TypeScript review batch has at least ten accepted reachable positives and every accepted or excluded candidate replays from its external review evidence.
- Requirements: 1.1, 1.5, 1.6, 1.8, 2.3, 2.4, 2.5, 2.6, 4.1, 4.2
- Boundary: Review Authority, Replacement Population Sourcing
- Depends: 10.1
- Apply the same independent-review, conflict-disclosure, reachability, exact-scope, reservation, and exclusion rules to the canonical
-
10.4 Ingest a third bounded independently reviewed cohort
- Accept one externally supplied batch of at most twenty candidate review records under the same identity, review, reachability, exact-scope, reservation, and exclusion rules.
- Select the pending queue batch needed to preserve both ecosystems and progress the accepted set toward at least two vulnerability families without changing review policy after seeing labels.
- Do not fabricate or self-approve missing reviews; leave this bounded cohort pending when its external records are unavailable.
- Done when the third cohort contributes at least ten accepted reachable positives and every accepted or excluded candidate replays from its external evidence.
- Requirements: 1.1, 1.2, 1.3, 1.5, 1.6, 2.3, 2.4, 2.5, 2.6, 4.1, 4.2, 4.10
- Boundary: Review Authority, Replacement Population Sourcing
- Depends: 10.2, 10.3
-
10.5 Ingest a fourth bounded independently reviewed cohort and close the positive set
- Accept one externally supplied batch of at most twenty candidate review records under the unchanged review and reservation policy.
- Require its accepted records to close any remaining ecosystem or family gap without granting an unverified scope.
- Do not fabricate or self-approve missing reviews; leave this bounded cohort pending when its external records are unavailable.
- Done when the fourth cohort contributes at least ten accepted reachable positives and the combined durable set has at least forty positives across both ecosystems and at least two families.
- Requirements: 1.1, 1.2, 1.3, 1.5, 1.6, 1.7, 2.3, 2.4, 2.5, 2.6, 4.1, 4.2, 4.10
- Boundary: Review Authority, Replacement Population Sourcing
- Depends: 10.4
-
10.6 Draw and validate the full ordinary-change population
- Draw at least twenty eligible same-repository first-parent ordinary pushes for each accepted positive, excluding fixes and every reviewed contaminated change.
- Persist the deterministic draw, ecosystem identity, provenance, exclusion, and reservation evidence without opening detector observations or tuning on admission labels.
- Prove each input repository and selected change is readable and nonzero before accepting a draw count.
- Done when every accepted positive has the required eligible ordinary-push count and the complete draw reproduces from durable evidence after restart.
- Requirements: 3.1, 3.2, 3.4, 3.5, 7.1, 7.4, 7.5
- Boundary: Population Freezer, Replacement Population Sourcing
- Depends: 10.5
-
10.7 Freeze and causally bind the exact replacement baseline
- Freeze the reviewed population under new population/freeze identities, build the independently reviewed label-blind manifest, and persist public/private/sealed partitions.
- Append the reviewed replacement-binding lifecycle event naming the exact withdrawal, population, and freeze identities.
- Re-run permanent reservation, lifecycle eligibility, and store capability checks without registering real arms, running core preflight, or spending labels.
- Done when the historical pilot remains withdrawn and byte-identical, the replacement is active and reproducible, the reviewed label-blind manifest resolves exactly, required store capabilities pass, and no admission run has consumed labels.
- Requirements: 1.3, 1.4, 3.3, 3.4, 4.5, 4.6, 4.7, 4.8, 4.9, 4.10, 5.3, 5.4, 7.1, 7.2, 7.6
- Boundary: Replacement Freeze Integration
- Depends: 2.4, 4.4, 5.1, 10.6
-
11. Validate the complete replacement benchmark
-
11.1 (P) Run governance, review, population, and confidentiality adversarial suites
- Exercise alias/fork reservation, enumerated-only events, historical path/digest changes, lifecycle forks, self-review, missing judgments, model-only labels, ecosystem ambiguity, license leakage, raw diagnostic access, and post-freeze contamination.
- Prove every scoped fixture is readable and nonzero before interpreting a refusal or zero result.
- Done when every mutation fails at its owning boundary, no private/label-bearing byte reaches an arm or shared report, and retirement/development opening never rewrites prior evidence.
- Requirements: 1.5, 1.6, 1.7, 2.3, 2.4, 2.5, 3.5, 3.6, 4.1, 4.2, 4.3, 4.4, 4.8, 5.1, 5.2, 5.4, 5.6, 7.6, 10.3
- Boundary: Population Governance Validation
- Depends: 2.4, 4.4, 6.5
-
11.2 (P) Run artifact, custody, retention, and scratch-loss recovery suites
- Exercise create-only conflicts, wrong kind/digest reads, access classes, policy mismatch, conditional create/update, concurrent writers, committed reread, version visibility, transient expiry, restart, and complete scratch loss.
- Verify the configured store through nonzero test objects before interpreting capability results and never mutate administrator-owned policy.
- Done when durable authorities and spent state recover exactly, transient versions expire as registered, and any unsupported or ambiguous storage behavior blocks admission.
- Requirements: 5.7, 7.3, 7.4, 7.5, 7.7, 7.8, 8.5, 10.2
- Boundary: Persistence and Custody Validation
- Depends: 5.2, 5.4
-
11.3 Run a synthetic two-ecosystem, multi-family, multi-arm lifecycle end to end
- Include Python and JavaScript/TypeScript, at least two families, multi-scope fixes, representative ordinary pushes, shipped/experimental/combined arms, and matching/nonmatching proof candidates.
- Prove a sub-forty freeze is non-authorizing, while a full synthetic freeze completes preflight, all label-blind observations, one shared spend, reviewed release, exact-scope reports, whole deduplication, and one replay.
- Persist and recover the workflow through restart and render deterministic redacted operator output.
- Done when one validated V3 replay contains every planned arm and exact scope, the presenter reports standard metrics and demonstrated status correctly, and no legacy or target-specific scorer participates.
- Requirements: 1.1, 1.2, 1.3, 1.4, 2.6, 3.2, 3.3, 3.4, 5.3, 5.7, 5.8, 5.9, 6.1, 6.2, 6.3, 6.4, 6.5, 6.6, 6.7, 8.1, 8.2, 8.3, 9.1, 9.2, 9.3, 9.4, 9.6, 9.7, 10.1
- Boundary: Replacement Benchmark End-to-End Integration
- Depends: 8.6, 9.3
-
11.4 Run the spend-ordering, crash, retry, and failure-visibility matrix
- Inject insufficient scope, missing arm, zero read, skipped stage, early exit, timeout, budget/resource exhaustion, failed CAS, after-spend interruption, scoring failure, publication failure, expired lease, and stale resume owner.
- Assert no pre-spend failure calls the label loader, all post-spend failures preserve spent state, and exact resume never reruns a completed arm.
- Require every failure to produce a closed insufficient/impaired reason rather than a clean metric or invented infrastructure diagnosis.
- Done when all crash points converge to the exact durable terminal outcome or replay and no path restores untouched custody or hides an instrument failure.
- Requirements: 5.2, 5.6, 5.7, 7.5, 8.3, 8.4, 8.5, 10.1, 10.2, 10.6
- Boundary: Admission Recovery Validation
- Depends: 11.3
-
11.5 Verify streaming scale, bounded validation, and execution back-pressure
- Exercise at least forty positives and eight hundred ordinary pushes for freeze, manifest, policy, serialization, projection, replay, and reporting operations.
- Stream one object/case batch at a time, measure cold/warm workflow and per-arm runtime, and retain nonzero read/execution receipts for every measurement.
- Respect adapter back-pressure without treating a busy or unavailable execution lane as a detector result or infrastructure diagnosis.
- Done when resident memory remains bounded by the configured batch, validation grows with supplied artifacts, and every incomplete scale run reports impairment rather than a partial clean result.
- Requirements: 3.2, 7.4, 7.5, 8.3, 8.4, 8.5, 10.2, 10.6
- Boundary: Benchmark Scale Validation
-
11.6 Execute the one governed replacement admission run
- Register the approved shipped, experimental, and pre-registered combined arms, then run exact-scope preflight over the active replacement freeze only after all synthetic and scale gates pass.
- If any planned scope is insufficient, persist that pre-spend outcome and leave custody available; otherwise freeze every planned observation before committing and rereading the one population spend.
- Complete independent case-release review, exact proof binding, all per-arm scoped reports, one V3 evaluation replay, and the durable terminal workflow outcome without tuning from released labels.
- Done when the real replacement produces either an exact pre-spend insufficient outcome with zero label reads or one validated replay and terminal outcome bound to the immutable spent population.
- Requirements: 5.3, 5.4, 5.5, 5.6, 5.7, 5.8, 5.9, 6.1, 6.6, 6.7, 8.1, 8.2, 8.3, 8.4, 8.5, 9.1, 9.2, 9.3, 9.4, 9.6, 9.7, 10.1, 10.2
- Boundary: Replacement Admission Integration
- Depends: 10.7, 11.1, 11.2, 11.3, 11.4, 11.5
-
11.7 Run the final compatibility, security, boundary, and regression gate
- Run frozen historical compatibility, V3 core conformance, governance, persistence, custody, arm, orchestrator, workflow, presenter, end-to-end, and existing benchmark regression suites.
- Enforce dependency direction, standard complexity caps, no core edits, no detector/framework logic in benchmark authorities, no core imports from benchmark modules, and no product rollout or parked-arm activation.
- Scan shared artifacts and reports for credentials, endpoints, labels, payloads, repository content, local paths, arbitrary exceptions, and incompatible baseline trend claims.
- Done when all bounded inputs are proved readable/nonzero, every suite passes, historical bytes remain frozen, the exact durable replacement terminal outcome validates, a replay is required and validated only for
COMPLETED, and downstream product work receives scoped evidence without rollout authority. - Requirements: 4.6, 4.10, 7.7, 8.1, 8.2, 8.3, 8.4, 8.5, 8.6, 9.5, 9.6, 9.7, 10.3, 10.4, 10.5, 10.6
- Boundary: Final Benchmark Validation Integration
- Depends: 11.6
Implementation Notes
- Task 1.1 pins the exact public V3 facade and delegates decoding and complete replay validation to detection-core; frozen V2 and pilot artifacts remain byte-identical, read-only compatibility inputs with no V3 conversion path.
- Task 1.2 adds a replacement-only canonical artifact and reference contract with closed kinds/access classes and exact content identity; the existing V2 substrate remains readable but cannot authorize replacement admission.
- Task 1.3 separates durable and transient store namespaces through canonical endpoint identity, requires versioning/conditional writes and purpose-specific current/noncurrent retention, emits only redacted closed startup reports, and denies administrator-owned operations.
- Task 2.1 projects independently reviewed influence and explicit authoritative legacy sources through canonical alias/former-name/redirect/fork networks; enumeration remains recorded but non-reserving, and the legacy test-owned guard remains pending Task 2.4 migration.
- Task 2.2 centralizes the unchanged ten-file historical inventory, records the 2026-10-12 pilot as withdrawn/non-admissible and replacement-pending, and grants audit authority only after external review of exact live path/digest/length bytes; no real review identity is fabricated.
- Task 2.3 projects one immutable reviewed lifecycle chain from the exact withdrawal through replacement completion; retirement and development opening are terminal, with the latter emitting reviewed permanent-reservation influence for every opened network.
- Task 2.4 replaces directory exceptions with a production guard over the fixed
benchmarks/plane/src/testsscope; reports bind exact read receipts and authorities, and replacement acceptance reruns the complete scope to reject stale or narrowed clean reports. - Task 3.1 builds non-authoritative fix-site candidates from only the fixed revision and its exact parent, binding nonzero pre/post function bytes and repository/package/language/license/source/change provenance without blame or introducing-commit inference.
- Task 3.2 revalidates externally governed ecosystem reviews against exact candidate/evidence/policy identities, derives closed accepted/insufficient outcomes, and enforces a repository↔network bijection before projecting canonical Python or JavaScript ecosystems.
- Task 3.3 revalidates exact candidate and ecosystem authorities, derives accepted/excluded ground truth from explicit independent human judgments, keeps model assistance non-authoritative, and projects each change once while preserving all verified exact scopes.
- Task 4.1 deterministically draws at least twenty same-network first-parent ordinary pushes per accepted positive, globally excludes every accepted fix revision, stores shared pushes once, and routes reviewed contamination to exclusion or terminal retirement according to freeze timing.
- Task 4.2 classifies and freezes only exact reviewed authorities against the Reservation Authority's current census snapshot; admission requires at least forty positives across Python and JavaScript and two families, while stale censuses, split networks, and insufficient scope remain non-authorizing.
- Task 4.3 separates metadata-only public manifests from typed content-addressed public source objects: source literals are never interpreted as operational paths, while manifests expose only closed license metadata, digests, lengths, canonical exclusion projections, and opaque private references; private source and sealed labels retain exact custodian-bound access.
- Task 4.4 derives the exact label-blind input set from the frozen positive and ordinary-selection authorities, uses detection-core V3's canonical input-set identity, and accepts review only through a rederived independence policy plus resolvable conflict-disclosure evidence.
- Task 5.1 persists replacement-authorizing artifacts under deterministic digest keys with conditional create and strict readback; access is policy-bound before fetch, and provider failures cross the repository boundary only as closed reason codes without retained exception diagnostics.
- Task 5.2 rebuilds exact caller-selected durable projection roots and ordered members from the object store alone; canonical root-envelope binding, mixed-access population recovery, and explicit optional expiry prevent forged authority, latest-value selection, and unintended terminal-artifact expiration.
- Task 5.3 gates real-population admission on a canonical report bound to exact store namespaces and a typed retention profile; negative conditional-write proofs, distinct visible versions, bound pre-deadline current/noncurrent evidence, and closed handling of null IDs, delete markers, and provider ambiguity prevent plausible-but-unsupported capability passes.
- Task 5.4 persists one canonical AVAILABLE head and permits only its direct AVAILABLE-to-SPENT successor through capability-gated conditional writes; domain digests govern state while advancing version and ETag tokens prove storage concurrency and exact rereads before any caller may expose labels.
- Task 6.1 delegates plan and baseline algebra exclusively to detection-core V3 while binding separate arm roles and lifecycle identity; every parked-arm factory, validator, and serializer path re-resolves an exact independently reviewed strategy-decision authority, and access control remains unconditionally excluded.
- Task 6.2 derives closed UNION or INTERSECTION observations only from complete scope-compatible component sets, preserves every component independently, and retains proof continuity only when all anchors match and the exact proof scope belongs to the combined arm; deterministic re-derivation rejects forged or unrelated proof authority.
- Task 6.3 builds identical ordered component bundles only after controller-side revalidation of the exact registered plan and a metadata-only execution-source projection freshly derived from reviewed Task 4.3/4.4 and ordinary-selection authorities; adapters receive only sanitized label-blind data, and every authorizing serialization/execution path rejects rehashed source or plan substitutions without opening sealed material.
- Task 6.4 freezes one exact custodian-sealed core V3 observation checkpoint per component only after canonical nonzero read/stage receipts and exact repository readback; construction, freeze, and resume bind the completed process outcome and every bundle/read identity, while missing, incomplete, or mismatched checkpoints remain impaired without rerunning the adapter.
- The approved Task 6.5 boundary amendment keeps sealed diagnostics and reviewed development opening in the executor/lifecycle seam; Tasks 7.2 and 8.1–8.2 persist and select the immutable retry authority only after feasible preflight, and Task 8.6 resolves it from the CAS workflow head instead of accepting an original identity from a caller.
- Task 7.3 pre-registers the operator replay-artifact envelope: stored replay artifacts carry
payload["replay_digest"]equal to the decoded replay digest; Tasks 8.5 and 9.3 must honor this binding when persisting replays (load-bearing forREPLAY_MISMATCHdetection). - Task 8.2 places the execution phase in
admission_execution.py, which sits at exactly the 400-line module cap: any further admission-boundary growth (8.3 spend, 8.5 replay) must start a new sibling module rather than extend it. Its sealed admission-manifest witness is a closed digest artifact (admission-manifest-witness.v1); the coreEvaluationAdmissionManifestV3object travels in the product for Task 8.3'sauthorize_evaluation+ custody CAS. - Task 9.1 review empirically confirmed a hardening gap in the committed 8.1 module:
admission_orchestrator._freeze_gatecatches only(TypeError, ValueError)whilepopulation_freeze_bytesraisesAttributeErrorfor dict-shaped freeze inputs, escaping as an unhandled traceback instead of a closedFREEZE_NOT_ADMISSION_CLASSrefusal (fail-closed either way). The next task owning that module (8.3) should fold in the one-line except-tuple extension plus an adversarial test. (Folded in by 8.3: tuple now(TypeError, ValueError, AttributeError)plus adversarial orchestrator test.) - Task 8.3 (load-bearing for 8.5/11.3): core
authorize_evaluationcannot run over the committed 8.1/8.2 products — empirically confirmed by two independent reviews: (a) 8.2_content_refbuilds ContentRefs over repository artifact envelopes while coreresolve_content/decode_arm_observation_setexpect raw documents, so no digest-honest resolver can bridge them; (b)compose_plan_manifestbindsreadiness_digests=(capability_report_digest,)while core_validate_readinessrequires realReadinessResultobjects whose re-derived digests match. 8.5 must repair the manifest/ref composition in a NEW sibling module (admission_execution.pyis sealed at 400 LLOC) or amend the core seam before replay; the interim authority is the benchmark-ownedAdmissionSpendReleaseV1bound to the committed custody receipt. - Hostile-decode discipline (from 8.3's three review rounds): every
json.loadson untrusted sealed bytes must useparse_constantrejection plus a finiteparse_floathook (numeric-overflow literals like1e999bypassparse_constant), andRecursionErrormust appear in every recursion-exposed except tuple. Tasks 8.5, 8.6, and 9.3 must apply this to any new decoder of untrusted bytes. - R1 final validation (2026-11-21): the conversion from the benchmark-owned 8.3/8.4 products (
AdmissionSpendReleaseV1.released_cases/ExactScopeProjectionV1) to the core V3 case graph (ArmAdmissionCasesV3/AdmissionCaseReleaseV3/EvaluationSpendBindingV3) thatderive_scoped_replayrequires is NOT yet committed;run.py's replay-stage signature is today satisfiable only by test fixtures. Owner: tasks 11.3/11.6 (synthetic + governed end-to-end runs) must build this adapter, cross-check 8.4's parallel scoped-denominator computation against the core replay, and wirebridge_core_authorizationinto the production stage. Until then the run command is machinery, not production-complete. - R1 final validation (2026-11-21, ownership updated 2026-11-22 after 11.1/11.2): the pre-existing decoders behind the operator read path predate the hostile-decode discipline and lack it —
replacement_artifact_contract.py:207(json.loads with no parse_constant/finite parse_float/RecursionError), plusworkflow_outcome._decode_canonical(workflow_outcome.py:394) andworkflow_journal._decode_canonical(workflow_journal.py:379); 9.3 review reproduced an unhandled RecursionError through them (closed at the run.py boundary only). 11.2's review additionally reproduced a raw RecursionError escape fromS3ArtifactRepository.getvia 20000-deep stored JSON (artifact_repository.py:240-244 catches only ArtifactContractError; the underlying decode site is replacement_artifact_contract.py:207). 11.1/11.2 were validation-suite tasks and did not own these modules; owner is now task 11.3 (the end-to-end integration owner touching the artifact/replay surfaces) as a fold-in, else 11.7 must block on it. 9.3's boundary-level closure is interim. - R1 final validation (2026-11-21), minor drift items: two module-local
OPERATOR_READ_POLICY_DIGESTconstants exist (admission_replay.py"scoped-replay-operator-read-policy" vsrun.py"operator-command-read-policy" — caller-side only, no artifact-key coupling);sealed_retry.pyimports the private_reference_valuefromsealed_diagnostics(not in__all__); 9.2'sscore_replacement_replayand 8.5'sderive_scoped_replayare parallel wrappers over the same corescore_and_replay(the admission path uses 8.5's; 9.2's seam is the 10/11+ product surface). Revisit when 11.x wires the entry points. - Task 10.1 review:
sourcing_queue_build._request_ordersorts by (url, advisory_locator, reachability_digest, model_digest) with a stable sort, so two distinct candidates tying on all four keys get cap selection decided by input order (restart reproducibility still holds — decode is canonical-bytes-bound — but permutation-rebuild determinism does not). The next task owning that module (10.2+) should extend the sort key with the remaining content digests or refuse tied-but-distinct requests closed. Also noted: anINSUFFICIENT_FAMILIESrefusal does not durably persist that attempt's exclusions (10.2 owns review-record exclusion durability). - Task 10.2 review (2026-11-22): both 10.1 fold-ins landed (7-key
_request_orderdiscriminating old four-key ties +InsufficientFamiliesRefusal.attempt_exclusionsdurable persistence). Residual, forwarded to the next owner ofsourcing_queue_build.py: distinct candidates differing only in non-digest fix-site scalars (path/function under identical repo/advisory/reachability/manifest/license digests) still tie on all seven keys and get cap selection by input order (round-1 reviewer reproduced divergent state digests across permutations); fix is fix-site scalars in the key or a closed refusal of residual ties. Optional hardening forwarded for the cohort modules:project_accepted_ground_truthcall sits outside a closed-refusal wrapper (defense-in-depth only; unreachable with a consistent queue), anddecode_cohort_batchaccepts self-consistent forgeries whosepending_entries/outcome.queue_entry_digestare non-digest strings (downstream matching fails closed; a digest check would match sibling-field rigor). Real Python cohort remains PENDING external review records — the 10.2 done criterion is fixture-verified only. - Task 10.4/10.5 reviews (2026-11-22), advisories forwarded to the next owners: (a)
cohort_selection.py_ledger_factsaccepts a non-tuplepending_entriesiterable from forged in-process ledgers without STATE_MISMATCH (durable paths enforce tuple-of-digests upstream; failure direction is starvation, never acceptance) — one-line isinstance guard; (b)positive_set_closure.py_validate_closurelacks thetype() is intstrict check ontotal_accepted_positives(forged float 40.0/bool decodes; no gate can flip; integers are equally forgeable, store authority is the integrity boundary) — one-line strict-int guard; (c)_pending_by_ecosystemdocstring equivalence claim is false in the CONFLICTING_ACCEPTED_REVIEW corner (committed third-round marks the entry answered, fourth-round conservatively keeps it pending; fail-safe direction, committed behavior untouched) — docstring fix only. Real cohorts for rounds 3 and 4 remain PENDING external review records; the 10.5 combined-set closure (48 positives, both ecosystems, 5 families) is fixture-verified only. - Task 11.1 review (2026-11-22), advisory forwarded to the reservation-identity owner (pre-dates 11.1; load-bearing before the 11.6 real run):
reservation_identity.py:70strips the.gitsuffix case-sensitively (removesuffix(".git")), andreservation_guard.py:178repeats the case-sensitive strip after an IGNORECASE regex, so a mixed-casehttps://GITHUB.com/ACME/Core.GITURL normalizes to a distinct identity and escapes the reservation scan (admission still fails closed via the reviewed-registry check in population_freeze). Fix: case-insensitive suffix normalization at both sites + adversarial test. Also: thelicense_classconjunct of the public-material gate (population_materials.py:92) has no independent mismatch fixture (non-permissive class + allowlisted expression); one-line addition to the confidentiality suite when next owned. - Task 11.3 review (2026-11-23), items for the 11.6 owner: (a) run.py's
bind_case_adapter_replay_stage/AdmissionCaseAdapterRequestV1re-exports match theBenchmarkRunStagesV1.replayseam but have no in-repo consumer yet — 11.6 must adopt the preparation-rooted spend (derive_case_adapter_preparation; the CAS receipt must be minted frompreparation.label_release_request, an 8.3-stylelabel_open_requestreceipt can never satisfy core_exact_successor_receipt, proven) or the seam stays declaration-only; (b) the e2e synthetic population uses 20 ordinary pushes TOTAL for 40 positives with relaxed Wilson precision — the literal 3.2 ratio (>=20 per positive) and production precision bind real admission populations (10.6 proved the ratio at draw time); (c)admission_spend.join_released_casesnow joins positives byunderlying_push_digest(structurally necessary: core pinsprojection.case_input_digest == ref.case_input_digestat evaluation_observation.py:121 while sealed labels key raw identities) — 11.6 population builders must key both sides consistently; (d) hostile-decode parse hooks inreplacement_artifact_contract._decode_canonicalare defense-in-depth (downstream canonical re-encoding independently rejects non-finite values) — keep, but do not treat hook removal alone as a regression signal. - Task 11.4 review (2026-11-23), item for the 11.6 owner (11.7 backstop): a run stage returning
Noneinstead of a product escapesbenchmark_run_commandas a rawAttributeErrorat run.py:445 (_persist_terminal_outcomeonNone.outcome; reviewer probe reproduced). Fails loud, never clean, and is a miswired caller contract rather than an operational failure — but 11.6 wires the production stages and owns run.py next: either type-check stage returns (closed INVALID_REQUEST/refusal) or document the seam contract. Optional hardening for the next fixtures owner:CountingCrashLoader(tests/valid_benchmark_failure_injection.py) counts reads without asserting custody SPENT itself (committed_LabelSourcedoes); ordering violations are still caught via spent-state assertions and the committed pre-CAS refusal. - Task 11.5 review (2026-11-23), items for the 11.6 owner: (a) RATIFIED trade-off — 11.5 ran freeze/manifest/policy/serialization/streaming at the full 840-input scale but execution/spend/release/projection/replay/reporting at a 240-input representative tier (4x the 11.3 scale), because the committed execution/sealing seam is super-linear (~n^1.67, triple-verified 7.2s@60 / 71.7s@240 / ~615s@840); a full-scale governed run needs >=2 such executions, so 11.6 must budget ~20+ minutes of execution alone and should measure again at the real population size; (b) a correctly-reviewed full-scale lifecycle has NEVER actually been completed — the 840-input probes'
manifest_invalidrefusals were probe-construction artifacts (default-population lru-cached review subject at tests/valid_benchmark_e2e_fixtures.py:1052-1058 vs per-population_execution_subjectin tests/valid_benchmark_scale_support.py:623-632), not capacity caps; the budget ruling rests on timing alone; (c) minor: arm-runtime receipts usemax(0, ...)clamps (a 0ms arm measurement would pass) andruntime_ms >= 0assertions — tighten to> 0/max(1, ...)next time the scale support module is owned. - Hardening pass before 11.6 (2026-11-23), fold-in of the advisories above. Each item below has its own reviewer approval and a fresh controller test run before its commit; nothing in items 1 to 8 is left for the 11.6 owner. The open residuals are in the last note of this pass.
- Item 1 (11.1 review), reservation identity: the
.gitsuffix is now stripped case-insensitively at one point (strip_git_suffixinbenchmarks/valid/reservation_identity.py, also used byreservation_guard.py); identities of URLs without a mixed-case suffix are pinned byte-identical (six URLs and one four-member network digest). Commit7e6da2e. - Item 2 (11.3 review), preparation-rooted spend: production
commit_preparation_spend_and_release(request, preparation)inbenchmarks/valid/admission_spend.pymints the custody receipt frompreparation.label_release_request, so corevalidate_shared_spendbinds it (the legacycommit_spend_and_releasereceipt is refused with "shared-spend receipt does not match the preparation"); binderbind_case_adapter_spend_stageinbenchmarks/valid/admission_case_adapter.py, exported fromrun.py, refuses an execution other thanrequest.executionbefore any custody access; the legacy function keeps its mint order (receipt minted from the head after the head check; 392 logical lines). Commits5fdf65e,f9d29aa. - Item 2 follow-up (harnesses): the end-to-end and scale harnesses spend through the production stage via
bound_spend_stageintests/valid_benchmark_e2e_fixtures.py(bound while the population is still AVAILABLE, because the review subject is predicted before the spend); the failure-injection copy stays a raising fault injector so the failure matrix keeps its pinned outcomes; the sealed release the harness persists now has the production shape. Commit081adfc. - Item 3 (11.4 review), run command: a stage that returns
Noneor a wrong-typed product yields a persisted IMPAIRED outcome at that phase withINSTRUMENT_FAILUREand the spent flag from custody (eight parametrized cases intests/test_valid_benchmark_run.py). Commit2951f7d. - Item 4 (11.1 review): the
license_classconjunct ofpopulation_materials.pyhas a mismatch fixture, proven by a mutation that was restored byte for byte. Commit0d5aaee. - Items 5a, 5b, 6 (10.4/10.5 reviews):
cohort_selection._ledger_factscloses STATE_MISMATCH on a non-tuplepending_entries(sorted unique digest tuple);positive_set_closure._validate_closureaccepts only a strict int total (float and bool refused on the direct and the decode path); the_pending_by_ecosystemdocstring names the CONFLICTING_ACCEPTED_REVIEW corner. Commits60bb7f0,9e884e8,364b4c0. - Item 7 (10.2 review):
sourcing_queue_build._request_ordercarries the fix-site path and function in its key (each element pinned by its own mutant). Two residual ties stay open: requests identical on all nine keys but with different fix revisions, and two requests sharing one candidate digest with a different family or CWE (DUPLICATE_CANDIDATEkeeps the first by input order). Commits67bc37c,364b4c0. - Item 8 (11.5 review): arm, streaming and lane runtimes are floored at 1 ms (frozen-clock test). Commit
f2093a5. - Item 9 (11.5 review), full-scale rehearsal: an opt-in test,
test_full_scale_rehearsal_completes_the_lifecycle_at_840_inputsintests/test_valid_benchmark_scale_validation.py(skipped unlessOPENULTRASAST_FULL_SCALE_REHEARSAL=1), runs the whole lifecycle at 840 inputs with every planned arm and the per-population review subject, so a correctly reviewed full-scale run now completes (the old probe construction is refusedmanifest_invalid). Measured once on an otherwise idle machine (2026-11-23 23:10 to 2026-11-24 00:41 UTC): 1 passed in 5509 s; stage seconds: execution with review-subject harvest 608.5, execution 609.6, spend and release 42.9, replay derivation 4033.3, publication 41.9, projection 1.5, lifecycle 5408.6. Budget for 11.6: about 92 minutes per full-scale lifecycle, of which the replay derivation is 75% and scales at about n^1.87 (66.8 s at 60 inputs); the two executions take 20 minutes. The test is committed exactly as measured; its assertions run only under the flag, it does not assert that the timings record is present, and a failed write of the timings file would read as INTERRUPTED. Run the rehearsal before 11.6. Commit28f1604. - Style: CI runs
ruff format --checkover the whole tree; the benchmark modules it flagged were formatted with no semantic change (AST identical). Commitsbacbe53,58b2021. - Residuals for the 11.6 owner, not changed in this pass:
.gitis still stripped case-sensitively outsidebenchmarks/valid(benchmarks/search/pilot_select.py,benchmarks/learn/engine_trace.py,src/openultrasast/plane/memory.py,src/openultrasast/plane/runner.py,src/openultrasast/learn/labels.py; none feeds reservation identity);benchmarks/validis outside the mypy gate (7 pre-existing errors there);workflow_journal.pyis at 408 logical lines against the 400 cap; the push eligibility registry has been stale since 2026-09-13 (its bindings no longer match the code, so the hook reports the registry as stale and emits no alert).