Skip to content

Commit e6b70c6

Browse files
anandgupta42claude
andcommitted
refactor: drop unwired critic gate from inference-stack PR
The `ALTIMATE_CRITIC_GATE` flag was a no-op — `tool/critic.ts` was never imported into the execute path, so enabling the flag did nothing. Removing it from this PR so every shipped flag is actually wired: - `ALTIMATE_TOOL_RETRIEVAL` — wired in `session/llm.ts`, validated (-50% input tokens at equal resolve) - `ALTIMATE_CONSTRAINED_TOOLCALLS` — wired in `session/llm.ts` (local providers) The critic gate (pre-execution `Verifier` for side-effecting tools) moves to a follow-up that wires it into the `session/prompt.ts` execute wrapper with an integration test. Code preserved on `feat/critic-gate`. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
1 parent 278a3fa commit e6b70c6

2 files changed

Lines changed: 0 additions & 109 deletions

File tree

‎packages/opencode/src/tool/critic.ts‎

Lines changed: 0 additions & 69 deletions
This file was deleted.

‎packages/opencode/test/tool/critic.test.ts‎

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)