Route agent-recoverable runtime gates to self-repair#2534
Conversation
|
Pre-merge validation receipt Changed surfaces:
Checks run:
Failures: none. Skips: none. Manual holds: none. Coverage is sufficient because it exercises the new positive classification, preserves scoped-decision and owner-capability gates, and runs the broader quota, scheduler, heartbeat, maintainability, and catalog canaries. |
Findings
Open questions
Product and architecture judgmentThe motivation is valid: an execution-shaped gate without decision scope should not strand an agent when the linked todo is owned by that agent and all non-owner capabilities are currently runnable. The checks for global gates, explicit decision scopes, other-agent ownership, required decision scopes, owner-held capabilities, and missing capabilities form a sensible fail-closed boundary. The remaining blocker is source authority, not the routing policy itself. Code volume and simplificationThe diff is Validation performed
Merge decisionRequest changes / hold. After authoritative-source precedence and its negative regression are fixed, the PR should be ready for a focused exact-head re-review. |
|
Resolved the authoritative-source precedence blocker in
Validation:
|
Summary
Validation
pytest -q tests/control_plane/test_user_gate_lane_progress.py tests/control_plane/test_capability_gate.py(18 passed)loopx canary premerge --from-git-diff(17 selected checks passed; no failures, skips, warnings, or manual holds)ruff checkon changed Python surfacesScope
Built-in
control_plane/quotarepair classification only. This does not grant capabilities or authority; it consumes observed capabilities and keeps credentials/production access owner-held.