Cross-Agent Task Runner — Junie CLI
Procedures
Step 1: Self-Call Detection
- Check for
JUNIE_SESSIONor JetBrains-specific environment markers. - If detected, stop and inform the user: "Cannot invoke Junie from within Junie. Use a different target CLI."
Step 2: Execute Shared Procedure
- Read
references/shared-procedure.mdfor the core workflow (mode inference, context gathering, prompt construction, result presentation). - Read
references/cli-junie.mdfor Junie-specific flags, model selection heuristics, and version compatibility matrix. - Follow the shared procedure using the Junie-specific details.