MAX_EXTRACTION_NOTE
@forge/monorepo / backend/src / MAX_EXTRACTION_NOTE
Variable: MAX_EXTRACTION_NOTE
constMAX_EXTRACTION_NOTE:90=90
Defined in: backend/src/files/context.ts:108
What extraction says about a file, in as few words as possible (#131).
A model needs three facts to choose its next move, and only three: whether text is available now, whether
to wait, or whether it will never come and why. So extracted names the tool, failed gives the reason,
and everything else says "not yet".
Bounded on purpose. The failure message is truncated because it can carry a page count or a byte limit, and an unbounded string here would make an attachment's context cost depend on how badly extraction went — undoing #130's AC-2 by a side door.