inter-hub-haskell/Application/Migration
Bernd Worsch 2605c1c977 feat(P5): IHF Phase 5 complete — agent-assisted distillation
Adds bounded AI support to the IHF governance loop. All AI outputs are
attributed (model_ref), reviewable (AgentReviewRecord), and reversible.
No autonomous decisions; no silent requirement promotion.

- T01: Schema — agent_proposals, agent_review_records,
  confidence_annotations (migration 1743379200)
- T02: AgentProposalsController (index/show/accept/reject, idempotent
  review guard), global nav "Agent" link
- T03: SummarizeClusterAction — Claude API cluster summary on widget show
- T04: DraftRequirementAction — AI requirement draft; acceptance creates
  RequirementCandidate (human-gated)
- T05: DetectDuplicatesAction — duplicate_flag proposal on candidate show
- T06: DetectPolicySensitivityAction — policy_flag with
  ConfidenceAnnotations per concern scope
- T07: ProposeImplementationAction — impl_proposal from decision show
- T08: AgentAuditDashboardAction — autoRefresh; KPI row, unreviewed queue,
  recent proposals, attribution log matrix
- T09: integration tests, SCOPE.md updated, phase5-summary.md, flake.nix
  adds http-conduit/aeson/string-conversions

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-29 15:54:33 +00:00
..
1743034800-ihf-phase1-initial-schema.sql feat(T02-T11): IHF Phase 1 schema, controllers, views, and helpers 2026-03-27 01:42:43 +00:00
1743120000-ihf-phase2-feedback-triage.sql feat(P2+P3): IHF Phase 2 complete; register Phase 3 workplan 2026-03-29 10:42:56 +00:00
1743206400-ihf-phase3-governance.sql feat(P3): IHF Phase 3 complete — Governance and Decision Linkage 2026-03-29 10:42:56 +00:00
1743292800-ihf-phase4-outcome-observation.sql feat(P4): IHF Phase 4 complete — Outcome Observation and Antifragility Loop 2026-03-29 12:27:30 +00:00
1743379200-ihf-phase5-agent-distillation.sql feat(P5): IHF Phase 5 complete — agent-assisted distillation 2026-03-29 15:54:33 +00:00