81 Commits

Author SHA1 Message Date
a280fb12cd chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-06-15:
  - ADHOC-2026-06-15-T01: progress → wait
2026-06-15 23:36:58 +02:00
752c87986c chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-06-15:
  - ADHOC-2026-06-15-T01: wait → progress
2026-06-15 23:34:21 +02:00
f8fde35e3e Implement ops-hub evidence intake contracts 2026-06-15 22:48:31 +02:00
210cd3fe61 Add ops-hub evidence intake workplan 2026-06-15 22:35:19 +02:00
24a8f34754 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-06-15:
  - ADHOC-2026-06-15-T01: wait → progress
2026-06-15 16:36:39 +02:00
5101eb5c73 Fix API count decoding
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
2026-06-15 15:49:03 +02:00
5c13de1b8f Make hub discovery public
All checks were successful
Build and Deploy / build-push-deploy (push) Successful in 3m6s
2026-06-14 22:48:53 +02:00
2e450e3a2d Record ops-hub bootstrap gate verification 2026-06-14 21:57:45 +02:00
1ba64dd00f docs(deploy): record production gate recovery 2026-06-14 21:47:03 +02:00
e4e13ff1fd docs(deploy): record inter-hub DNS gate finding 2026-06-14 20:42:12 +02:00
645590268e ci: harden inter-hub production smoke gate
Some checks failed
Build and Deploy / build-push-deploy (push) Failing after 4m4s
2026-06-14 19:59:00 +02:00
d93185269b chore(deploy): add encrypted runtime secret source [skip ci] 2026-06-14 17:58:11 +02:00
333fbcc237 chore(deploy): add railiance handoff guardrails [skip ci] 2026-06-14 16:47:24 +02:00
c685848af5 docs(workplan): record inter-hub deployment recovery [skip ci] 2026-06-14 15:49:30 +02:00
84ee797e4f chore: mark inter-hub deploy blocked on runner substrate
Some checks failed
Build and Deploy / build-push-deploy (push) Failing after 7m7s
2026-06-07 19:41:25 +02:00
7cc3173f59 chore: sync IHUB-WP-0020 state hub ids
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
2026-06-07 19:15:38 +02:00
fa96fb859a chore: improve local setup and renumber dashboard workplan
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
2026-06-07 19:03:43 +02:00
26708ba799 chore: close IHUB-WP-0010 status
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
2026-06-07 17:42:26 +02:00
ae9e4971d9 chore: record railiance deployment review
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
2026-06-05 22:36:36 +02:00
a3d980c8c6 chore: sync railiance deployment workplan tasks
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Adds explicit task blocks and State Hub task IDs for IHUB-WP-0018 so WSJF triage no longer treats the active deployment workplan as empty or close-out-ready.
2026-06-04 08:26:19 +02:00
4381768045 test: add ops hub bootstrap smoke script
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
2026-05-19 02:49:14 +02:00
45dbe81d57 docs: align v2 bootstrap api contract 2026-05-19 02:40:21 +02:00
5d5e810886 feat: add vsm hub metadata
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
2026-05-19 02:16:39 +02:00
75ad691dd6 feat: add v2 api consumer bootstrap endpoints 2026-05-19 01:56:48 +02:00
50735bb7cf feat: add v2 manifest bootstrap endpoints
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
2026-05-16 09:06:15 +02:00
4ebc04e1f4 feat: add v2 hub and widget create endpoints
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
2026-05-16 08:34:20 +02:00
0a4646bf44 fix: honor v2 interaction event contract 2026-05-16 04:32:58 +02:00
301a7b96d0 docs: add vsm hub bootstrap hardening plan
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
2026-05-16 04:06:39 +02:00
00df328214 docs(wp): IHUB-WP-0018 personal dashboard framework
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Four-task research-first workplan: T01 surveys Grafana/Kibana/Retool/
Linear/Notion/Observable/Metabase/Streamlit for transplantable patterns;
T02 produces a PRS (4 personas, MoSCoW, perf NFRs, IHF governance fit);
T03 produces an FDD (schema, 8-panel catalogue, 12-col grid layout,
server-rendered pipeline, edit flow, default seeding); T04 breaks the
FDD into IHUB-WP-0019 implementation tasks.

Design constraints: server-first, type-safe PanelConfig ADT, IHF widget
envelope on every panel, Tailwind + CSS Grid, minimal JS.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-03 01:22:18 +02:00
0edf05324e feat(WP-0018): workplan for Railiance01 deployment with full ops scaffold
Some checks failed
Test / test (push) Has been cancelled
OCI image build (Nix dockerTools), Helm chart in railiance-apps,
SOPS/age secrets, PostgreSQL HA on railiance-platform, Traefik ingress,
Gitea Actions CI/CD. Includes dependency gate on K3s cluster readiness.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 15:50:24 +02:00
7c85b1ed5a chore(workplans): close WP-0014, WP-0015, WP-0017 as done
Some checks failed
Test / test (push) Has been cancelled
All three active inter-hub workplans are complete:
- WP-0017: all E1–E5 done (clean build, 615 modules)
- WP-0014: A1–A5 done (smoke test passed on haskelseed 2026-04-29)
- WP-0015: B1–B7 done (static pages live, root route fixed)

Release: v0.2.0-alpha.1

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 13:50:46 +02:00
70c3ddbfbb Added nontracked workplans
Some checks failed
Test / test (push) Has been cancelled
2026-04-25 17:03:52 +02:00
34be62de04 feat(WP-0016/C2-C3): close build infrastructure workplan
C2: document actual GHC cache behavior (-fbyte-code, no .o files, .hi
caching via -fwrite-interface) and correct CLAUDE.md cache claim.
C3: create IHUB-WP-0017 error-fix loop workplan (ralph-compatible,
5 tasks E1-E5, runs inside devenv shell).
WP-0016 status → done.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 23:36:06 +00:00
563983fa7f feat(WP-0016/C5): compilation layers docs and -fwrite-interface flag
- CLAUDE.md: add "Compilation Layers" section (C5) — layer map,
  compile-check tool usage, cache location, error-fix discipline
- .ghci: add -fwrite-interface so interface files are cached even
  on partial-success builds (completes C4 spec)
- WP-0016: mark C5 done; annotate C4 ✓ note in workplan

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 20:03:54 +00:00
a6baab7080 feat(WP-0016): build infrastructure — ghcid standalone script and error-fix loop workplan
- scripts/compile-check: runs ghcid in isolation (no postgres/tailwind) for fast
  incremental compilation feedback; writes errors to /tmp/ihub-compile-errors.txt
- .ghci: add -fkeep-going so GHC reports all module errors in one pass
- WP-0016 workplan: documents module dependency layers, error-fix SOP,
  and autonomous ralph-loop approach for iterative error fixing

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 09:46:56 +00:00
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
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]
Some checks failed
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
Some checks failed
Test / test (push) Has been cancelled
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 22:59:56 +00:00
133dae3d23 feat(WP-0012): IHF Phase 11 — Advanced AI Federation
Some checks failed
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
Some checks failed
Test / test (push) Has been cancelled
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 20:32:04 +00:00