Skip to content

Electric.2: make MCP tool schemas provider-compatible #119

Description

@100yenadmin

Parent: #117

Generalize upstream PR abhigyanpatwari#2489 across the fork schema surface. Begin with failing tests. Remove top-level anyOf/oneOf/allOf from advertised tools while preserving names and properties. Enforce api_impact route/file and impact target/name/symbol requirements in runtime normalization before repository resolution.

Acceptance: invariant holds after policy wrappers and stdio/HTTP listing; canonical, agreeing, conflicting, missing, grouped, read-only, and allowlisted cases pass.

Evidence: /Volumes/LEXAR/Codex/session-notes/2026-07-14/gitnexus-electric-2-sprint/

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Release-blocking priority zero workevidence-gateMust close with retained validation evidenceupstream-candidateGeneric change eligible for sanitized upstream contribution after fork proof

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions