Commit graph

5 commits

Author SHA1 Message Date
coffeegoddd☕️✨
7e0d09cbf8 /{internal,cmd}: fix CommitPending 2026-05-01 11:15:02 -07:00
Ryan R. Fox
a58149d368
fix: auto-commit config table writes in remember, forget, and config commands (bd-g8p) (#3052)
bd remember and bd forget called store.SetConfig/DeleteConfig without
store.CommitPending, so memories were silently lost on push/clone
round-trips. Apply the same CommitPending pattern used by all other
write commands (40+ call sites).

Also fixes bd config set, bd config unset, and bd config set-many
which had the same missing auto-commit.
2026-04-06 20:48:19 -07:00
matt wilkie
6c04a6f263 docs: mention --key update behavior in remember help and prime output (GH#2886)
Amp-Thread-ID: https://ampcode.com/threads/T-019d4484-6dd9-753d-ac34-ce51db572a4f
Co-authored-by: Amp <amp@ampcode.com>
2026-03-31 08:44:08 -07:00
Harry
a82d500129 cleanup: remove remaining Gas Town terminology from help text, docs, and comments
Replace Gas Town-specific terminology with generic equivalents across
user-facing help text, documentation, code comments, MCP integration,
and scripts.

Terminology replacements:
- polecat → agent/worker
- witness → observer
- deacon → patrol system
- refinery → processor
- mayor → coordinator
- crew → assistant
- gt (command) → bd
- Gas Town role lists → generic role descriptions

Changes by category:
- User-facing help text (7 files): create.go, state.go, mol_bond.go,
  gate.go, mol_ready_gated.go, memory.go, swarm.go
- Documentation (5 files): dolt-concurrency.md (reframed for standalone
  beads), MOLECULES.md, LABELS.md, CLI_REFERENCE.md,
  CONTRIBUTOR_NAMESPACE_ISOLATION.md
- Code comments (5 files): dolt.go, doctor/artifacts.go,
  fix/artifacts.go, store.go, queries.go, formula/types.go
- MCP integration (2 files): tools.py comments, test docstring
- Scripts (1 file): release.sh

Backwards compatibility: Doctor artifact detection patterns for
polecats/crew/refinery directories are retained with updated comments
noting they exist for orchestrator backwards compatibility. MCP redirect
test paths also retained for the same reason.

Fixes #2758

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-22 13:27:43 -07:00
mayor
ed8dc56743 feat: add bd remember/memories/forget/recall for persistent agent memory
Replaces Claude Code filesystem-based auto-memory (MEMORY.md) with
bead-backed semantic memory using the existing k/v store.

New commands:
- bd remember insight [--key slug] - store a memory (auto-generates key)
- bd memories [search] - list/search memories by keyword
- bd recall key - retrieve full content of a memory
- bd forget key - remove a memory

Storage: k/v store with memory. key prefix (config table). No new schema.

Prime-time injection: bd prime now appends memories to its output, so
agents receive their memories automatically at session start. Supports
both MCP (compact) and CLI (full) formats.

Fixes: gt-tit8

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 21:36:43 -08:00