docs(subagent): trim comments in the delegated-policy additions

This commit is contained in:
Hypatia May
2026-08-10 19:46:07 +08:00
parent 9e40fc7f6b
commit 5ba4055ed4
6 changed files with 20 additions and 37 deletions

View File

@@ -411,7 +411,7 @@ describe('dsh-tool-subagent-report', () => {
})
})
/** Prove report delivery uses ordinary logged user messages (framework runtime-context snapshots excluded). */
/** Prove report delivery uses ordinary logged user messages (runtime-context snapshots excluded). */
function userTexts(events: readonly SessionEvent[]): string[] {
return events.flatMap(event => event.type === 'user/message' && event.data.source.kind !== 'plugin'
? event.data.content.flatMap(block => block.type === 'text' ? [block.text] : [])