docs: swift quickstart improvements as guided by evals flywheel to improve Agentic experience#1386
Merged
sanchitmehtagit merged 2 commits intoJun 15, 2026
Conversation
Contributor
Summary
|
BcnCarlos
approved these changes
Jun 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Improves the iOS/Swift quickstart based on eval-flywheel findings. When an LLM
agent follows the current quickstart, it tends to hardcode
clientId/domaindirectly in Swift source (following the "Advanced Integration / Programmatic
Configuration" section) instead of using
Auth0.plist, and is not explicitlysteered toward
CredentialsManagerfor token storage.This PR adds two guidance callouts to nudge both human and AI readers toward the
secure, idiomatic defaults — without removing the programmatic-configuration
escape hatch:
<Info>(Step 5 – Authentication Service): useCredentialsManagerfortoken storage; do not store tokens in memory,
UserDefaults, orlocalStorage.<Warning>(Advanced Integration): never hardcodeclientId/domaininSwift source; prefer
Auth0.plist(the quickstart default).References
auth0-evalsswift_quickstarteval(
docs-staging-eval-flywheel-swift-quickstart-v2.auth0-mintlify.app)Testing
Measured with the
swift_quickstarteval (agent + MCP,claude-opus-4-8):credentials in source → Security dimension 0/F, plus L1
webAuth()and L5Auth0.plistgraders failing.Auth0.plistand stopped hardcoding → security + plist graders pass.Single-run signal, not a statistical average — directional evidence that the
guidance changes agent behavior in the intended direction.
Checklist
CONTRIBUTING.md.