inter-hub-haskell/Web/Controller
Bernd Worsch 6e8972f828 feat(WP-0011): IHF Phase 10 — Hub Registry and Widget Marketplace
Delivers the hub registry discovery UI, widget pattern library,
governance template library, and marketplace dashboard.

Key changes:
- Schema: widget_patterns (widget_type FK to registry), widget_pattern_versions,
  pattern_adoptions, governance_templates (categories JSONB, validated at
  controller), governance_template_clones — all GAAF-compliant, no bare TEXT
  type discriminators
- Migration: 1743897600-ihf-phase10-hub-registry.sql
- HubRegistry controller + views: browsable view over hub_capability_manifests,
  hub_health_snapshots, hubs with per-hub GAAF compliance indicator
- WidgetPatterns controller + views: publish, version, adopt; adoption
  triggers manifest amendment draft when new types are introduced
- GovernanceTemplates controller + views: CRUD, clone with category
  validation against annotation_category_registry
- MarketplaceDashboard controller + view: full-text search, widget-type
  filter, sort, trending panel, autoRefresh
- API v2: /api/v2/hub-registry, /api/v2/widget-patterns (+ adopt endpoint)
- OpenAPI spec updated with Phase 10 paths
- GAAF scorecard: Customization 2.5 → 3.2; overall 3.41 → 3.56 (Strong)
- CLAUDE.md: Phase 10 complete; active workplan → Phase 11

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 20:14:43 +00:00
..
Api/V2 feat(WP-0011): IHF Phase 10 — Hub Registry and Widget Marketplace 2026-04-01 20:14:43 +00:00
AgentProposals.hs feat(P5): IHF Phase 5 complete — agent-assisted distillation 2026-03-29 15:54:33 +00:00
Annotations.hs feat(WP-0009): IHF GAAF Compliance Foundation — type registries, extension manifests, architectural contracts 2026-03-31 21:17:39 +00:00
AnnotationThreads.hs feat(P2+P3): IHF Phase 2 complete; register Phase 3 workplan 2026-03-29 10:42:56 +00:00
ApiConsumers.hs feat(WP-0010): IHF Phase 9 — External API Surface and Consumer SDKs 2026-04-01 19:52:20 +00:00
ApiDashboard.hs feat(WP-0010): IHF Phase 9 — External API Surface and Consumer SDKs 2026-04-01 19:52:20 +00:00
ApiInteractionEvents.hs feat(WP-0009): IHF GAAF Compliance Foundation — type registries, extension manifests, architectural contracts 2026-03-31 21:17:39 +00:00
ApiKeys.hs feat(WP-0010): IHF Phase 9 — External API Surface and Consumer SDKs 2026-04-01 19:52:20 +00:00
ArchiveRecords.hs feat(P8): IHF Phase 8 complete — Federated Hub Maturity 2026-03-29 22:53:01 +00:00
CrossHubPropagations.hs feat(P7): IHF Phase 7 complete — advanced observability and operational integration 2026-03-29 21:49:22 +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
EnvelopeEmissionContracts.hs feat(P6/T02-T03): EnvelopeEmissionContract and InteractionReportingContract 2026-03-29 21:11:03 +00:00
FederatedGovernance.hs feat(P8): IHF Phase 8 complete — Federated Hub Maturity 2026-03-29 22:53:01 +00:00
FederatedPolicyOverlays.hs feat(P8): IHF Phase 8 complete — Federated Hub Maturity 2026-03-29 22:53:01 +00:00
GovernanceTemplates.hs feat(WP-0011): IHF Phase 10 — Hub Registry and Widget Marketplace 2026-04-01 20:14:43 +00:00
HubCapabilityManifests.hs feat(WP-0009): IHF GAAF Compliance Foundation — type registries, extension manifests, architectural contracts 2026-03-31 21:17:39 +00:00
HubRegistry.hs feat(WP-0011): IHF Phase 10 — Hub Registry and Widget Marketplace 2026-04-01 20:14:43 +00:00
HubRoutingRules.hs feat(WP-0009): IHF GAAF Compliance Foundation — type registries, extension manifests, architectural contracts 2026-03-31 21:17:39 +00:00
Hubs.hs feat(WP-0009): IHF GAAF Compliance Foundation — type registries, extension manifests, architectural contracts 2026-03-31 21:17:39 +00:00
InteractionEvents.hs feat(T02-T11): IHF Phase 1 schema, controllers, views, and helpers 2026-03-27 01:42:43 +00:00
InteractionReportingContracts.hs feat(P6/T02-T03): EnvelopeEmissionContract and InteractionReportingContract 2026-03-29 21:11:03 +00:00
MarketplaceDashboard.hs feat(WP-0011): IHF Phase 10 — Hub Registry and Widget Marketplace 2026-04-01 20:14:43 +00:00
RequirementCandidates.hs feat(WP-0010): IHF Phase 9 — External API Surface and Consumer SDKs 2026-04-01 19:52:20 +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
StewardshipRoles.hs feat(P8): IHF Phase 8 complete — Federated Hub Maturity 2026-03-29 22:53:01 +00:00
TypeRegistries.hs feat(WP-0009): IHF GAAF Compliance Foundation — type registries, extension manifests, architectural contracts 2026-03-31 21:17:39 +00:00
WebhookSubscriptions.hs feat(WP-0010): IHF Phase 9 — External API Surface and Consumer SDKs 2026-04-01 19:52:20 +00:00
WidgetAdapterSpecs.hs feat(P6/T04): WidgetAdapterSpecsController, registry, widget adapter integration 2026-03-29 21:14:57 +00:00
WidgetOwnerships.hs feat(P8): IHF Phase 8 complete — Federated Hub Maturity 2026-03-29 22:53:01 +00:00
WidgetPatterns.hs feat(WP-0011): IHF Phase 10 — Hub Registry and Widget Marketplace 2026-04-01 20:14:43 +00:00
Widgets.hs feat(WP-0009): IHF GAAF Compliance Foundation — type registries, extension manifests, architectural contracts 2026-03-31 21:17:39 +00:00