Skip to content

Add TypeScript TRACE finalization - #26

Merged
imran-siddique merged 1 commit into
mainfrom
agent/typescript-trace-finalizer
Aug 19, 2026
Merged

Add TypeScript TRACE finalization#26
imran-siddique merged 1 commit into
mainfrom
agent/typescript-trace-finalizer

Conversation

@imran-siddique

Copy link
Copy Markdown
Member

What changed

  • add TypeScript TRACE v0.2 claim derivation from sealed, complete evidence
  • require a caller-supplied official codec for signing, structural validation, public-key derivation, and self-verification
  • fail closed on incomplete evidence, missing trust inputs, conflicting policy bindings, missing/unranked data classification, or codec failure
  • derive policy binding, maximum data class, appraisal, issuance time, software-only measurement, and optional tool transcript
  • standardize Python and TypeScript tool-transcript hashing on RFC 8785 JCS

Why

No official AgentTrust TRACE package currently exists on npm. Implementing a local shape check would overstate conformance. A strict codec boundary makes the orchestration usable without pretending the telemetry SDK is the official cryptographic validator.

Impact

TypeScript now covers the same telemetry-to-TRACE derivation flow as Python when supplied an official codec. The SDK still never loads or generates a signing key and never manufactures hardware attestation.

Validation

  • python -m pytest -q — 93 passed, 21 subtests passed
  • npm run check — build, 41 tests, package dry run passed
  • shared Python/TypeScript RFC 8785 transcript digest asserted
  • schema, version, OTel matrix, and conformance gates passed
  • exact installed-tarball export smoke test passed

@imran-siddique
imran-siddique marked this pull request as ready for review August 19, 2026 17:45
@imran-siddique
imran-siddique merged commit 3b39f4c into main Aug 19, 2026
8 checks passed
@imran-siddique
imran-siddique deleted the agent/typescript-trace-finalizer branch August 19, 2026 17:46
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