Repository navigation
fix: cap dashboard clipboard requests at 50,000 characters - #439
Merged
Merged
Conversation
2 tasks done
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.
Summary
Dashboard clipboard actions now enforce a 50,000-character budget, including custom copy handlers and standalone batch packets. Oversized requests offer a complete text download for attachment; no partial prompt is copied. Clipboard failures no longer show success.
API Changes
Internal shared renderer helpers
MAX_PROMPT_CHARSandPROMPT_GUARD_JS; no scientific API changes. Merge Brain before the companion Heart PR so Heart's custom clipboard handler can use the guard. Eyes remains independently renderable and enforces the same ceiling.Test Plan
Development gate
Heart currently reports RED:
release validation FAILED (stage integrate). After all 2,323 branch tests passed and this exact reason was reported, the user authorized development shipping: “I authorize you to conitnue” (2026-10-01). This permits commit, push and PR-open for this task only. No release or merge authority; these changes do not repair the release-validation failure.Task: PyAutoLabs/PyAutoHeart#261
Generated by the PyAutoLabs agent workflow.
Companion PRs: Brain #439, Heart #262, Eyes #11. Heart is draft pending Brain merge; Eyes is independent.