Skip to content

Commands Reference

Primary Commands (Syscalls)

/archon-init

Bootstrap the Archon Protocol ecosystem or run a health check.

FieldValue
Sourcedocs/syscalls/init.md
OS Equivalentboot()
ModeRead-write

Fresh install: scans project, detects tech stack, integrates with lint/test ecosystem (ADR-003), generates archon.config.yaml, deploys protocol files.

Health check: verifies all files exist, config matches project, lint/test coverage mapping, reports gaps.

Remote bootstrap: curl -s https://aaep.site/init.md

/archon-demand <requirement>

Full delivery pipeline for a one-line requirement.

FieldValue
Sourcedocs/syscalls/demand.md
OS Equivalentexec()
Preloadsarchon-code-quality, archon-test-sync, archon-async-loading, archon-error-handling, archon-handoff

Stages:

StageWhat happens
0Refactor alignment (read plan if exists)
1Implement under constraints
1.5Lint & Test verification — run lint + test, read output, fix. Processes are MUST (ADR-003)
2Performance audit
37-dimension self-audit (3.1 rules, 3.2 structure, 3.3 edge cases, 3.4 tests, 3.5 i18n, 3.6 evolution, 3.7 adversarial challenge)
4Fix all issues
5Update refactor progress
6Commit

Opt-out flags:

FlagSkipsBest for
quickStages 2, 3.5, 3.6, 5Hotfixes, small changes, styling
no-commitStage 6Exploration, review before commit
skip-testsStage 3.4Pure visual/styling changes

/archon-audit

Full project health check. Read-only — does not modify code.

FieldValue
Sourcedocs/syscalls/audit.md
OS Equivalentstat()
ModeRead-only
Preloadsarchon-code-quality, archon-test-sync

Produces a scored report (0-100) across 5 dimensions: lint, tests, rule compliance, architecture, documentation.

/archon-refactor

Generate a progressive refactoring plan with milestones.

FieldValue
Sourcedocs/syscalls/refactor.md
OS Equivalentdefrag()

Saves plan to docs/refactor-plan.md. Future /archon-demand calls automatically align with the plan.

/archon-verifier

Independent validation of claimed work.

FieldValue
Sourcedocs/syscalls/verifier.md
OS Equivalentfsck()
ModeRead-only

Skeptically verifies: code exists, tests pass, no TODOs left, no regressions. Includes an adversarial challenge step that forces counter-hypotheses before declaring verified.

/archon-lint

Validate protocol integrity, link health, and consistency invariants.

FieldValue
Sourcedocs/syscalls/lint.md
OS Equivalentcheck()
ModeRead-only

Phases:

PhaseWhat happens
1Link audit — walk docs/*.md, resolve internal links
2Integrity — verify CI-1 through CI-9 consistency invariants
3Tests — run Vitest suite (doc format, prohibitions, ecosystem)

Run: pnpm lint or individual phases via pnpm lint:links, pnpm lint:integrity, pnpm test.

Internal Workflows (Daemons)

These are spawned by /archon-demand, not directly invoked by users:

DaemonSourceSpawned by
Self-auditdocs/daemons/self-auditor.mddemand Stage 3 (7 dimensions including adversarial self-challenge)
Test runnerdocs/daemons/test-runner.mddemand Stage 3.4

Powered by AAEP (AI Architect Evolution Protocol)