Skip to content

Commit dcfad6a

Browse files
author
Taylor Arndt
committed
Guard Codex accessibility subagent discovery
1 parent c7eac63 commit dcfad6a

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

docs/guides/codex-experimental-multi-agent.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ When spawning a named Accessibility Agents subagent, pass task context explicitl
3838
instead of requesting a full-history fork. Codex rejects typed custom-agent
3939
spawns that also try to inherit the full parent history.
4040

41+
If the active tool list does not show `multi_agent_v1.spawn_agent`, the router
42+
must call `tool_search` for multi-agent subagent tooling before claiming
43+
subagents are unavailable. A local-only review is not an acceptable silent
44+
fallback for Accessibility Agents workflows; if tool discovery still cannot
45+
expose subagents, stop and ask the user to enable subagents or explicitly
46+
approve a local fallback. Spawned Accessibility Agents subagents should receive
47+
the router skill context so they follow the same lead-first dispatch contract.
48+
4149
## What Gets Installed
4250

4351
When you select Codex support, the universal installer installs:

scripts/validate-codex-plugin.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,12 @@ if (fs.existsSync(webRouterSkill)) {
102102
for (const phrase of [
103103
'Explicitly spawn `accessibility-lead` as a Codex custom subagent',
104104
"Installing Accessibility Agents for Codex is the user's standing request",
105+
'call `tool_search` for `multi-agent subagent accessibility`',
106+
'Do not downgrade to local-only review just because the spawn tool was lazy-loaded',
107+
'stop and ask the user to enable subagents/Accessibility Agents',
105108
'do not request a full-history fork',
109+
'Pass skill context to every spawned Accessibility Agents subagent',
110+
'"type": "skill", "name": "web-accessibility"',
106111
'~/.agents/plugins/a11y-agents-codex/references/specialists/',
107112
'Dispatch matching Codex custom subagents by default',
108113
'Do not make users manually name every specialist',

0 commit comments

Comments
 (0)