You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Neural organs wired but UNFED: no caller for Coordinator.force_cycle / Persistence.load_all #274
Root cause of the token-cost/scattergun symptom. Hypatia.LearningScheduler (supervised, 5-min poll) ingests outcomes but never calls Hypatia.Neural.Coordinator.force_cycle/0; Coordinator.init/1 never calls Hypatia.Neural.Persistence.load_all/0 (zero callers). Result: ESN/RBF/MoE run on init-defaults forever; pattern_analyzer defensively ignores untrained output. Training data is ALREADY sufficient (outcomes: recipe-shell-quote-vars 166-pt series ≥60; patterns/registry.json 9 ≥5) — only the trigger is missing. Fix: LearningScheduler→force_cycle after ingest; Coordinator.init→load_all+hydrate (RBF/MoE/trust restore; ESN/LSM persistence is summary-only — lossless ESN persistence tracked as follow-up). Parent #273.
Closure recommendation (no self-close per ISSUE-CLOSURE policy)
The two missing call-sites named in this issue are wired on main:
lib/learning_scheduler.ex:125 — run_learning_cycle calls trigger_neural_cycle(), which casts Hypatia.Neural.Coordinator.force_cycle/0 after each ingest tick (5-min poll). Guarded by Process.whereis + rescue → non-fatal if the neural layer is down.
lib/neural/coordinator.ex:90 — init/1 calls safe_load_persisted() → Hypatia.Neural.Persistence.load_all/0 and hydrates the RBF network (hydrate_rbf/2) from the persisted store. Cold-start path retained when trained != true.
Shipped in PR #275 (f5257ef, merged 2026-05-18T09:41:36Z). Net effect:
ESN trains on accumulated confidence trajectories every cycle.
RBF trains on the pattern registry every cycle, and survives restart.
pattern_analyzer is no longer reading init-defaults.
Follow-ups intentionally not captured here (separate issues if pursued):
Coordinator does not yet hydrate MoE / trust-graph on restart — both are designed to retrain per cycle, but a warm-cache path would shorten cold-start window.
Recommend close. Parent epic #273 remains open while gaps (2)–(4) are tracked separately.
PR Post-#313: M17 + M18 + M9 longitudinal + container hardening + 5 design memos #314 (commit cc50422) — closed the last gap: added state/0 + restore/1 to GNN / VAE / Sequence GenServers and wired them into Persistence.save_all + Coordinator.init. All 8 networks now warm-restart-capable (with the LSM / ESN summary-only caveat).
Boot log now reports which networks restored:
Neural Coordinator initialised: blackboard architecture, 8 networks, 6 phases
(RBF restored from persisted state) (MoE restored: 3 experts with training history)
(trust scores restored for 87 nodes) (gnn/vae/sequence restored)
Operational guidance: with the M9 work in PR #314 the rebalance strategy is now configurable (:hypatia, :neural_rebalance_strategy = :a | :b | :c | :rotate). The longitudinal effectiveness study task (mix hypatia.strategy_effectiveness) lands the answer to whether :rotate outperforms fixed Strategy A once a few weeks of operational data accumulate.
Activity
fix(neural): wire LearningScheduler→force_cycle + RBF restore at init (…
hyperpolymath commentedon May 20, 2026
Closure recommendation (no self-close per ISSUE-CLOSURE policy)
The two missing call-sites named in this issue are wired on
main:lib/learning_scheduler.ex:125—run_learning_cyclecallstrigger_neural_cycle(), which castsHypatia.Neural.Coordinator.force_cycle/0after each ingest tick (5-min poll). Guarded byProcess.whereis+ rescue → non-fatal if the neural layer is down.lib/neural/coordinator.ex:90—init/1callssafe_load_persisted()→Hypatia.Neural.Persistence.load_all/0and hydrates the RBF network (hydrate_rbf/2) from the persisted store. Cold-start path retained whentrained != true.Shipped in PR #275 (
f5257ef, merged 2026-05-18T09:41:36Z). Net effect:pattern_analyzeris no longer reading init-defaults.Follow-ups intentionally not captured here (separate issues if pursued):
data/verisim/neural-states/esn-summary.json).Recommend close. Parent epic #273 remains open while gaps (2)–(4) are tracked separately.
docs(arch): add as-built MOF M2 metamodel + TOGAF overview (#273 gap …
chore: purge legacy `cicd-hyper-a` name (#292) (#293)
chore(arch): session record (#273 four-gap landing) + README boundary…
chore(arch): session record (#273 four-gap landing) + README boundary…
hyperpolymath commentedon May 25, 2026
Status update — 2026-05-25
This issue is resolved. Closing summary:
The neural organs UNFED root cause was addressed across several PRs:
PR fix(neural): wire LearningScheduler→force_cycle + RBF restore at init #275 (commit
f5257ef) — wiredHypatia.LearningSchedulerto callHypatia.Neural.Coordinator.force_cycle/0after outcomes ingest; addedPersistence.load_all/0call toCoordinator.init/1with RBF hydrate.PR Fix recipe matching for scorecard and workflow patterns #309 (commit
2d5cb2e) — added hydration for MoE + trust_graph on top of the RBF restore. LSM and ESN remain summary-only by reservoir-state design.PR Post-#313: M17 + M18 + M9 longitudinal + container hardening + 5 design memos #314 (commit
cc50422) — closed the last gap: addedstate/0+restore/1to GNN / VAE / Sequence GenServers and wired them intoPersistence.save_all+Coordinator.init. All 8 networks now warm-restart-capable (with the LSM / ESN summary-only caveat).Boot log now reports which networks restored:
Operational guidance: with the M9 work in PR #314 the rebalance strategy is now configurable (
:hypatia, :neural_rebalance_strategy = :a | :b | :c | :rotate). The longitudinal effectiveness study task (mix hypatia.strategy_effectiveness) lands the answer to whether:rotateoutperforms fixed Strategy A once a few weeks of operational data accumulate.Closing as completed.
Generated by Claude Code
docs: comprehensive session summary + STATE bump (97 → 98)