Add deterministic quality gate outcomes

This commit is contained in:
2026-05-15 15:37:00 +02:00
parent 7851eae42f
commit 83d5044ff4
11 changed files with 449 additions and 18 deletions

View File

@@ -111,7 +111,7 @@ version binding.
```task
id: RREG-WP-0014-T03
status: todo
status: done
priority: high
state_hub_task_id: "d599c084-a207-4910-9d0b-578d0c50f282"
```
@@ -129,6 +129,16 @@ Acceptance criteria:
- The known repo-scoping LLM-provider self-scan failure is flagged before
acceptance.
Implementation note 2026-05-15: added
`src/repo_registry/acceptance/gates.py` with deterministic quality-gate
outcomes tied to `repo-scoping-quality-criteria/v1`. Candidate graph API
responses and self-scoping assessment exports now include
`quality_gate_outcomes`. The legacy trusted auto-approval path now refuses
capabilities with blocking gate outcomes instead of approving them. Focused
tests cover provider-routing regression flags, circular generated-scope
evidence, serializable gate outcomes, candidate graph API exposure, and the
legacy auto-approval guard.
## T04: Replace Trusted Auto-Approval With Agentic Review
```task