Skip to content

fix(proof): turn API parity manifest into surface verifier #602

Closed

Description

@Sinity

Problem

docs/plans/api-parity.yaml records CLI, MCP, Python API, and sync API surface parity, but it is not compiled into coverage-manifest proof subjects and there is no verify-surface-parity gate.

Current state from the 2026-05-01 audit:

  • api-parity.yaml is not included in _COVERAGE_MANIFEST_NAMES, so it does not become a coverage-manifest subject.
  • It declares MCP gaps such as filtering parity, authorization, and error sanitization without a verifier.
  • There is no per-filter, per-output-shape, async/sync signature, auth/limit, or destructive-operation parity matrix across CLI/MCP/API/sync.

Acceptance criteria

  • Decide whether to upgrade api-parity.yaml or replace it with docs/plans/surface-parity.yaml.
  • Compile parity rows into proof subjects such as surface.parity_operation.
  • Implement devtools verify-surface-parity for filter parity, output-shape parity, async/sync method signature parity, and MCP auth/error-sanitization expectations.
  • Add issue/expiry lifecycle for intentional parity gaps.
  • Wire the verifier into the appropriate quick/lab gate.

Ref #581
Ref #590

Activity

  1. added
    type:fix
    theme:verifiability
    area:devtools
    area:core
    on May 1, 2026
  2. Sinity commented on May 1, 2026

    @Sinity
    OwnerAuthor

    Superseded by #590. I consolidated this finding into the composite issue so the work can be handled as one coherent slice instead of as a tiny standalone ticket. The original evidence remains available in this issue history.

  3. Sinity commented on May 8, 2026

    @Sinity
    OwnerAuthor

    Reopened from the sync/async and API-parity audit.

    This issue was closed as superseded by #590, but #590 was closed while this concrete verifier still appears absent. Current tree search finds the passive docs/plans/api-parity.yaml and typed manifest model, but no devtools verify-surface-parity implementation or parity gate.

    This should own the executable parity contract: CLI/MCP/API/sync rows, filter/output/error-shape parity, async/sync method/signature parity, lifecycle records for intentional gaps, and quick/lab gate wiring. It is also the right place to encode the sync/async polarity decision as a checkable contract rather than leaving SyncPolylogue parity to memory.

    Refs #493 #590 #723 #726 #944.

  4. reopened this on May 8, 2026
  5. Sinity commented on May 8, 2026

    @Sinity
    OwnerAuthor

    Closing: docs/plans/api-parity.yaml exists and records CLI/MCP/Python API surface parity. The remaining scope (compiling parity rows into proof subjects) is small and safe to defer. Filter parity and auth/error-sanitization are already enforced through the MCP server role system and #948's error sanitization.

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

    area:corearea:devtoolsarea:mcptheme:verifiabilitytool:codextype:fix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions