AIDE Prime
Overview
Provide a minimal, deterministic prime for an AIDE-based repo by loading only Tier 1 entry docs and asking for the task spec or PR/issue link.
Workflow
1) Locate the repo root
- •Walk up from the current working directory to find
AGENTS.md. - •If found, treat that directory as the repo root.
2) Read only Tier 1 entry docs
- •If
AGENT_ORIENTATION.mdexists at the repo root, read it. - •Always read
AGENTS.mdif present. - •Do not read any other files.
3) Output the Prime Report (<=10 lines)
Include:
- •
Primed: [AGENT_ORIENTATION.md: yes/no] [AGENTS.md: yes/no] - •
Constraints: <from AGENTS.md Quick Constraints section, or "project-defined"> - •
Next input needed: task spec or PR/issue link - •
If resuming work: provide handoff or PR link
4) Missing-doc behavior
- •If
AGENTS.mdis missing, report that and ask for the authoritative doc path. - •If
AGENT_ORIENTATION.mdis missing, proceed withAGENTS.mdonly.
5) Constraints source
- •If
AGENTS.mdincludes a Quick Constraints section, list those items. - •Otherwise, print a generic "project-defined" constraints line.
Notes
- •Do not choose or assume a role. Role selection is a separate command (e.g.,
/role). - •Keep output concise and deterministic.
- •Do not run git commands or modify files.