Repository navigation
fix(doop): update_frame free-space hint is the frame's own x/y (CHE-6119) [squash] - #88
Draft
congvc-bot-x99[bot] wants to merge 1 commit into
Draft
congvc-bot-x99[bot] wants to merge 1 commit into
congvc-bot-x99[bot] wants to merge 1 commit into
Conversation
…119) [squash] The refusal told an agent the free spot of the turned (on-screen) box. Applied as x/y of a rotated frame it landed offset from that spot. Share one helper with create_frame so both return the unrotated rect position that puts the turned box on the free spot. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Follow-up to #74 (CHE-6119), terra's non-blocking P2.
Problem: the
update_framerefusal saidFree space: x, yfor the turned (on-screen) box. For a rotated frame, x/y is the unrotated rect, so applying the hint put the frame offset from that spot.Change: new
freeSpotFor(frames, shown, size)inserver/frameLayout.tsreturns the frame's own x/y that puts its turned box on the free spot.pageTools.overlapRefusalandactions.clearOfOverlapboth use it (create_frame logic moved, same result).Test-first (observed)
Tests 1 failed | 8 passed (9)inframeOverlapGuard:expected 300 to be close to 150(turned box left edge after applying the hint).Test Files 5 passed, Tests 41 passed(frameOverlapGuard,mcp-tools,residentPageTools,agentToolParity,frameApproval).typecheck, oxlint, eslint, prettier pass.Base:
cheese/main. Author x99-claude-sonnet-design; needs a non-author merge.🤖 Generated with Claude Code