feat(chat,cli): auto-resume after usage limits, ade triage, attachment overhaul - #1182
Merged
Conversation
…t overhaul Three features plus dev-loop hardening: - Chats arm a durable, cancellable auto-resume when a provider usage limit reports a reset time (Claude, Codex); capped at two consecutive arms, cancelled by user activity, visible on the recovery card and in Chat info. - ade triage builds a redacted context + maintained playbook and hands a broken install to the user's own agent CLI; --agent mode prints the handoff for an already-running agent. - Attachments: 50MB any-file staging with a path-copy leg (local), a ticketed HTTP upload leg (remote, hello_ok attachmentUploadV1), chip UI in the composer, and a universal preview modal reusing the Files viewers. - AGENTS.md surface checklist + hazards + PR house style; quality rule 11 surface sweep; receipts-not-sleeps test doctrine; ship-lane PR template. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
Warning Review limit reachedNext included review available in 13 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (10)
📒 Files selected for processing (87)
✨ 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 |
…k services The pump's 800-iteration budget was worth ~16ms of real time, losing a race on loaded CI runners and then recycling the runtime it was waiting on; a failed test's leaked service also wrote into the next test's send ledger. Patience is now wall-clock (5s) with the fake-tick cap kept; connections stamp a per-test generation so late sends stop recording. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Medium Risk
New HTTP upload surface on the sync listener and remote-controlled filenames demand correct ticket and path containment; triage fetches repair instructions from the network though it fails closed to local copies.
Overview
Adds
ade triage, a brain-free CLI path that runs doctor + redacted diagnostics, writescontext.mdand a repair playbook to a temp bundle, and either launches an installed agent CLI or prints a--agenthandoff. Playbook resolution prefers a pinned GitHub fetch (short timeout, no redirects), then packaged/local copies with containment checks, then a built-in minimum; triage context reusesreport-issueredaction rules.Attachment staging moves toward shared limits and path helpers: product cap 50 MB for streamed uploads, legacy 10 MB for in-memory/base64 paths. Paired sync clients can advertise
attachmentUploadV1and mint single-use tickets overchat.createAttachmentUpload, then POST bodies to/ade-attachments/uploadon the shared sync HTTP listener (ticket consumed before read, UUID basenames, streaming size cap). Remotechat.copyTempAttachmentstays off the sync allowlist; temp saves use safer extensions and sharedprojectAttachmentsDirstaging. Desktop packaging now shipsdocs/triagebeside the CLI.Agent and quality docs expand AGENTS.md (dev loop, surface checklist, hazards, PR norms), add a quality-review surface-coverage rule, test guidance against wall-clock sleeps, ignore root
T3CODE_RESEARCH_*.md, and slim CLAUDE.md to Claude-specific model roles.TUI keeps parsed Claude plan rate-limit windows when later
rate_limitsystem notices are auto-resume prose. Headless CLI bootstrap wiresonAutoResumeOutcomeproduct analytics.Reviewed by Cursor Bugbot for commit bb7827b. Configure here.