fix(gateway): gate talk secret bootstrap handoff#85690
Conversation
|
Codex review: found issues before merge. Reviewed May 25, 2026, 2:59 AM ET / 06:59 UTC. Summary PR surface: Source +50, Tests +86, Docs +4. Total +140 across 14 files. Reproducibility: yes. from source inspection: current main's bootstrap handoff excludes Review metrics: 2 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge Security Review findings
Review detailsBest possible solution: Resolve the dirty merge state, align all pairing/setup docs, and land only after gateway/auth owners accept the expanded trusted bootstrap secret boundary. Do we have a high-confidence way to reproduce the issue? Yes, from source inspection: current main's bootstrap handoff excludes Is this the best way to solve the issue? Not yet: the implementation shape is focused, but the branch still needs docs alignment, conflict resolution, and explicit acceptance of the expanded secret-bearing bootstrap boundary. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model gpt-5.5, reasoning high; reviewed against 6709f4efe56c. Label changesLabel justifications:
Evidence reviewedPR surface: Source +50, Tests +86, Docs +4. Total +140 across 14 files. View PR surface stats
Security concerns:
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
ClawSweeper PR egg 🔥 Warming up: real-behavior proof passed; findings, security review, or rank-up moves are still in progress. Hatch commandComment Hatchability rules:
What is this egg doing here?
|
dfd6fa3 to
6a49b7b
Compare
6a49b7b to
8e6ec83
Compare
eeadf8c to
c66f3e3
Compare
34e4c8b to
9247cda
Compare
|
Merged via squash.
Thanks @ngutman! |
Summary
operator.talk.secretsto the bounded setup-code/bootstrap operator handoff scope list.Verification
node scripts/run-vitest.mjs extensions/device-pair/pair-command-auth.test.ts extensions/device-pair/index.test.ts src/shared/device-bootstrap-profile.test.ts src/infra/device-bootstrap.test.ts src/infra/device-pairing.test.ts src/pairing/setup-code.test.ts src/gateway/server.auth.control-ui.test.tsnode scripts/run-tsgo.mjs -p tsconfig.core.json --incremental --tsBuildInfoFile .artifacts/tsgo-cache/core.tsbuildinfoCODEX_REVIEW_AUTO_TESTS=0 ~/.pi/agent/skills/codex-review/scripts/codex-review --mode branchReal behavior proof
Behavior addressed: trusted setup-code/bootstrap handoff can carry
operator.talk.secretsfor native Talk config reads, but/pairsetup/QR issuance from scoped gateway callers now requires Talk secret authority.Real environment tested: local Codex worktree
/Users/guti/.codex/worktrees/7eff/copy-1.Exact steps or command run after this patch:
node scripts/run-vitest.mjs extensions/device-pair/pair-command-auth.test.ts extensions/device-pair/index.test.ts src/shared/device-bootstrap-profile.test.ts src/infra/device-bootstrap.test.ts src/infra/device-pairing.test.ts src/pairing/setup-code.test.ts src/gateway/server.auth.control-ui.test.ts;node scripts/run-tsgo.mjs -p tsconfig.core.json --incremental --tsBuildInfoFile .artifacts/tsgo-cache/core.tsbuildinfo;CODEX_REVIEW_AUTO_TESTS=0 ~/.pi/agent/skills/codex-review/scripts/codex-review --mode branch.Evidence after fix: focused Vitest passed 7 files / 196 tests; tsgo produced no diagnostics; Codex review reported
codex-review clean: no accepted/actionable findings reported.Observed result after fix: setup-code/QR issuance tests reject scoped gateway callers missing
operator.talk.secrets, and current bootstrap handoff includes Talk secret scope without granting admin or pairing scopes.What was not tested: full release/packaging lanes and live mobile app pairing were not run.