# Gjc Delegation

> Delegate planning and execution workflows to gajae-code via the coordinator MCP server.

- Skill: `yeachan-heo/gjc-delegation` (Agent Skill)
- Install (CLI): `npx skillmds@latest add yeachan-heo/gjc-delegation`
- Raw SKILL.md: https://api.skillmd.com/api/skills/yeachan-heo/gjc-delegation/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: yeachan-heo (https://skillmd.com/u/yeachan-heo)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/yeachan-heo/gjc-delegation

---


# GJC delegation

This plugin exposes gajae-code's coordinator MCP server so a host agent can
delegate whole workflows to GJC and receive durable turn status plus artifacts.

## Tools

| Tool | Workflow | GJC skill | Purpose |
| --- | --- | --- | --- |
| `gjc_delegate_plan` | plan | /skill:ralplan | Delegate consensus planning to GJC (runs /skill:ralplan to a pending-approval plan). |
| `gjc_delegate_execute` | execute | /skill:ultragoal | Delegate execution to GJC (runs /skill:ultragoal to completion with verification). |

## Fail-closed safety

The bundled MCP config sets `GJC_COORDINATOR_MCP_WORKDIR_ROOTS` to the host
project directory and does **not** set `GJC_COORDINATOR_MCP_MUTATIONS`.
Delegation is read-only until the user explicitly enables a mutation class and
passes `allow_mutation: true` per call. `GJC_COORDINATOR_MCP_REPO` is a
namespace label only, never a filesystem path.
## Codex resume bridge correlation

After registering an app-server handoff with `gjc_coordinator_register_codex_handoff`,
pass the same `session_id` as `codex_host_session_id` on delegate calls so new GJC
sessions auto-bind to the Codex thread for wake-on-completion and questions. Acknowledge
durable wakes by `wake_key` with `gjc_coordinator_ack_codex_handoff`; heartbeats are
unsupported (`automation_update_unavailable`), so delivery is event-driven with startup drain.

## Polling

Each delegate returns a `turn_id`. Poll `gjc_coordinator_await_turn` (bounded)
or `gjc_coordinator_watch_events` for the `delegation.started` event and the
terminal turn state. Turn state is the source of truth, not terminal scrollback.

