Scope contract health to selected goals#2548
Conversation
c3125ef to
750d219
Compare
|
CI maintainability regressions are fixed at
Validation after rebase:
GitHub pytest is running on the new exact head. |
|
Maintainer exact-head review: no blocking findings at FindingsNo correctness, compatibility, authority, or public/private-boundary blocker found. Product and architecture judgmentThis change fixes a real control-plane isolation problem at the right ownership layer. Contract failures are classified where they are produced as The implementation size is justified by replacing existing untyped error emission across registry, active-state, status, quota, and ready-score consumers, plus substantial negative coverage. The new Validation
Merge decisionApproved for the user's explicitly authorized maintainer self-merge, with exact-head protection. Merge #2548 before #2549; the combined state has been validated. |
Summary
global,goal, and knowngoalsscopesquota,turn,diagnose,review-packet, demo, and auto-research frontier) request a goal-scoped read modelready-scorechoose only a real registry goal, then re-read scoped status before scoring itThis turns the direction explored in #2074 into a source-owned contract instead of relying on goal-id string prefixes at the quota consumer.
Ownership model
Validation
pytest -q tests/control_plane(463 passed)pytest -q tests/control_plane/test_contract_health.py(7 passed, repeated after rebase)status-goal-filter-smoke.pystatus-collection-readmodel-smoke.pytodo-claim-visibility-lanes-smoke.pytodo-user-gate-scope-smoke.pyquota-agent-scoped-user-gate-smoke.pyheartbeat-quota-flow-smoke.pyloopx-turn-codex-cli-quickstart-smoke.pydemo-cli-smoke.pyauto-research-demo-goal-isolation-smoke.pyloopx canary premerge --from-git-diffafter rebasing to currentorigin/mainThe premerge gate passed all direct checks, risk-profile smokes, output budgets, scheduler/quota canaries, and public-boundary checks. It reported the existing
control-plane-maintainability-ratchet-smoke.pybaseline asadvisory_inherited_failure; the failure did not mention any changed file and is non-blocking under the canary contract.Review notes
error_diagnostics.loopx-contractcannot be selected as the implicit ready-score goal.