A snapshot: read at commit 707a04c7ce8 on 2026-10-18T00:06:01Z by majordomus 0.29.0. Nothing on this page is read again. See it live
majordomus devcontext compile
Compile the context for a piece of work: every selected object with its provenance, the reason and the confidence, everything left out with the reason, what was deduplicated, and the per-tier budget; exit 10 when what may not be dropped already exceeds the budget
What it is
read onlyCompile the context for a piece of work: every selected object with its provenance, the reason and the confidence, everything left out with the reason, what was deduplicated, and the per-tier budget; exit 10 when what may not be dropped already exceeds the budget
- Identity
executable.devcontext.compile- Program
- executable
- Runs
- non interactive
- Requires
- repositorylayer
Where it appears
- Command line
majordomus devcontext compile- Workflow
just devcontext-compile- MCP tool
majordomus_devcontext- HTTP
/api/v1/devcontext- Declared in
apps/majordomus-cli/src/cli.rs- Capability
- devcontext.compile
Arguments
| argument | values from | required | help |
|---|---|---|---|
--issue | — | An issue id (`I0301`) or its canonical identifier | |
--milestone | — | A milestone id or slug, or its canonical identifier | |
--intent | — | What the session is trying to do, in words; the only input the compiler infers from | |
--path | — | A repository-relative path the work touches; repeat for each | |
--uri | — | A canonical identifier to seed with directly; repeat for each | |
--budget-tokens | — | The ceiling in estimated tokens | |
--max-depth | — | How far from a seed the walk goes | |
--floor | — | Relevance below which an entry is reported rather than given, between 0 and 1 | |
--all-blocking-rules | — | Every blocking rule of the layer, not only the ones the work reaches | |
--repo | — | Start the search for the repository root here (default: the current directory) | |
--discovery | — | How declarative files are enumerated | |
--strict | — | Refuse to proceed when any file of the layer carries an error diagnostic | |
--share | — | The tool distribution's share directory (kinds.yaml, schemas/); default: $MAJORDOMUS_SHARE, then the repository's own share/, then the one beside the executable | |
--format | — | Output shape |