Skip to content

declared() capability parsing has no direct test coverage #1225

Description

@sahrizvi

Deferred from the v0.10.0 release review.

declared() (packages/opencode/src/altimate/workspace/engine-probes.ts:122-142) parses the engine's declared capabilities and splits them into extension keys and tool keys. It has no direct test coverage.

Every consumer test injects an already-shaped Declared object through the test seam, bypassing the parser entirely — so a bug in the split would ship without any test noticing. Needs test scaffolding that exercises the real parse.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions