For Experts

Repository-level checks and test failures, written plainly.

The project checks fail after downloading #

A fresh download has no setup files yet. Run the first-run setup before the checks:

./setup.sh --no-mcp "$PWD/lore"
bash tests/master-audit.sh

That is the same order the project uses. If a check still fails, run it directly; it prints the missing file or mismatched count instead of hiding it.

Which audit is which #

The archive and each character have separate audits. Run each from its own folder.

The archive audit covers database integrity, source conformance, retrieval, documentation and the MCP surface. From the Grimoire folder:

bash grimoire-master-audit.sh

A character audit checks voice, quotes, module coverage, the conversation path, golden snapshots and the shared structure checks. From the character's repository:

bash tests/master-audit.sh

To test a fresh character clone the same way continuous integration does:

bash lore/tests/onboarding-smoke.sh

Running one suite #

Every suite in tests/ runs on its own:

bash tests/test-db.sh
bash tests/query-interface-test.sh
mcp-server/.venv/bin/python tests/mcp-test.py
python3 tests/conformance.py

They print the missing file or mismatched count instead of hiding it. The verification table in the README lists every suite and what a passing run looks like.

The site's own checks #

This site gates itself too: npm run check runs the checks over the built pages : links, accessibility, axe, Test Tapes and roster : and npm run check:external runs the ninth, the external links. The [check scripts] (https://github.com/sagaciouszu/destiny-agent-grimoire-site/tree/master/scripts) show how each gate works.

Going deeper #