Skip to content

docs: correct quote expiry to 15 minutes in api reference - #115

Merged
ScreamingHawk merged 1 commit into
mainfrom
docs/fix-quote-expiry-timing-2026-09-17
Sep 17, 2026
Merged

ScreamingHawk merged 1 commit into
mainfrom
docs/fix-quote-expiry-timing-2026-09-17

Conversation

@JamesLawton

Copy link
Copy Markdown
Collaborator

What changed

Corrects a factual error introduced by #110: quotes are valid for 15 minutes, not 5, and CommitIntent does not add a separate 10-minute post-commit window — committed intents share the same 15-minute quote expiry.

  • api-reference/endpoints/quote-intent.mdx — 5 → 15 minutes
  • api-reference/endpoints/execute-intent.mdx — 5 → 15 minutes; remove the bogus "10 minutes after CommitIntent" claim
  • api-reference/endpoints/execute-intent-edge.mdx — 5 → 15 minutes
  • api-reference/endpoints/commit-intent.mdx — replace the bogus 10-minute post-commit window with the shared quote expiry
  • api-reference/introduction.mdx — quickstart warning + timing table

Source of truth

0xsequence/trails-api release branch:

Also confirmed by ScreamingHawk's correction commit on #112 (docs: quote expiry is 15 minutes), which fixes the same claim in use-cases/fund.mdx.

Verification

  • grep -rn '5 minutes\|10 minutes\|15 minutes' api-reference/ — after this PR, only 15 minutes appears in the API-reference timing text.
  • Diff cross-checked against trails-api release at HEAD.
  • Deliberately does not touch use-cases/fund.mdx or resources/llm-integration.mdx; docs: update use case examples 2026-08-31 #112 already fixes the timing in those files.

Generated by the Trails Docs weekly agent (follow-up on a maintainer correction to #112).

🤖 Generated with Claude Code

https://claude.ai/code/session_017M77Ao94G6NcdUGvVMyNzT


Generated by Claude Code

@mintlify

mintlify Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
trails 🟢 Ready View Preview Sep 17, 2026, 3:20 AM

💡 Tip: Enable Automations to automatically generate PRs for you.

Quotes are valid for 15 minutes, not 5. CommitIntent does not create a
separate 10-minute window — committed intents share the same 15-minute
quote expiry checked by ExecuteIntent on a QUOTED intent. #110 landed
with the wrong timings; correcting them here.

Source of truth: 0xsequence/trails-api release
- lib/intentmachine/handle_quote.go:476-478 — "Set intent expiry to 15
  minutes: gives users enough time for QR scanning and slow wallets."
  Sets intent.ExpiresAt = time.Now().Add(15 * time.Minute).
- lib/intentmachine/handle_commit.go:80 — CommitIntent rejects when
  dbIntent.QuoteExpired() using the same ExpiresAt; no separate
  committed-window bump.

Files updated:
- api-reference/endpoints/quote-intent.mdx — 5 → 15 minutes
- api-reference/endpoints/execute-intent.mdx — 5 → 15; drop bogus
  "10 minutes after CommitIntent" window
- api-reference/endpoints/execute-intent-edge.mdx — 5 → 15 minutes
- api-reference/endpoints/commit-intent.mdx — replace bogus 10-minute
  post-commit window with the shared quote expiry
- api-reference/introduction.mdx — quickstart warning + timing table

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017M77Ao94G6NcdUGvVMyNzT
@ScreamingHawk
ScreamingHawk force-pushed the docs/fix-quote-expiry-timing-2026-09-17 branch from c615d5f to 7bb0b5c Compare September 17, 2026 03:24
@ScreamingHawk

Copy link
Copy Markdown
Contributor

Initial concern in 110 already fixed and merged. Updating PR to keep other detected issues

@ScreamingHawk
ScreamingHawk merged commit db89773 into main Sep 17, 2026
4 checks passed
@ScreamingHawk
ScreamingHawk deleted the docs/fix-quote-expiry-timing-2026-09-17 branch September 17, 2026 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants