You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
infra: org ruleset required_signatures blocks PRs carrying commits from machines with unregistered signing keys — register every lane machine's key (found via PR #591) #631
Found at PR #591's merge digest (control tower, 2026-07-20). The org ruleset (17988999) sets required_signatures: true, gating on every constituent commit of a PR — a single commit signed with an unregistered key (UNKNOWN_KEY) or unsigned (NO_SIG) blocks the merge even when everything else is clean, and the failure surfaces only as an opaque mergeStateStatus: BLOCKED.
Evidence: #591 had 2 UNKNOWN_KEY commits (authored on a lane machine whose signing key GitHub doesn't recognize) + 1 NO_SIG (an agent worktree commit that skipped signing); the desktop's config produces VALID commits.
Actions:
Inventory each machine running lanes (desktop, personal laptop, work laptop) — confirm user.signingkey + gpg.format config AND that the key is registered on the GitHub account. Register missing keys.
Ensure agent worktrees inherit signing config (the NO_SIG commit suggests a worktree/env where commit.gpgsign didn't apply).
Babysit/tower diagnostic: when mergeStateStatus is BLOCKED with green checks + zero threads, check commit verification states before anything else (this failure mode reads as "mystery block").
Cross-repo note: ruleset itself is github-iac-owned; no ruleset change recommended — fix the keys, keep the protection.
Mixed action set: item 1 (register each lane machine's signing key on its GitHub account) is inherently a human credential/identity action — no autonomous coding agent can register a signing key on someone's GitHub account. Items 2 (agent worktrees inheriting signing config) and 3 (babysit/tower diagnostic runbook addition) are agent-doable once item 1 is done, but the issue is one coherent unit and item 1 gates the rest.
Priority: high — this currently blocks a live, open PR (#591, mergeStateStatus: BLOCKED on required_signatures), satisfying the "blocks other work" criterion. Could not record a native blocked-by edge from PR #591 to this issue — gh pr edit has no --add-blocked-by/--blocked-by flag (native issue-dependency linking appears to be an Issues-only surface via this CLI). Noting the block here in lieu of a machine-visible dependency edge; flagging as a lane-tooling gap.
wayfind:task (execution runbook for a human, not an open design question).
Decision brief — how to close the signing-key gap that required_signatures exposes.
Problem
The org signing ruleset requires every commit on a PR to carry a signature GitHub can verify, and a signature verifies only when the key is registered to a GitHub account. PRs are silently BLOCKED (as on #591) whenever a lane machine's commits are signed with a key GitHub doesn't recognize (UNKNOWN_KEY) or aren't signed at all (NO_SIG) — so the real decision is who registers each lane machine's signing key, and how we keep that from recurring.
Current setup (verified in melodic-software/github-iac)
The ruleset is IaC-managed, not ad-hoc: OrgRulesets.cs:160 defines OrganizationRuleset("signing") — Target=branch, Enforcement=active, Rules.RequiredSignatures = true, Protect = true.
It is gated on the requires-signing custom property, which defaults to true and applies org-wide (OrgCustomProperties.cs:8,31; OrgRulesets.cs:165). So the protection is on for every governed repo by design.
Provenance is intentional: GovernedRepository.cs:73 documents that provenance = "cryptographic commit signing plus PR review, not a DCO text trailer." This is a deliberate governance choice, not an accident.
Conclusion: no ruleset change is warranted. The enforcement is working as designed; the gap is missing/unregistered keys on the signing side. (This matches the issue body's cross-repo note.)
A commit shows Verified only when signed with a GPG/SSH/S-MIME key registered to a GitHub account and the signer identity matches; otherwise it is Unverified, which required_signatures treats as failing. See GitHub Docs, "About commit signature verification" (docs.github.com/authentication/managing-commit-signature-verification/about-commit-signature-verification) and "Available rules for rulesets → Require signed commits." (Cited from GitHub's documented behavior; I did not live-fetch the pages in this session — treat exact wording as unverified.)
Registering a signing key is a per-user, per-account identity action on the GitHub account that authored the commits — it is not org/repo config, so the Pulumi GitHub provider in github-iac does not manage it. (Unverified: I did not confirm the provider lacks a user-signing-key resource; flagging as a security-relevant assumption to check before ruling IaC out entirely.)
Security framing (device-bound material)
A commit signing key's private half is device-bound material: per the org secret-binding policy (NIST IR 7966 / SP 800-57), you generate it per device, never copy or sync the private half, and distribute only the public half (here, by registering it on the account). That principle drives the options below — any approach that copies one private key across machines is the anti-pattern, not a shortcut.
What I could NOT verify (please confirm before acting)
Which machines actually run lanes (issue body says desktop / personal laptop / work laptop), their current user.signingkey + gpg.format (ssh vs openpgp), and which keys are already registered on the account. This requires per-machine + per-account inspection I can't do from here.
Options
Option A — Register each lane machine's own device-bound key manually, now (RECOMMENDED).
On every lane machine: confirm a dedicated signing key exists (an SSH-format signing key is usually the least-friction choice; GPG also works), then register only the public half to the GitHub account as a signing key. Most secure — one private key per device, per-machine revocation, nothing copied. Reversible (remove the key from the account). Cost: a manual step per machine; must be repeated when a machine is added — which is exactly what Option B fixes.
Option B — Do A, then codify it as a documented onboarding step (RECOMMENDED, pairs with A).
Capture "generate device signing key → register public half → set commit.gpgsign=true + gpg.format" as a lane-machine onboarding runbook/skill so the gap can't silently recur. Additive to A, not a substitute. This is the durable fix for the recurring class of failure; A fixes the machines blocking #591 today. Low risk, fully reversible.
Option C — One shared signing key copied to every machine. (NOT RECOMMENDED.)
Simplest to reason about, but it copies device-bound private material across machines — directly violates the secret-binding policy, creates a single point of compromise, and destroys per-machine revocation. Reject unless there is an overriding reason, and only with explicit approval.
Option D — Move key registration into github-iac IaC. (Likely not applicable — verify.)
Attractive for consistency, but signing keys are account-scoped identity material, not org/repo config, so they probably fall outside the Pulumi GitHub provider's managed surface. Confirm before pursuing; if unsupported, record it as "cannot be expressed in IaC" per the IaC-first doc and keep A+B.
RECOMMENDED: A + B. Register each lane machine's own device-bound key now to unblock #591 (Option A), and capture the registration as an onboarding step so new machines don't reintroduce the block (Option B). This unblocks the live PR without weakening the protection and stops the failure mode from returning — while honoring the device-bound-key security posture. Reversible at every step.
Note: items 2 (agent worktrees inheriting commit.gpgsign) and 3 (babysit/tower BLOCKED-with-green-checks diagnostic) from the issue body are agent-doable follow-ons, but both are gated on the human key-registration decision above (the needs-human label reflects this). This is a brief only — no label change, no close, no key registration performed.
Register SSH signing keys for MELO-DESK-001 / MELO-LAP-001 (and any other lane machines) as GitHub SSH signing keys. Cloud Cursor Agent commits already verify; desk/laptop keys still need registration for local merges.
Reap clean disposable worktrees across the 6 measured roots (115/142 were clean). Prefer the fleet hygiene / source-control prune paths; do not leave convention-forbidden roots populated.
Product-level Claude Code plugin cache keyed by version — document local workaround (reinstall / bump version) until upstream cache key includes commit; no in-repo fix fully solves it.
Everything else from the pre-drain ~240 open issues was closed via merged PRs or frontier disposition this session. No new issues left open from this drain.
Cloud Cursor Agent commits continue to verify under the org signing ruleset (constituent commits on recent merges show verification.verified=true). Desk/laptop keys remain the open host gap.
Activity
kyle-sexton commentedon Jul 20, 2026
This was generated by AI during triage.
Triage — T3, needs-human.
Mixed action set: item 1 (register each lane machine's signing key on its GitHub account) is inherently a human credential/identity action — no autonomous coding agent can register a signing key on someone's GitHub account. Items 2 (agent worktrees inheriting signing config) and 3 (babysit/tower diagnostic runbook addition) are agent-doable once item 1 is done, but the issue is one coherent unit and item 1 gates the rest.
Priority: high — this currently blocks a live, open PR (#591,
mergeStateStatus: BLOCKEDonrequired_signatures), satisfying the "blocks other work" criterion. Could not record a nativeblocked-byedge from PR #591 to this issue —gh pr edithas no--add-blocked-by/--blocked-byflag (native issue-dependency linking appears to be an Issues-only surface via this CLI). Noting the block here in lieu of a machine-visible dependency edge; flagging as a lane-tooling gap.wayfind:task (execution runbook for a human, not an open design question).
docs(session-flow): document override boundary for stage taxonomy and…
kyle-sexton commentedon Jul 23, 2026
This was generated by AI during triage.
Decision brief — how to close the signing-key gap that
required_signaturesexposes.Problem
The org
signingruleset requires every commit on a PR to carry a signature GitHub can verify, and a signature verifies only when the key is registered to a GitHub account. PRs are silentlyBLOCKED(as on #591) whenever a lane machine's commits are signed with a key GitHub doesn't recognize (UNKNOWN_KEY) or aren't signed at all (NO_SIG) — so the real decision is who registers each lane machine's signing key, and how we keep that from recurring.Current setup (verified in
melodic-software/github-iac)OrgRulesets.cs:160definesOrganizationRuleset("signing")—Target=branch,Enforcement=active,Rules.RequiredSignatures = true,Protect = true.requires-signingcustom property, which defaults totrueand applies org-wide (OrgCustomProperties.cs:8,31;OrgRulesets.cs:165). So the protection is on for every governed repo by design.GovernedRepository.cs:73documents that provenance = "cryptographic commit signing plus PR review, not a DCO text trailer." This is a deliberate governance choice, not an accident.External facts (GitHub commit-signature verification)
required_signaturestreats as failing. See GitHub Docs, "About commit signature verification" (docs.github.com/authentication/managing-commit-signature-verification/about-commit-signature-verification) and "Available rules for rulesets → Require signed commits." (Cited from GitHub's documented behavior; I did not live-fetch the pages in this session — treat exact wording as unverified.)github-iacdoes not manage it. (Unverified: I did not confirm the provider lacks a user-signing-key resource; flagging as a security-relevant assumption to check before ruling IaC out entirely.)Security framing (device-bound material)
A commit signing key's private half is device-bound material: per the org secret-binding policy (NIST IR 7966 / SP 800-57), you generate it per device, never copy or sync the private half, and distribute only the public half (here, by registering it on the account). That principle drives the options below — any approach that copies one private key across machines is the anti-pattern, not a shortcut.
What I could NOT verify (please confirm before acting)
user.signingkey+gpg.format(sshvsopenpgp), and which keys are already registered on the account. This requires per-machine + per-account inspection I can't do from here.Options
Option A — Register each lane machine's own device-bound key manually, now (RECOMMENDED).
On every lane machine: confirm a dedicated signing key exists (an SSH-format signing key is usually the least-friction choice; GPG also works), then register only the public half to the GitHub account as a signing key. Most secure — one private key per device, per-machine revocation, nothing copied. Reversible (remove the key from the account). Cost: a manual step per machine; must be repeated when a machine is added — which is exactly what Option B fixes.
Option B — Do A, then codify it as a documented onboarding step (RECOMMENDED, pairs with A).
Capture "generate device signing key → register public half → set
commit.gpgsign=true+gpg.format" as a lane-machine onboarding runbook/skill so the gap can't silently recur. Additive to A, not a substitute. This is the durable fix for the recurring class of failure; A fixes the machines blocking #591 today. Low risk, fully reversible.Option C — One shared signing key copied to every machine. (NOT RECOMMENDED.)
Simplest to reason about, but it copies device-bound private material across machines — directly violates the secret-binding policy, creates a single point of compromise, and destroys per-machine revocation. Reject unless there is an overriding reason, and only with explicit approval.
Option D — Move key registration into
github-iacIaC. (Likely not applicable — verify.)Attractive for consistency, but signing keys are account-scoped identity material, not org/repo config, so they probably fall outside the Pulumi GitHub provider's managed surface. Confirm before pursuing; if unsupported, record it as "cannot be expressed in IaC" per the IaC-first doc and keep A+B.
RECOMMENDED: A + B. Register each lane machine's own device-bound key now to unblock #591 (Option A), and capture the registration as an onboarding step so new machines don't reintroduce the block (Option B). This unblocks the live PR without weakening the protection and stops the failure mode from returning — while honoring the device-bound-key security posture. Reversible at every step.
Note: items 2 (agent worktrees inheriting
commit.gpgsign) and 3 (babysit/towerBLOCKED-with-green-checks diagnostic) from the issue body are agent-doable follow-ons, but both are gated on the human key-registration decision above (theneeds-humanlabel reflects this). This is a brief only — no label change, no close, no key registration performed.fix(source-control): babysit_merge enforces requireSignatures with pe…
kyle-sexton commentedon Aug 13, 2026
Operator packet (drain session) — Class C host / multi-machine items
These cannot be fully finished in the cloud-agent VM. Concrete host actions:
stranded/*quarantine refs across org repos: 50 hold unique content — review per-ref before delete; 2 are redundant and safe to drop.No new issues filed. In-repo slices for these items continue separately when applicable; this packet is the host checklist.
kyle-sexton commentedon Aug 13, 2026
Operator packet update (drain session final)
Open backlog after drain wave — intentional KEEP set only:
Standing telemetry (do not close)
Host / multi-machine Class C
Design carriers (need maintainer/host ratify before code)
/plugin configure: bare vs marketplace-suffixed form is unresolved fleet-wide #1360/plugin configurebare vs marketplace-suffixed formProgram umbrellas (tracking surfaces)
Everything else from the pre-drain ~240 open issues was closed via merged PRs or frontier disposition this session. No new issues left open from this drain.
kyle-sexton commentedon Aug 13, 2026
Operator packet refresh — drain session
bc-f3123271(2026-08-13)Cloud Cursor Agent commits continue to verify under the org
signingruleset (constituent commits on recent merges showverification.verified=true). Desk/laptop keys remain the open host gap.Host actions still required
gh api user/ssh_signing_keyslists each machine key; a local signed commit on a test PR verifiesgit worktree listacross fleet shows no/tmpor dead-scratchpad pathsstranded/*across org repos — 50 unique-content, 2 redundantplugin.jsonname)Telemetry KEEP (do not close): #502, #1198, #1214, #1248.
No new issues filed from this refresh.