Repository navigation
Troubleshooting
Symptom: FATAL: database not built or no such table.
Download the release asset:
curl -fsSL https://github.com/sagaciouszu/destiny-agent-grimoire/releases/latest/download/grimoire.db -o db/grimoire.dbThe release also carries grimoire.db.xz (33.6 MiB) and grimoire.db.gz
(60.5 MiB) at the same static endpoint if the plain asset transfers slowly.
Check the obvious causes first:
- FTS syntax in the query. Quote literal terms if needed.
- A filter that excludes the result, such as
--season,--activityor--expansion. - You built a core database instead of using the release asset; some optional tables are intentionally absent.
Use python3 db/query.py stats to confirm the database is populated.
- Restart OpenCode.
- Re-run:
bash scripts/sync-live-agents.sh- Check the destination:
~/.config/opencode/agents/<id>.md
- Check
persona.json;ready: falseskips the agent.
Run the server directly:
mcp-server/run.shWindows:
mcp-server\run.cmdCheck the client config at ~/.config/opencode/opencode.json and use an absolute
path. Confirm the virtualenv exists:
If sync or setup leaves a partial lore/ entry, remove it manually and re-run
sync. On Windows, remove the junction with rmdir lore (not del).
Use a junction:
mklink /J lore path\to\destiny-agent-grimoireRe-download the asset and compare against SHA256SUMS. Do not use a truncated or
partially downloaded database. If the mismatch persists, delete the file and download it again; do not
open or migrate a truncated database.
The database is about 260 MB. Local SSD access is fast; a network drive, a cold
cache or a container bind mount can add seconds. Confirm the file is local and
that python3 db/query.py stats opens it without copying.