On this page

Expert #

Repeatable, offline-capable workflow used by the release pipeline.

Prerequisites #

  • Git — to clone the project and all 12 agent repositories
  • Python 3.8+ — to run the build and search tools
  • Node.js 18+ — for the site build (optional, for local site preview)
  • ~2 GB free space — for the grimoire + all agent repos

Clone Everything #

# Grimoire (the library + build scripts)
git clone https://github.com/sagaciouszu/destiny-agent-grimoire.git
cd destiny-agent-grimoire

# All 12 agent repositories, in the folder beside this clone
grep -oE '"source": *"[^"]+"' series/agents.json | sed -E 's/.*"([^"]+)"$/\1/' |
while read -r repo; do
    git clone "https://github.com/sagaciouszu/$repo.git" "../$repo"
done

The clone list comes from series/agents.json: drifter, eris, calus, zavala, ghost, mara-sov, saint-14, petra-venj, osiris, ikora, crow, sloane.

Build the Grimoire #

python3 db/migrate.py

The build reads source/ (hand-authored books, transcripts, items) and vault-local archive/data/*.jsonl (operator vault, not committed) and writes db/grimoire.db.

Run the Master Audit #

bash grimoire-master-audit.sh

# Query interface tests (independent)
bash tests/query-interface-test.sh

# Agent conformance (from each agent repo)
python3 tests/conformance.py

Build the Site Locally #

cd ../destiny-agent-grimoire-site
npm install
npx @11ty/eleventy
# Output in _site/

Release Artifacts #

The official download is the release file. Verify before use:

curl -fsSL https://github.com/sagaciouszu/destiny-agent-grimoire/releases/latest/download/grimoire.db -o grimoire.db
curl -fsSL https://github.com/sagaciouszu/destiny-agent-grimoire/releases/latest/download/SHA256SUMS -o SHA256SUMS
grep '  grimoire.db$' SHA256SUMS | sha256sum -c -

A mismatch means the file was cut short or changed in transit. Delete and download again instead of opening it.

mv grimoire.db db/grimoire.db

Rebuild After Changes #

If you modify source files, scraper output, or agent content:

# In the grimoire repo
python3 db/migrate.py
python3 tests/sync-doc-counts.py
bash grimoire-master-audit.sh

# In each agent repo (from its root)
python3 tests/conformance.py

Install a Character the Simple Way #

See Personas for one-step installation into OpenCode or OpenClaw.