consciousness/poc-memory/src
ProofOfConcept 420a777eba extract jobkit-daemon library from poc-memory daemon
Create jobkit-daemon crate with generic daemon infrastructure:
- event_log: JSONL append with size-based rotation
- socket: Unix domain socket RPC client and server with signal handling
- status: JSON status file read/write

Migrate daemon.rs to use the library:
- Worker pool setup via Daemon::new()
- Socket loop + signal handling via Daemon::run()
- RPC handlers as registered closures
- Logging, status writing, send_rpc all delegate to library

Migrate tui.rs to use socket::send_rpc() instead of inline UnixStream.

daemon.rs: 1952 → 1806 lines (-146), old status_socket_loop removed.
tui.rs: socket boilerplate removed.

Co-Authored-By: Kent Overstreet <kent.overstreet@linux.dev>
2026-03-14 02:40:30 -04:00
..
agents extract jobkit-daemon library from poc-memory daemon 2026-03-14 02:40:30 -04:00
bin memory-search: add --query mode and prompt key boost 2026-03-13 15:26:35 -04:00
neuro scoring: 10x agent counts, linker-heavy allocation, interleaved ordering 2026-03-14 02:40:11 -04:00
store graph: add implicit temporal edges between episodic nodes 2026-03-14 02:40:00 -04:00
config.rs consolidate hardcoded paths into config, refactor apply_agent 2026-03-08 21:16:52 -04:00
counters.rs counters: add redb-backed persistent counters (skeleton) 2026-03-10 23:59:39 -04:00
cursor.rs cursor: spatial memory navigation 2026-03-13 22:31:23 -04:00
graph.rs graph: add implicit temporal edges between episodic nodes 2026-03-14 02:40:00 -04:00
lib.rs cursor: spatial memory navigation 2026-03-13 22:31:23 -04:00
lookups.rs split into workspace: poc-memory and poc-daemon subcrates 2026-03-08 20:43:59 -04:00
main.rs cursor: spatial memory navigation 2026-03-13 22:31:23 -04:00
migrate.rs provenance: convert from enum to freeform string 2026-03-11 01:19:52 -04:00
query.rs connectivity: suggest link-add commands for islands 2026-03-11 17:09:19 -04:00
search.rs provenance: convert from enum to freeform string 2026-03-11 01:19:52 -04:00
similarity.rs split into workspace: poc-memory and poc-daemon subcrates 2026-03-08 20:43:59 -04:00
spectral.rs memory-search: add --query mode and prompt key boost 2026-03-13 15:26:35 -04:00
transcript.rs transcript: extract JSONL backward scanner and compaction detection into library 2026-03-09 17:06:32 -04:00
tui.rs extract jobkit-daemon library from poc-memory daemon 2026-03-14 02:40:30 -04:00
util.rs util: add jsonl_load/jsonl_append helpers, convert graph.rs 2026-03-10 15:22:03 -04:00