consciousness/poc-memory/src
Kent Overstreet 3a45b6144e query: generalized composite sort for tunable agent priorities
Add sort:field*weight+field*weight+... syntax for weighted multi-field
sorting. Each field computes a 0-1 score, multiplied by weight, summed.

Available score fields:
  isolation   — community isolation ratio (1.0 = fully isolated)
  degree      — graph degree (normalized to max)
  weight      — node weight
  content-len — content size (normalized to max)
  priority    — consolidation priority score
  recency(X)  — time since agent X last visited (sigmoid decay)

Example: sort:isolation*0.7+recency(linker)*0.3
  Linker agents prioritize isolated communities that haven't been
  visited recently.

Scores are pre-computed per sort (CompositeCache) to avoid redundant
graph traversals inside the sort comparator.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 13:05:54 -04:00
..
agents agents: in-flight node exclusion prevents concurrent collisions 2026-03-20 12:45:24 -04:00
bin Add find-deleted diagnostic tool 2026-03-18 22:57:12 -04:00
cli graph: community isolation scoring + sort:isolation query 2026-03-20 12:55:14 -04:00
neuro daemon: add distill agent to consolidation plan 2026-03-16 17:10:09 -04:00
query query: generalized composite sort for tunable agent priorities 2026-03-20 13:05:54 -04:00
store memory: fix timestamp and provenance on agent writes 2026-03-20 12:16:45 -04:00
config.rs Native memory tools + MCP server + distill agent improvements 2026-03-19 22:58:54 -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 graph: community isolation scoring + sort:isolation query 2026-03-20 12:55:14 -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 Logging overhaul: per-task log files, daemon.log drill-down 2026-03-19 11:17:07 -04:00
util.rs util: add jsonl_load/jsonl_append helpers, convert graph.rs 2026-03-10 15:22:03 -04:00