Slash Rituals
Slash Rituals
Section titled “Slash Rituals”Slash rituals are structured checkpoints in the Ant-Digest v2 workflow. Each ritual maps to one or more ANTROUTE steps and produces a specific, traceable output. They are called “rituals” because they must be performed in order, every time, without shortcuts.
/crumbs — Read the Trail
Section titled “/crumbs — Read the Trail”When: Before any work begins. First action in every session.
ANTROUTE step: Pre-step (before scope)
Actions:
- Read
CRUMBLOG.md— understand all prior decisions - Read
GUARDRAILS.md— load constraints into working memory - Read
CLAUDE.md— load project conventions - Read
ANTROUTE.yaml— confirm workflow steps
Output: Mental model of project state. No file changes.
Abort if: Any of the four files is missing or unreadable.
/preflight — Classify the Change
Section titled “/preflight — Classify the Change”When: After receiving a task, before planning.
ANTROUTE step: scope
Actions:
- Write a scope statement: what changes, what does not
- Identify all context sources needed (Plane A, B, or C)
- Check if any new dataflows are introduced
- Flag any Plane C assumptions that need verification
Output: Scope statement written to the conversation (not a file).
Template:
SCOPE: [one-line description]IN: [what changes]OUT: [what does not change]SOURCES: [Plane A: files | Plane B: URLs/tools | Plane C: assumptions]NEW DATAFLOWS: [yes/no — if yes, classify per CONTEXT_PLANES.md]RISK: [any Plane C items that must be verified]/plan — Design Before Building
Section titled “/plan — Design Before Building”When: After scope is confirmed, before implementation.
ANTROUTE step: plan
Actions:
- List files to create, modify, or delete
- Describe the approach with trade-offs
- Identify which subagents are needed (per SUBAGENTS.md)
- Run MCP policy gate (per MCP_POLICY.md) if tools are needed
- Check for conflicting CRUMBLOG entries
Output: Plan documented in conversation or plan file.
Abort if: Conflicting crumbs found without resolution path.
/verify — Prove It Works
Section titled “/verify — Prove It Works”When: After implementation is complete.
ANTROUTE step: verify
Actions:
- Run
npm run check— TypeScript type checking must pass - Run
npm run build— Vite + esbuild build must succeed - If UI changes: confirm pages load and function at http://localhost:5000
- Check that no unintended files were modified
- Verify all Plane C assumptions were promoted to A or B
Output: Build log + test results. Pass/fail determination.
Abort if: Type check fails, build fails, or unpromoted Plane C items remain.
/guard — Enforce the Rails
Section titled “/guard — Enforce the Rails”When: After verification passes, before documenting.
ANTROUTE step: guard
Actions:
- Review all changes against every rule in
GUARDRAILS.md - Check for PII in code, comments, sample data
- Check for secrets or connection strings
- Check for swallowed exceptions
- Check that Zod validation is used on all API inputs
- Verify signal strength stays in [0, 1] range
- Check i18n keys exist in both en/ and de/ locales
- If a GUARDRAIL is violated: stop, fix, re-verify
Output: Compliance confirmation or violation report.
Abort if: Any GUARDRAIL violation cannot be resolved.
/federate — Import External Context
Section titled “/federate — Import External Context”When: When external information is needed at any step.
ANTROUTE step: federate (new in v2)
Actions:
- Identify the external source (URL, MCP tool, documentation)
- Check source against
MCP_POLICY.mdallowed list - Fetch the information
- Classify the result as Plane B
- Log the source, query, and date
- If the external info contradicts Plane A: flag conflict in CRUMBLOG
Output: Classified Plane B content with source attribution.
Abort if: Source is not in the MCP policy allowed list, or data classification is unclear.
Ritual Sequence for a Typical Change
Section titled “Ritual Sequence for a Typical Change”/crumbs → Load context/preflight → Scope the change/federate → (if needed) Gather external context/plan → Design the approach implement → Write the code/verify → npm run check + npm run build/guard → Check constraints update → Write CRUMBLOG entryThe implement and update steps are actions, not rituals — they do not have their own slash command because they are the work itself, not checkpoints around the work.