Skip to content

Use canonical Maple PCR histories in both SDKs - #891

Merged
AnthonyRonning merged 2 commits into
masterfrom
codex-sdk-pcr-maple
Sep 8, 2026
Merged

AnthonyRonning merged 2 commits into
masterfrom
codex-sdk-pcr-maple

Conversation

@AnthonyRonning

@AnthonyRonning AnthonyRonning commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Both SDKs currently fetch signed PCR histories from the legacy backend repository. Switch their production and development defaults to MaplePrivacyLabs/Maple/master/services/opensecret/, where the backend import now maintains the same files.

The verification key, embedded PCR0 roots, environment separation, custom URL overrides, caching, bounds, and redirect rejection remain unchanged. Keep the legacy repository's existing URLs and manual signed-file mirror for installed clients. This PR changes source defaults; it does not publish packages or deploy the backend.

Validation:

  • All four public files at both master and immutable URLs in both repositories: 16 direct HTTP 200 responses, byte-identical to reviewed Maple commit 79385743c0a4e17d0f06a4a5fcf8240256448574; all 290 existing PCR0 signatures verified.
  • TypeScript: formatting/build, 123 tests passed and 3 hosted-enclave tests skipped, package inventory and both generated JS formats checked. Live SDK history fetches verified a non-embedded signed PCR0 through each new default URL.
  • Rust: formatting, clippy, 85 library tests, rustdoc, crate packaging/build, and in-tree dependency graph verification passed.
  • Normal pre-commit gate: Research web build and 818 tests passed. Independent diff review found no introduced issues.

The branch now incorporates merged PR #892, which patches fast-uri and corrects SDK workflow failure propagation, and PR #889, the backend Nix fixture fix. The diff against master remains the seven-file PCR URL/documentation change. The combined tree passed all nine root flake checks, TypeScript formatting/build and 123 tests (3 hosted tests skipped), and the normal Research build/818-test commit gate.

A fresh audit now reports GHSA-2883-xcg3-v3hh in the unchanged eslint -> @eslint/eslintrc -> js-yaml@4.3.1 development-tool chain. This advisory entered GitHub's database on 2026-09-08 at 21:24 UTC and was not reported in the earlier green SDK job. The current lockfiles match master; this PCR change does not introduce the dependency. Independent dependency-closure review found no js-yaml in the SDK or Research production closures. The audit remains enforced and fails until the separate dependency follow-up patches it. Functional validation after that failed audit was run separately; it is not a clean-audit claim.

The original hosted run passed Research desktop builds and SDK integration; its only job failure was the unchanged Agent macOS subprocess fixture's 0.5-second deadline. The user explicitly accepted that Agent failure for this merge and requested a separate follow-up PR next round. Refreshed/full post-merge hosted builds are separate from the local validation above.

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Maple development preview: https://2f960970.maple-ca8.pages.dev

Commit: 79774ba5d77790f53bb58f15dc55ffc66bd28dd8

Uses development API, billing, flags and PCR configuration. Cloudflare Access applies.

@AnthonyRonning
AnthonyRonning merged commit e931c4f into master Sep 8, 2026
33 of 34 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