Skip to content

fix: keep self-learning alive after CLI exit - #159

Merged
EvanProgramming merged 1 commit into
mainfrom
codex/fix-158-detached-learning
Sep 15, 2026
Merged

EvanProgramming merged 1 commit into
mainfrom
codex/fix-158-detached-learning

Conversation

@EvanProgramming

Copy link
Copy Markdown
Owner

Fixes #158

What changed

  • start one detached, per-workspace learning worker from the CLI
  • keep the worker dormant while the CLI heartbeat is fresh, then dispatch bounded learning cycles after Ctrl-C, /quit, or terminal exit
  • persist /self-learning feature switches in the authoritative SQLite store and reload them in the worker
  • package the worker module and cover singleton spawn, stale-heartbeat dispatch, and restart-persistent flags

Validation

  • python3.12 -m unittest tests.test_learning_worker -v
  • focused distribution/install tests
  • make lint
  • git diff --check

The host-only make check import step requires the project dependencies; the dependency-complete CI run is the authoritative full-suite gate.

@EvanProgramming
EvanProgramming merged commit b3ec238 into main Sep 15, 2026
6 checks passed
@EvanProgramming
EvanProgramming deleted the codex/fix-158-detached-learning branch September 15, 2026 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[P1] Self-learning should continue after CLI exits

1 participant