← Back to Pull requests

RUN-1042 | docs: rewrite gpg-custody for the single-key release-signing flow #153

Closed
unknown closed this pull request without merging on Oct 19, 2026 11:35 UTC
View on GitHub
unknown unknown commented on Oct 19, 2026 11:29 UTC
Author

<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
docs/gpg-custody.md still described the design that RUN-1042 dropped: an offline root with a 2-year signing subkey, a 15-minute operator ceremony, a vault copy, a reserved ODIGOS_PKG_SIGNING_KEY_PASSPHRASE secret, an S3-hosted public key, and a throwaway TEST key in repo secrets. None of that exists.

What shipped instead, and what the page now documents:

  • one RSA-4096 key (6E80516AF71835E5FD12E3D8272251E89CC74CFF), no expiry, no passphrase, no subkeys

  • generated only by the gated rotate-package-signing-key workflow in odigos-io/release-signing, written straight into the organization secret ODIGOS_PKG_SIGNING_KEY scoped to vm-agent and odigos-enterprise

  • public key published in the append-only keyring docs/keys/odigos-package-signing-keys.asc in odigos-io/odigos, with a status table in the docs

  • rotation only on compromise or loss, through the same workflow
  • Also corrects the two-key section: Artifact Registry signs yum repomd.xml as well as apt InRelease (verified against yum.odigos.io/.../repodata/repomd.xml.asc), and repo_gpgcheck=0 is a choice to keep gpgkey= down to our key, not a limitation. SIGNING.md keeps its pointer, reworded from "key ceremony" to "key generation".

    Every concrete claim was checked against the workflow source, the odigos trust policy and keyring, the vm-agent and odigos-enterprise signing PRs, the org secret metadata, and rpm behaviour in Rocky 9 and Amazon Linux 2 containers.
    <!-- CURSOR_AGENT_PR_BODY_END -->

    <div><a href="https://cursor.com/agents/bc-e1a20951-aab7-4637-855b-57a4f99666d4?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-web-light.png"><img alt="Open in Web" width="114" height="28" src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a>&nbsp;<a href="https://cursor.com/background-agent?bcId=bc-e1a20951-aab7-4637-855b-57a4f99666d4&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img alt="Open in Cursor" width="131" height="28" src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a>&nbsp;</div>

    Diff: 315 lines (+236 / -79) across 3 files Reviewer: aviadhahami Review duration: 6m
    All Vouch review confidence checks passed
    Residual risk 0.20 = Change Risk (0.45) × (1 − Review Confidence (0.55)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 315 lines diff across 3 files
    0.45
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 79% · Reviewer familiarity: 35%
    55%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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.344
    Shallow Review Depth shallow_review_depth
    0.289
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #153"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 55.3% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 45.4% (MEDIUM) · Higher = larger blast radius
    45.4%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 55.3% · Lower = rushed or shallow review
    55.3%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 20.3% · Safe to merge
    20.3%