feat(WP-0009): IHF GAAF Compliance Foundation — type registries, extension manifests, architectural contracts
Some checks failed
Test / test (push) Has been cancelled

Implements IHUB-WP-0009: closes four GAAF-2026 gaps before domain hub work begins.
- TypeRegistry helper + controllers/views (hub_kind, hub_capability_manifest)
- HubCapabilityManifest entity with validation and registry linkage
- ARCHITECTURE-LAYERS.md + CI-enforced boundary contracts
- Alembic migration 1743724800, fitness tests (Test/Architecture/)
- GAAF spec, Operational Architecture spec, domain hub extension guide
- Updates to CLAUDE.md, SCOPE.md, Schema.sql, Routes, FrontController, Types

state_hub_sync: pending (tunnel was STALE at completion time; run fix-consistency)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-31 21:17:39 +00:00
parent 1a7732d7da
commit b5d73aa18b
47 changed files with 4855 additions and 104 deletions

View File

@@ -205,6 +205,50 @@ data CrossHubPropagationsController
| ResolvePropagationAction { crossHubPropagationId :: !(Id CrossHubPropagation) }
deriving (Eq, Show, Data)
-- GAAF Compliance Foundation (IHUB-WP-0009)
data TypeRegistriesController
= WidgetTypeRegistryAction
| ShowWidgetTypeAction { widgetTypeRegistryId :: !(Id WidgetTypeRegistry) }
| NewWidgetTypeAction
| CreateWidgetTypeAction
| EditWidgetTypeAction { widgetTypeRegistryId :: !(Id WidgetTypeRegistry) }
| UpdateWidgetTypeAction { widgetTypeRegistryId :: !(Id WidgetTypeRegistry) }
| DeprecateWidgetTypeAction { widgetTypeRegistryId :: !(Id WidgetTypeRegistry) }
| EventTypeRegistryAction
| ShowEventTypeAction { eventTypeRegistryId :: !(Id EventTypeRegistry) }
| NewEventTypeAction
| CreateEventTypeAction
| EditEventTypeAction { eventTypeRegistryId :: !(Id EventTypeRegistry) }
| UpdateEventTypeAction { eventTypeRegistryId :: !(Id EventTypeRegistry) }
| DeprecateEventTypeAction { eventTypeRegistryId :: !(Id EventTypeRegistry) }
| AnnotationCategoryRegistryAction
| ShowAnnotationCategoryAction { annotationCategoryRegistryId :: !(Id AnnotationCategoryRegistry) }
| NewAnnotationCategoryAction
| CreateAnnotationCategoryAction
| EditAnnotationCategoryAction { annotationCategoryRegistryId :: !(Id AnnotationCategoryRegistry) }
| UpdateAnnotationCategoryAction { annotationCategoryRegistryId :: !(Id AnnotationCategoryRegistry) }
| DeprecateAnnotationCategoryAction { annotationCategoryRegistryId :: !(Id AnnotationCategoryRegistry) }
| PolicyScopeRegistryAction
| ShowPolicyScopeAction { policyScopeRegistryId :: !(Id PolicyScopeRegistry) }
| NewPolicyScopeAction
| CreatePolicyScopeAction
| EditPolicyScopeAction { policyScopeRegistryId :: !(Id PolicyScopeRegistry) }
| UpdatePolicyScopeAction { policyScopeRegistryId :: !(Id PolicyScopeRegistry) }
| DeprecatePolicyScopeAction { policyScopeRegistryId :: !(Id PolicyScopeRegistry) }
deriving (Eq, Show, Data)
data HubCapabilityManifestsController
= HubCapabilityManifestsAction
| ShowHubCapabilityManifestAction { hubCapabilityManifestId :: !(Id HubCapabilityManifest) }
| NewHubCapabilityManifestAction
| CreateHubCapabilityManifestAction
| EditHubCapabilityManifestAction { hubCapabilityManifestId :: !(Id HubCapabilityManifest) }
| UpdateHubCapabilityManifestAction { hubCapabilityManifestId :: !(Id HubCapabilityManifest) }
| ActivateManifestAction { hubCapabilityManifestId :: !(Id HubCapabilityManifest) }
| RetireManifestAction { hubCapabilityManifestId :: !(Id HubCapabilityManifest) }
deriving (Eq, Show, Data)
data SessionsController
= NewSessionAction
| CreateSessionAction