Goal and ownership
Bounded integration leaf of aien-train #19. Consume the original scratch-trained scorer through an existing Omega planner/experience path, without a new runtime, scheduler, model server or Cortex writer.
Dependencies:
- ORIG-1 task/data contract — aien-train #24
- ORIG-2 native scorer — aien-train #25
- ORIG-3 independent evaluation — benchmarks #45
- Existing X1 experience projection #699, native training #606 and consent/revocation owner.
Scope
- Pin the existing consumer and admissible-candidate owner; coordinate active work and disjoint paths before editing. Reuse ORIG-1's typed contract. If the native prerequisite does not exist, report the exact blocking owner instead of adding a foreign-language fallback.
- Deterministic code generates and validates the candidate set. Model output consists only of scores or abstention—not executable text, new candidates, permissions or authority.
- Add a default-off shadow mode: observe eligible requests and score candidates without changing incumbent selection, execution or side effects. No live online weight updates.
- Artifact admission binds model hash, schema, candidate semantics, compiler/runtime revisions, hardware profile and consent/provenance validity. Check resource budget before inference.
- Missing/corrupt/stale/wrong-profile artifacts, NaN, timeout, empty candidates, unknown features and out-of-distribution inputs fall back to the existing deterministic path. Preserve correct behavior even if the learned model never wins.
- Any future selected candidate must pass deterministic validation again before execution. A benchmark GO does not waive this boundary.
- Project independently verified outcomes through existing X1/consent mechanisms only; no automatic private-data sharing or heldout feedback into training.
- Measure all consumer-side feature/scoring/loading/validation/fallback overhead. Keep a reversible kill switch. Opt-in active selection is a separate release decision after ORIG-3 evidence; this issue alone does not deploy it.
Acceptance
- Default-off tests prove shadow mode cannot alter selected work, permissions, external effects or live serving state.
- Mutants cover stale/corrupt artifacts, wrong profiles, timeout, nonfinite outputs, unknown IDs and revoked provenance.
- No unauthorized/final-holdout feedback reaches training.
- Reproducible end-to-end development receipt: authorized data contract → random initialization → native training artifact → reload → native inference → independent judgment.
- Full integration cost is compared with the deterministic baseline; negative results are retained.
- Exact dependency and artifact identities are recorded. Missing steps are BLOCKED/NOT_RUN, not completion.
- Deployment/promotion is separate; no listener disruption, driver replacement, second resident model or hardware experiment.
Dependency order
Contract and scaffolding follow ORIG-1; artifact integration waits for ORIG-2. Independent evaluation protocol should be frozen before candidate selection. Shadow implementation may be reviewed independently, but active selection remains disabled without ORIG-3 qualification and separate release authorization. Do not close broad #699/#606/#19 qualification from this leaf.
Execution and authority
Read PLAN_AUTHORITY, CURRENT_EXECUTION_PLAN, AGENTS.md, .crumb and active claims before changing code. Preserve existing owners and exact dependency pins. First-party implementation/tests are seeded handwritten .om; disclose external oracles and temporary host glue separately. Do not create another trainer, scheduler, Cortex writer, C kernel, or Python/PyTorch product path. Keep private owner data local; public artifacts contain schemas, hashes and authorized synthetic fixtures only. Report PASS/FAIL/INCONCLUSIVE/NOT_RUN/BLOCKED accurately. This issue authorizes planning/implementation through reviewed PRs, not a training run, installation, private-data export, hardware experiment, production promotion or automatic merge. Any later Spark run requires an exclusive reservation and must not load a second model beside the resident service.