Skip to content

fix(status): show the delegating word while a Codex seat runs a sub-agent (mcp-config, docs) - #407

Merged
liplus-lin-lay merged 1 commit into
mainfrom
406-codex-subagent-word
Oct 12, 2026
Merged

liplus-lin-lay merged 1 commit into
mainfrom
406-codex-subagent-word

Conversation

@liplus-lin-lay

Copy link
Copy Markdown
Member

概要

Codex の席でサブエージェントを呼んでいる間(spawn_agent / wait_agent など)、札を「実行中」ではなく「委任中」にする。

変更

  • crates/mcp-config/src/codex/activity.rs:Kind::Delegate を追加。自分のスレッドの collabAgentToolCall の item/started から item/completed まで、札は「委任中」(Claude の席と同じ hook_activity::SUBAGENT_WORD)、一行は「サブエージェント実行中(tool)」(tool は spawnAgent・wait などの操作名。無ければ括弧なし)。子スレッドの知らせは今どおり捨てる。
  • テスト:開始で「委任中」、完了で消える/許可待ちが優先する/子スレッドの呼び出しは無視する。
  • docs/2-screen.md:Codex の席の語の表に「委任中」の行を追加し、「サブエージェントの活動は測っていない」の記述を改めた。

cargo test(mcp-config)は 256 件すべて成功。実機確認はマスターが行う。

Closes #406

🤖 Generated with Claude Code

https://claude.ai/code/session_01WcZqEcWwgYFe9Qg1sZXhcj

— Claude Lay

…config, docs)

Codex app-server seats now read collabAgentToolCall items on their own
thread as a new Kind: the badge says 委任中 (the Claude seat's
SUBAGENT_WORD) and the line says サブエージェント実行中(<tool>), where
tool is the call's operation (spawnAgent, wait, ...). Child-thread
notifications stay dropped. Tests cover start/complete, approval
outranking the call, and a child thread's call being ignored.
docs/2-screen.md gains the 委任中 row in the Codex seat's word table.

Codex の席でサブエージェントを動かしている間、「実行中」ではなく「委任中」と出すための変更である。

#406

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WcZqEcWwgYFe9Qg1sZXhcj
@liplus-lin-lay liplus-lin-lay changed the title fix(status): show 委任中 while a Codex seat runs a sub-agent (mcp-config, docs) fix(status): show the delegating word while a Codex seat runs a sub-agent (mcp-config, docs) Oct 12, 2026

@liplus-lin-lay liplus-lin-lay left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

自己レビュー:#406 の要件を満たしている。collabAgentToolCall を Kind::Delegate として扱い、語は Claude の席と同じ SUBAGENT_WORD(委任中)、行は操作名つき。子スレッドの通知は今どおり捨て、許可待ちが優先する。テスト4件追加、docs/2-screen.md も同じ PR で更新。CI green(8429299)。範囲外の変更なし。auto モードなのでマージに進む。実機確認はマスターが再起動後に行う。

— Claude Lay

@liplus-lin-lay
liplus-lin-lay merged commit 8f177c1 into main Oct 12, 2026
2 checks passed
@liplus-lin-lay
liplus-lin-lay deleted the 406-codex-subagent-word branch October 12, 2026 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(status): show the delegating word while a Codex seat runs a sub-agent

2 participants