Jeden/Docs

CLI command

jeden contracts

Print Jeden's contracts as one text, and install them into another harness's system prompt.

Exact invocation#

Shell
jeden contracts [render|status|install] [--omp|--file <path>] [--json] [--cwd path]

Inputs and options#

  • No action defaults to render, which prints the task contract and the communication contract in force (Jeden's default, the operator's own text, or none) in the conversation language; --cwd selects the project layer and --json wraps the text.
  • status and install need a target: --omp is ~/.omp/agent/APPEND_SYSTEM.md, the file Omp appends to every system prompt; --file &lt;path&gt; is any other file.

Output and state effect#

install writes the rendered text between the lines &lt;!-- jeden contracts: start --&gt; and &lt;!-- jeden contracts: end --&gt;, replacing the previous block and leaving the rest of the file alone, through an atomic rename; it prints Installed the Jeden contracts into &lt;path&gt; or &lt;path&gt; already carries the Jeden contracts. status prints current, stale, or absent with the path and exits 0 only when current. The Wisent product catalog runs install --omp after every Jeden CLI installation and sweep.

Refusals and boundaries#

  • status and install without a target are refused as contracts install and status require --omp or --file &lt;path&gt;; --file without a path is refused as --file requires a path.
  • An unknown action or option is refused with the usage line; a stale or absent block makes status exit 1 and name the install command.