-
Notifications
You must be signed in to change notification settings - Fork 296
Docs: correct the setup-code expiry contract #964
Copy link
Copy link
Closed
Labels
P3Low-risk cleanup, docs, polish, ergonomics, or speculative feature.Low-risk cleanup, docs, polish, ergonomics, or speculative feature.bugSomething isn't workingSomething isn't workingclawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.documentationImprovements or additions to documentationImprovements or additions to documentationissue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.no-staleExempts this issue from stale automation.Exempts this issue from stale automation.
Description
Activity
Metadata
Metadata
Assignees
Labels
P3Low-risk cleanup, docs, polish, ergonomics, or speculative feature.Low-risk cleanup, docs, polish, ergonomics, or speculative feature.bugSomething isn't workingSomething isn't workingclawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.documentationImprovements or additions to documentationImprovements or additions to documentationissue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.no-staleExempts this issue from stale automation.Exempts this issue from stale automation.
Type
Fields
Priority
Low
Start date
Jul 10, 2026
Target date
Jul 10, 2026
Projects
- StatusShow more project fieldsLocal Gateway
Summary
docs/gateway-node-integration.mdrepeatedly says official setup codes embed expiry metadata, but the Gateway payload and active Windows decoder contain only URL and bootstrap-token fields.Current behavior
The guide describes
{ url, bootstrapToken, expiresAtMs }, says the decoded payload contains expiry, and retains a checklist item for a Windows expiry parser that was removed in #925.Expected behavior
Document the upstream payload as
{ url, urls?, bootstrapToken }, the Windows-consumed shape as{ url, bootstrapToken }, and the 10-minute lifetime as Gateway-enforced rather than serialized into the setup code.Impact
Windows integration work can incorrectly require or implement a field that official setup codes never contain, or assume the current tray performs a client-side expiry check that no longer exists.
Evidence
urlandbootstrapToken:openclaw-windows-node/src/OpenClaw.Connection/SetupCodeDecoder.cs
Lines 47 to 77 in 053501c
No open duplicate issue or PR was found.