Repository navigation
Show documents side by side in each Workspace's View areas (S7) - #145
Merged
Merged
Conversation
An agent run with worktree isolation checks out a whole branch under .claude/worktrees/<name>. Tracked, that directory became a gitlink in an automatic checkpoint commit and would have shipped another checkout's state with the change. The rule is anchored so it cannot match the tracked .claude/agents/ definitions.
A Workspace with several View areas can show several diffs side by side, so the Changes read takes a list of further diff targets beside the selected one and answers each in order (at most six, one per View area, each bounded as before). A target no longer in its group is answered with empty text and a notice saying why, never left out, so a display can say what happened to its file. The helper protocol moves from 8 to 9: a helper on 8 would ignore the list and answer no diffs. A device still running the previous helper is refused with a reason naming both versions, which becomes that device's unavailable reason, and the next connection installs this build's helper because a helper is stored under the digest of its bytes; the consent contract is unchanged, so the operator is not asked again.
With View areas (the web shell), a Workspace's View is a tree of areas whose displays bind to the editor's documents at runtime, so several displays can show one buffer and a restart binds them again. The stored Workspace file moves to schema 2 with the tree; a schema 1 file migrates once (its tabs become one area) and anything else keeps the existing rename-aside path. - An open lands in the area used last; a preview open retargets that area's preview display and retires the document it showed only when nothing else shows it; Open to the side uses the neighbouring area or a new one to the right. A document already shown is focused where it was focused last. - One view_layout event per operator action (focus, move, split, resize, close, keep open, retry). Refusals say why and change nothing; caps are six areas, split depth three and 64 displays; a repeated split request id splits once; closing a document's last display goes through the file close, so a refused save keeps it. - After every event and before every snapshot read the displays follow the editor: a closed document's displays go, a rename is followed, a dirty document is never a preview, and the editor's active tab is the active area's active display. - A restart publishes the stored tree at once; displays wait for their device or root, then open or say why their file is unavailable. - The visible documents ride their own snapshot section with a revision each, so a keystroke re-sends one document, and the Changes read takes every diff on screen. The Swift shell keeps today's editor and snapshot keys: all of this is inert without the Workspace file hided names.
DESIGN.md's Web Workspace now describes repeated left/right and up/down View areas with their own tab bars, the active area mark, dividers that drag with a guide line and move from the keyboard, one preview per area, Open to the side over one shared document, the drag previews (insertion line, half-area split overlay, forbidden cursor) and their cancel rules, the exact View tab menu, per-view states, narrow windows, the caps and the minimum sizes, and names the new library masters. ARCHITECTURE.md's Workspaces section replaces the single View area, the per-checkout preview slot and strip-order tab recording with schema 2 of workspace-views.json: the split tree, displays bound to the S5.5 buffer, one view_layout event per action and how each converges, file_open beside, file_draft/file_conflict naming their document, the reconcile after every event, restore states, and what stays presentation-only in the web. The editor section adds the documents delta with per-document revisions, per-display editors kept in step locally, and several diffs through one Changes read with the helper protocol bump. docs/README.md adds the S7 code owners to the Workspace row.
Four Component sheets sit to the right of the S6 layout switch: the View tab with its preview, pinned, hover, active-area, other-area, dirty, unavailable, diff, long-title and floating drag states; the tab-bar insertion line and the half-area split overlay with their reorder, move, right, down and ineligible examples; the View tab menu with a preview's items and a pinned view's disabled Split with its reason; and the View area message for the empty Views and each view's opening, waiting and unavailable states. Every state is a ref of its master with overrides, the close control is the shared icon button, colours and spacing are the existing variables, and widths and heights are literals; the minimum area height is drawn at its literal 144. No existing sheet, id or variable changed, and gen-pen leaves the file as written. DESIGN.md names the masters and states.
A view dragged over an edge of an area it alone occupies is not a split target, a moved or split view becomes active in its new area, and a preview open adds a preview view when the active area has none.
…s as they were A Workspace's views file is not rewritten while its displays wait for the device or while their files are still read, so quitting mid-restore keeps the stored layout byte for byte (contract 5, the S6 rule). A save with no draft before it keeps every display of its document open, while it runs and after it lands (B5). A draft or conflict choice naming a document that is no longer open is refused with the reason and never lands in the document in use. The device restore test's display reader and device setup become helpers shared with the mid-restore test.
Every view_layout payload now names its Workspace as
workspace: {device_id, path}, copied from the workspace_view of the frame
the operator acted on. Display, area and split ids repeat across
Workspaces, and the front can move between that frame and the event, so a
close meant for one Workspace's clean d2 could close another's dirty d2.
An action naming any Workspace other than the one in front changes
nothing and leaves a view_layout.stale_workspace diagnostic with both
Workspaces and the action, and no screen error. With no Workspace in
front the same rule applies, so view_layout.no_workspace is gone.
A restored device view said "Waiting for <device> to connect" for every helper phase but Ready, so a helper refused for its protocol, unsupported, on a changed identity or not allowed left its views waiting forever under the wrong reason. Only a connecting helper, or none yet, reads that way now; any other phase gives the device's own reason, the text History and Settings already show, and the views keep waiting so they open once the device is fixed. Retry on such a view is refused with that reason. The protocol refusal now says what to do: a device always runs the helper this Hide carries, installed by its digest, so only rebuilding or reinstalling Hide clears it. The comment no longer claims the next connection fixes it, since a development hided reinstalls the stale hide-host-helper beside its executable on every connection.
The 64-view cap held only for a plain open, so a Workspace could pass it through other paths and then lose the extra views silently when its file was repaired on the next start. Now every path that would add a view says why and changes nothing: - a preview open beside a preview whose document holds work (the open becomes an addition), Reopen Closed, a file the Explorer creates and a revealed file are refused with the reason before anything is read or made, and the closed file stays reopenable; - a read admitted below the cap that lands after the views filled is refused as it lands, and its document goes unless a view shows it or it holds work; - the reconcile holds the cap too: a document no view can show waits off screen, is reported once in the diagnostic log and shows once a view is closed; - Open to the side whose split became impossible while the file was read focuses a view that already shows the document, or is refused, instead of doubling the document up in the area it was asked from.
A snapshot read runs on every terminal output burst, and it compared the whole Changes section, with every diff on screen, and each visible View document against its last sent copy. Both now carry an edit number that every mutable access takes, so a read compares two numbers and copies a value only when it was edited; a landing Changes read replaces the section only when it differs. Activating a file tab in the web shell no longer copies its document, which that shell never shows from the editor.
Retry on an unavailable diff view did nothing while the view offered it: it now opens the diff's tab again, which the view binds to, and the view says Retry opens the diff rather than reads a file. A diff view stored without its Changes group never found the tab its restore opened and stood beside a second view of it; loading repairs it to the working group, the one the restore opens.
A diff view whose file lies outside the folder History reads, which a Workspace shared by several Projects of one checkout can show, said only that it was outside that folder. It now names the folder and says the diff shows when a Project that holds the file is in front. Taking View diffs relative to the checkout needs a helper protocol change and is left for its own slice.
The web decides whether a close carries its save from the frame it drew, and that frame can still show a second view of a dirty document the core already holds in one. Such a close reached the last view without a save and closed the document, leaving its draft only in the browser's recovery store. A last-view close of a dirty, saving or failed document now needs its save or an explicit discard, the operator's Don't Save; without either it is refused as view_layout.unsaved, naming the document, and nothing changes.
Reads land on workers and nothing reconciles between two landings. When the restore read of a preview's document landed just before a single click's read, the click found the preview still unbound, took it over as if its document were still being read, and left the restored document with no view, so the next reconcile brought it back pinned beside the new preview. An open now reconciles before it adds and places its tab, as a layout action does, and the replaced document goes as a replaced preview does.
A file restored as unavailable keeps its tab, and a read that fills that tab showed it by the Swift path, which only focused the view that could not show it: Open to the side of it, once it was back, put nothing beside. The read now lands where it was asked for, as a fresh read does.
Retry reads a file again into the tab that holds its failure, and the view kept showing that failure, with Retry still offered, until the read landed; over a slow device a second Retry was dropped with no sign the first was running. A view whose unavailable tab has a read in flight now shows opening.
Every keystroke of a dirty document walked every stored Workspace's views to keep them open, and then rebuilt the front tree after the event and again before the read, each display finding its tab by a linear search. A keystroke now skips the pass after its event, as terminal input does, since it moves no area and the read's pass follows; only the edit that makes a document dirty keeps its views open, in its own Workspace; and a tree build maps the editor's tabs and checks the root once instead of per display. The publish comment now says what a read builds.
Each committed diff resolved the base branch again with its own rev-parse forks, so a read with several committed diffs on screen ran up to a dozen extra git processes every two seconds. The read that lists the committed group now hands the ref it resolved to every committed diff it takes.
The web shell now reads the S7 wire: the front Workspace's View area tree (areas, splits, displays with their open, opening, waiting or unavailable state, and the caps the core publishes), the documents section beside the editor section, and one patch per visible diff display. The store keeps a documents map by editor tab id: a snapshot replaces it, and a delta that carries the section keeps the documents still visible, overwrites the ones that changed and drops the rest, object for object. viewLayout.ts holds the View areas' rules as pure functions: the geometry of areas and dividers for a body rectangle with each area's minimum, the neighbour in a direction, split eligibility from the caps and the pixel rule, where a dragged tab lands, a display's menu commands, and what a narrow window shows. viewDrag.ts is the tab drag as a local session that lands only on the target its preview showed. The View area minimum height is a design token.
Each View area draws its own tab bar and its active display from the core's split tree: nested splits with focusable dividers that land one resize on release, an editor per display that keeps its own selection and scroll, and one document shared by every display that shows it, so an edit reaches the other displays at once, outside their undo history. A tab drag previews its landing locally, as an insertion line or an edge overlay with one label, and sends one move or split only on a valid drop; Escape, a drop on nothing and a target the layout moved or removed send nothing. Tab menus, an overflow menu per area, Explorer and History rows and the palette offer the same View commands, and a command that cannot run says why. A narrow window shows the tools over the working region, one working region with a switch, and one area with an area switcher, without sending or storing anything. Closing the last display of a document carries its unsaved text as pending_save, and the close, keep-open and find chords act on the active display.
… text Every view_layout payload now carries the Workspace of the frame the operator acted on, read from what the View areas last drew, so an action that arrives after the front moved is refused instead of landing on another Workspace's ids (contract 4.1). A close carries the document's unsaved text as pending_save whenever there is any, since the core decides whether the view is the last one. Unsaved work this page never loaded is not sent: a notice offers Don't save, which closes with discard on the Workspace it was asked on. The close watch ends as keep once the document is edited again, its save settles with the tab still open, a refusal arrives, its view goes alone or another Workspace is in front, so autosave comes back. View refusals (display_limit, limit, unsaved, waiting, unknown ids) are shown in the core's words; stale_workspace stays in the log. The keyboard follows a moved or split view once the frame that lands it arrives. A display's selection and scroll are kept per document, so a retargeted preview opens the next file at its top. The palette offers every View tab menu command. A diff view shows the core's own reason, another area's shown tab draws no indicator, and a divider drag redraws only its guide line.
The tools overlay of a narrow window is now a placement the page keeps: the column while there is room for it, else an overlay that starts closed and opens only on an explicit ask (a tool toggle, Cmd-Shift-B, Reveal in Explorer, a palette tool command). It no longer floats over the work when the window narrows, nor stays open over another Workspace. Cmd-Shift-B, Reveal in Explorer and the palette's tool commands read the tools as shown on screen, so a closed overlay is opened rather than the stored tools flipped. The overlay takes the keyboard when it opens and answers Escape only from inside it, after a name field or menu inside it had its turn, then gives the keyboard back; a focused terminal keeps its Escape. A History row opened in a narrow Together window shows the Views.
Open to the side on a History row now sends changes_select with beside, so the row's diff opens pinned beside the active View area, as a click opens it in that area, instead of the working file. A deleted file has a diff too, so the item is no longer disabled for it.
A stored id, next_id or focus stamp at the top of u64 made loading or the next layout action overflow: a panic in a debug build, and wrapped duplicate ids in a release one. Loading now renumbers such a tree, keeping what each area shows, the area in use and which view was focused last. Dropping empty areas walked the whole tree once per area and noted each one, so a file of thousands of empty areas stalled the start and filled the diagnostics; it is now one pass with one count.
Adds tests for rules that held but that no test would have kept: a View diff's absolute path through the History folder's read and back, the same path on this machine and a device staying two documents in two views, Keep Open from either entry point pinning a preview so the next click opens beside it, focus_area and the unknown-id refusals, Views alone making no split, and the last close keeping the mode.
The architecture guide sent a reader to runtime/workspace_view.rs for the rule that derives editor.active_tab_id, which lives in view_areas.rs. Code and test comments cited review item labels that mean nothing once the review is gone; they now state the rule, or the PRD rule it serves.
From the only View area, Open to the side creates a split, but the Explorer menu, the History row menu and the palette offered it at any width, while Split right was already disabled there. The core checks only counts, so the new area landed in a tree the page could not show side by side and the Views fell back to one area with a switcher (PRD S7 B9, D-06). Open to the side now asks the same room Split right does whenever the Workspace has one area, and stays listed, disabled, with its reason in all three places. With a neighbour it splits nothing and is never blocked; while the View areas are not drawn their room is unknown and the core's caps decide.
With no view open, the only area is empty and has no neighbour, so Open to the side split it and left that empty area on screen beside the new view, an arrangement the layout's own invariant forbids: an empty area is only ever the root (PRD S7 B4, B10). A diff opened beside took the same path. The open now lands in the empty area itself, admitted against the view cap alone, and the web keeps the command enabled there since no split is made.
Moving the second view of a document back into the area that shows the first one left the area with two tabs of the same document side by side, which only Open to the side may create, and never within one area (PRD S7 B6, D-03). A view moved into an area that already shows its document now takes the twin's place, at the index the drop asked for; the twin goes and the document stays open. The moved view keeps its id, so the page's focus follows it as it does after any move, and the same move twice still changes nothing the second time.
With more tabs than an area is wide, the strip stayed where it was, so the tab of the view on screen could sit scrolled out of sight: an area showed a document whose tab could not be seen, and six full areas showed no active indicator at all (PRD S7 B20, B21). Each area's strip now scrolls itself, and nothing around it, to show the shown view's tab whenever that view changes or the strip is resized; a manual scroll is left alone otherwise. The palette cut the reason of a command it cannot run to about twenty characters in a right-hand column, so the reason B9 asks to show could not be read. It now draws such a command muted with its whole reason under the title, as the menus do.
One test per operator flow of S7, each asserting what the operator sees or what is stored: a click previews in the area used last and a pin keeps a view; Open to the side shows one document twice with edits and Korean composition in both, each view keeping its own scroll and cursor, and a last-view close that saves, waits on a save that cannot land, or drops only on Don't save; tab drags reorder, move and split once and land nothing on Escape, outside the window or on an ineligible target; splits, moves, resizes, focus and closes run from the palette and the tab menu by keyboard, one event each, and a split delivered twice splits once; the tab menu set and every cap refuse with their reason; a narrow window floats the tools and shows one region and one area without storing any of it; a restart brings the tree back with a missing file unavailable on its own view until Retry; a broken or unknown Views file is kept aside for Main and an S6 file becomes one area. A click outside the narrow tools overlay does not give the keyboard back to its toggle as PRD B12 says; that check is marked as an expected failure until the overlay restores focus.
A restored device Workspace asked for its Explorer listing while the
device helper was still starting; the refusal ("Connecting to the device
helper") kept the folder marked as asked, and nothing asked again when the
helper came up, so the restored Explorer stayed on that refusal after the
views had opened, until the operator pressed Retry (PRD S7 B14, B16).
The Explorer now asks again for the folders it has no listing of when the
front device's helper turns ready, as the views read their files again then.
From the only area, Open to the side is a split: in a window where that area cannot be halved, the Explorer's menu and the palette list it disabled with the reason and send nothing, and once the area has room the same item opens the second view to the right. The check runs once the served page carries the rule and is skipped by an older build.
Since a first run opens on Main (PRD S6), the measurement harness waited for a terminal pane that the page never showed, so `run.sh` stopped before its first trial in both scenarios. It now chooses the fixture's Project on Main and then its Workspace in the Overview, one click per poll, before it waits for the measured pane; the trials and their gates are unchanged.
In a narrow window the Explorer or History overlay closes on a press outside it, but when that press landed on something that takes no focus (the toolbar's padding) the overlay went away with the keyboard and left it on the page body; Escape already handed it back to what had it (PRD S7 B12, DESIGN.md "Narrow windows"). After an outside press has had its chance to focus what it landed on, the overlay now gives the keyboard back to what had it when it opened, or to its toggle, only when nothing took it; a click into an editor or terminal keeps the focus it gave. The end-to-end test for it no longer expects a failure.
A History read lands one pump wake after its request, and with View areas a file in front leaves the next request asking for the row History shows. A read started for a row the operator had since left put that row back, so the next request asked for it again, the answer after brought the newer row back, and the two alternated for as long as nothing moved: a Git read and a changes frame on every 250 ms wake while nothing was driven, with History's highlight flipping between the two rows. The performance smoke met it after two History selections and a tab move landed inside one wake (PRD S7 A5, B19). Each answer now names the row its request asked for. With View areas an answer for another row still publishes its lists and View diffs but keeps the row and the diff in front, so the reads settle after one. The Swift shell's reading is unchanged.
…ice changes nothing A move's index is the view's final place on both sides now. The web counted the twin that gives way in the drop slot and the core took one off when the twin sat left of it, so a repeated move reordered the strip again. The web names the final place and the core no longer shifts it.
…when only Views are drawn On a device Workspace the chord took the device branch before looking at the View areas, so it ended the device's Herdr tab instead of closing the active view. In a narrow Together window that draws only the Views, the chord looked for the keyboard inside a View area and otherwise closed the Agent tab that was not on screen. Both now close the active view.
Each History row was placed with a transform, which made the row the containing block of its menu's fixed position: the menu landed away from the pointer and the list clipped it, so a disabled Open to the side and its reason were never seen. Rows are placed with top instead.
…Workspace The View tree was not keyed by its Workspace, so a gesture begun on one Workspace survived a front that moved to another (another client, a device's own focus) and landed on that Workspace's view with the same id, stamped with the new Workspace so the stale-workspace fence let it through. One tree per Workspace ends the gesture and its menus instead.
A press on either button also claimed its area, so a click in an area the operator was not working in sent a focus before the close or retry, and a close then left the active area on that area's neighbour. Like a tab's close button, each now acts on its view alone.
…ys, and list the View area owners The closing-draft comment said a view goes at once; it stays until its document closes. The room test skipped itself when the built page lacked the rule it checks, so losing the rule would have read as a skip. The docs map now names the runtime, test and drag files that own View areas.
After a launch, a checkout the core learns from Herdr's first sync reaches a client's snapshot and hided's roots on separate reads. On the slower CI runner the Explorer's first listing arrived first and was refused as outside_checkout; the Explorer keeps a refused folder, so the tree stayed empty until Refresh and the S7 caps test failed. One RootFollower now keeps the root cursors behind one lock for the boot seed, the notify reader and a refused event. An Explorer event, file_index, file_bytes or device root refused as outside every checkout brings the roots current and is checked once more before it is refused; a second check that admits it logs boundary.roots_caught_up.
Both sides added a snapshot section (documents, project_sessions), a delta-state field and a design library sheet; each keeps both. The library was merged by sheet, not by line: main's Session row stays where it is and this branch's four View sheets move right past it, and gen-pen leaves the result unchanged.
The fake opener's shell creates its pid file before printf writes the pid into it, so wait_for_pid could read an empty file and panic on the parse. That failed repeated_owned_helpers_are_reaped_between_requests once in verification; an empty read now means the pid is not there yet.
This was referenced Oct 30, 2026
yansfil
added a commit
that referenced
this pull request
Oct 30, 2026
…1870) Refs with-hide/hide-private#354 ## Summary Windows CI의 web unit suite에서 처음 도는 테스트 파일(MissionMap, PaneHeaderBand, SessionRecord)이 가끔 12-18초 멈춰 5초 timeout으로 실패했습니다. 관측: vitest는 테스트 파일마다 새 Node 프로세스를 띄우고, Windows runner의 Node는 느린 시스템 디스크(C:)에 있습니다. 첫 wave 프로세스들은 Node 실행 파일(83 MB)을 첫 테스트의 시간 제한 안에서 수천 번의 작은 읽기로 디스크에서 읽습니다. 이 PR(완화): vitest 자신의 프로세스가 worker를 띄우기 전에 Node 실행 파일을 한 번 통째로 읽어, 첫 wave의 그 차가운 읽기를 테스트 밖으로 뺍니다(`web/e2e/unit-node-binary.ts`). timeout과 retry는 그대로입니다. 미확정: 이 차가운 읽기가 12-18초 정지의 원인이라는 인과는 확인하지 못했습니다. 실패한 run의 정지 구간을 trace로 잡은 적이 없어서, #354는 열어 두고 이 PR 뒤 main에서 다시 나오면 trace로 그 구간의 대기를 잡습니다. 범위 밖: C:를 느리게 만드는 runner 자신의 유지보수(Defender 업데이트, Windows Update, VSS)는 with-hide/hide-private#372. ## Review - **판단해 주세요**: 모든 OS에서 web unit suite 전에 Node 실행 파일을 한 번 읽습니다. 메모리에 이미 있으면 12-23 ms, 차가운 Windows runner에서 약 0.5초, C:가 유지보수로 바쁜 job에서는 3.5초까지 걸렸습니다(trace t3). 어느 경우든 테스트의 시간 제한 밖입니다. - **판단해 주세요**: #372(runner의 Windows Update와 Defender 예약 업데이트를 job 동안 멈출지)는 보안 업데이트를 끄는 결정이라 운영자 판단으로 남겼습니다. - **조심해서 볼 파일**: `web/vite.config.ts` - `globalSetup`이 web unit suite 전체 앞에 실립니다. desktop suite(`desktop/vitest.config.ts`)는 그대로입니다. ## Evidence - **확인한 것**: main 실패 run 41001145069에서 세 worker가 같은 구간에 멈췄고 node 프로세스 누적 CPU는 약 5초(테스트 12-18초)였습니다. 무엇을 기다렸는지는 그 run에서 잡지 못했습니다. - **확인한 것**: 커널 trace(NT Kernel Logger, disk·file·hard fault)로 본 worker 시작 뒤 Node 실행 파일 디스크 읽기: base 3 job 980-2929번(30.6-86.8 MB), 고침 6 job 모두 0번. 고침 쪽은 그 읽기가 worker 전 한 번의 순차 읽기로 옮겨집니다. 이 trace들은 정지가 없던 run이라, 정지 구간의 대기와 직접 연결되지는 않습니다. - **확인한 것**: 반복 실행(windows check의 cargo 단계 뒤 같은 install/test 단계). 세 파일은 base 13 job, 고침 29 job 어디서도 실패하지 않았습니다. job마다 세 파일에서 가장 긴 테스트의 중앙값은 base 557 ms, 고침 552 ms이고, 가장 느린 job은 base 2536 ms, 고침 1122 ms입니다. - **확인한 것**: 반복 실행의 다른 실패는 이 PR 밖입니다. OverviewGraph overflow 3번은 #145(#1857로 merge됨), `bounded-child.unit.ts`의 `lld-link did not end` 2번(base 1, 고침 1)은 C: 유지보수 폭주로 #372. - **확인한 것**: 첫 Intl 생성 하나가 CPU 30 ms에 벽시계 0.5-1.7초를 기다렸고, Intl이 없는 module 수집이 14-50초 멈춘 job도 있었습니다. Intl만 예열해서는 덮이지 않습니다. - **확인한 것**: 아래 표(최소-최대). C:를 일부러 대량으로 읽어 느리게 만든 뒤에도 고침 쪽 숫자는 그대로였습니다. - **확인하지 못한 것**: 12-18초 정지 자체는 반복 실행에서 재현되지 않았습니다(main windows check 약 40 run 중 3번). 통과·실패 횟수는 해결의 증거가 아니고, 위 trace는 차가운 읽기 경로가 테스트 안에서 사라졌다는 것만 보입니다. - **확인하지 못한 것**: macOS와 Linux에서 한 번 읽기 비용은 따로 재지 않았습니다(같은 표준 fs 호출). | 방식 (Windows diag) | MissionMap 첫 테스트 | 테스트 안 Intl 대기 | SessionRecord 수집 | 한 번 드는 비용 | | --- | --- | --- | --- | --- | | main 그대로 (13) | 395-599 ms | 30-61 ms | 9.4-18.6 s | | | main, C:를 지치게 함 (5) | 473-1032 ms | 36-538 ms | 10.1-23.5 s | | | 파일마다 Intl 예열 (5) | 270-572 ms | 1 ms | 8.1-12.6 s | setup으로 43-823 ms 이동 | | main 프로세스에서 Intl 한 번 (5) | 339-647 ms | 30-49 ms | 8.2-10.9 s | 35-764 ms | | Node 실행 파일 한 번 읽기 (4) | 273-454 ms | 26-40 ms | 7.5-10.7 s | 12-531 ms | | Node 실행 파일 한 번 읽기, C:를 지치게 함 (5) | 272-380 ms | 23-37 ms | 6.9-9.1 s | 12-537 ms | | 반복 실행 | job | 통과 | 실패(원인) | | --- | --- | --- | --- | | base (고침 줄 삭제) | 13 | 12 | bounded-child lld-link 1 (#372) | | 고침 | 29 | 25 | OverviewGraph 3 (#145), bounded-child lld-link 1 (#372) | `windows check`는 `web/vite.config.ts` 변경으로 이 PR의 계획에 들어갑니다(`scripts/ci-plan.py`). 같은 커밋에서 다시 돌리려면 `gh run rerun <run> --job <windows check job id>`. <details><summary>Verification record</summary> - base `1e8355e40`, head `acd3ea806` (코드는 `bf41323a1`과 같고 주석과 문서 표현만 바뀜) - 로컬: `scripts/verify-web.sh web lint` 통과, `scripts/verify-web.sh web test` (MissionMap, PaneHeaderBand, SessionRecord 89 tests) 통과 - PR verify 41007907035 통과(windows check job 123906969308, 첫 wave 파일 2.2-5.1 s) - diag run: 41005002294, 41005568846, 41005960879, 41006191963, 41006614043 (브랜치 diag/windows-unit-stall, 버릴 것) - 반복 실행(브랜치 diag/windows-unit-stall-repeat, 버릴 것): 41007829725 (고침 10, base 10은 checkout 오류로 무효), 41009840527 (base 10, 고침 10, 고침 trace 3), 41011316116 (고침 trace 6), 41013119002 (base trace 3) </details>
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.
Related: PRD
agents/prd/workspace-views-layout/prd.md(S7), S6 #144 위에 쌓이고 main의 S8 #146을 merge했습니다.Summary
workspace-views.jsonschema 2에 기억하고(v1 이전), 재시작하면 같은 배치로 돌아옵니다.Review
view_layout.unsaved).herdr-core/src/runtime/view_areas.rs- runtime mutex. event마다 Views 정리가 lock 안에서 돌고, 키 입력은 건너뜁니다.herdr-core/src/runtime/projects.rsingest_changes- high-frequency path. 250 ms pump의 늦은 답이 선택 행을 되돌리지 않게 막습니다.herdr-core/src/model.rs,runtime/documents.rs- snapshot wire.documents섹션은 바뀐 문서만 edit number로 보냅니다.herdr-core/src/view_layout.rs,workspace_views.rs- failure path. 읽을 수 없거나 다른 schema인 파일은 옆 이름으로 옮겨 보관합니다.herdr-core/src/remote/host.rs- failure path. protocol이 다른 helper는 두 버전과 다시 빌드·설치하라는 안내로 거절됩니다.hide-host/src/git.rs- 보이는 View diff 여러 개를 Changes 한 번에 답하고, diff마다 256 KiB 한도를 지킵니다.web/src/ViewAreas.tsx,web/src/editor/sync.ts- 문서 하나에 버퍼 하나, View마다 스크롤·선택 기억, Workspace마다 트리를 새로 mount.hided/src/lib.rsRootFollower,hided/src/server.rsadmit_event- failure path. 거절 직전의 따라잡기가 lock 하나 뒤에서 core를 읽습니다.web/src/actions.tscloseTab- ⌥W가 View, 기기의 탭, 이 Mac의 탭 중 무엇을 닫을지 정하는 순서.Evidence
sasu implement verifyPASS (eb671c0): cargo test 132 s, Swift test 16 s, cargo lint 22 s.file_list가 hided의 root 갱신보다 먼저 와outside_checkout으로 거절됐습니다.design/hide-ui.lib.pen의 큰 diff는 새 sheet 4개와gen-pen토큰 갱신입니다.--size-view-area-min-height토큰을 추가했습니다.S7 e2e 흐름과 B 번호
리뷰 처리와 후속 작업
remote.test.ts가 View close 한 번을 확인합니다.draft.ts주석, Open to the side 폭 e2e의 skip,docs/README.md소유자 행(4868ee6).RootFollower하나로 모으고, Explorer 이벤트·file_index·file_bytes·기기 root의outside_checkout거절 전에 한 번 따라잡습니다.changes.diff읽기와 같은 원인입니다.sync.test.ts의 stale echo 경우는 대기 echo가 컴포넌트에 있어 실패할 수 없습니다.file_draft약 207 KB, S7documents약 208 KB), 편집 중인 문서만.outside_checkout원문, 터미널 아래 어두운 띠(S6), Main의 key=value 기기 오류와 남는 연결 중 문구.스크린샷 전체 39장 (격리 fixture, 임시 HOME, Playwright)
이 Mac의 Workspace (1440x900, 이름에 적힌 창 크기는 예외)
s7-01빈 Views: 열린 View가 없는 영역s7-02미리보기(기울임) 탭과 고정된 View가 나란히s7-03미리보기 탭 메뉴: Keep open과 분할·이동 항목s7-04같은 탭 줄 안에서 끌면 삽입선s7-05영역 오른쪽 가장자리로 끌면 절반 overlay와 Split rights7-06두 영역: 탭 줄마다 보이는 탭을 시야에 두고, 활성 영역의 탭에 강조색s7-07자기 영역의 하나뿐인 View를 가장자리로 끌면 overlay 없이 끌기 표시에 이유s7-08반으로 나눌 수 없게 좁은 영역은 가장자리 drop을 이유와 함께 거절s7-09탭 메뉴: 꺼진 분할 항목과 이름 아래 이유s7-10다른 영역의 탭 줄로 끌기s7-11영역 아래 가장자리로 끌면 Split down overlays7-12세 영역s7-13Open to the side: 한 문서의 두 View가 한 버퍼를 공유해 입력이 양쪽에 보임s7-14명령 팔레트의 View 명령: 꺼진 항목은 제목 아래 이유 전체s7-15작업 중 diff를 그 파일 옆에 열기s7-16키보드로 포커스한 dividers7-17재시작 후 같은 배치, 삭제된 파일의 View는 unavailable과 Close view·Retrys7-18여는 중인 Views7-19이유와 함께 기다리는 View (Explorer의outside_checkout원문은 기존 후속 항목)s7-20900 px 창: Agents와 Views 함께s7-21900 px 창: 요청해서 연 tools overlays7-22900 px 창: 영역 전환s7-23700 px 창: 작업 영역 전환s7-24깊이 한도에서 분할 항목이 이유와 함께 꺼짐s7-25영역 6개에서 분할 항목이 이유와 함께 꺼짐s7-26View 64개에서 하나를 닫으라는 안내, 보이는 탭은 시야에 유지기기 Workspace (루프백 SSH 뒤의 격리 기기 endpoint, 1680x960)
b23-01기기 Workspace의 두 View 영역b23-01a기기 Workspace에서 탭 줄 안 순서 바꾸기 삽입선b23-02재시작 후 기기의 View가 devbox 연결을 기다림b23-03같은 트리·비율·탭·활성 영역으로 기기의 View가 열림b23-04endpoint가 사라지면 기기 이유만 보이고 로컬로 대체하지 않음 (key=value 오류 문구는 기존 후속 항목)b23-05endpoint가 없는 채로 Hide를 다시 열기b23-05aendpoint가 돌아오면 Retry 없이 기다림에서 열림으로b23-06같은 절대 경로의 기기 문서에 입력. fixture가 폴더를 읽기 전용으로 두어 자동 저장이 거절되고 편집은 기기 버퍼에만 남음b23-07같은 경로의 이 Mac 문서는 그대로b23-08기기로 돌아오면 편집이 기기 문서에 그대로(저장 안 됨)b23-09protocol 8 helper: 두 영역이 protocol 불일치와 다시 빌드·설치 안내를 표시 (Explorer에 남는 연결 중 문구는 기존 후속 항목)b23-10protocol 8 helper: Main도 같은 이유와 Retryb23-11현재 helper: 두 View 모두 열림Verification record
agents/prd/workspace-views-layout/prd.md(sha256 8ce830299da8ade558deaa232f6934f8274445a54fd08ef032dc16f0c335803b)agents/runs/workspace-views-layout/verification-report.jsonandagents/runs/workspace-views-layout/verification-report.md; source fingerprint b36069f5331df0b4061d49e8fe57092470fcc1a46a32b44593bc6a7de5aa6201bash scripts/verify-cargo.sh test(exit 0)bash scripts/verify-swift.sh test(exit 0)bash scripts/verify-cargo.sh lint(exit 0)