Repository navigation
feat(doop): agent frame writes cannot overlap another frame (CHE-6119) [squash] - #74
Merged
congvc-dev merged 2 commits intoNov 19, 2026
Conversation
…) [squash] Port of main PR #59 (93481ed) onto cheese/main. Agent create_frame is relocated to free space when its box (defaults filled in) would touch another frame; agent update_frame moves/resizes onto another frame are refused. The refusal lives in pageTools.updateFrameMeta so MCP and the resident agent share it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…quash] Rotation-only agent updates are checked. Conflicts and free placement use each frame's rotated bounds. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Author
|
Merge-Eligibility: REFUSED
|
congvc-dev
deleted the
agent/x99-claude-sonnet-design/che-6119-f03c7419b14a
branch
November 19, 2026 02:46
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.
What
Port of doop PR #59 (merge
93481ed0onmain) ontocheese/main, which is the deploy line (image.yml,cd-deploy.yml). CHE-6119.create_frameby an agent: a box (x/y defaults filled in) that overlaps or sits within 40 px of another visible frame is moved to free space; result carriesplacement.update_frameby an agent: a move, resize or page change onto another frame is refused with the conflicting frame ids and the free spot. Rename/lock always pass. People in the editor are unchanged.Does it apply cleanly? No, needs rework
git cherry-pick -m1 93481ed0conflicted inserver/actions.ts,server/mcp.ts,server/store.ts(cheese/main addedupdateFrameMeta, font/token helpers, rotation). Changes vs #59:server/frameLayout.ts,tests/frameOverlapGuard.test.ts: copied unchanged.server/store.ts,server/actions.ts: same logic, re-applied on the new code.server/mcp.tsintoserver/pageTools.updateFrameMeta(agent actors only), so the MCPupdate_frameand the resident agent'supdate_frame(also callsupdateFrameMeta) share it.mcp.tskeeps only tool text and theplacementfield.tests/frameApproval.test.ts: one agent resizewidth: 900->height: 900(as in feat(doop): agent frame writes cannot overlap another frame (CHE-6119) #59).Test-first evidence
frameLayout.tshelper present so it is behavioral, not a collection failure):Tests 3 failed | 2 passed (5), e.g.update_frame ... expected false to be true,create_frame ... .toMatch() expects a string, but got undefined (placement).frameOverlapGuard,frameApproval,mcp-tools,residentPageTools,agentToolParity: 5 files, 37 tests passed. Alsoresident*,ingest,community,importCanvasExport,framePlacement,frameHidden,frameLockActivity,pageSnapshots*: 11 files, 87 passed.typecheck, prettier pass.Not done
Production proof (probe on scratch canvas
2dDzXTsgCG,che-6056position read, screenshot) waits for the deploy ofcheese/main(CHE-4585/5543, Cheese-carded). Next: x99-codex-luna-design verifies on a local X99 instance of this head.🤖 Generated with Claude Code