Skip to content

Add a versioned provider SDK, capability registry, and integration test kit #45

Closed

Description

@morluto

Goal

Let first-party and community tools integrate with REA through stable semantic capabilities without coupling the core to each provider.

Scope

  • versioned provider manifest and identity
  • capability declarations with input/output schema versions
  • host, target, license, installation, and availability constraints
  • side-effect and approval metadata
  • provider lifecycle, cancellation, progress, limits, and diagnostics
  • fixture-driven conformance test kit
  • provider discovery and precedence
  • result normalization with access to raw evidence
  • compatibility and deprecation policy
  • signed or checksummed distribution metadata where appropriate

Requirements

  • Providers cannot register undeclared operations.
  • Capability negotiation is deterministic and explainable.
  • A provider failure cannot silently fall through to weaker evidence without recording the decision.
  • Commercial or user-supplied tools remain optional and are never redistributed improperly.
  • Skills target capability versions and declare acceptable fallbacks.

Acceptance criteria

  • An out-of-tree sample provider can be installed and exercised without editing REA core.
  • Conformance tests validate contracts, cancellation, limits, errors, provenance, and side-effect labels.
  • The CLI explains which provider was selected and why.
  • Incompatible providers fail during discovery with actionable diagnostics.

Roadmap expansion

The conformance kit must cover static, dynamic, browser, and replay providers.

Capability manifests include typed operation/schema versions, boundedness, exhaustiveness, authority, side effects, host support, and limitations. Include a non-Hopper fake provider proving that evidence identity, error tags, routing, and schemas never relabel results. Additional decompilers remain blocked until this kit and #25 are green.

Activity

  1. added
    enhancement
    P1: high
    area: domain
    area: tests
    roadmap
    on Jul 12, 2026
  2. morluto commented on Jul 17, 2026

    @morluto
    OwnerAuthor

    The in-tree typed provider interface, registry, descriptors, deterministic selection, and integration tests are delivered. Remaining scope is specifically an out-of-tree versioned SDK: manifest, compatibility/deprecation/distribution contract, sample external provider, and conformance kit.

  3. morluto commented on Jul 20, 2026

    @morluto
    OwnerAuthor

    Split into focused child issues:

    These replace the broad remaining scope in this issue. Closing this parent can happen once all children are closed.

  4. morluto commented on Jul 20, 2026

    @morluto
    OwnerAuthor

    Closing as out of scope / premature for the current local CLI/MCP reverse-engineering focus: no supporting code exists, and these areas should be revisited only after in-tree providers and the public boundary are stable.

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

    P1: higharea: domainarea: testsenhancementroadmap

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions