Skip to content

GH_READ_FILE_DEFAULT_MAX_BYTES

const GH_READ_FILE_DEFAULT_MAX_BYTES: 614400 = 614400

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/shell-policy.ts:156

CFG-52 — default ceiling on the DECODED file text GH_READ_FILE_TOOL_NAME returns: 600 KiB, roughly 10K lines of code. Deliberately generous, because the tool exists precisely for the case where the diff truncated and the reviewer needs the whole file; a cap that bites in normal use would defeat it. Override per entry with { "builtInTools": { "gth_gh_read_file": { "maxBytes": 200000 } } }.