Skip to content

fix(agent prompt): modification to subdomain caching delays in the agent prompt - #6796

Merged
N43527 merged 1 commit into
mainfrom
nivedh/fix_mint_signup_prompt_subdomain_cache
Jul 28, 2026
Merged

fix(agent prompt): modification to subdomain caching delays in the agent prompt#6796
N43527 merged 1 commit into
mainfrom
nivedh/fix_mint_signup_prompt_subdomain_cache

Conversation

@N43527

@N43527 N43527 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Documentation changes

Brief description of what's being updated

Making a change to mint signup to invalidate subdomain cached value since it's stale.
Need the AI to know that it might not see a cached value for a bit, but that it should retry a bit until user is done with signup.

Closes


For Reviewers

When reviewing documentation PRs, please consider:

✅ Technical accuracy

  • Code examples work as written
  • Commands and configurations are correct
  • Links resolve to the right destinations
  • Prerequisites and requirements are accurate

✅ Clarity and completeness

  • Instructions are clear and easy to follow
  • Steps are in logical order
  • Nothing important is missing
  • Examples help illustrate the concepts

✅ User experience

  • A new user could follow these docs successfully
  • Common gotchas or edge cases are addressed
  • Error messages or troubleshooting guidance is helpful

Note

Low Risk
Documentation-only change to agent setup instructions; no runtime or product behavior is modified.

Overview
Step 6 of the setup-agent prompt now explains that a missing subdomain in mint status usually means the user has not finished connecting a repo in the browser onboarding flow—not a CLI failure.

Agents are told not to treat that as an error or poll blindly; they should wait for the user to confirm onboarding is done, then re-run mint status and retry briefly for normal provisioning lag.

Reviewed by Cursor Bugbot for commit 40a9e4c. Bugbot is set up for automated code reviews on this repo. Configure here.

@N43527 N43527 changed the title modification to subdomain caching delays in the agent prompt fix(agent prompt): modification to subdomain caching delays in the agent prompt Jul 28, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 40a9e4c. Configure here.

- If I don't: ask me for my first name, last name, company, and email if I haven't given them already—never invent these. Run `mint signup --firstName [firstName] --lastName [lastName] --company [company] --email [email]` as a background task since it blocks until I click a verification link that can take several minutes.
5. Needs me: I'll check my email and click the verification link. That opens a browser tab that automatically finishes the rest of account creation/logging in. I must approve the CLI, then connect a GitHub repository or let Mintlify host one. Tell me clearly this step is mine, then wait for it before continuing.
6. Run `mint status` again to confirm an organization and subdomain now exist. Provisioning can lag a moment after onboarding finishes — if no subdomain appears yet, wait about 10 seconds and retry a few times before concluding something is wrong.
6. Run `mint status` again to confirm an organization and subdomain now exist. The subdomain isn't provisioned until I select or connect a repository during the step 5 browser flow — so if `mint status` shows my organization but no subdomain yet, that almost always means I haven't finished the repo step, not that anything is broken. Don't treat it as an error or poll blindly: wait until I confirm I've completed onboarding, then re-run `mint status`. Provisioning can still lag a few seconds after that, so retry a few times before concluding something is wrong.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resume skip bypasses subdomain wait

Medium Severity

Step 6 now treats org-without-subdomain as unfinished onboarding and tells the agent to wait, but step 3 still skips to step 7 whenever an organization exists. On resume mid-signup—an explicit prompt scenario—the agent bypasses that wait and asks for a repo URL before a project exists.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 40a9e4c. Configure here.

Copy link
Copy Markdown
Contributor

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

Project Status Preview Updated (UTC)
tomee 🟢 Ready View Preview Jul 28, 2026, 11:22 PM

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

@mintlify

mintlify Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

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

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Jul 28, 2026, 11:22 PM

@N43527
N43527 merged commit fdf81e7 into main Jul 28, 2026
6 checks passed
@N43527
N43527 deleted the nivedh/fix_mint_signup_prompt_subdomain_cache branch July 28, 2026 23:23
@mintlify

mintlify Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

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

Project Status Preview Updated (UTC)
mintlify 🟡 Building Jul 28, 2026, 11:20 PM

@mintlify

mintlify Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

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

Project Status Preview Updated (UTC)
tomee 🟡 Building Jul 28, 2026, 11:20 PM

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

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.

3 participants