Skip to content

Docs: correct the setup-code expiry contract #964

Description

@steipete

Summary

docs/gateway-node-integration.md repeatedly 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

No open duplicate issue or PR was found.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3Low-risk cleanup, docs, polish, ergonomics, or speculative feature.bugSomething isn't workingclawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.documentationImprovements or additions to documentationissue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.no-staleExempts this issue from stale automation.

Type

No type

Fields

Priority

Low

Start date

Jul 10, 2026

Target date

Jul 10, 2026

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions