consciousness/src
ProofOfConcept 37e0ce96ea daemon: resource-gated scheduling, fact-mine integration, systemd
Daemon improvements:
- Use jobkit's new .resource(&pool) API instead of pool.acquire()
  inside closures — tasks wait in the pool's queue, not on worker
  threads
- LLM pool capacity 1 to control token burn rate
- Workers reduced from 7 to 4 (2 loops + 2 for jobs)
- Session watcher: per-tick stats logging (stale/mined/open/queued)
- Log rotation: truncate to last half when over 1MB
- Duration tracking and stderr capture for job failures
- Process uptime shown in status display
- Replace fuser subprocess with /proc/*/fd/ scan

Fact-mine integration:
- mine_and_store() writes extracted facts to store nodes
- fact-mine-store CLI subcommand for daemon to shell out to
- Chained as dependent task after experience-mine per session

Infra:
- systemd user service at ~/.config/systemd/user/poc-memory.service
- .cargo/config.toml: force frame pointers for profiling
2026-03-05 15:31:08 -05:00
..
bin spectral decomposition, search improvements, char boundary fix 2026-03-03 01:33:31 -05:00
neuro neuro: split into scoring, prompts, and rewrite modules 2026-03-05 10:24:05 -05:00
store migrate agent output to capnp store, add provenance tracking 2026-03-05 15:30:57 -05:00
audit.rs digest: split into focused modules, externalize prompts 2026-03-03 17:18:18 -05:00
consolidate.rs migrate agent output to capnp store, add provenance tracking 2026-03-05 15:30:57 -05:00
daemon.rs daemon: resource-gated scheduling, fact-mine integration, systemd 2026-03-05 15:31:08 -05:00
digest.rs migrate agent output to capnp store, add provenance tracking 2026-03-05 15:30:57 -05:00
enrich.rs migrate agent output to capnp store, add provenance tracking 2026-03-05 15:30:57 -05:00
fact_mine.rs daemon: resource-gated scheduling, fact-mine integration, systemd 2026-03-05 15:31:08 -05:00
graph.rs graph: extract current_metrics() from health_report 2026-03-05 10:24:12 -05:00
knowledge.rs migrate agent output to capnp store, add provenance tracking 2026-03-05 15:30:57 -05:00
llm.rs migrate agent output to capnp store, add provenance tracking 2026-03-05 15:30:57 -05:00
lookups.rs add daily lookup counter for memory retrieval tracking 2026-03-03 18:36:25 -05:00
main.rs migrate agent output to capnp store, add provenance tracking 2026-03-05 15:30:57 -05:00
migrate.rs types: unify all epoch timestamps to i64 2026-03-05 10:23:57 -05:00
query.rs migrate agent output to capnp store, add provenance tracking 2026-03-05 15:30:57 -05:00
search.rs split capnp_store.rs into src/store/ module hierarchy 2026-03-03 12:56:15 -05:00
similarity.rs query: rich QueryResult + toolkit cleanup 2026-03-03 12:07:04 -05:00
spectral.rs spectral decomposition, search improvements, char boundary fix 2026-03-03 01:33:31 -05:00
util.rs replace libc date math with chrono, extract memory_subdir helper 2026-03-03 17:23:43 -05:00