sign-macos: add opt-in grpcurl notarization signing #1
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.40) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 316 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.345
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #1"
general
weight: 0.35
zanieb
Summary
Apple's Notary API requires a JWT signed with the App Store Connect key. Add
notarization-backend: signer-serviceto sign the existing JWT digest through signer-service; Azure remains the default.Keep signer-service requests in
notarize-release-macos.py. ValidateVaultandKeyNameon construction, preserve specific OIDC validation errors, and keep credential-sensitive details out of error output. Installastral-dev-toolchain-grpcurl==1.9.4through the script’s PEP 723 dependencies and hash-locked wheels. A minimal proto defines the two required RPCs; no separate installer or action installation step is needed.Require an exact Azure metadata key version, signer key ID, independent DER SPKI SHA-256 pin, and ES256 algorithm. Errors stop notarization without falling back to Azure. Preflight verifies metadata and public-key access without signing or submitting to Apple. JWT claims, ZIP creation, upload, polling, and acceptance handling are unchanged.
Stack
Stacked on Astral signing #52. This PR targets its branch in the fork so the diff contains only notarization. After #52 lands, submit this branch against upstream main.
Validation
--help, andgit diff --checkpassed. Existing dependency versions are unchanged.Before enabling
SIGNandGET_PUBLIC_KEYS.Codex Task:
codex://threads/01a1a4df-2c51-7813-b5a2-1f668062fd0d-Banditbot