Skip to main content

PRUNE_ORDER

@forge/monorepo


@forge/monorepo / backend/src / PRUNE_ORDER

Variable: PRUNE_ORDER

const PRUNE_ORDER: readonly ["old-reasoning", "old-tool-detail", "old-knowledge", "old-turns"]

Defined in: backend/src/context/index.ts:68

Pruning order. Old reasoning and tool detail go first; recent semantic turns and tool continuity are preserved. If the prompt still will not fit, assembly fails loudly rather than silently truncating critical instructions.