Skip to content

Test/597 subagent condensed#622

Closed
huda-code wants to merge 2 commits into
DietrichGebert:mainfrom
huda-code:test/597-subagent-condensed
Closed

Test/597 subagent condensed#622
huda-code wants to merge 2 commits into
DietrichGebert:mainfrom
huda-code:test/597-subagent-condensed

Conversation

@huda-code

Copy link
Copy Markdown

Summary

Adds automated test coverage for the condensed SubagentStart instruction payload introduced in #615.

The tests verify that:
Normal SubagentStart modes use getFallbackInstructions() rather than the full mode-filtered SKILL.md
The condensed payload is smaller than the canonical full instructions
Independent modes such as review retain their existing pointer instructions
Matched subagents receive the condensed payload
Nonmatching subagents continue to receive no injection
Existing matcher fail-open and no-matcher behavior remains unchanged
Claude, Codex, and Qoder SubagentStart paths receive the condensed payload

Testing

npm test

All test suites pass locally:
Root suite: 82 passed, 0 failed
Pi extension: 23 passed, 0 failed
Ponytail MCP: 3 passed, 0 failed

arimu1 and others added 2 commits July 19, 2026 10:28
Subagents now receive getFallbackInstructions instead of the full
mode-filtered SKILL.md, keeping Task-worker context smaller.
Fixes DietrichGebert#597
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.

2 participants