feat(compact): prune tool results before summarization (round 1)

This commit is contained in:
Hypatia May
2026-07-16 18:02:15 +08:00
parent 231aeabe55
commit ce96104a77
42 changed files with 1093 additions and 52 deletions

View File

@@ -69,6 +69,11 @@ describe('gen-tool-catalog assertManifestComplete', () => {
// is unlisted, so the guard must fire and name them.
expect(() => { assertManifestComplete([]) }).toThrow(/not in the boot manifest/)
expect(() => { assertManifestComplete([]) }).toThrow(/tool-bash/)
try {
assertManifestComplete([])
} catch (error) {
expect(String(error)).not.toContain('tool-result-prune')
}
})
})