Skip to content

Describe vault fill as safe to retry - #687

Merged
rgarcia merged 1 commit into
mainfrom
hypeship/fill-safe-to-retry
Oct 8, 2026
Merged

rgarcia merged 1 commit into
mainfrom
hypeship/fill-safe-to-retry

Conversation

@rgarcia

@rgarcia rgarcia commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Summary

fill writes field values into a browser page and never submits the form or consumes the vault item, but the docs repeatedly told readers and agent prompts never to retry it (and to disable SDK retries for it). Agents following that guidance stall after a transient failure instead of re-running the fill.

  • vaults/fill.mdx: drop the maxRetries: 0 instruction, rewrite the outcome table and the no-retry callout to say fill is safe to retry, and note the up-to-15s browser-lock wait right after an unknown result
  • vault overview, credential guides, managed-auth fill guide, and the vault-credentials agent prompt: retry fill instead of stopping
  • payments agent guide and Link wallet page: fill is safe to retry. Single checkout submission, no alias fallback, and no payment retries are unchanged
  • code samples and snippets: error messages no longer say "do not retry"

No-retry guidance for 1pw_fill (which submits the form), webmcp_invoke, authorize, and checkout submission is unchanged. The API reference picks up the matching spec change from kernel/kernel#4692.

@mintlify

mintlify Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Status Preview Updated
Kernel 🟢 Ready View Preview Oct 8, 2026, 12:59 PM

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

@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 a62cf9b. Configure here.

Comment thread vaults/fill.mdx
`fill` doesn't click buttons or submit forms, but input/change handlers can trigger site behavior. `completed` doesn't mean login succeeded, a form was submitted, or payment succeeded.

**don't automatically retry `fill` after a failure or uncertain outcome.** a lost response can follow successful writes; another request can repeat events, overwrite edits, or generate a different totp code. deliberate recovery starts with inspecting the existing attempt, not replaying it. preserve per-field `index`, `status`, and any `error_code` for reconciliation.
**`fill` is safe to retry after a failure, an `unknown` outcome, or a lost response.** it never submits the form, so a retry only rewrites the same fields, and a `totp` field gets a fresh code. a retry right after an `unknown` result can wait up to 15 seconds for the earlier attempt's browser lock to expire. when a field `failed`, fix its cause, such as a selector that matched nothing, before retrying.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Dense fill-retry caveats packed together

Low Severity

The new retry guidance stacks several distinct caveats into one dense paragraph: retry is safe, a retry only rewrites fields, totp gets a fresh code, an unknown retry can wait 15s for the browser lock, and a failed field needs its cause fixed first. The Link outcome paragraph similarly packs completed-versus-paid, leftover writes, retry-versus-aliases, and never-retry-checkout into running prose. A short lead-in plus bullets would keep those points from being skipped.

Additional Locations (1)
Fix in Cursor Fix in Web

Triggered by learned rule: Use bullet lists when covering multiple distinct points in guides

Reviewed by Cursor Bugbot for commit a62cf9b. Configure here.

@rgarcia
rgarcia requested a review from dprevoznik October 8, 2026 14:47

@dprevoznik dprevoznik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM - thanks!

@rgarcia
rgarcia merged commit 40d8947 into main Oct 8, 2026
3 checks passed
@rgarcia
rgarcia deleted the hypeship/fill-safe-to-retry branch October 8, 2026 17:01

This branch was successfully deployed

1 active deployment
staging — a62cf9b7 Deployed Oct 8, 2026 by mintlify[bot]
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