OPT-GOV Phase 1 — edge distiller (one concept with boss edge) + geo-SCM scheduler into F4

Branch: claude/opt-gov-phase1-edge-geo · Session: 7pjhmg · Date: 2026-08-22 Authority: OPT-GOV_PRE_APPROVAL_2026-08-21 (standing GATE-1, conditions verified below) + owner in-session triple release 2026-08-22. This phase adds the last two pre-approved flags — EDGE_INFERENCE_SERVE and MMM_PRIOR_WRITEBACK, both default-false by source-pinned test. GATE-2 flips remain owner-only.

BUILD 1 — edge distiller: src/shared/edge_distillation/ (reconciled, not duplicated)

One edge concept, not two — the boss lane (miz-oki-adk-agents/boss/edge_inference_integration.py) keeps THE EdgeModelRegistry (mandatory artifact signing, A/B routing, evidence-only invariant, ENABLE_EDGE_INFERENCE for boss-side serving). This package is the producer seam that lane lacked, and a source-scan test enforces the relationship both ways (no registry class defined here, no boss import, package docstring names the boss module and its flag):

BUILD 2 — geo-SCM scheduler INTO f4_calibration (extend-in-place)

scheduler.py joins the existing engine (candidate ranking, donor selection, SCM weight fitting, approval-gated reservations, estimator, priors — all untouched) and adds exactly the seams the lane lacked:

Flag ledger for the lane (all four pre-approved flags now accounted for)

Flag Phase State
LTV_BID_WEIGHTING P3 landed, default-false source-pinned
EDGE_INFERENCE_SERVE P1 landed, default-false source-pinned
MMM_PRIOR_WRITEBACK P1 landed, default-false source-pinned
DEL_TREASURY_GATE P4 deliberately NOT created — wrapping the live fail-closed F5 gate in a default-false flag would dark it (P4 report)

Gate results (pre-push, fresh venv)

governance suite 493 passed (462 baseline + 31 new: scheduler diagnostics/invariants/dark + distiller fidelity/provenance/flag/reconciliation) · remediation 294 passed · edge-hardening neighbor 19 passed / 1 skipped (designed importorskip on the optional onnx dependency — pre-existing, and the dependency this package deliberately excludes) · skill_sync --audit, both parity checkers, canon-status, V1–V3 greps, memory strict: see commit gate line · no protected or site-visible paths · no new service or ingress surface.

← All docsView source on GitHub →