Record quality gate audit decisions

This commit is contained in:
2026-05-15 16:21:19 +02:00
parent a4b39b3cb7
commit 1913793658
3 changed files with 62 additions and 3 deletions

View File

@@ -175,7 +175,7 @@ validated for rationale, criteria IDs, and evidence refs before being applied.
```task
id: RREG-WP-0014-T05
status: in_progress
status: done
priority: high
state_hub_task_id: "0d12559a-831e-40ff-bf82-85f45b763f07"
```
@@ -193,11 +193,13 @@ Acceptance criteria:
edits/relinks".
- Existing decisions remain readable through a migration or compatibility view.
Implementation note 2026-05-15: started the audit-trail compatibility view by
Implementation note 2026-05-15: added the audit-trail compatibility view by
enriching listed review decisions with derived reviewer type, reviewer identity,
policy version, criteria version, rationale, criterion IDs, evidence refs,
accepted-after-edits marker, and decision kind. Existing stored decisions still
use the same table and remain readable.
use the same table and remain readable. Deterministic gate evaluations now
record aggregate `quality_gate_evaluation` review decisions with criteria IDs,
outcome counts, criteria version, and a rationale that no approval was applied.
## T06: Add Human Override And Criteria Refinement Flow