Repository navigation
What's new
- Portable reasoning-history evidence: canonical object encoding/decoding, SHA-256 addressing, bounded read-only bundle verification, and P-256 signature trust reporting with shared Python/Swift fixtures. Python owns local repository operations, branches, CLI, and web workbenches.
- Experimental Structural Alignment v1: deterministic integer basis-point scoring and separate F1, hierarchy, and order gates. This opt-in engine does not replace the existing alignment engine or frozen Trace Specification v1.
- Experimental configuration authorization: canonical fingerprints and Ed25519 manifests verified with CryptoKit against independently supplied trusted-key policy.
- Shared malformed-attestation conformance: negative DPK-BINARY-V1 cases and cross-language fixture parity checks.
Verification hardening
- Reject inconsistent alignment-snapshot provenance metadata.
- Expose incomplete typed input and conservative high-risk/indeterminate comparisons when persisted events cannot be decoded.
- Require critical timestamping-only certificate EKU and signer-certificate validity at an RFC 3161 token's
genTime.
Existing complete-input matching, profile hashes, frozen Trace Specification v1, DPK-BINARY-V1 encoding, and proof-pack formats are unchanged. Stricter timestamp certificate checks can reject previously accepted tokens. CMS authentication remains macOS-only with explicit pinned-TSA trust; iOS structural checks do not authenticate the signer. General PKI-chain validation is not delivered.
Structural Alignment v1 and configuration authorization remain experimental. A valid signed record or bundle establishes recorded integrity relative to the supplied trust policy, not truth, complete observation, or authority to execute. Matching Python/Swift package versions do not imply identical feature sets.
Validation
The merged release commit passed macOS 26/Xcode 26.5 builds and tests, CLI evaluation and fail-closed smoke checks, production-engine conformance, the Swift 6.1 library-target floor, ThreadSanitizer concurrency tests, full macOS/iOS package builds, Foundation Models demo/build checks, WebVisualizer smoke tests, and secret/OSS-boundary checks.
All 10 shared fixture files match Python byte-for-byte. The paired Python source passed 749 tests with 4 optional framework integrations skipped, 13/13 regression corpus cases, lint/type checks, packaging, and clean-install offline demos. The optional integrations are not claimed as verified by those skips.
Install
.package(url: "https://github.com/Therealdk8890/DProvenanceKit", from: "0.10.0")Swift release commit: f3b0ff225e15bf3ca075b1fd6f0023dd4834af4c.