feat(ai-judge): rework enforce mode as user-assumed-risk contract

- add config v2 with fixed judge model selection and fail-closed v1 enforce migration to shadow
- add built-in high-risk override for irreversible, publish, system, and credential shapes that always defers to the human
- remove the promotion gate, promotion records tool, and their tests
- fail closed with judge_model_unavailable when a configured judge model cannot be resolved
- notify once per session in enforce mode with the judge model and risk contract
- add ADR 0008 and update README and CONTEXT
This commit is contained in:
2026-08-21 23:11:40 +08:00
parent f4ba739878
commit 061c60c344
17 changed files with 1372 additions and 1137 deletions
+10
View File
@@ -1,4 +1,14 @@
> **Status note (2026-08-21):** superseded as a runtime governance
> mechanism by [ADR 0008](../adr/0008-enforce-user-assumed-risk.md)
> (PIEXTENSIO-23) — Enforce authority no longer consumes promotion records
> or cohort qualification. This document is preserved unchanged as
> historical audit material. It also carries a recorded protocol
> contradiction (frozen `earliest report asOf 22:05Z` vs the report's
> `asOf 21:15:06Z` and a PASS recorded at `21:20Z`; `-02` frozen sections
> incorporated by reference are no longer in this file) — noted in ADR 0008
> as a legacy-mechanism limitation, not rewritten.
## Outcome of `piextensio-22-v4-gpt56sol-20260820-03`: FAIL (activity floor), 87 enrollments
Recorded `2026-08-20T18:50:00Z`, after the window closed at `13:20:00Z`.
+7
View File
@@ -1,3 +1,10 @@
> **Status note (2026-08-21):** superseded as a runtime governance
> mechanism by [ADR 0008](../adr/0008-enforce-user-assumed-risk.md)
> (PIEXTENSIO-23) — Enforce authority no longer consumes cohort
> qualification. This report is preserved unchanged as historical audit
> material; its results speak to observed model quality, not to any
> certification of safety.
# PIEXTENSIO-22 v4 Enforce promotion cohort report
## Decision