T-TI5B-harness-targets-codex-cursor-gemini
Status: closed/done · Impact: high · Complexity: large
Prove the canonical model reaches three more, structurally-different control planes. Each renders the same capabilities/hooks/MCP/permissions/docs in its own idiom, so one edit propagates everywhere.
| Location | Role today |
|---|---|
plugin/lib/services/harness/exporters/ | Only claude + json + a skills-only codex stub. No cursor/gemini; no MCP/hooks projection. |
Proposed
Section titled “Proposed”Full codex (AGENTS.md + prompts + config.toml [mcp_servers]), cursor (.cursor/rules/*.mdc +
mcp.json + commands), and gemini (GEMINI.md + .gemini/settings.json + TOML commands)
targets, each mapping the model to native constructs and noting where a host lacks a concept.
Approach
Section titled “Approach”- Add
cursor.tsandgemini.ts; upgradecodex.tsto project MCP + config. - Register all in the target registry.
- Per-target tests pinning the native shape.
Files to touch
Section titled “Files to touch”| Location | Kind | Change |
|---|---|---|
plugin/lib/services/harness/exporters/codex.ts | modify | Add config.toml + MCP. |
plugin/lib/services/harness/exporters/cursor.ts | new | Cursor target. |
plugin/lib/services/harness/exporters/gemini.ts | new | Gemini target. |
plugin/lib/services/harness/exporters/index.ts | modify | Register targets. |
Acceptance criteria
Section titled “Acceptance criteria”-
harness export codex|cursor|geminieach emit their native surface incl. MCP. - Each target has shape-pinning tests.
- tsc + tests green.
Out of scope
Section titled “Out of scope”Round-trip importers for the new hosts.