2 Commits

Author SHA1 Message Date
6e8972f828 feat(WP-0011): IHF Phase 10 — Hub Registry and Widget Marketplace
Some checks failed
Test / test (push) Has been cancelled
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
254fd04fd0 chore(WP-0011): create Phase 10 workplan — Hub Registry and Widget Marketplace
Some checks failed
Test / test (push) Has been cancelled
10 tasks covering:
- T01: Schema (WidgetPattern, WidgetPatternVersion, PatternAdoption,
  GovernanceTemplate, GovernanceTemplateClone)
- T02: Hub Registry UI (manifest + health snapshot join, GAAF indicator)
- T03: Widget Pattern Library (publish, list, show with version history)
- T04: Pattern versioning (WidgetPatternVersion, pin/follow-latest)
- T05: Pattern adoption with manifest amendment draft workflow
- T06: Governance Template Library (CRUD + clone + manifest amendment)
- T07: Adoption tracking and aggregate friction/outcome view
- T08: Marketplace dashboard (search, browse, trending)
- T09: API v2 hub-registry and widget-pattern endpoints
- T10: ARCHITECTURE-LAYERS.md scorecard update + exit criteria validation

State hub workstream: bc81e097-e91c-4750-80b6-c809ebcf7ef9

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 19:58:41 +00:00