-
Notifications
You must be signed in to change notification settings - Fork 0
Semantic Memory
McAmner edited this page Jun 2, 2026
·
1 revision
mq-agent v0.5.0 adds semantic repository memory.
The goal is to let mq-agent use persistent repo knowledge when auditing, checking releases and planning improvements.
repo files
↓
repo-signal semantic memory
↓
mq-agent memory status / build / refresh
↓
audit / release-check / score with repo context
mq-agent memory status # check vector store and repo-signal availability
mq-agent memory doctor # diagnose environment with actionable fixes
mq-agent memory build . # dry-run semantic upload (safe default)
mq-agent memory refresh . --approve # upload semantic memory (requires approval)
mq-agent memory status --json # machine-readable output
mq-agent memory doctor --json # machine-readable diagnostics$ mq-agent memory status
╭────────────────────────────── Semantic Memory ───────────────────────────────╮
│ status: missing-vector-store │
│ vector store: (not set — export OPENAI_VECTOR_STORE_ID) │
│ repo-signal: available │
│ repo: /path/to/mq-agent │
╰──────────────────────────────────────────────────────────────────────────────╯
$ mq-agent memory doctor
╭──────────────────────── Memory Doctor ───────────────────────────╮
│ ✗ OPENAI_VECTOR_STORE_ID: (not set) │
│ fix: export OPENAI_VECTOR_STORE_ID=vs_... │
│ ✓ repo-signal: available │
│ ✓ repo path: /path/to/mq-agent │
╰──────────────────────────────────────────────────────────────────╯
$ mq-agent memory build .
Would run: repo-signal semantic-upload
Add --no-dry-run to execute, or use memory refresh --approve.
$ OPENAI_VECTOR_STORE_ID=vs_abc mq-agent memory status
╭────────────────────────────── Semantic Memory ───────────────────────────────╮
│ status: ready │
│ vector store: vs_abc │
│ repo-signal: available │
│ repo: /path/to/mq-agent │
╰──────────────────────────────────────────────────────────────────────────────╯
Semantic memory requires a vector store ID:
export OPENAI_VECTOR_STORE_ID="vs_..."If the variable is not set, mq-agent memory status reports the state clearly
and no upload is attempted.
mq-agent never uploads memory silently.
| Command | Behavior |
|---|---|
memory status |
read-only |
memory build . |
dry-run by default |
memory build . --no-dry-run |
uploads after prompt |
memory refresh . --approve |
uploads (gate open) |
# 1. Check what's available
mq-agent memory status
# 2. Preview what would be uploaded
mq-agent memory build .
# 3. Upload when ready
mq-agent memory refresh . --approvestatus: missing-vector-store
Fix:
export OPENAI_VECTOR_STORE_ID="vs_..."status: missing-repo-signal
Fix:
uv pip install repo-signalSemantic memory should make mq-agent more context-aware without making it less predictable. No memory action happens invisibly.