Skip to content

mem-add must link the file; mem-verify reachable means linked - #31

Merged
tannevaled merged 1 commit into
mainfrom
memadd-link-27
Nov 14, 2026
Merged

tannevaled merged 1 commit into
mainfrom
memadd-link-27

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

Closes #27. Refs #26 (stays open).

  • mem-add: the index line must link <name>.md (refused with exit 2 before any write); x.md accepted for the name; one-arg form builds the line from frontmatter name/description, refusing naming what is missing.
  • mem-verify: ok requires the line present AND linking a memory reached by the orphans walk; linkless legacy records are reported MISSING, never re-inserted.
  • Consistent with the open report: hub-folded memories stay hubbed, not gone (reachability is still transitive).
  • New tests failed on main first (6 of 7).

🤖 Generated with Claude Code

…able means linked

Closes #27. mem-add took (name, line), recorded the line even when it linked
nothing, and mem-verify answered ok on text alone.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@tannevaled
tannevaled merged commit d048e86 into main Nov 14, 2026
2 checks passed
@tannevaled
tannevaled deleted the memadd-link-27 branch November 14, 2026 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mem-add said 'indexed' and mem-verify said 'reachable', while orphans found the memory unreachable

1 participant