Floating blocks
A floating block sits over the layout on an edge. People can drag it anywhere, and it can peek out as a drawer.
"floating": [ { "id": "board", "content": { "mod": "board" }, "edge": "left", "align": "center", "peek": 52 } ]
A floating block sits over its node, edge (top, right, bottom, left) and align along it (start, center, end), 12 px in. It sizes to its content (render nothing to hide it). People drag it anywhere; on release it springs to the nearest edge and third, and Woolshed saves the new spot. Clicks and hovers on it never reach what's underneath.
peek (side edges only) makes it a drawer: only that many px next to the edge show until it's hovered, then the rest slides out; it slides back a moment after the pointer leaves. The mod draws one full layout and never changes it on hover (that's what keeps it smooth): put what should peek (status, icons) on the edge side of each row.
Woolshed draws the frame around a floating mod (theme background, border, rounded corners, shadow; accent border while dragged), like a dialog's, with 5 px above and below. The mod draws only its content, no panel: on a side, rows can run edge to edge. It reads placement(): { edge, align, vertical, hovered, dragging }. Lay out vertically when vertical (left/right edges), horizontally otherwise; on the right edge, mirror rows so their edge side is on the right.
The default window:
{ "id": "root", "type": "row", "divider": { "width": 1, "color": "border" },
"children": [
{ "id": "sidebar", "type": "column", "size": { "px": 240 }, "min": 40, "max": 480,
"divider": { "width": 1, "color": "border" },
"children": [
{ "id": "spaces", "type": "block", "content": { "mod": "spaces" } },
{ "id": "agents", "type": "block", "content": { "mod": "agents" } } ] },
{ "id": "work", "type": "column",
"children": [
{ "id": "tabs", "type": "block", "size": { "px": 30 }, "content": { "mod": "tabs" } },
{ "id": "main", "type": "block", "content": { "tab": "active",
"pane": { "gap": 6, "radius": 6, "border": { "width": 1, "color": "border" },
"focus": { "width": 1, "color": "accent" } } } } ] } ] }
Sidebar on the right: swap the two children of root. No sidebar: set "hidden": true on sidebar (the user can toggle it: ctrl-shift-b). Narrower than 160px, the sidebar mods draw a compact rail; folding resizes sidebar to 44 (76 on macOS, room for the traffic lights). On macOS, the tabs also leave room for the window buttons when the sidebar is narrower.
Your agents read these same words: Woolshed writes this guide to ~/.config/woolshed/AGENTS.md on every start. In it, “you” is the agent and “the person” is you.