Skip to content
Cockpit0.29.0
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.minimum-sufficient-context@1

Load minimum sufficient context

What it is

URI
majordomus://rule/majordomus.minimum-sufficient-context@1
Kind
rule
Identity
majordomus.minimum-sufficient-context@1
Path
.ai/repo/rules/vendor/majordomus/rules/principle-02-minimum-sufficient-context.v1.md
Provenance
declared
Media type
text/markdown
As a capability
rule.majordomus.minimum-sufficient-context@1

Front matter

{
  "id": "majordomus.minimum-sufficient-context",
  "version": 1,
  "kind": "rule",
  "title": "Load minimum sufficient context",
  "description": "The profile says what to load; discover everything that may apply and load only what does.",
  "statement": "Orient from the assembled context and the registered sections the task needs, never by reading the whole repository or pasting every file into the prompt.",
  "status": "active",
  "class": "advisory",
  "depends_on": [],
  "tags": [
    "principle"
  ]
}

Content

---
id: majordomus.minimum-sufficient-context
version: 1
kind: rule
title: Load minimum sufficient context
description: The profile says what to load; discover everything that may apply and load only what does.
statement: Orient from the assembled context and the registered sections the task needs, never by reading the whole repository or pasting every file into the prompt.
status: active
class: advisory
depends_on: []
tags: [principle]
---

# Rationale

An always-loaded contract that oscillated between nothing and a thousand lines, across hundreds of hand edits, was pinned only by a hard budget with a failing check. Context is a budget, and discoverability is not eager loading.

# Required behaviour

Orient from the assembled context and the registered sections the task needs, never by reading the whole repository or pasting every file into the prompt.

# Failure behaviour

Nothing decides this rule directly, so a violation is reported by nobody; it is the rules that depend on it that decide what a machine can decide and stop or warn accordingly.

# Verification

The enforced rules whose `depends_on` names this one carry the validators, the tests and the CI wiring. `majordomus doctrine list` shows them.