Integrated Haskell Plattform based AI factory core framework
Find a file
Bernd Worsch 3cac021213 feat(WP-0010): IHF Phase 9 — External API Surface and Consumer SDKs
Delivers the full Phase 9 external API layer:

- Versioned REST API (/api/v2/) with OpenAPI 3.1 spec; enum arrays for
  widget_type, event_type, annotation category drawn live from registry tables
- OAuth 2.0 client credentials flow (/api/v2/token); hub:*:write scopes
  gated on active HubCapabilityManifest FK
- API key management: SHA256-hashed tokens, key_prefix for display,
  one-time reveal on creation, revocation support
- TypeScript and Python consumer SDKs generated from registry tables
  (/api/v2/sdk/ihf-client.ts, /api/v2/sdk/ihf-client.py)
- Webhook delivery: HMAC-SHA256 signing, append-only webhook_deliveries,
  fire-and-forget dispatch via forkIO, 3-retry logic
- Admin API dashboard with 24h stats (request count, error rate, last seen)
- Rate limiting (per-minute) and daily quota enforcement via api_request_log
- Schema migration: api_consumers, api_keys, webhook_subscriptions (CHECK
  constraint on 6 framework lifecycle topics), webhook_deliveries
  (append-only trigger), api_request_log
- ARCHITECTURE-LAYERS.md scorecard: 3.34 → 3.41 (approaching Strong)
- contracts/functional/interaction-reporting-v1.md extended with Phase 9
  endpoint catalogue and 422 validation error format

GAAF: no bare TEXT discriminators; webhook event_type uses CHECK constraint
over 6 allowed framework lifecycle topic strings (not widget event types).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 19:52:20 +00:00
.github/workflows feat(T01): bootstrap IHP v1.5 project scaffold 2026-03-27 01:36:18 +00:00
Application feat(WP-0010): IHF Phase 9 — External API Surface and Consumer SDKs 2026-04-01 19:52:20 +00:00
Config feat(P6/T05): cross-framework annotation launcher JS widget 2026-03-29 21:17:43 +00:00
contracts feat(WP-0010): IHF Phase 9 — External API Surface and Consumer SDKs 2026-04-01 19:52:20 +00:00
docs feat(WP-0009): IHF GAAF Compliance Foundation — type registries, extension manifests, architectural contracts 2026-03-31 21:17:39 +00:00
memory feat(WP-0009): IHF GAAF Compliance Foundation — type registries, extension manifests, architectural contracts 2026-03-31 21:17:39 +00:00
specs feat(WP-0009): IHF GAAF Compliance Foundation — type registries, extension manifests, architectural contracts 2026-03-31 21:17:39 +00:00
static feat(P6/T06): React adapter specification and reference example 2026-03-29 21:19:26 +00:00
Test feat(WP-0009): IHF GAAF Compliance Foundation — type registries, extension manifests, architectural contracts 2026-03-31 21:17:39 +00:00
Web feat(WP-0010): IHF Phase 9 — External API Surface and Consumer SDKs 2026-04-01 19:52:20 +00:00
workplans feat(WP-0010): IHF Phase 9 — External API Surface and Consumer SDKs 2026-04-01 19:52:20 +00:00
.custodian-brief.md chore(consistency): sync task status from DB [auto] 2026-04-01 16:05:38 +02:00
.envrc feat(T01): bootstrap IHP v1.5 project scaffold 2026-03-27 01:36:18 +00:00
.ghci feat(T01): bootstrap IHP v1.5 project scaffold 2026-03-27 01:36:18 +00:00
.gitattributes feat(T01): bootstrap IHP v1.5 project scaffold 2026-03-27 01:36:18 +00:00
.gitignore feat(T01): bootstrap IHP v1.5 project scaffold 2026-03-27 01:36:18 +00:00
.stylish-haskell.yaml feat(T01): bootstrap IHP v1.5 project scaffold 2026-03-27 01:36:18 +00:00
App.cabal feat(T01): bootstrap IHP v1.5 project scaffold 2026-03-27 01:36:18 +00:00
ARCHITECTURE-LAYERS.md feat(WP-0010): IHF Phase 9 — External API Surface and Consumer SDKs 2026-04-01 19:52:20 +00:00
CLAUDE.md feat(WP-0010): IHF Phase 9 — External API Surface and Consumer SDKs 2026-04-01 19:52:20 +00:00
default.nix feat(T01): bootstrap IHP v1.5 project scaffold 2026-03-27 01:36:18 +00:00
flake.lock feat(T01): bootstrap IHP v1.5 project scaffold 2026-03-27 01:36:18 +00:00
flake.nix feat(WP-0010): IHF Phase 9 — External API Surface and Consumer SDKs 2026-04-01 19:52:20 +00:00
hie.yaml feat(T01): bootstrap IHP v1.5 project scaffold 2026-03-27 01:36:18 +00:00
LICENSE Initial commit 2026-03-26 23:43:55 +00:00
Main.hs feat(T02-T11): IHF Phase 1 schema, controllers, views, and helpers 2026-03-27 01:42:43 +00:00
Makefile feat(T01): bootstrap IHP v1.5 project scaffold 2026-03-27 01:36:18 +00:00
README.md Initial commit 2026-03-26 23:43:55 +00:00
SCOPE.md feat(WP-0009): IHF GAAF Compliance Foundation — type registries, extension manifests, architectural contracts 2026-03-31 21:17:39 +00:00
Setup.hs feat(T01): bootstrap IHP v1.5 project scaffold 2026-03-27 01:36:18 +00:00
start feat(T01): bootstrap IHP v1.5 project scaffold 2026-03-27 01:36:18 +00:00

repo-seed

A git repository template to bootstrap coulomb projects from.