Skip to content

Plan verification runs from registry update impact #17

Description

@StatPan

Summary

Use registry diff/impact results to generate bounded verification batches for only the call paths affected by a registry update.

Part of #5. Related to #15.

Current gap

catalog verify plan can plan evidence growth from existing verification reports, but it is not yet tied to registry update impact. After new specs land, users need a direct path from changed metadata to focused verification instead of rechecking unrelated operations.

Desired behavior

Given an old registry, new registry, and optional previous verification report, produce verification batches for:

  • newly callable operations;
  • endpoint or parameter changes;
  • operations that moved into or out of adapter ownership;
  • previously verified operations whose call route changed;
  • operations with stale evidence after registry update.

Possible surfaces

  • datapan catalog verify plan --old-registry OLD --registry NEW --impact REPORT --json
  • datapan catalog update data-go-kr --verification-plan --json
  • impact report next_steps that point to focused catalog verify commands.

Acceptance criteria

  • Plan output distinguishes evidence-growth batches from update-impact batches.
  • Generated commands preserve existing bounds such as --limit, --timeout, --workers, provider/host/kind filters, and --exclude-input where appropriate.
  • Stable ordering keeps high-value/changed operations first.
  • JSON includes reason codes for why each batch exists.
  • Tests cover new operation, changed endpoint, changed params, adapter ownership transition, and no-impact cases.

Notes

This completes the loop: registry changed -> impact known -> only affected call paths are verified -> coverage/evidence can be carried forward.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions