Skip to content
Esc
navigateopen⌘Jpreview
On this page

mattpocock-context-structure-invalid

Reports a root CONTEXT.md that does not match the Matt Pocock Profile's context-language structure.

← All Rules

What it does

Requires exactly one H1, an immediate one-to-two sentence description, exactly one ## Language section, and at least one term definition with authored prose. An _Avoid_: line is optional, but cannot be empty when present.

Why it matters

The structure gives agents one stable place to learn the repository’s domain terms and discouraged alternatives.

Examples

Non-passing

# Example

One valid sentence.

## Language

**Repository Root**:
_Avoid_:

Passing

# Example

Example defines the language used by this repository.

## Language

**Repository Root**:
The nearest ancestor that contains a `.git` file or directory.
_Avoid_: Project folder

When it applies

This is a declarative requirement of the mattpocock@1 Profile. Selecting that Profile applies it when the optional root CONTEXT.md exists; it is not selected through the rules array.

References

See Presswork Configuration for the Profile contract and src/profile-requirements.ts for term-definition evaluation.