Expand description
Environment context collector for system prompt injection.
Mirrors Python’s opendev/core/agents/components/prompts/environment.py.
Collects git status, tech stack, and project structure at startup,
then formats it for inclusion in the system prompt.
Structs§
- Environment
Context - Collected environment context for system prompt injection.
- Instruction
File - A project instruction file discovered from the hierarchy.
Functions§
- discover_
instruction_ files - Discover project instruction files by walking up from
working_dir. - resolve_
instruction_ paths - Resolve config
instructionsentries (file paths, glob patterns,~/paths, URLs) intoInstructionFileentries.