Context budget
The always-loaded projection stays within its line budget, every reference in it resolves, it states no count that will go stale, and the assembled context fits the builder's own budget.
blocking A violation stops the command with exit 10.
The chain
A rule is enforced only when every link below holds. majordomus doctor resolves each one from the source on every run; this page shows what it resolved.
- 1 Declared majordomus.context-budget
- 2 Validator mj_validate_budget
- 3 Runs under doctor, watch
- 4 On violation exit 10
- 5 Proved by test/cases/02_doctor_basic.sh
- 6 Run by CI .github/workflows/validate.yml
Where it runs
- majordomus doctorIt checks governance only: is Majordomus itself healthy, and is every enforcement it declares actually wired here?
- majordomus watchWhat has drifted since the last update — policy, projections, state, retention.
What it lets us promise
- guaranteed The always-loaded instruction file has a line budget with a failing check
- guaranteed Every repository-relative reference in the always-loaded file is proven to resolve
- guaranteed A hardcoded count in the always-loaded file is a failure
Read it here
majordomus doctrine show majordomus.context-budget
majordomus check --rule majordomus.context-budget