发布

  • [OPIK-7243] [QA] docs: teach pom-discovery skill to handle the "Leave site?" dialog (#7356)

    frostbyte_neo 发布于 2026-07-06 14:09:26 +00:00

    Opik pages with a navigation guard (staged draft, dirty form) raise a native
    beforeunload dialog that isn't in the accessibility snapshot, so browser_navigate
    silently blocks during MCP discovery. Add guidance to arm a dialog auto-accept
    handler up front and clear unsaved state in-app before leaving, plus a matching
    anti-pattern row. The guidance is placed before the navigation example so a
    linear reader arms the handler before the first navigate call.

    Co-authored-by: Claude Opus 4.8 noreply@anthropic.com

    下载附件