Skip to content

docs: add versioned CLI capture matrix contract - #257

Open
harshitethic wants to merge 3 commits into
Siddhant-K-code:mainfrom
harshitethic:feat/capture-matrix-foundation
Open

harshitethic wants to merge 3 commits into
Siddhant-K-code:mainfrom
harshitethic:feat/capture-matrix-foundation

Conversation

@harshitethic

Copy link
Copy Markdown

Summary

Adds the first machine-readable + human-readable capture matrix for the CLI hook adapters, scoped to Claude Code and OpenAI Codex as requested in #239.

What changes

  • docs/capture-matrix.json defines provider setup/config/rollback, privacy notes, known gaps, and per-capability coverage.
  • docs/capture-matrix.md gives the reviewer-facing version of the same boundaries.
  • tests/test_capture_matrix.py keeps provider IDs unique, enforces the coverage schema, checks the human docs mention every machine-readable provider, and prevents an entry from claiming verified without a tested version, verification date, and fixture/test reference.

Trust boundary

The current repository documents adapter behavior, but it does not contain a clean-environment verification record with exact Claude/Codex versions. This PR therefore marks both entries unverified rather than fabricating version/date evidence. The structure makes that missing evidence visible and gives a deterministic place for #239's future verification command to update.

For Codex, the matrix intentionally does not claim session-end/stop coverage because the current integration docs only claim session start, prompts, responses, and PreToolUse/PostToolUse activity.

Scope

This is a focused foundation for #239, not a claim to close the full issue. The remaining work is the executable setup/doctor verification path and automated stale-entry checks tied to real provider-version fixtures.

Validation

The added test is dependency-free (unittest + stdlib JSON/pathlib). I could not run the local suite because the connected development machine is offline; upstream CI is the verification gate for this branch.

Refs #239.

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