DOCS / REFERENCE

CLI reference

Initialize projects, validate configuration and rules, diagnose local logs, inspect reports, confirm resolutions, search memory, and inspect plugins.

PHASE 1 · PRE-1.0PYTHON 3.11+EDIT ON GITHUB ↗

Commands

CommandPurpose
lumis initCreate a minimal Project and rule set without overwriting existing files.
lumis doctorValidate config, rules, paths, and safe defaults without writing state.
lumis diagnoseDiagnose a bounded local log; write a report and incident memory.
lumis reportPrint a stored report and any human-confirmed resolution.
lumis resolveStore a human-confirmed resolution and change truth state.
lumis memory searchSearch local incident memory with transparent keyword scoring.
lumis rules validateValidate rules and show stable IDs, versions, and priorities (supports --json).
lumis rules testEvaluate one rule against a JSON fixture and emit CI-friendly JSON.
lumis plugins listShow discovered plugin metadata without importing plugin code (supports --json).
lumis plugins doctorCheck plugin manifests and compatibility without loading anything (supports --json).
lumis config migrateValidate an alpha document and emit its stable lumis.dev/v1 equivalent, never overwriting output by default.

Command safety and stability

doctor, rules validate, rules test, config migrate, and the plugins commands make no network calls and write no incident state. diagnose writes only to explicitly configured local report and memory paths. Model assistance remains inactive unless application code supplies both an enabled policy and a gateway adapter—no CLI flag can turn a model on.

Command names, exit-code classes, and the documented machine-readable JSON output of rules validate, rules test, plugins list, and plugins doctor are part of the stable 1.x surface; human-oriented prose may improve without a major release.