inter-hub-haskell/Application/Helper
Bernd Worsch 133dae3d23 feat(WP-0012): IHF Phase 11 — Advanced AI Federation
- Schema: AgentRegistration, ModelRoutingPolicy, AgentDelegation,
  CollectiveProposal, CollectiveProposalContribution, AiGovernancePolicy,
  AgentPerformanceRecord + ALTER TABLE agent_proposals
  (migration 1744156800; CHECK constraints on trust_level, status,
  consensus_status — GAAF compliant)

- Bridge: scripts/llm_bridge.py (llm-connect subprocess seam) +
  Application/Helper/AgentBridge.hs (callBridge, callAgent,
  checkGovernancePolicy, jsonArrayTexts)

- Routing: Application/Helper/ModelRouter.hs (resolveAgent,
  resolveAllAgents) + ModelRoutingPolicies CRUD

- Registry: AgentRegistrations CRUD (Index/Show/New/Edit/Performance),
  DeactivateAgentAction, ComputeAgentPerformanceAction

- Delegation: AgentDelegations controller + views, DelegateSubtaskAction
  with token budget enforcement at bridge call time

- Collective: CollectiveProposals controller + views,
  CreateCollectiveProposalAction (fan-out → synthesis → consensus detection)

- Governance: AiGovernancePolicies CRUD + ToggleAiGovernancePolicyAction;
  checkGovernancePolicy enforced at all 4 Phase 5 invocation points

- Phase 5 wiring: replaced callClaudeApi in Widgets, DecisionRecords,
  RequirementCandidates with resolveAgent + callAgent + token tracking

- llm-connect feature requests: ~/llm-connect/FEATURE_REQUESTS.md
  (FR-1 HTTP serve, FR-2 RoutingPolicy, FR-3 async, FR-4 BudgetTracker)

- GAAF scorecard: 3.61 (up from 3.56); Functional 3.4→3.6, Extensions 3.8→3.9

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 20:57:17 +00:00
..
AgentBridge.hs feat(WP-0012): IHF Phase 11 — Advanced AI Federation 2026-04-01 20:57:17 +00:00
ApiRateLimit.hs feat(WP-0010): IHF Phase 9 — External API Surface and Consumer SDKs 2026-04-01 19:52:20 +00:00
BottleneckDetector.hs feat(P7): IHF Phase 7 complete — advanced observability and operational integration 2026-03-29 21:49:22 +00:00
Controller.hs feat(P5): IHF Phase 5 complete — agent-assisted distillation 2026-03-29 15:54:33 +00:00
CrossHubPropagation.hs feat(P7): IHF Phase 7 complete — advanced observability and operational integration 2026-03-29 21:49:22 +00:00
FrictionScore.hs feat(P7): IHF Phase 7 complete — advanced observability and operational integration 2026-03-29 21:49:22 +00:00
HubHealth.hs feat(P7): IHF Phase 7 complete — advanced observability and operational integration 2026-03-29 21:49:22 +00:00
ModelRouter.hs feat(WP-0012): IHF Phase 11 — Advanced AI Federation 2026-04-01 20:57:17 +00:00
RoutingEngine.hs feat(P8): IHF Phase 8 complete — Federated Hub Maturity 2026-03-29 22:53:01 +00:00
TypeRegistry.hs feat(WP-0009): IHF GAAF Compliance Foundation — type registries, extension manifests, architectural contracts 2026-03-31 21:17:39 +00:00
View.hs feat(P6/T02-T03): EnvelopeEmissionContract and InteractionReportingContract 2026-03-29 21:11:03 +00:00