docs: design broker SSH credential handoff - #1204
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 31, 2026, 11:22 AM ET / 15:22 UTC. ClawSweeper reviewWhat this changesThis PR adds a proposed provider-neutral design for short-lived, revocable SSH credentials when an independently configured client borrows a ready-pool lease, and links it from the broker specification. Merge readinessKeep this PR open for maintainer review: it documents a new security-sensitive SSH credential contract rather than an implemented behavior, and its access, revocation, and rollout choices should be explicitly accepted before becoming repository guidance. Likely related people: steipete (medium confidence). Priority: P3 Review scores
Verification
How this fits togetherCrabbox ready pools let keepers register prepared remote leases and let clients borrow and return them through the Worker coordinator. This proposed handoff sits between broker authorization and provider-managed remote access, defining how a borrower would receive scoped SSH access without sharing a standing keeper key. flowchart LR
A[Authorized client] --> B[Worker coordinator]
B --> C[Borrow authorization]
C --> D[Short-lived SSH grant]
D --> E[Provider access capability]
E --> F[Borrowed ready-pool lease]
F --> G[Return and revocation]
G --> H[Ready or quarantined lease]
Decision needed
Why: The patch contains no runtime implementation defect to repair, but it defines authentication scope, credential expiry, revocation, session fencing, and legacy degradation that affect the product's future security boundary and upgrade behavior. Before merge
Findings
Agent review detailsSecurityNeeds attention: This docs-only patch adds no executable dependency or secret-handling code, but it proposes a security-sensitive SSH credential, revocation, and fencing contract that needs explicit maintainer acceptance. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Approve and retain a single provider-neutral design only after maintainers explicitly choose the supported grant lifecycle, legacy-borrow compatibility behavior, provider capability contract, and phased rollout criteria; implement those choices later with focused provider and coordinator tests. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR documents an explicitly unimplemented future credential-handoff design rather than reporting a current runtime failure. Is this the best way to solve the issue? Unclear: a provider-neutral design is the right place to record cross-provider invariants, but maintainers must first confirm that its security and legacy-compatibility commitments are the intended permanent contract. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 5aa1c3983874. LabelsLabel changes:
Label justifications:
EvidenceSecurity concerns:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (6 earlier review cycles)
|
Summary
ready; otherwise quarantine or drainThis is the remaining credential-handoff design for #1074. The capacity half landed in #1197. The grant and revalidation conventions are aligned with the device-pairing work in #1199.
Verification
Runtime proof is not applicable: this PR changes documentation only and explicitly marks the design as unimplemented.