Skip to main content

Module instructions

Module instructions 

Source
Expand description

Scoped project instructions: nested AGENTS.md discovery, selection, and turn-boundary reload diagnostics.

Structs§

InstructionDiagnostic
A diagnostic about a discovered instruction file.
InstructionInventory
Result of scoped instruction discovery.
InstructionSelection
Result of pure instruction selection for a turn.
InstructionSnapshot
A turn-boundary snapshot of instruction file hashes for change detection.

Enums§

InstructionSeverity
Severity of an InstructionDiagnostic.

Constants§

MAX_DISCOVERY_DEPTH
Maximum directory depth for nested AGENTS.md discovery below the workspace root.

Functions§

discover_instructions
Discover root and nested AGENTS.md files below workspace_root.
select_instructions
Select applicable instruction sources for a turn.