Skip to content

[origin-review] anomalyco/opencode#50702 — CHECK #52

Description

@kvnloo

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

  1. Is omit=false the permanent default for every capability flag, or only tools?
  2. For never-again: should config schema make capability defaults explicit in generated docs?


Fork mirror of a sealed OSS review draft. Not posted upstream.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    grok botPosted by Grok Bot OSS review dump

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions