consciousness/src
Kent Overstreet 290505fc51 store: fsck improvements, fix index rebuild and batch offset bug
- Add fsck_full(): compares current index with rebuilt, reports zombies/missing
- Add repair_index(): rebuilds index from capnp log
- Index rebuild now uses timestamp (not version) for "latest" detection
  Fixes tombstones shadowing restored nodes when version numbers reset
- Add read_node_at_offset_for_key() to handle batch writes correctly
  When multiple nodes share an offset, filter by key to get the right one
- Add find_latest_by_key() and find_last_live_version() for restore support

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
2026-04-15 01:40:24 -04:00
..
agent thalamus: add thinking mode toggles (native + tool) 2026-04-14 18:25:00 -04:00
bin Convert store and CLI to anyhow::Result for cleaner error handling 2026-04-13 18:05:04 -04:00
cli store: protected nodes, explicit provenance in mutations 2026-04-15 01:40:18 -04:00
hippocampus store: fsck improvements, fix index rebuild and batch offset bug 2026-04-15 01:40:24 -04:00
learn rust edition 2024 2026-04-05 06:20:16 -04:00
mind unconscious: event-driven loop via tokio::select! 2026-04-13 22:38:01 -04:00
subconscious provenance: new_relation takes explicit provenance parameter 2026-04-15 01:39:58 -04:00
thalamus kill MIN_NUDGE_INTERVAL 2026-04-11 16:45:33 -04:00
user thalamus: add thinking mode toggles (native + tool) 2026-04-14 18:25:00 -04:00
config.rs store: protected nodes, explicit provenance in mutations 2026-04-15 01:40:18 -04:00
lib.rs mcp_server: Unix socket server for external tool access 2026-04-12 21:45:10 -04:00
locks.rs locks: add process-wide lock hold time tracking 2026-04-12 20:27:42 -04:00
main.rs store: wire up redb updates on mutations 2026-04-13 19:03:09 -04:00
mcp_server.rs memory.rs: clean up store access and tool dispatch 2026-04-13 14:27:38 -04:00
session.rs delete claude code integration 2026-04-09 19:58:07 -04:00
util.rs delete 20 dead public functions across 12 files 2026-04-02 16:21:01 -04:00