Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

CLI overview

These commands use physics-inspired names (nucleate, evolve, decay, spore, …). New to the vocabulary? See The physics vocabulary.

Cosmon — compose, pilot and audit long-haul AI missions where the trace matters.

Run cs help for the full command reference, cs help guide for the operator handbook, and man cs for the manual page.

Source of truth: .cosmon/state/ (JSON). Surfaces are projections — never edit directly.

The normal cycle for one unit of work:

cs nucleate task-work --var-file topic=<file>   # a long statement goes in a file, not a flag
cs tackle <id> --adapter claude                 # spawn a worker; omit --adapter for the project default
cs peek                                         # watch it work, or `cs wait <id>` to block
cs whisper <id> --file correction.md            # send a correction while the worker is still open
cs done <id>                                    # merge to the base branch + teardown (required)

Use cs tackle, not cs run, when you intend to read the result before merging: cs run walks a whole DAG and calls cs done on completion itself, closing the review window.

Stopping early is not the end of a mission: the work stays on the branch and worktree recorded at dispatch until you run cs done <id> (keep the partial work) or cs collapse <id> --reason "…" (record abandonment). cs complete, cs collapse, and cs status print the exact branch, recorded worktree (including overrides), and concrete cs done command. A collapse preserves the branch for audit; it never licenses unaudited deletion.

Branch audit is concrete: inspect git log --oneline <base>..<branch> and git diff --stat <base>...<branch>. Integrate completed work with cs done <id>; for abandoned active work, put the reviewed disposition in cs collapse <id> --reason "<verdict>". Retain the branch unless deletion is separately reviewed. cs status shows live branches as active work and collapsed or deliberately unmerged branches with their recorded disposition.

Finishing a mission means cs status reads clean afterward — no zombie session, no un-harvested Completed molecule, and no unresolved molecule branch. Active work and retained branches with a recorded audit disposition are visible, but are not residue. cs status says clean or names every unresolved item.

Who does what — you decide the mission and protected inputs (cs nucleate --protect) and accept or drop each result; the pilot drives the cycle above; workers do the work. Full breakdown: https://docs.noogram.org/explanation/pilot-and-workers.html

Global options

These flags are accepted before any subcommand and apply to every command:

FlagEffect
--config <PATH>Path to the configuration file.
--verbose, -vEnable verbose output.
--jsonEmit machine-readable JSON/NDJSON instead of the human view.

--json is the agent-first interface: every cs command honours it, so a worker or external orchestrator parses structured output rather than scraping the terminal render.

Command groups

The command reference is split by role: