docs: guide agents through API Update / Script Updating Consent modals - #1759
Conversation
Interactive Editors cannot suppress Script Updating Consent publicly; steer agents to ask the user instead of auto-dismissing when compile wait or main-thread stalls suggest a modal. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (9)
📝 WalkthroughWalkthroughCompile timeout and Unity unresponsive diagnostics now include API Update consent modal guidance. The same recovery instructions were added to compile skill documentation, with tests and shared-input stamps updated. ChangesAPI Update Consent Guidance
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
LGTM. Verified against the agreed A + B-lite scope:
Non-blocking nit: in error_editor_unresponsive.go the const comment says "(group-5 PR 5-3: ...)" — drop the PR provenance tag and keep only the why ("interactive Editors have no public suppress path") if you touch the file again; no need for a dedicated commit. |
Co-authored-by: Cursor <cursoragent@cursor.com>
Summary
NextActionsline on compile-wait timeout and Editor-unresponsive errors — check the Unity window and ask the user; never auto-dismissuloop-compileskill (regenerated.claude/.agentscopies)Investigation findings (include in review)
Trigger
uloop compile→CompileController→AssetDatabase.Refresh()can surface Unity’s updater when obsolete / UnityUpgradable APIs are present (also possible on import / other Refresh paths).Public levers
uloop launch)-accept-apiupdate-disable-assembly-updater-ignorecompilererrors(already on launch)CsReference reinforcement (6000.3, Fable-verified)
UnityScriptUpdaterConsentAPI.AskForshowsDisplayDialogComplex("Script Updating Consent", ...)after skip branches, including:DoesCommandLineIndicateAPIUpdatingShouldBeDeclined()→ NoConsent without dialog (non-destructive)DoesCommandLineIndicateAPIUpdatingShouldHappenWithoutConsent()→ consent without dialogBoth are native/extern; the triggering arg is undocumented. Auto-accept / reflection remain rejected. A future experiment (outside this PR) would only pursue the decline path if the modal actually bites — recorded in umbrella notes.
Chosen product response
Agents must treat the modal as user-owned consent. CLI timeouts already return; guidance now names this modal explicitly.
User Impact
Verification
scripts/check-go-cli.shuloop skills install --claude --agentsregenerated copies from package sourcescripts/stamp-release-inputs.sh(common module change)Test plan
Made with Cursor