Skip to content

docs(memory): document builtin recall + close spec/generated-files gaps#507

Merged
magicpro97 merged 1 commit into
mainfrom
docs/memory-builtin
Jul 2, 2026
Merged

docs(memory): document builtin recall + close spec/generated-files gaps#507
magicpro97 merged 1 commit into
mainfrom
docs/memory-builtin

Conversation

@magicpro97

Copy link
Copy Markdown
Owner

Summary

  • .gitignore: add .vibeflow/knowledge/memory.db*
  • COMMAND_REFERENCE.md: update vf config memory modes (builtin|claude-mem|off|status), add memory.db generated file
  • USER_GUIDE.md: add builtin/claude-mem opt-in instructions
  • MASTER_SPEC.md: add memory recall design intent section
  • GENERATED_FILES.md: add memory.db + WORKFLOW_POLICY claude-mem guide entries
  • landing/wiki/: sync all updated docs

Closes #491

…_GUIDE, MASTER_SPEC, GENERATED_FILES; add memory.db to gitignore

Closes #491

Signed-off-by: magicpro97 <magicpro97@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 2, 2026 11:14
@magicpro97 magicpro97 merged commit 72e29fb into main Jul 2, 2026
3 checks passed
@magicpro97 magicpro97 deleted the docs/memory-builtin branch July 2, 2026 11:17

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates VibeFlow’s documentation to describe the new memory recall modes (builtin vs claude-mem), fills gaps in the master spec and generated-files inventory, and syncs those updates into the landing wiki copies. It also adds the builtin SQLite index file to .gitignore so local recall artifacts aren’t committed.

Changes:

  • Document vf config memory modes (builtin | claude-mem | off | status) across user guide and command reference.
  • Add a “Memory recall” design-intent section to the master spec and list the memory DB / workflow policy as runtime-generated artifacts.
  • Gitignore .vibeflow/knowledge/memory.db* (including WAL/SHM siblings).

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
.gitignore Ignores builtin memory SQLite index artifacts under .vibeflow/knowledge/.
docs/USER_GUIDE.md Adds memory modes table + enable/disable examples.
docs/COMMAND_REFERENCE.md Updates vf config memory reference and mode behavior table.
docs/MASTER_SPEC.md Adds a “Memory recall” section describing providers + injection points.
docs/GENERATED_FILES.md Lists src/memory/ and adds runtime-generated file entries.
landing/src/content/wiki/USER_GUIDE.md Wiki mirror of the user guide memory updates.
landing/src/content/wiki/COMMAND_REFERENCE.md Wiki mirror of the command reference memory updates.
landing/src/content/wiki/MASTER_SPEC.md Wiki mirror of the master spec memory section.
landing/src/content/wiki/GENERATED_FILES.md Wiki mirror of the generated-files updates.

Comment thread docs/USER_GUIDE.md
Comment on lines +129 to +131
| `off` / `false` | No recall — nothing injected into prompts (default) |
| `builtin` | Zero-config BM25/FTS5 recall from `.vibeflow/knowledge/decisions.md` via `bun:sqlite`; lazy-indexed on mtime; generates `.vibeflow/knowledge/memory.db` (gitignored) |
| `claude-mem` | Shells `claude-mem search`; requires `claude-mem` installed separately |
Comment thread docs/USER_GUIDE.md
Enable claude-mem (external):

```bash
vf config memory claude-mem # requires: npm i -g claude-mem (or vf init --memory)
Comment on lines +129 to +131
| `off` / `false` | No recall — nothing injected into prompts (default) |
| `builtin` | Zero-config BM25/FTS5 recall from `.vibeflow/knowledge/decisions.md` via `bun:sqlite`; lazy-indexed on mtime; generates `.vibeflow/knowledge/memory.db` (gitignored) |
| `claude-mem` | Shells `claude-mem search`; requires `claude-mem` installed separately |
Enable claude-mem (external):

```bash
vf config memory claude-mem # requires: npm i -g claude-mem (or vf init --memory)
Comment thread docs/COMMAND_REFERENCE.md
Comment on lines +130 to +131
vf config memory builtin # enable built-in BM25/FTS5 recall (zero deps)
vf config memory claude-mem # enable claude-mem recall (requires claude-mem installed)
Comment thread docs/COMMAND_REFERENCE.md
Comment on lines +140 to +142
| `false` / `off` | No recall injected |
| `builtin` | bun:sqlite FTS5 index of `.vibeflow/knowledge/decisions.md`; generates `.vibeflow/knowledge/memory.db` (gitignored) |
| `claude-mem` | Shells `claude-mem search`; requires separate `claude-mem` install |
Comment on lines +130 to +131
vf config memory builtin # enable built-in BM25/FTS5 recall (zero deps)
vf config memory claude-mem # enable claude-mem recall (requires claude-mem installed)
Comment on lines +140 to +142
| `false` / `off` | No recall injected |
| `builtin` | bun:sqlite FTS5 index of `.vibeflow/knowledge/decisions.md`; generates `.vibeflow/knowledge/memory.db` (gitignored) |
| `claude-mem` | Shells `claude-mem search`; requires separate `claude-mem` install |
Comment thread docs/MASTER_SPEC.md

VibeFlow ships a built-in recall layer (`MemoryProvider` seam, two providers):

- **builtin** (default opt-in): bun:sqlite FTS5 over `.vibeflow/knowledge/decisions.md`; zero deps; lazy-indexed on mtime.

VibeFlow ships a built-in recall layer (`MemoryProvider` seam, two providers):

- **builtin** (default opt-in): bun:sqlite FTS5 over `.vibeflow/knowledge/decisions.md`; zero deps; lazy-indexed on mtime.
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.

docs(memory): document builtin recall + close spec/generated-files gaps

2 participants