consciousness/poc-memory/src
Kent Overstreet 3fd485a2e9 cli: route agent run through daemon RPC when available
Previously 'poc-memory agent run <agent> --count N' always ran locally,
loading the full store and executing synchronously. This was slow and
bypassed the daemon's concurrency control and persistent task queue.

Now the CLI checks for a running daemon first and queues via RPC
(returning instantly) unless --local, --debug, or --dry-run is set.
Falls back to local execution if the daemon isn't running.

This also avoids the expensive Store::load() on the fast path.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-21 15:04:47 -04:00
..
agents agent: add count/chunk_size/chunk_overlap to agent header 2026-03-21 12:04:08 -04:00
bin Add find-deleted diagnostic tool 2026-03-18 22:57:12 -04:00
cli cli: route agent run through daemon RPC when available 2026-03-21 15:04:47 -04:00
neuro cleanup: fix all build warnings, delete dead DMN context code 2026-03-20 14:20:34 -04:00
query render: deduplicate footer links against inline references 2026-03-20 13:37:29 -04:00
store timestamp sanitization, CoT logging, reasoning field fix, persistent queue 2026-03-21 11:33:36 -04:00
config.rs config: derive Deserialize on Config, eliminate manual field extraction 2026-03-20 14:10:57 -04:00
counters.rs counters: add redb-backed persistent counters (skeleton) 2026-03-10 23:59:39 -04:00
cursor.rs Clean up unused imports, dead code, and compiler warnings 2026-03-17 00:47:52 -04:00
graph.rs graph: community isolation scoring + sort:isolation query 2026-03-20 12:55:14 -04:00
lib.rs Remove dead action pipeline: parsing, depth tracking, knowledge loop, fact miner 2026-03-17 00:37:12 -04:00
lookups.rs split into workspace: poc-memory and poc-daemon subcrates 2026-03-08 20:43:59 -04:00
main.rs observation agent rewrite, edit command, daemon fixes 2026-03-20 23:51:06 -04:00
migrate.rs provenance: convert from enum to freeform string 2026-03-11 01:19:52 -04:00
similarity.rs Agent identity, parallel scheduling, memory-search fixes, stemmer optimization 2026-03-15 12:49:10 -04:00
spectral.rs Upgrade workspace to edition 2024, add --local flag to agent run 2026-03-18 22:44:36 -04:00
transcript.rs Agent identity, parallel scheduling, memory-search fixes, stemmer optimization 2026-03-15 12:49:10 -04:00
tui.rs consolidation: data-driven agent plan, drop transfer/connector/replay 2026-03-20 14:02:28 -04:00
util.rs util: add jsonl_load/jsonl_append helpers, convert graph.rs 2026-03-10 15:22:03 -04:00