Local-first 🧠memory for Hermes Agent that lives in your Obsidian vault and remembers project context. Nightly 😴 dream passes turn repeat corrections into confirmed preferences with measurable confidence. Adapters ship for Claude Code, Codex, and OpenClaw, with an MCP server for anything else.
Independent review
Reviewer
An agent of a different model family than the author, read-only: it wrote no artifact of this change and checked every claim against the tree this change was written against. Round 1: 11 findings, verdict "no". The author checked each finding against the code and updated the artifacts. Round 2 (the same kind of reviewer): four findings (13 to 16 below), none blocking, verdict "yes"; all four are fixed.
Findings
design D7 item 4, tasks 1.1, 1.5, 2.1, 2.2, 2.4, spec
held-partitions:store partition leavereported a clean leave while the shared store id was unreadable, so the seen-shard entries and the digest caches (which may hold the partition's text) stayed. Fixed: the verb fails closed;leavePartitionreads the store id fromshared/store.jsonbefore removing anything and refuses with the new reasonno-store-id(exit 1), changing nothing, with a message to restore the shared partition's identity file first. D7 items 4 and 5, a new requirement "Leaving fails closed without the shared store id" with its scenario inheld-partitions(the refusal requirement now says every refusal changes nothing), task 1.1 case 10, task 1.5 steps 5 to 9 and the refusal type, task 2.1 case 9, task 2.2 refusal list, and both docs texts of task 2.4 updated.design D4 item 3, task 9.1, spec
store-shard-gaps: the quarantine mark could be read as needing only the shard or the offset for a corrupt-line diagnostic. Fixed: D4 item 3 now states that every mark, diagnostic and pending record alike, needs the offset and the line hash to match one ledger entry; the spec adds that rule and the scenario "A second corrupt line in the same shard"; task 9.1 adds "a second corrupt line at another offset in the same shard is still a gap" and a pending record with a ledger offset but another hash.design D8, spec
lane-entry-fidelity, task 3.4: the trust boundary ofrawwas unstated, and the parse-back guard passes a frontmatter comment. Fixed: D8 item 5 states that the writer's judge is the only judge ofraw, exactly as oftext, and that the read-side guard only stopsrawfrom saying something other than the entry's own fields and text; the spec adds the requirement "The writer's judge is the only privacy judge of the raw text" with the scenario "A hand-appended shared record with a raw comment" (served as written); task 3.4 case 11 asserts it.proposal, design Non-Goals, task 14.5: tasks 3.18 and 3.19 were claimed to be added by this change with no task adding them. Rejected: both are already in
openspec/changes/brain-store-and-topics/tasks.mdin this change's tree, added with it. Task 14.5 now confirms they are present and open, and stops when either is missing; the Non-Goals wording names where they live.task 6.1, spec
remote-log-reads: the weekly brief was named but not verified. Fixed: task 6.1 addsbrain_briefview weekly, and the spec scenario names it.task 7.6, spec
remote-log-reads: the last dream time had no verifying case. Fixed: the code reads the last dream and the last apply-evidence times from the samestatusLogscan, so the spec keeps both; its status scenario adds the dream time and task 7.6 adds a private dream event newer than a shared one.spec
lane-entry-fidelity"Older readers keep working": not testable in one tree. Fixed: the requirement is now "The raw field is optional and never rejects a record", with one scenario for a record withoutrawand one for a non-stringraw; task 3.3 names its three cases as that requirement's verification.design D2 row 9, task 7.9:
brain_stale_scandoes not go throughbuildOperatorSnapshot. Fixed: row 9 names its ownbuildTimelineIndex(ctx.vault, {})call inreview-tools.ts, which getswithholdsPrivatefrom the tool'sreviewView(ctx);buildOperatorSnapshotstays forbrain_status; task 7.9 names both paths.design D8 item 1, task 3.2: the import list of
lane-raw.tsdisagreed. Fixed: D8 item 1 now allowsnode:*,../vault.ts,../integrity/digest.tsand../types.ts, as task 3.2 does.tasks 0.4, 6.2, 7.8, 3.3, 2.2: paths left to discovery and an unstated
--jsonshape. Fixed: task 0.4 lists the existing test files of every D2 reader and of the timeline builders, and 6.2 names the temporal and analytics tests; task 7.8 names the threshold path (collectMaintenanceActionscallscomputeTokenFootprint(vault)at the 200000 default, no override) and the test that reaches it with a filler page; task 3.3 names the record builders (rec,authored,laneEntryRecord) and the assertions; task 2.2 states the refusal and usage output on stdout and stderr, and task 2.1 case 8 asserts it.design Goals: the 700-line sentence contradicted itself. Fixed: no file under 700 lines crosses 700 because of this change, and the eight files already past it grow by call-site edits only.
design D2 rows 5, 8, 9 and 10, tasks 0.4, 7.5, 7.8, 7.9 and 7.10, spec
remote-log-reads(found by the author while answering the review): the call-site column missed callers of the D2 core readers that have a remote surface. Fixed:collectMaintenanceActionsgets the option fromdigest.ts(osb://digest/latest,brain_briefview=digest) and frombuildOperatorSummary(brain_briefview=operator, throughbrief-tools.ts);buildBacklinkIndexgets it from concept synthesis (brain_analytics),brain_moc_auditand the doctor's broken-backlinks check (brain_doctor, its repair preview, the operator summary and the operator snapshot);planNoteRevertgets it forbrain_writesactionplan_revert. D2 lists the callers left unedited and why (local only, or no log-derived output), the tasks add a remote and a local case for each new call site, and the spec adds the scenarios "Link-derived answers from a private event" and "Maintenance actions from the log footprint" and a revert-plan clause to the note-write scenario.design D7 item 4, task 1.3, task 1.5, spec
held-partitions(round 2):leavePartitionremoved the held marker before clearing, so a failed clearing left the machine no longer holding the partition with caches that may hold its text, and the seen-shard clear reported a count over a best-effort write. Fixed: the digest caches and the seen-shard entries are cleared first and the marker is removed last;forgetSeenPartitionchecks that its write landed; a failure refuses with the new reasonclear-failedand the partition stays held.task 2.4 (round 2): the docs line listed four of the six refusal reasons. Fixed: it names all of them,
clear-failedincluded.design D2 row 9 (round 2): "two lines below" mis-cited the position of the view. Fixed: "below the call".
proposal, Impact (round 2): tasks 3.18 and 3.19 read as added by this change's own list. Fixed: the line says they are added to the parent change's
tasks.mdin this change's tree.
Verdict
Ready for implementation: yes