M plugins/gitea/.claude-plugin/plugin.json M plugins/gitea/.codex-plugin/plugin.json M plugins/gitea/README.md M plugins/gitea/skills/gitea/SKILL.md M plugins/gitea/skills/gitea/scripts/fetch_ticket.py M plugins/gitea/skills/gitea/scripts/start_ticket.py A plugins/spire/UPGRADES.md A plugins/spire/agents/designer.md M plugins/spire/agents/planner.md A plugins/spire/providers/README.md A plugins/spire/providers/hosts/claude-desktop/spawning.md A plugins/spire/providers/hosts/t3-code/spawning.md A plugins/spire/providers/runtimes/codex/spawning.md M plugins/spire/skills/gremlins/grm/call.py M plugins/spire/skills/gremlins/grm/cli.py A plugins/spire/skills/gremlins/grm/codex.py A plugins/spire/skills/gremlins/grm/errors.py A plugins/spire/skills/gremlins/grm/harness.py M plugins/spire/skills/gremlins/grm/launch.py A plugins/spire/skills/gremlins/grm/scrub.py M plugins/spire/skills/gremlins/grm/stream.py A plugins/spire/skills/gremlins/grm/title.py A plugins/spire/skills/gremlins/tests/_pin.py M plugins/spire/skills/gremlins/tests/fake_claude.py A plugins/spire/skills/gremlins/tests/fake_codex.py M plugins/spire/skills/gremlins/tests/test_cli.py A plugins/spire/skills/gremlins/tests/test_cli_codex.py A plugins/spire/skills/gremlins/tests/test_codex.py A plugins/spire/skills/gremlins/tests/test_harness.py A plugins/spire/skills/gremlins/tests/test_scrub.py A plugins/spire/skills/gremlins/tests/test_title.py A plugins/spire/skills/igor/references/upgrades.md A plugins/spire/skills/igor/tests/test_upgrade_notes.py A plugins/spire/skills/igor/upgrade-notes.sh R plugins/spire/skills/implementation/references/spawning-claude-code.md -> plugins/spire/providers/runtimes/claude-code/spawning.md M plugins/spire/skills/project/SKILL.md
3.4 KiB
Providers
A runtime is the agent engine that runs Spire's text (Claude Code, Codex). A host is the app around it that may add session tools (Claude Desktop, T3 Code). Paths below are relative to this file.
Under Codex, ${CLAUDE_PLUGIN_ROOT} is not substituted: the plugin root is the parent of the skills/ root Codex shows for a skill (a skill's SKILL.md is <root>/skills/<name>/SKILL.md). Do not search elsewhere.
runtimes/claude-code/spawning.md: dispatch, resume, models, Rules of thumb (owner)runtimes/codex/spawning.md: dispatching into Codexhosts/claude-desktop/spawning.md: Desktop session layerhosts/t3-code/spawning.md: T3 threads and delegateshosts/codex-desktop/: planned, nothing known
Detection (reading, not calling)
Igor reads its tool names, deferred ones included. Spire's agents load only in Claude Code, so the runtime is claude-code. Spire also ships a Codex manifest exposing skills/; whether Codex loads them and expands the plugin-root path variable is unknown, and Igor under Codex is unsupported in 0.4.0.
| Tool names present | Host | Read |
|---|---|---|
any mcp__ccd_session__* or mcp__ccd_session_mgmt__* |
claude-desktop | runtime + hosts/claude-desktop/ |
any mcp__t3-code__*, or a tool ending in orchestrator_capabilities or delegate_task |
t3-code | runtime + hosts/t3-code/ |
| neither, no other session-layer server | none | runtime only |
| both, or an unlisted session-layer server | unclear | runtime only |
- A session-layer server has tools that create, start, launch, send to or hand off sessions, threads, tasks or agents (e.g.
mcp__claude-code-remote__*). Other MCP servers do not affect detection. - Unclear: do not guess. Use runtime primitives only, tell the user once which signals you saw, ask which host this is. Never call a host spawn tool on a guess.
- Journal once:
Harness: runtime claude-code, host <host> (signal: <tool name>). - Re-detect after a resume on another machine, when a host tool fails as absent, and when a session-layer tool first appears in the tool or deferred-tool list. While the pair is
none, re-read the tool list once before the first backgroundAgentdispatch (hosts load tools late). - Env vars are not a signal.
Who reads what
Igor reads the runtime file and the detected host file, plus the Codex runtime file when delegating to Codex. Zathras follows Igor's rule by reference. The Athanor reads the runtime file only and never calls host spawn tools (Desktop mcp__ccd_session*__*, T3 delegate_task, threads, any mcp__t3-code__*); Igor owns them. Leaf agents read nothing here; their briefs carry what they need.
Status legend
Each claim carries a status and a date.
- verified: read from tool schema text, host system-prompt text or vendor docs that date; not runtime-tested unless the row says so.
- observed: seen in real runs, source given; mechanism may be assumed.
- assumed: inferred, unchecked.
- unknown: open; check before relying on it.
Host files open with "Versions seen"; a row that depends on a version names it. A claim fails: fix the row with a new date.
Path rule
Skill and agent bodies point here as ${CLAUDE_PLUGIN_ROOT}/providers/<axis>/<name>/<topic>.md. Files read with Read use relative links; other reference files write providers/... plus "(plugin root)".