Anti-Slop Brain
Operate the deployed vault first. Treat CODEX.md, wiki/hot.md, and
wiki/index.md as vault-root-relative paths, where the vault root is the
directory passed to --vault or opened in Obsidian. In this repo, the template
vault root is assets/template-brain/ and the demo vault root is
examples/sample-vault/.
Secretary: use agents/anti-slop-secretary.md for grounded answers, claim review,
and vault maintenance. That secretary reads the brain first, cites a vault note
and an official URL, and stays advisory and read-only.
Commands
/anti-slop-brain new <client-slug> --owner <name>
/anti-slop-brain ingest --vault <path> --file <source>
/anti-slop-brain synthesize --vault <path>
/anti-slop-brain report --vault <path>
/anti-slop-brain visuals --vault <path>
/anti-slop-brain lint --vault <path>
/anti-slop-brain next --vault <path>
Source checkout equivalent:
anti-slop-brain new <client-slug> --owner <name>
anti-slop-brain ingest --vault <path> --file <source>
anti-slop-brain synthesize --vault <path>
anti-slop-brain report --vault <path> --html-only
Required Operating Rules
- Read
<vault>/CODEX.md. - Read
<vault>/wiki/hot.md. - Read
<vault>/wiki/index.md. - Preserve
.raw/as immutable source material. - Never store credentials in the vault.
- Never make domain-specific claims without dated trustworthy sources.
- Keep
hot,index,overview, andlogcurrent. - Record research evidence in
references/source-ledger.json. - Record domain adapter completion in
references/adapter-manifest.json.
Script Mapping
new->python scripts/scaffold_vault.pyingest->python scripts/ingest_source.pysynthesize->python scripts/synthesize_brain.pyreport->python scripts/render_brain_report.pyvisuals->python scripts/generate_vault_visuals.pylint->python scripts/lint_vault.pynext->python scripts/guide_next_action.py
Quality Gates
- No authorship verdict, ever; this brain reports defects, not origin
- No hard failure on a stylistic marker alone; markers route to structural tests
- No claim about detector accuracy, marker frequency, or prevalence without a current cited source
- No credentials, tokens, or private operator content in repo artifacts
- No model self-grading as a release gate; deterministic scanners re-run after every repair
Do not call this brain market-ready unless scripts/audit_brain.py --require market-ready passes. A scaffold is not a finished brain.
Research Refresh
30 days for model-specific marker cohorts and detector claims; 90 days for corpus studies and regulation; before every release for any numeric claim