Expand description
Project context (AGENTS.md) generation and management.
Responsibilities:
- Generate initial AGENTS.md from project type detection.
- Update AGENTS.md with new learnings.
- Validate AGENTS.md against project structure.
Not handled here:
- CLI argument parsing (see
cli::context). - Interactive prompts (see
wizardmodule).
Invariants/assumptions:
- Templates are embedded at compile time.
- Project type detection uses simple file-based heuristics.
- AGENTS.md updates preserve manual edits (section-based merging).
Modules§
- merge
- Markdown section merging utilities for AGENTS.md updates.
- wizard
- Interactive wizard for AGENTS.md context initialization and updates.
Structs§
- Context
Init Options - Options for context init command
- Context
Update Options - Options for context update command
- Context
Validate Options - Options for context validate command
- Init
Report - Report from init command
- Update
Report - Report from update command
- Validate
Report - Report from validate command
Enums§
- Detected
Project Type - Detected project type
- File
Init Status - Status of file initialization
Functions§
- run_
context_ init - Run the context init command
- run_
context_ update - Run the context update command
- run_
context_ validate - Run the context validate command