Changes in v4.0.2
Documentation
- Renamed "Consultation" to "Delegation" for external MCPs (Codex/Gemini)
- Clarified MCP prompt/output semantics with two-layer model:
prompt_file: Task instructions (what CLI should do)output_file: Work summary (what was done), not the deliverable
- Added "Semantic Model" section explaining the architecture
Code
- Updated prompt injection in
codex-core.tsandgemini-core.tsto request work summaries instead of "complete response"
Technical Details
The two-layer architecture is now documented:
- MCP wrapper (Node.js): Cannot read files directly, needs
context_files - CLI process (Codex/Gemini in --full-auto/--yolo mode): Has full filesystem access during execution
Full Changelog: v4.0.1...v4.0.2