Skip to content

Release 1.5.3: spec_version, FR-002 validation, FR-003 structured verify#19

Merged
bradleygauthier merged 1 commit intomainfrom
feat/cps-1.5.3-validation-and-structured-verify
Mar 22, 2026
Merged

Release 1.5.3: spec_version, FR-002 validation, FR-003 structured verify#19
bradleygauthier merged 1 commit intomainfrom
feat/cps-1.5.3-validation-and-structured-verify

Conversation

@bradleygauthier
Copy link
Contributor

Summary

Ships qp-capsule 1.5.3 with CPS spec_version, FR-002 runtime validation (Python + TypeScript), and FR-003 structured seal verification (detailed results + codes). Golden and invalid conformance fixtures, URI vectors, spec, and reference docs are updated accordingly.

Type of Change

  • New feature (non-breaking change that adds functionality)
  • Protocol change (modifies the CPS specification)
  • Documentation update
  • Test improvement

Checklist (local verification)

Python (reference/python/)

  • pytest tests/ with --cov-fail-under=100
  • ruff check src/ tests/
  • mypy src/qp_capsule/

TypeScript (reference/typescript/)

  • npm test
  • npx tsc --noEmit

General

  • CHANGELOG.md — 1.5.3

Protocol Impact

  • Protocol change (requires CPS version bump and golden fixture update) — spec_version required field; spec and fixtures updated.

…erify

- Require spec_version on Capsule; regenerate golden and invalid conformance fixtures
- Python: validate_capsule_dict / validate_capsule; export validation + seal result types
- TypeScript: validateCapsuleDict; verifyDetailed + SealVerifyCode / SealVerificationResult
- Seal: verify_detailed / verify_with_key_detailed; boolean verify delegates to detailed
- URI fixtures: align hash references with golden fixture hashes
- Docs: spec README, Python API reference, TypeScript README; conformance README
- Tests: validation, exports, seal edge cases; CLI/version assertions for 1.5.3
@bradleygauthier bradleygauthier merged commit 8a7be1d into main Mar 22, 2026
11 checks 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