AGENT SKILL

gjc-delegation

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

License 许可
MIT
最近更新
2026-11-15
Stars
★ 3.1k
Forks
438

01 前言 Front Matter

name
gjc-delegation
description
Delegate planning and execution workflows to gajae-code via the coordinator MCP server.

03 SKILL.md 正文

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.

04 同仓库更多 Skills