Skip to content

docs: extend agent auth code validity from 5 to 10 minutes - #1232

Merged
hold-baby merged 1 commit into
mainfrom
feat/update_agent_auth_code_ttl_to_10_minutes
Aug 28, 2026
Merged

docs: extend agent auth code validity from 5 to 10 minutes#1232
hold-baby merged 1 commit into
mainfrom
feat/update_agent_auth_code_ttl_to_10_minutes

Conversation

@hold-baby

Copy link
Copy Markdown
Collaborator

Merge Verdict

[APPROVE] — Docs-only copy change; auth code TTL updated from 5 to 10 minutes, consistently applied across all three locales.

3 files · +9 / -9 · docs/en docs/zh-CN docs/zh-HK


Change Summary

  • Updates the AI Agent auth code TTL from 5 minutes to 10 minutes on the agent-auth page.
  • All 3 mentions per file are covered: the intro statement, the Security bullet (10-minute TTL), and the "code has expired" troubleshooting note.
  • Applied identically in en / zh-CN / zh-HK, satisfying the repo's trilingual sync rule.

Risk Analysis

Risk Level Mitigation
Docs drift from backend TTL 🟡 Requires the server-side auth code TTL to actually be 10 minutes; otherwise users will hit an expiry earlier than documented
Missed occurrences grep over docs/ confirms no remaining "5 minutes / 5 分钟 / 5 分鐘" reference to the auth code TTL
Locale divergence Same 3 edits in all three locale files, verified line by line

Design Decisions

  • Terminology kept intact: only the number changed; wording, bold markers and links are untouched, so translation parity is preserved.
  • Device-flow polling left alone: docs/{lang}/skill/install/index.md mentions "~5 minutes" for the auth login device-code polling window — a different mechanism from the one-time auth code, correctly not modified.

Code Concerns

  1. [需判断] Docs change assumes the backend TTL is already 10 minutes (docs/en/docs/agent-auth.md:37)
    Docs are not the source of truth here; confirm the auth service has shipped the 10-minute TTL before merging, otherwise the page over-promises.

Verification Status

✅ Markdown-only change · ✅ Trilingual sync verified · 📋 To verify: backend auth code TTL is actually 10 minutes

@hold-baby
hold-baby merged commit b874d3c into main Aug 28, 2026
2 checks passed
@hold-baby
hold-baby deleted the feat/update_agent_auth_code_ttl_to_10_minutes branch August 28, 2026 11:31
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.

1 participant