74bab5f6f2
fix(WP-0014/A2): continued type-correctness fixes and Tailwind CSS output
...
- Schema.sql: add FK constraints for phases 6–12 so IHP generates Id X
instead of UUID for FK columns (widget_adapter_specs, friction_scores,
hub_routing_rules, agent_proposals, hub_capability_manifests, etc.)
- HubHealth, ModelRouter, ApiInteractionEvents: remove toUUID() wrappers
now that FK columns carry proper Id types
- FederatedGovernance/Dashboard, HubRoutingRules/Index: same Id comparison fix
- AgentProposals/Index, DecisionRecords/Index, ApiConsumers/Edit: Id type fixes
- BottleneckDetector: add Data.Coerce import; CrossHubPropagation: add guard
- ApiKeys: qualify cryptohash-sha256 import to resolve package ambiguity
- WebhookDeliveryJob: use LBS.fromStrict; remove duplicate diffUTCTime
- Sessions/New: use renderFlashMessages (IHP built-in)
- ArchiveRecords/LineageInspector: simplify renderChainStep signature
- static/app.css: Tailwind CSS output (2011 lines) — A3 confirmed
- workplans/IHUB-WP-0015-local-deployment-intro-ui.md: add workplan
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-08 01:49:41 +00:00
34cc18b4c7
chore(WP-0014): update workplan — A2/A3/A4 complete, A1/A5 pending build
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-04 09:55:41 +00:00
f1978c3888
fix(WP-0014): pre-flight compilation fixes, Tailwind pipeline, and admin seed
...
A2 — Compilation fixes:
- Remove inline FK constraints from Schema.sql; IHP schema compiler cannot
parse them. Add 1744329600-restore-fk-constraints.sql migration to restore
referential integrity at the DB level.
- Rename `#label` → `#label_` throughout to avoid clash with Haskell built-in.
- Fix `hub.id == hid` UUID comparisons to use `toUUID hub.id`.
- Replace non-existent `setStatus`/`respondJson` calls with
`renderJsonWithStatusCode` throughout Api controllers.
- Fix qualified package import for `cryptohash-sha256` in Auth.hs.
- Add `CanSelect (Text, Text)` instance in Helper.View.
- Refactor HSX inline lambdas to named helper functions in 100+ views
(GHC cannot infer types for anonymous functions inside quasi-quoted HSX).
- Fix missing imports (IHP.QueryBuilder, IHP.Fetch, Web.Routes, Only, etc.)
across helpers and controllers.
- Remove duplicate `diffUTCTime` definition in BottleneckDetector.
- Change `createEventForHub` return type from `IO ResponseReceived` to `IO ()`.
- Seed type-registry vocabulary via 1744502400-seed-type-registries.sql
(moved from Schema.sql where IHP does not execute INSERT statements).
A3 — Tailwind build pipeline:
- Add `tailwindcss` to flake.nix native packages.
- Uncomment `tailwind.exec` process in devenv shell config.
- Add tailwind/tailwind.config.js (scans Web/View/**/*.hs).
- Add tailwind/app.css with @tailwind directives.
A4 — Admin user seed:
- Add 1744416000-seed-admin-user.sql: inserts admin@inter-hub.local
with bcrypt-hashed password admin1234! (cost 10).
- Add .env.example documenting all required environment variables
and default admin credentials.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-04 09:55:12 +00:00
ffd5fbb900
fix: migrate DetectPolicySensitivityAction to routed agent pattern
...
Test / test (push) Has been cancelled
The last action still calling callClaudeApi directly. Now routes through
resolveAgent (task_type="policy_sensitivity") + checkGovernancePolicy +
callAgent, consistent with all other Phase 11 AI invocations. Adds
agentRegistrationId, tokensIn, tokensOut to the created AgentProposal and
handles blocked_by_policy the same way as the other 4 actions.
Remove callClaudeApi and its direct HTTP imports from
Application/Helper/Controller.hs — no longer referenced anywhere.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-03 12:34:07 +00:00
0f505feb2d
feat(WP-0013): IHF Phase 12 — Platform Memory and Continuous Learning
...
Closes the long-range feedback loop: outcome signals now enrich the full
traceability chain and feed back into routing, triage, and AI proposals.
Schema (T01):
- outcome_correlations (CHECK correlation_type)
- pattern_performance_records
- adaptive_threshold_configs
- institutional_knowledge_entries (GIN tsvector FTS)
- learning_insights (CHECK insight_type)
- ALTER TABLE decision_records + requirement_candidates: outcome_summary JSONB
- AFTER INSERT trigger trg_enrich_lineage on outcome_signals
- contracts/core/ updated (outcome-summary-columns-v1, append-only addendum)
Correlation engine (T02):
- Application/Helper/CorrelationEngine.hs: pure annotation→outcome SQL
- Web/Controller/OutcomeCorrelations.hs: ComputeCorrelationsAction + index
Pattern performance (T03):
- Web/Controller/PatternPerformance.hs: ComputePatternPerformanceAction
Adaptive thresholds (T04):
- Web/Controller/AdaptiveThresholds.hs: CalibrateThresholdsAction
- Application/Helper/FrictionScore.hs: applyAdaptiveWeights
Institutional knowledge (T05):
- DistilDecisionAction in DecisionRecords controller
- Web/Controller/InstitutionalKnowledge.hs: QueryKnowledgeBaseAction
Lineage enrichment (T06):
- Web/Controller/LineageEnrichment.hs: EnrichLineageAction (batch backfill)
- enrich_lineage_on_outcome_batch() PL/pgSQL helper in migration
Learning dashboard (T07):
- Web/Controller/LearningDashboard.hs: 5-panel autoRefresh view
- "Learning" nav link in FrontController
API v2 learning endpoints (T08):
- GET /api/v2/outcome-correlations, /pattern-performance, /knowledge-base/{id}
- OpenAPI schemas: OutcomeCorrelation, PatternPerformanceRecord, InstitutionalKnowledgeEntry
GAAF scorecard + docs (T09):
- Core 3.8→3.9, Functional 3.6→3.8, overall 3.61→3.68
- CLAUDE.md: IHF v0.2 complete, no active workplan
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-03 12:34:07 +00:00
9643173618
chore(consistency): sync task status from DB [auto]
...
Test / test (push) Has been cancelled
Updated by fix-consistency on 2026-04-03:
- IHUB-WP-0013-T09: todo → done
2026-04-03 14:32:09 +02:00
c0e79f29dc
chore(consistency): sync task status from DB [auto]
...
Updated by fix-consistency on 2026-04-03:
- IHUB-WP-0013-T08: todo → done
2026-04-03 14:32:08 +02:00
0f3313a614
chore(consistency): sync task status from DB [auto]
...
Updated by fix-consistency on 2026-04-03:
- IHUB-WP-0013-T07: todo → done
2026-04-03 14:32:08 +02:00
fae7c676ba
chore(consistency): sync task status from DB [auto]
...
Updated by fix-consistency on 2026-04-03:
- IHUB-WP-0013-T06: todo → done
2026-04-03 14:32:08 +02:00
87dd81bbee
chore(consistency): sync task status from DB [auto]
...
Updated by fix-consistency on 2026-04-03:
- IHUB-WP-0013-T05: todo → done
2026-04-03 14:32:08 +02:00
2e8fbf6d4e
chore(consistency): sync task status from DB [auto]
...
Updated by fix-consistency on 2026-04-03:
- IHUB-WP-0013-T04: todo → done
2026-04-03 14:32:08 +02:00
876feb8ce3
chore(consistency): sync task status from DB [auto]
...
Updated by fix-consistency on 2026-04-03:
- IHUB-WP-0013-T03: todo → done
2026-04-03 14:32:08 +02:00
eb6f6faef0
chore(consistency): sync task status from DB [auto]
...
Updated by fix-consistency on 2026-04-03:
- IHUB-WP-0013-T02: todo → done
2026-04-03 14:32:08 +02:00
0c77c1e125
chore(consistency): sync task status from DB [auto]
...
Updated by fix-consistency on 2026-04-03:
- IHUB-WP-0013-T01: todo → done
2026-04-03 14:32:08 +02:00
eb0803b8d7
chore(WP-0013): create Phase 12 workplan — Platform Memory and Continuous Learning
...
Test / test (push) Has been cancelled
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-01 22:59:56 +00:00
4a32593990
chore(consistency): sync task status from DB [auto]
...
Test / test (push) Has been cancelled
Updated by fix-consistency on 2026-04-02:
- update .custodian-brief.md for inter-hub
2026-04-02 00:51:48 +02:00
a5a83f6c03
chore(consistency): sync task status from DB [auto]
...
Updated by fix-consistency on 2026-04-02:
- update .custodian-brief.md for inter-hub
2026-04-02 00:51:48 +02:00
38dea6cb5f
chore(consistency): sync task status from DB [auto]
...
Updated by fix-consistency on 2026-04-02:
- update .custodian-brief.md for inter-hub
2026-04-02 00:51:48 +02:00
6df1d35724
chore(consistency): sync task status from DB [auto]
...
Updated by fix-consistency on 2026-04-02:
- update .custodian-brief.md for inter-hub
2026-04-02 00:51:48 +02:00
0167bce5d0
chore(consistency): sync task status from DB [auto]
...
Updated by fix-consistency on 2026-04-01:
- update .custodian-brief.md for inter-hub
2026-04-02 00:51:48 +02:00
0dbbf6ea51
chore(consistency): sync task status from DB [auto]
...
Updated by fix-consistency on 2026-04-01:
- update .custodian-brief.md for inter-hub
2026-04-02 00:51:48 +02:00
f9604a304c
chore(consistency): sync task status from DB [auto]
...
Updated by fix-consistency on 2026-04-01:
- update .custodian-brief.md for inter-hub
2026-04-02 00:51:48 +02:00
09b5965b29
chore(consistency): sync task status from DB [auto]
...
Updated by fix-consistency on 2026-04-01:
- update .custodian-brief.md for inter-hub
2026-04-02 00:51:48 +02:00
674f5da0e1
feat: integrate llm-connect FR-1/FR-3/FR-4 into IHF bridge
...
Test / test (push) Has been cancelled
FR-3 (async_execute_prompt): CollectiveProposals now invokes all agents
concurrently via callAgentsBatch → single bridge subprocess with
asyncio.gather. Latency scales with slowest agent, not sum.
FR-4 (BudgetTracker): AgentDelegations passes tokenBudget to bridge;
llm-connect enforces it natively via BudgetTracker in RunConfig.
BudgetExceededError is a first-class BridgeError variant with total/
consumed/requested fields surfaced to the operator.
FR-1 (LLMServer passthrough): bridge accepts optional serverUrl field;
if present, calls POST {serverUrl}/execute instead of spawning a new
adapter. Infrastructure ready for hot-agent pre-warming (no schema
change required).
AgentBridge.hs: adds callAgentsBatch, callAgentWithBudget,
BudgetExceededError constructor, bridgeErrorMessage helper, defaultRequest,
requestToJson. All controllers updated to use bridgeErrorMessage.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-01 22:48:29 +00:00
a400365d50
chore(consistency): sync task status from DB [auto]
...
Test / test (push) Has been cancelled
Updated by fix-consistency on 2026-04-01:
- update .custodian-brief.md for inter-hub
2026-04-01 23:03:27 +02:00
133dae3d23
feat(WP-0012): IHF Phase 11 — Advanced AI Federation
...
Test / test (push) Has been cancelled
- Schema: AgentRegistration, ModelRoutingPolicy, AgentDelegation,
CollectiveProposal, CollectiveProposalContribution, AiGovernancePolicy,
AgentPerformanceRecord + ALTER TABLE agent_proposals
(migration 1744156800; CHECK constraints on trust_level, status,
consensus_status — GAAF compliant)
- Bridge: scripts/llm_bridge.py (llm-connect subprocess seam) +
Application/Helper/AgentBridge.hs (callBridge, callAgent,
checkGovernancePolicy, jsonArrayTexts)
- Routing: Application/Helper/ModelRouter.hs (resolveAgent,
resolveAllAgents) + ModelRoutingPolicies CRUD
- Registry: AgentRegistrations CRUD (Index/Show/New/Edit/Performance),
DeactivateAgentAction, ComputeAgentPerformanceAction
- Delegation: AgentDelegations controller + views, DelegateSubtaskAction
with token budget enforcement at bridge call time
- Collective: CollectiveProposals controller + views,
CreateCollectiveProposalAction (fan-out → synthesis → consensus detection)
- Governance: AiGovernancePolicies CRUD + ToggleAiGovernancePolicyAction;
checkGovernancePolicy enforced at all 4 Phase 5 invocation points
- Phase 5 wiring: replaced callClaudeApi in Widgets, DecisionRecords,
RequirementCandidates with resolveAgent + callAgent + token tracking
- llm-connect feature requests: ~/llm-connect/FEATURE_REQUESTS.md
(FR-1 HTTP serve, FR-2 RoutingPolicy, FR-3 async, FR-4 BudgetTracker)
- GAAF scorecard: 3.61 (up from 3.56); Functional 3.4→3.6, Extensions 3.8→3.9
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-01 20:57:17 +00:00
4e4e994659
chore(WP-0012): create Phase 11 workplan — Hub Registry and Widget Marketplace
...
Test / test (push) Has been cancelled
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-01 20:32:04 +00:00
6e8972f828
feat(WP-0011): IHF Phase 10 — Hub Registry and Widget Marketplace
...
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
...
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
3cac021213
feat(WP-0010): IHF Phase 9 — External API Surface and Consumer SDKs
...
Test / test (push) Has been cancelled
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
286d33923a
chore(consistency): sync task status from DB [auto]
...
Test / test (push) Has been cancelled
Updated by fix-consistency on 2026-03-31:
- update .custodian-brief.md for inter-hub
2026-04-01 16:05:38 +02:00
4fb87a461e
updated workplan effort
Test / test (push) Has been cancelled
2026-03-31 21:32:37 +00:00
c80bac40a9
chore(WP-0009): sync state_hub IDs and update custodian brief
...
Test / test (push) Has been cancelled
Consistency checker wrote workstream/task IDs into workplan frontmatter.
state_hub_sync: pending → resolved; workstream 24ad18c7 marked completed.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-31 23:19:31 +02:00
ba7cb1b675
chore(consistency): sync task status from DB [auto]
...
Updated by fix-consistency on 2026-03-31:
- update .custodian-brief.md for inter-hub
2026-03-31 23:18:15 +02:00
b5d73aa18b
feat(WP-0009): IHF GAAF Compliance Foundation — type registries, extension manifests, architectural contracts
...
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 >
2026-03-31 21:17:39 +00:00
1a7732d7da
Ralph-Loop Local removed
Test / test (push) Has been cancelled
2026-03-31 11:41:41 +00:00
9265ca2d9c
feat(P8): IHF Phase 8 complete — Federated Hub Maturity
...
Implements the final phase of the IHF v0.1 specification:
- WidgetOwnership: delegated ownership registry (local/delegated/global),
append-only audit artefacts, ownership badge on widget show page
- HubRoutingRule + RoutingEngine: priority-ordered inter-hub routing engine;
null-inclusive category/widget-type matching; RouteNowAction for manual
re-evaluation; RoutedCandidates view per hub
- FederatedPolicyOverlay: draft → active → retired lifecycle; activated
overlays are immutable (same pattern as Phase 6 contracts); policy
compliance dashboard with decision coverage metrics
- StewardshipRole: named governance roles per hub; point-in-time revocation
pattern; hub and ops-board integration
- ArchiveRecord + is_archived: soft-delete on widgets; lineage inspector
traces full traceability chain (Widget → Events → Annotations → Candidates
→ Requirements → Decisions → Deployments → Signals + ArchiveRecord)
- FederatedGovernanceDashboard: 5-panel autoRefresh org-wide governance view
(ownership coverage, routing activity, policy compliance, stewardship
coverage, archive activity)
Schema: widget_ownerships, hub_routing_rules, federated_policy_overlays,
stewardship_roles, archive_records; ALTER widgets ADD is_archived;
ALTER requirement_candidates ADD routed_to_hub_id
Migration: 1743638400-ihf-phase8-federated-hub-maturity.sql
Tests: Phase 8 integration tests appended to Test/Integration.hs
Docs: docs/phase8-summary.md; SCOPE.md updated to Phase 8 complete
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-29 22:53:01 +00:00
63fb0e8277
docs(spec): IHF specification v0.2 — Phases 9–12
...
Extends the framework beyond Phase 8 with four planned phases:
- Phase 9: External API Surface and Consumer SDKs (OAuth, OpenAPI, TS/Python SDKs, webhooks)
- Phase 10: Hub Registry and Widget Marketplace (pattern library, adoption tracking, governance templates)
- Phase 11: Advanced AI Federation (agent registry, model routing, delegation, collective proposals)
- Phase 12: Platform Memory and Continuous Learning (outcome correlation, adaptive thresholds, knowledge base)
Includes dependency graph, v0.2 risk register additions, and extended success criteria.
Status: draft — for review.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-29 21:58:54 +00:00
c9aa004bf8
chore: register Phase 8 workplan (IHUB-WP-0008)
...
8 tasks: T01 schema (WidgetOwnership, HubRoutingRule, FederatedPolicyOverlay,
StewardshipRole, ArchiveRecord) → T02 delegated ownership UI → T03 inter-hub
routing engine → T04 federated policy overlays → T05 stewardship roles →
T06 archival + lineage inspector → T07 federated governance dashboard → T08 gate.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-29 21:53:33 +00:00
98fb159582
feat(P7): IHF Phase 7 complete — advanced observability and operational integration
...
Test / test (push) Has been cancelled
T01 schema: friction_scores, bottleneck_records, hub_health_snapshots,
cross_hub_propagations + migration 1743552000.
T02 Widget Pain Heatmap: computeFrictionScore (formula documented), RecomputeFriction
action, colour-coded grid view (green/yellow/amber/red).
T03 Workflow Bottleneck Analysis: detectBottlenecks across 4 pipeline stages
(candidate 30d, requirement 60d, decision 30d, observation 14d), idempotent,
severity from age ratio, resolve action.
T04 Hub Health Correlation: computeHubHealth (deduction table documented),
append-only HubHealthSnapshot, health history view, badge on hub Show page.
T05 Cross-Hub Propagation: annotation_cluster + widget_type_friction heuristics,
idempotent detection, acknowledge/resolve lifecycle.
T06 Operational Review Board: 4-panel AutoRefresh global dashboard — health matrix,
top-10 friction, bottleneck stage counts, open propagations.
T07 gate: 5 describe blocks in Test/Integration.hs; SCOPE.md updated Phase 7
complete; docs/phase7-summary.md written.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-29 21:49:22 +00:00
c0b4b984b0
chore: register Phase 7 workplan (IHUB-WP-0007)
...
7 tasks: T01 schema (FrictionScore, BottleneckRecord, HubHealthSnapshot,
CrossHubPropagation) → T02 widget pain heatmap → T03 workflow bottleneck
analysis → T04 hub health correlation → T05 cross-hub propagation →
T06 operational review board → T07 gate.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-29 21:38:57 +00:00
b1d1f5066b
feat(P6): IHF Phase 6 complete — agent-assisted distillation
...
T08 gate: integration tests for all Phase 6 artifacts (EnvelopeEmissionContract,
InteractionReportingContract, WidgetAdapterSpec, adapter assignment, dashboard
coverage logic); SCOPE.md updated to Phase 6 complete; docs/phase6-summary.md
written (contract model, adapter pattern, known limitations, Phase 7 readiness);
workplan IHUB-WP-0006 marked done.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-29 21:27:10 +00:00
ae81dfd484
feat(P6/T07): adapter compatibility validation dashboard (AutoRefresh)
...
AdapterCompatibilityDashboardAction added to HubsController (AutoRefresh).
Five panels: adapter summary KPIs (active/draft/deprecated), widget coverage
bar (adapter-backed vs native IHP, breakdown per spec), active contracts in use,
unassigned widgets, active adapter spec table with widget counts. Linked from
hub Show page and global nav.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-29 21:21:21 +00:00
803376b09a
feat(P6/T06): React adapter specification and reference example
...
ihf-react-adapter.js: useWidgetEnvelope (EnvelopeEmissionContract v1.0 props),
withWidgetEnvelope HOC, useInteractionReporter (POSTs to reporting contract endpoint).
Plain ESM module — no IHP build toolchain required. docs/react-adapter.md with
usage examples. static/ihf-react-test.html: React widget + native IHP widget on
same page demonstrating annotation launcher pickup and reportEvent.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-29 21:19:26 +00:00
04eb4643b0
feat(P6/T05): cross-framework annotation launcher JS widget
...
ihf-annotation-launcher.js: vanilla JS, no framework dependency. Scans DOM for
data-widget-id elements, injects Annotate trigger, opens inline form, POSTs to
/widgets/:widgetId/annotations. Works in React/Vue-rendered pages via
MutationObserver. Feature-gated by IHP_ANNOTATION_LAUNCHER=true env var
(Config.hs AnnotationLauncherEnabled, FrontController layout conditional).
Docs: docs/annotation-launcher.md.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-29 21:17:43 +00:00
32bb003f3b
feat(P6/T04): WidgetAdapterSpecsController, registry, widget adapter integration
...
CRUD for WidgetAdapterSpec (index, show, new/create, edit/update — status+notes only
after creation). Widget new/edit forms expose optional adapter_spec_id select.
Widget show page renders adapter badge with link to spec. Widgets controller
fetches adapter spec for show action.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-29 21:14:57 +00:00
14779f0768
feat(P6/T02-T03): EnvelopeEmissionContract and InteractionReportingContract
...
T02: EnvelopeEmissionContractsController (index+show, read-only); widgetEnvelope
helper validates against contract v1.0 required attributes with inline warning
on missing view-context; adapterStatusBadge helper added to Application.Helper.View.
T03: InteractionReportingContractsController (index+show, read-only); API endpoint
POST /api/v1/interaction-events with bearer token auth against hub.api_key,
contract v1.0 field validation, and 201/422/401 responses.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-29 21:11:03 +00:00
55af11342d
feat(P6/T01): Phase 6 schema — WidgetAdapterSpec, contracts, widgets.adapter_spec_id
...
Adds Phase 6 tables: envelope_emission_contracts, interaction_reporting_contracts,
widget_adapter_specs. Adds adapter_spec_id FK to widgets and api_key to hubs.
Seeds v1.0 contracts in migration. Registers Phase 6 controller types and routes.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-29 21:03:00 +00:00
e00aa126c8
chore: register Phase 6 workplan (IHUB-WP-0006)
...
State Hub workstream and task IDs filled in.
Ready for /ralph-workplan.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-29 20:59:11 +00:00
e3a9fb07e1
chore: register Phase 6 workplan (IHUB-WP-0006)
...
Cross-Framework UI Adaptation Layer — 8 tasks (T01–T08).
State Hub workstream/task IDs pending registration.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-29 20:34:59 +00:00