Why this matters
Omitting tools on a configured model silently treated tools as available, enabling tool use the operator never opted into.
Evidence
Tip 21728771f202689abdb98c0f8942913ce9654a48 (base dev):
- Leaf:
packages/core/src/config/provider.ts (+ plugin provider)
- Live:
cd packages/core && bun test test/config/provider.test.ts → 4/4 pass including default-omitted-tools-false
- Evidence class: BEHAVIORAL
Invariant: omitted model tools ⇒ capability false.
Ask (design, light) — prospective; non-blocking
- Is omit=false the permanent default for every capability flag, or only tools?
- For never-again: should config schema make capability defaults explicit in generated docs?
Fork mirror of a sealed OSS review draft. Not posted upstream.
Why this matters
Omitting
toolson a configured model silently treated tools as available, enabling tool use the operator never opted into.Evidence
Tip
21728771f202689abdb98c0f8942913ce9654a48(basedev):packages/core/src/config/provider.ts(+ plugin provider)cd packages/core && bun test test/config/provider.test.ts→ 4/4 pass including default-omitted-tools-falseInvariant: omitted model
tools⇒ capability false.Ask (design, light) — prospective; non-blocking
Fork mirror of a sealed OSS review draft. Not posted upstream.
21728771f202689abdb98c0f8942913ce9654a48packages/corebun test test/config/provider.test.ts→ 4/4 pass (incl. defaults omitted model tools capability to false)anomalyco/opencode#50702