Skip to main content

Motivation

The CLI is a first-class surface (R44: every capability is exposed via PHP, HTTP, and MCP). Operators run ingestion, retention, graph rebuilds, and the Auto-Wiki phases from php artisan. This page lists the commands grouped by concern with their exact signatures. Run php artisan <command> --help for the authoritative, version-current option list.

Conventions

  • Tenancy. Most commands accept --tenant= (default: current TenantContext, usually default).
  • Dry runs. Destructive sweeps accept --dry-run to report without mutating.
  • Retention overrides. Prune commands accept --days=N; 0 disables that rotation.
  • Path arguments. Commands that take a KB source_path (e.g. kb:delete, the folder walk in kb:ingest-folder) normalise it through KbPath and resolve it relative to KB_PATH_PREFIX. (kb:ingest builds its path more directly, so match the path you ingested with when deleting.)

Ingestion

Promotion & deletion

Canonical graph & health

Auto-Wiki engine

See the auto-wiki engine.

Retention & cleanup

Insights, evaluation & compliance

Benchmarks

Auth, MCP & widget

Worked example

Scheduler & maintenance

Which of these run on a schedule, and when.

HTTP API reference

The same capabilities over HTTP.