Intent of claudeSubagentRegistry.ts ×1
All 7 exact tests in this concept. Every test is marked by where it enters the hierarchy.
-
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/7 tests-
platform/7 tests-
agentHost/7 tests-
test/7 tests-
node/7 tests-
claudeSubagentRegistry.test|title=SubagentSpawn agentId is set-once via setAgentId; subagentType/1 test -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeAgent.test|title=ClaudeAgent (Phase 7 §3.4 — _handleCanUseTool) Phase 12 step 5 — AskUserQuestion + ExitPlanMode inside a subagent context tag their emitted signals with parentToolCallId|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeAgent.test|title=ClaudeAgent (Phase 7 §3.4 — _handleCanUseTool) Phase 12 step 5 — canUseTool inside a subagent context tags pending_confirmation with parentToolCallId and feeds the resolver cache|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeSubagentRegistry.test|title=SubagentRegistry primeFromTranscript scans Task tool_result text blocks for agentId suffix and records each pair (idempotent against repeat calls)|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeSubagentRegistry.test|title=SubagentRegistry recordSpawn is idempotent; init fields are first-writer-wins; getSpawn returns the same record across calls|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeSubagentResolver.test|title=claudeSubagentResolver — getSubagentTranscript cache hit on registry short-circuits SDK fetch; cache miss runs strategy chain and writes resolved agentId back to the registry; subsequent reads hit the cache|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeSubagentResolver.test|title=claudeSubagentResolver — getSubagentTranscript unresolvable agentId returns [] (no SDK fetch attempted) and SDK fetch failure returns [] with warn-log|occurrence=1
-
-
-
-
-