Skip to content

Support typed inputs in Panthera shadow plans - #13

Merged
Desperado merged 1 commit into
mainfrom
feature/native-planner-inputs
Nov 22, 2026
Merged

Desperado merged 1 commit into
mainfrom
feature/native-planner-inputs

Conversation

@Desperado

Copy link
Copy Markdown
Contributor

Refs #9.

Add schema 2 to the native shadow planner with typed input keys and a stable expand_reason code. A new function key alone can reuse baseline coverage. Changes or removals of function, file, and directory inputs select their known consumers. Shared fingerprints, module removals, and other evidence gaps expand to the full inventory. Reject empty fingerprints before planning.

Schema 1 keeps the request and response behavior used by the pinned collector. The README defines the collector’s responsibilities for collection inventory, shared behavior, and runtime imports. The pytest collector migration follows separately.

Validation

  • 27 Rust tests and 44 Python adapter tests passed. Rust formatting, Clippy, and pre-commit passed.
  • Independent review compared 384 generated schema 1 requests with the published v0.2.0-rc.2 binary. Exit codes, stdout, and stderr matched byte for byte.
  • Independent review confirmed that the CLI rejects 12 missing or blank fingerprint cases under schema 2.

@Desperado
Desperado merged commit d121295 into main Nov 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant