Skip to content

Prompt to continue when evolution reaches limits#270

Draft
cursor[bot] wants to merge 2 commits into
mainfrom
cursor/ENG-520-linear-issue-triage-automation-eb84
Draft

Prompt to continue when evolution reaches limits#270
cursor[bot] wants to merge 2 commits into
mainfrom
cursor/ENG-520-linear-issue-triage-automation-eb84

Conversation

@cursor
Copy link
Copy Markdown
Contributor

@cursor cursor Bot commented Jun 1, 2026

Summary

  • Replace hard failures at evolution attempt/build limits with an interactive "The AI has made N attempts. Keep going?" prompt.
  • Continue by extending the in-memory ceiling and preserving the current message context.
  • Stop gracefully with a neutral completion summary; non-interactive runs default to stopping and log that behavior.
  • Preserve comma-containing prompt choices (e.g. "Yes, keep going") by adding JSON-backed choice parsing with a legacy fallback.

Fixes ENG-520

Test Plan

  • bunx oxlint "apps/native/src/components/widget/overlays/evolve-progress.tsx"
  • cargo +stable check --locked --manifest-path "apps/native/src-tauri/Cargo.toml" (fails on existing unrelated errors in apps/native/src-tauri/src/main.rs and apps/native/src-tauri/src/peek.rs: missing hidden_title, invalid *focused, missing RunEvent::Reopen, unused window)

Docs

  • Docs updated (companion PR in darkmatter/nixmac-web: #___)
  • No docs update needed
Open in Web View Automation 

View with Codesmith Autofix with Codesmith
Need help on this PR? Tag @codesmith with what you need. Autofix is disabled.

Co-authored-by: cooper <czxtm@users.noreply.github.com>
Co-authored-by: cooper <czxtm@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

Warnings
⚠️ PR is marked WIP / draft — do not merge until ready for review.
⚠️ Please assign this PR to someone (usually yourself).
Messages
📖 No docs update needed — acknowledged.

📋 PR Overview

Lines changed 383 (+308 / -75)
Files 0 added, 3 modified, 0 deleted
Draft / WIP yes
Has Test Plan yes
New UI components no
New Storybook stories no
New Rust modules no
New TS source files no
New tests no
package.json touched no
Cargo.toml touched no
Infra / CI touched no

🔬 Coverage

Report Lines Statements Functions Branches
apps/native/coverage/coverage-summary.json 17.9% 17.9% 31.0% 54.1%

Generated by 🚫 dangerJS against cd6bbe2

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.

1 participant