module Web.View.StaticPages.ExtensionGuide where import Web.View.Prelude data ExtensionGuideView = ExtensionGuideView instance View ExtensionGuideView where html ExtensionGuideView = [hsx|
How to build and register a domain hub extension: HubCapabilityManifest, type registry entries, hub-owned widget types, and hub-scoped controllers.
inter-hub provides the governance substrate. Domain hubs (dev-hub, ops-hub, fin-hub, sec-hub) extend it by registering their own capability manifests and type discriminators. This keeps core tables stable while allowing domain-specific specialisation.
HubCapabilityManifest before use.
Register via the Extensions admin UI before creating any hub-owned widget types.
Navigate to Management UI → Hubs
and create a new hub. Each hub has a slug
that will prefix its owned types (e.g. dev.code-review).
A HubCapabilityManifest is the DB-side contract for a domain hub.
Go to Extensions
and create a manifest for your hub. Set status to active.
The manifest includes: hubId, manifestVersion,
capabilitySchema (JSON), and an optional apiEndpointBase.
It is the anchor point for per-consumer API keys in Phase 9.
Before creating widgets of a new type, register the type in the appropriate registry. Go to Registries:
owner_hub_id to your hub. Once registered, your hub-scoped code
can create widgets of that type and the type will appear in the marketplace.
With the type registered, create widgets via the Widgets page or the API:
If your widget design is reusable, publish it to the Widget Marketplace. Other hubs can adopt it and pin to specific versions. Patterns support semantic versioning and adoption tracking.
Register an AgentRegistration for your hub, then create a ModelRoutingPolicy to route task types to specific models or agents. Agents can draft Requirements, propose governance decisions, and participate in CollectiveProposals.
{desc :: Text}