inter-hub-haskell/Web/Controller
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
..
AgentProposals.hs feat(P5): IHF Phase 5 complete — agent-assisted distillation 2026-03-29 15:54:33 +00:00
Annotations.hs feat(P2+P3): IHF Phase 2 complete; register Phase 3 workplan 2026-03-29 10:42:56 +00:00
AnnotationThreads.hs feat(P2+P3): IHF Phase 2 complete; register Phase 3 workplan 2026-03-29 10:42:56 +00:00
DecisionRecords.hs feat(P5): IHF Phase 5 complete — agent-assisted distillation 2026-03-29 15:54:33 +00:00
DeploymentRecords.hs feat(P4): IHF Phase 4 complete — Outcome Observation and Antifragility Loop 2026-03-29 12:27:30 +00:00
Hubs.hs feat(P5): IHF Phase 5 complete — agent-assisted distillation 2026-03-29 15:54:33 +00:00
InteractionEvents.hs feat(T02-T11): IHF Phase 1 schema, controllers, views, and helpers 2026-03-27 01:42:43 +00:00
RequirementCandidates.hs feat(P5): IHF Phase 5 complete — agent-assisted distillation 2026-03-29 15:54:33 +00:00
Requirements.hs feat(P3): IHF Phase 3 complete — Governance and Decision Linkage 2026-03-29 10:42:56 +00:00
Sessions.hs feat(T02-T11): IHF Phase 1 schema, controllers, views, and helpers 2026-03-27 01:42:43 +00:00
Widgets.hs feat(P5): IHF Phase 5 complete — agent-assisted distillation 2026-03-29 15:54:33 +00:00