[STUDY] Tool result budgets and disk persistence #167
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
src/utils/toolResultStorage.ts replaces oversized tool outputs with disk-persisted previews. Prevents context overflow from huge grep/find/cat results. applyToolResultBudget() checks maxResultSizeChars per tool.
Hermes target: tools/registry.py result handling
Estimate: small
Maps to epic #154, pattern #2.