@vibelord/lanes 1.8.0 → 1.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/package.json +1 -1
  2. package/payload/lanes/README.md +29 -11
  3. package/payload/lanes/VERSION +1 -1
  4. package/payload/lanes/bin/lanes +159 -59
  5. package/payload/lanes/bin-rs/BINARIES.json +2 -17
  6. package/payload/lanes/client/lanes-launch +51 -2
  7. package/payload/lanes/container/lane +142 -19
  8. package/payload/lanes/container/lane-mcp +168 -55
  9. package/payload/lanes/container/lane-peerd +6 -6
  10. package/payload/lanes/container/lane-signal +48 -3
  11. package/payload/lanes/container/lane_core.py +1040 -164
  12. package/payload/lanes/container/throttle-pulse +13 -4
  13. package/payload/lanes/docs/AGENTS-lanes.md +15 -7
  14. package/payload/lanes/docs/ARCHITECTURE.md +478 -101
  15. package/payload/lanes/docs/DESIGN.md +7 -2
  16. package/payload/lanes/docs/INSTALL.md +20 -3
  17. package/payload/lanes/docs/PLAN-1.9.1-SIDEBAR-CODEX.md +128 -0
  18. package/payload/lanes/docs/RUNBOOK.md +1428 -107
  19. package/payload/lanes/docs/USERGUIDE.md +488 -86
  20. package/payload/lanes/holders/tmux.sh +3 -3
  21. package/payload/lanes/install/services.py +68 -11
  22. package/payload/lanes/libexec/agent_state.py +2 -5
  23. package/payload/lanes/libexec/attach.py +11 -3
  24. package/payload/lanes/libexec/cursor_sync.py +22 -2
  25. package/payload/lanes/libexec/docsd.py +38 -4
  26. package/payload/lanes/libexec/lanes_lib.py +377 -39
  27. package/payload/lanes/libexec/mdlite.py +43 -3
  28. package/payload/lanes/libexec/notify.py +69 -26
  29. package/payload/lanes/libexec/registrations.py +5 -0
  30. package/payload/lanes/libexec/session_actions.py +114 -27
  31. package/payload/lanes/libexec/sidebar.py +246 -64
  32. package/payload/lanes/libexec/site_hooks.py +65 -0
  33. package/payload/lanes/libexec/statusd.py +139 -189
  34. package/payload/lanes/libexec/studio_host.py +8 -2
  35. package/payload/lanes/libexec/tokens.py +6 -2
  36. package/payload/lanes/libexec/update.py +13 -5
  37. package/payload/lanes/libexec/view.sh +39 -4
  38. package/payload/lanes/libexec/workspace_keys.py +54 -0
  39. package/payload/lanes/site/protocol.py +15 -5
  40. package/payload/lanes/site/relay.py +5 -2
  41. package/payload/lanes/site/server.py +29 -18
  42. package/payload/lanes/systemd/lanes-economy.service +3 -1
  43. package/payload/lanes/tokens/README.md +10 -0
  44. package/payload/lanes/tokens/generate.py +1 -1
  45. package/payload/lanes/web/Caddyfile +9 -2
  46. package/payload/lanes/web/README.md +2410 -95
  47. package/payload/lanes/web/browser.css +2 -0
  48. package/payload/lanes/web/browser.js +18 -6
  49. package/payload/lanes/web/directory.js +1 -1
  50. package/payload/lanes/web/docs.js +23 -0
  51. package/payload/lanes/web/links.js +157 -0
  52. package/payload/lanes/web/manifest.webmanifest +0 -2
  53. package/payload/lanes/web/mobile.css +30 -32
  54. package/payload/lanes/web/mobile.js +286 -227
  55. package/payload/lanes/web/upload.js +65 -22
  56. package/payload/lanes/web/workspace-keys.js +65 -0
  57. package/payload/lanes/zellij/config.kdl +1 -1
  58. package/payload/manifest.json +5 -22
  59. package/payload/lanes/bin-rs/THIRD-PARTY-NOTICES +0 -18953
  60. package/payload/lanes/bin-rs/x86_64-unknown-linux-musl/lanes-hook +0 -0
  61. package/payload/lanes/bin-rs/x86_64-unknown-linux-musl/lanes-terminal +0 -0
@@ -42,7 +42,12 @@ for operations, the [runbook](RUNBOOK.md).
42
42
  board's unregistered/zmx listings, the fleet facts). A sidebar derives its board's view with
43
43
  `sidebar_status.board_view`, so it paints what the board file paints. It is rewritten only when its content
44
44
  changes: never for `fleet.at`/`throttle.at` alone and never for process metadata; its revision only grows,
45
- also across a statusd restart, which starts from the file on disk. A rewrite carries the sample times current
45
+ also across a statusd restart, which starts from the file on disk. The change key a sidebar stats is the
46
+ publish stamp (BEY-7606): every write of a projection file, the directory and each board file, sets the file's
47
+ mtime to `max(now_ns, last + 1)` for that file before the rename (`lanes_lib.atomic_write_stamped`, seeded
48
+ from the file's own mtime after a restart), and the sidebar keys its status source on
49
+ `(st_ino, st_mtime_ns, st_size)`, so its one stat per tick sees every publish, two inside one clock tick
50
+ included, without a read and without a document field. A rewrite carries the sample times current
46
51
  at that moment, so a sidebar compares its view without them: another board's news costs one read, the newer
47
52
  fleet facts are kept, and nothing is repainted. Freshness comes from the health file: on this source the
48
53
  fleet block's own-clock floor starts at the health line's `status_at` (when statusd last published a
@@ -207,7 +212,7 @@ for operations, the [runbook](RUNBOOK.md).
207
212
  report's own tool call, and, unless it is `working`, the end of the turn (Stop, the idle Notification); those
208
213
  advance `at` and nothing else. Any other hook replaces it (DEF-1801). The lane id is `$LANE_ID` (in a tmux lane only through a canonical recipe's `-e` flags; in a zmx lane
209
214
  `lane-run` exports it as the zmx session name) or the pane's tmux session looked up in `~/.lz/registry.json`; an unresolvable lane, a word outside the vocabulary or an
210
- unwritable directory is a silent exit 0, and nothing is ever printed (a Claude prompt/session hook's stdout
215
+ unwritable directory is a silent exit 0, and stdout stays empty (a Claude prompt/session hook's stdout
211
216
  becomes model context). `statusd` lists each container's `state/hooks/` once per cycle (`agent_sidecars`) and
212
217
  `agent_state.read_sidecar_dict` drops a sidecar whose last event is older than `SIDECAR_MAX_AGE` (3600 s) or
213
218
  whose agent pid is dead or recycled in the container's pid namespace. The sidecar has its own directory because
@@ -219,6 +224,13 @@ for operations, the [runbook](RUNBOOK.md).
219
224
  never installed implicitly: `lanes hooks install --agent claude|codex|kimi|grok|grok-cli|muse|zcode --container <name>`
220
225
  prints the merge and writes only with `--write` (RUNBOOK "Installing agent hooks" and "Harnesses").
221
226
 
227
+ One live agent controls each lane's hook record (BEY-7890). Before writing, `lane-signal` checks the recorded
228
+ PID and start time against field 22 of `/proc/<pid>/stat`, using statusd's shared liveness helper.
229
+ A different writer leaves a live agent's record unchanged and exits 0.
230
+ Its one stderr line contains only the lane, harness, event, and both PID/start pairs, without notes, sessions, or payloads.
231
+ A dead PID or a different start time permits takeover; the same agent can keep updating its record.
232
+ This rule also applies to `lane-mcp`'s `lanes_signal`, which calls the same writer.
233
+
222
234
  **The container side** (W12 Track C). `lane-signal`'s default harness is `--harness`, else `LANE_HARNESS`, else
223
235
  the parent processes' (`comm` in the same set, a `grok` split by its exe, a native Claude Code file by its exe),
224
236
  else `unknown` — never `codex`; `lane-mcp` names the client's harness from its MCP client name (`claude`, `codex`,
@@ -238,11 +250,19 @@ for operations, the [runbook](RUNBOOK.md).
238
250
  its container's `127.0.0.1` (DEF-1525), so the host cannot poll it. `~/.lz/bin/throttle-pulse` (a contract file,
239
251
  Python 3 stdlib) runs as a loop only in the daemon's container — site.conf `LANES_THROTTLE_CONTAINER`, else the
240
252
  container of the registry's `tools--throttle-monitor` tab — where `lanes install-container` starts it, once, as
241
- `tmux -L lanes-pulse` session `pulse`. Every 10 s it GETs the open `/pools/{claude,codex,kimi,muse-code,zai}/ready` and
253
+ `tmux -L lanes-pulse` session `pulse`, with `--control <url>` exactly when site.conf declares
254
+ `LANES_THROTTLE_CONTROL=<url>` (BEY-6845: a fleet container forwards only the data planes, so the loopback default
255
+ reaches no daemon there; `lanes sync` refuses a value that is not a plain `http(s)://host:port`). Every 10 s it GETs
256
+ the open `/pools/{claude,codex,kimi,muse-code,zai}/ready` and
242
257
  `/metrics`, and the guarded `/pools/{claude,codex,kimi,muse-code,zai}/status` only with the bearer the operator adopted into
243
258
  `~/.lz/throttle-token` (`lanes throttle adopt-token`; the control port has no loopback exemption, DEF-1930), and
244
259
  writes `~/.lz/state/throttle.json` by rename when a value changed or 60 s passed — never anything else, never a
245
- POST (RUNBOOK "Throttle pulse"). The kimi pool (W12) rides the daemon's generic pool routes (`scoped_pool_state`):
260
+ POST (RUNBOOK "Throttle pulse"). The document names the base URL it asked (`control_url`, additive, never a
261
+ token), so a reader whose pulse reports `up: false` with a connection error (`connection refused`, `timed out`,
262
+ `unreachable: …` — `lanes_lib.pulse_unreached`; lanes-runtime `capacity::pulse::pulse_unreached`) can say WHERE it
263
+ was not reached: the block's ` ⚙ throttle cannot reach · <host:port>` and doctor's `cannot reach the daemon at
264
+ <url> (…); set LANES_THROTTLE_CONTROL to a reachable forward`, never `down` (kept for a daemon that answered and
265
+ refused, `HTTP 503`); the provider rows and `throttle pools:` show the kept counts as unknown (`?`), never as a bar. The kimi pool (W12) rides the daemon's generic pool routes (`scoped_pool_state`):
246
266
  a daemon with no Kimi account reports it with nothing configured, and since Kimi has no paid overflow lane its
247
267
  `overflow` is always null (`MONEY_POOLS` is claude and codex). W13 adds Throttle's native `muse-code` and `zai`
248
268
  pools the same way (no paid overflow either: their overflow is null too). The sidebar draws one provider row per
@@ -254,15 +274,17 @@ for operations, the [runbook](RUNBOOK.md).
254
274
  on a registry reload and every 300 s, never per cycle, and makes ONE stat per cycle through `/proc/<init>/root` with
255
275
  every directory opened `O_NOFOLLOW`, a read only when (pid, mtime, inode, size) moved, through `read_regular_at` (a
256
276
  regular file of at most 64 KiB, never a link or FIFO). Only the spec's keys of their own types are copied
257
- (`statusd.pulse_projection`: counts, finite numbers, booleans, a one-word phase, a printable error — never an escape
258
- sequence). The copy is `stale: true` when its `at` is more than 90 s old (`PULSE_STALE_S`: the pulse's 60 s
277
+ (`statusd.pulse_projection`: counts, finite numbers, booleans, a one-word phase, a printable error, `control_url` as a
278
+ bare http(s) origin — never an escape sequence). The copy is `stale: true` when its `at` is more than 90 s old (`PULSE_STALE_S`: the pulse's 60 s
259
279
  heartbeat on an int-truncated `at` and a 10 s loop is routinely read 60–84 s late, DEF-1941; `lanes doctor` and the
260
280
  sidebar use the same 90 s) or the file is absent or refused, keeping the last values. The one spawn this adds is
261
281
  `statusd.rearm_pulse`, between two cycles in `main()`: when the pulse file is older than 90 s (or not there) while
262
282
  the daemon's container runs and the host is not `critical`, at most once per 600 s, one bounded (10 s)
263
283
  `docker exec -d -u 1000 -e HOME=/home/coder <c> tmux -L lanes-pulse new -d -s pulse
264
- /home/coder/.lz/bin/throttle-pulse --loop` (byte for byte the argv `lanes install-container` starts it with,
265
- DEF-1940), journalled with its outcome — and nothing when `~/.lz/bin/throttle-pulse` is not installed there.
284
+ /home/coder/.lz/bin/throttle-pulse --loop [--control <url>]` (byte for byte the argv `lanes install-container`
285
+ starts it with, DEF-1940; the lanes-runtime `PulseRearm` template takes the same one optional argument and
286
+ validates it with lanes-core `ident::site::throttle_control`), journalled with its outcome — and nothing when
287
+ `~/.lz/bin/throttle-pulse` is not installed there or the site.conf value is refused (journalled with the key).
266
288
 
267
289
  *Reader mode* (lanes2 E5, TI INT-12, BEY-6845; opt-in, nothing starts it yet). `throttle-pulse --projection FILE`
268
290
  and the economy poller's `LANES_THROTTLE_PROJECTION=<file>` are compatibility READERS of the shared projection
@@ -353,20 +375,49 @@ install-container`.
353
375
 
354
376
  ## Attention queue
355
377
 
356
- The sidebar's **Needs you**, **Working** and **Done** sections are a queue read by someone who is typing in a lane, so
378
+ The sidebar's **Needs you**, **Working** and **Done, not seen** sections are a queue read by someone who is typing in a lane, so
357
379
  it holds still: a lane changes section only when its agent's state has really changed, keeps its place inside a
358
380
  section, and never moves the rows around it (cockpit v3 S1/S2, DEF-1810/DEF-1811). Two halves: `lanes-statusd`
359
381
  debounces what it publishes, and the sidebar orders by when a lane ENTERED its section.
360
382
 
361
- **The two things statusd types (W15 L2c, L4).** With `LANES_NAMES_AUTO` on (the default) statusd renames a Claude lane
362
- whose session name has drifted from its registered address by typing `/rename <address>` into it — only when Claude's
363
- own status is `idle` (never `waiting`, never while delegating, never with a terminal attached), at most two lanes per
364
- pass and one attempt per lane per 120 s, and only while the host is `ok`. And it delivers messages waiting in a lane's
365
- inbox (`deliver_inbox`): the envelope, then Enter half a second later, into a lane observed quiet and idle with no
366
- terminal attached — a Claude lane only while its own session file says `idle`, a shell only at its prompt and as a
367
- comment line — at most two messages per pass, each tried at most once per 60 s, only while the host is `ok`; its
368
- journal line names the lane, the message id and the outcome, never the text. Everything else statusd does is
369
- observation.
383
+ **The one thing statusd types (W15 L2c; BEY-7538).** With `LANES_NAMES_AUTO` on (the default) statusd renames a Claude
384
+ lane whose session name has drifted from its registered address by typing `/rename <address>` into it — only when
385
+ Claude's own status is `idle` (never `waiting`, never while delegating, never with a terminal attached), at most two
386
+ lanes per pass and one attempt per lane per 120 s, and only while the host is `ok`. It never types a message: since
387
+ BEY-7538 (2026-11-08) a message never types into a terminal, so a message waiting in a lane's inbox stays there until
388
+ the lane's agent reads it, and statusd's inbox pass (`purge_inbox`) only takes the text out of messages whose ttl
389
+ passed, at most 16 per pass and only while the host is `ok`; its journal line names the lane, the message id and the
390
+ outcome, never the text. Everything else statusd does is observation.
391
+
392
+ **What may type an answer (BEY-7538, `answer_qualified`; PRD-LNS LNS-FR-13, LNS-NFR-06).** Two paths type an answer
393
+ into a lane's pane: the lanes host's answer worker (`crates/lanes-runtime/src/lane_owner/worker.rs::run_answer`, over
394
+ the pure planner `lanes-core attention::plan`) and the Studio Host's guarded Down/Enter
395
+ (`apps/throttle-rc/src/studio_host/attention`). Both evaluate the one predicate set
396
+ `crates/lanes-core/src/attention/qualified.rs` before ANY key, in its fixed order, and refuse with the typed code
397
+ `answer_unqualified` naming the FIRST failing predicate: `kind` (a question; permission prompts never), `convention`
398
+ (the one measured convention, `claude-code.ask-user-question.single-select.v1`, on a verified-terminal adapter; a hook
399
+ of any other harness opens its question observe-only), `screen` (the structural check at the moment of answering, the
400
+ last read before Enter; its refusal keeps the code `attention_stale`), `no_write_client` (one bounded `list-clients`
401
+ of the lane's server per attempt: no client showing the lane with tmux 3.4 `client_readonly` 0 and no `read-only`
402
+ flag; a failed, timed-out or unparsable listing is unknown and refuses), `no_answer_channel` (the harness declaration
403
+ table `qualified::DECLARATIONS`, read with the harness token the producer spelled on the prompt record, `HarnessToken`
404
+ on `PromptOpen`/`PendingPrompt` and the worker's `AnswerContext.harness` on the lanes host, the item's harness on the
405
+ Studio Host, never a token derived from the adapter qualification: the hook harnesses have none wired, Rocket answers
406
+ natively and is refused, an undeclared token refuses) and `owner` (the lanes host: the answer's origin is a person
407
+ admitted through the lane owner's router, an autonomous origin never types; the Studio Host: its FC-R2 cutover record,
408
+ read before the pane, whose refusal keeps `attention_owner_elsewhere`). In this order a Rocket lane, like every
409
+ non-Claude harness, is named `convention` (its question carries no measured convention); `no_answer_channel` is the
410
+ fence behind it, reached by a prompt that carries the measured convention under a non-Claude or undeclared token. A
411
+ Studio browser channel is a plain tmux client, so it is a writer unless the Studio Host's own channel table says the
412
+ channel does not accept input; no tmux browser view is read-only today (every grouped attach accepts input; the zellij
413
+ `watch` observer is no tmux client), so every open Studio view of a tmux lane refuses both paths' answers, and the
414
+ Host's subtraction is the hook a read-only tmux view mode will fill. The lanes host has no channel table and counts
415
+ every browser view grouped onto the lane as a writer. The lanes-protocol receipt carries the code as its refusal and
416
+ `predicate=<name>` first in its reason (content-free); the Studio refusal frame carries it in `message`, relayed to
417
+ the phone as a 409. Zellij has no read-only notion and no typing path exists into a Zellij-held lane. The write-client
418
+ listing is read once per attempt, not per key, and on the Studio Host before the first look, so the screen read stays
419
+ the latest read before the first key; a desk that attaches after the listing and types inside the residual window
420
+ stays the residual the Studio Host module header documents.
370
421
 
371
422
  **Raw and debounced status.** Each cycle `statusd` derives `merge`'s word for a lane (the raw status, above) and
372
423
  publishes `agent_state.settle(previous agent{}, merge's verdict, now)`, called at both merge sites (declared lanes and
@@ -459,7 +510,11 @@ upload strip keep it (cockpit v3 S3). A sentence typed while the sidebar has the
459
510
  (`Sidebar.key_clock`, the tests' seam) and `typed_burst` swallows every key once three printable keys (not `j k Space
460
511
  /`) land inside 0.3 s, until 0.5 s of silence, Enter or Esc; `h`, `H` and `R` ask first and only Enter confirms; and a
461
512
  stage a printable key opened takes no Enter — a field no letter — within 0.3 s of that key (`considered`), the close
462
- included. `test_sidebar.TypedSentence` and `test_sidebar_burst_sabotage` hold it. No Zellij bind types into a
513
+ included. On a phone picker with no prompt open (E2, BEY-8667: `self.mobile and not self.prompt`, so Add to workspace
514
+ too) the first printable key outside `PHONE_BURST_FREE` (`j k /`; `y` too while Add to workspace is open) starts it,
515
+ and `PHONE_QUIET_S` (2 s) of silence, Enter, Esc or a button-0 tap ends it; an Enter within 2 s of the Enter that
516
+ ended it opens nothing, and the phone's footer names no key it lacks. `test_sidebar.TypedSentence` and
517
+ `test_sidebar_burst_sabotage` hold it. No Zellij bind types into a
463
518
  pane: `Ctrl-Alt-/` and `Ctrl-Alt-u` reach the sidebar through `lanes sidebar-key filter|upload --focused`, which
464
519
  writes `views/<device>/<ws>.sidebar.cmd` for the tab's sidebar to act on, and `Ctrl-Alt-l` only moves the focus there
465
520
  (cockpit v3 S4). The sidebar asks for focus reports (`?1004h`) and says in its footer when the keyboard is on it. The
@@ -658,11 +713,11 @@ and Codex (the plan's operator gate 3), and new agent sessions load it. How an a
658
713
  | `lanes_unregister` | write | the same file: one terminal removed; its session keeps running | `lanes sync` | 15 s |
659
714
  | `lanes_rename` | write | the same file: `lanes.terminals[<name>].displayName` | `lanes sync` | 15 s |
660
715
  | `lanes_new` | exec | the same file: one terminal appended; and a new tmux session running `command` | `lanes sync` | 15 s (the session runs at once) |
661
- | `lanes_send` | exec | keystrokes into a lane's active pane, the lane named by id or address; the fleet admin's lane only from a coordinator; typed under the lane's dispatch lock, its agent read again under it (`recipient_busy` after 5 s while another writer types there) | the program in the lane's active pane | 0 s (its Enter half a second after the text) |
716
+ | `lanes_send` | exec | keystrokes into the pane that holds the lane's agent, in any window of its session (BEY-8655; a lane without an agent: its active pane), the lane named by id or address; the fleet admin's lane only from a coordinator; typed under the lane's dispatch lock, its agent read again under it (`recipient_busy` after 5 s while another writer types there); never into a lane whose agent waits for an approval, `force` or not (BEY-7538); a person's typing tool, never a message's delivery | the lane's agent, in the pane `pane` names (a lane without one: its active pane) | 0 s (its Enter half a second after the text; one more Enter only while the agent's composer still holds it) |
662
717
  | `lanes_signal` | write | the agent's own hook sidecar, through `lane-signal` | `lanes-statusd` | 5 s |
663
718
  | `lanes_publish` | write | a publish request `~/.lz/state/publish/<lane>/<id>.json` naming a file of the container (the file itself is read by the host) | `lanes-docsd` | 5 s (its pick-up cycle; the receipt comes back beside the request) |
664
- | `lanes_message` | write | one message to a lane of the container, named by address, from the agent's own lane: refused `use_send_message` when the sender is Claude and the lane a Claude session with a messaging socket, or a lane `lane-peerd` serves as a Claude peer (its own `SendMessage`), else one line on a Claude session's own socket for a sender that is not Claude (W15 L6), `codex queue`, the Throttle bus (`LANES_BUS=throttle`), typed into an idle lane (under its dispatch lock), or — with `queue` — the lane's inbox `~/.lz/state/inbox/<lane>/`; a record and a receipt each, one metadata-only log line; an adapter whose answer was lost holds it (`unknown`, the record's `attempt`) | the adapter's (`delivered_by`): the Claude session itself: its transcript, mid-turn; codex queue: the thread's next turn; Throttle: the recipient's next model request; the program in the lane's active pane; lanes-statusd: typed when the lane is next idle; for `unknown` nobody: held, a person decides | 0 s typed or peer_socket; `next_turn` (codex_queue, throttle_turn); `when_idle` (queued); null (`unknown`) |
665
- | `lanes_message_ack` | write | a message of the agent's own inbox: the text taken out of its record, the receipt kept (`inbox` for one still waiting, so nothing types it) | `lanes-statusd` | 5 s (the boards' ✉ count) |
719
+ | `lanes_message` | write | one message to a lane of the container, named by address, from the agent's own lane: refused `use_send_message` when the sender is Claude and the lane a Claude session with a messaging socket, or a lane `lane-peerd` serves as a Claude peer (its own `SendMessage`), else one line on a Claude session's own socket for a sender that is not Claude (W15 L6), `codex queue`, the Throttle bus (`LANES_BUS=throttle`), or — with `queue` — the lane's inbox `~/.lz/state/inbox/<lane>/`; never typed into a terminal (BEY-7538: a lane only its keyboard reaches is refused `transport_never_types` without `queue`); a record and a receipt each, one metadata-only log line; an adapter whose answer was lost holds it (`unknown`, the record's `attempt`) | the adapter's (`delivered_by`): the Claude session itself: its transcript, mid-turn; codex queue: the thread's next turn; Throttle: the recipient's next model request; the lane's inbox: its agent reads it there (lanes_status `inbox`, `lane inbox`) — never typed; the site's lane bridge: carried into the recipient's inbox on its own container, where it waits for the lane's agent (DM-LANES-OUTBOX) — for `@fleet` with the fleet admin elsewhere and `@<board>` whose coordinator runs elsewhere, the message waits in the sender's outbox `~/.lz/state/outbox/<lane>/` (`outbox`); for `unknown` nobody: held, a person decides | 0 s peer_socket; `next_turn` (codex_queue, throttle_turn); `when_idle` (queued: until its agent reads it); `bridge` (outbox: the site's bridge, within its pass); null (`unknown`) |
720
+ | `lanes_message_ack` | write | a message of the agent's own inbox: the text taken out of its record and answered (`text`) on that one call, never again (BEY-8673 D), the receipt kept (`inbox` for one still waiting, so nothing counts it as waiting) | `lanes-statusd` | 5 s (the boards' ✉ count) |
666
721
 
667
722
  "Seen within" is the `expected_within_s` each write answers (`test_docs.AgentApi` reads it from `lane-mcp` and holds
668
723
  this table to it). A terminals.json edit: `lanes-statusd` checks every cycle (3 s, `LANES_STATUS_INTERVAL`) whether a
@@ -671,8 +726,8 @@ the `lanes-sync.timer` sync every 2 minutes catches anything else. A sidecar is
671
726
  publish request is taken by the docs service's own pick-up cycle (5 s, "Docs service" below).
672
727
  "Effect" is the tool gateway's classification (`read`, `write`, `exec`: arbitrary command execution). `lanes_new` runs
673
728
  its `command`, and `lanes_send` types a line that a shell lane runs, so both are `exec`; the gateway recipe below
674
- carries the same classes. `lanes_message` is `write`: what it types into a shell is one comment line, and what it
675
- types into an agent's prompt is a message that agent weighs like any other — never a person's consent.
729
+ carries the same classes. `lanes_message` is `write`: it types nothing anywhere (BEY-7538), and what it delivers to an
730
+ agent is a message that agent weighs like any other — never a person's consent.
676
731
 
677
732
  How it is built. The agents start `lane-mcp` (LNS-34) over stdio from
678
733
  `mcpServers.lanes` in `~/.claude.json` and `[mcp_servers.lanes]` in `~/.codex/config.toml`. `lanes
@@ -686,10 +741,20 @@ request goes to `~/.lz/s/logs/lane-mcp.log`. Its tools read the two host project
686
741
  (`lanes sync`) and `status.json` (`lanes-statusd`, LNS-32), and tmux through the same `lane_core` runner. A newer
687
742
  `version`/`v` there is refused, never half-read. `lanes_whoami`, `lanes_list`, `lanes_status` and `lanes_capture`
688
743
  only read. `lane_core.py` also holds the minimal editor for a repository's `.vscode/terminals.json` that the write
689
- tools build on. It edits strict JSON only, keeps every byte outside the edited span, re-reads the file before the
690
- atomic write (one retry when another writer changed it), and refuses to touch the root `throttle` object, a
691
- terminal's `name`, the terminals' order or the last terminal. The agents' entries are written the same careful
692
- way: only when missing, `<file>.bak-<UTC>` first, re-read before the write, and an entry named `lanes` that starts
744
+ tools build on. It edits strict JSON only, keeps every byte outside the edited span, and refuses to touch the root
745
+ `throttle` object, a terminal's `name`, the terminals' order or the last terminal. Every writer of a terminals.json
746
+ (these tools, and on the host the sidebar's `P` and `u`, `lanes unregister`, `lanes register`'s repair and `lanes
747
+ cursor-sync --write`) writes through ONE function, `lane_core.update_terminals` (BEY-7435): an flock on the sidecar
748
+ `.terminals.json.lock` beside the file (one kernel, so the host through the container's home volume and the container
749
+ share it; the holder unlinks it before it lets go), the file re-read under the lock, only the caller's delta applied to
750
+ those fresh bytes, then temp file, fsync, rename and a directory fsync (`source_unwritable` when this account cannot
751
+ write in the folder). A row, a `lanes.terminals` binding or a root `throttle.terminals` binding of the file as read
752
+ under the lock that the caller's own delta does not remove and that would be gone refuses the write as
753
+ `registry_row_vanished`, naming it: never a silent drop (on 2026-11-07 a concurrent read-modify-write dropped a
754
+ lane's row while its binding survived). Known exceptions, BEY-7435 follow-ups, still write without the lock: the Rust
755
+ native `lanes unregister` and `lanes cursor-sync` when routed native (`flags/native.client`, `LANES_RS_*`),
756
+ `scripts/propose-terminal-annotations.py --write`, and a container whose lane-mcp predates the lock until `lanes
757
+ install-container` (or the 1.8.1 update) reinstalls it. The agents' entries are written carefully too: only when missing, `<file>.bak-<UTC>` first, re-read before the write, and an entry named `lanes` that starts
693
758
  something else is never replaced.
694
759
 
695
760
  The write tools (LNS-35) are `lanes_register`, `lanes_unregister`, `lanes_rename`, `lanes_new`, `lanes_send` and
@@ -709,8 +774,25 @@ environment minus a deny-list, because lane-mcp runs with the agent's environmen
709
774
  environment to every later session on the board (DEF-1559, DEF-1802) — and the session gets the lane's identity
710
775
  through the canonical recipe's four `-e` flags. `lanes_send` (and `lane send`) types printable text through the
711
776
  runner's `send-keys -l` and presses Enter as a second client `ENTER_DELAY` (0.5 s) later: in one client the pane
712
- reads the text and its CR as one chunk, which an agent's prompt takes as a paste (DEF-1803). It is refused while the
713
- target's agent is `working` or `needs_approval` (the host's observation or the lane's own sidecar) unless forced.
777
+ reads the text and its CR as one chunk, which an agent's prompt takes as a paste (DEF-1803). Since BEY-8655 (Fleet's
778
+ FLE-344 finding) the text goes into the pane that holds the lane's agent, never into the session's current window,
779
+ where another window's shell would run it as a command: `lane_core.agent_pane` lists every pane of the session on the
780
+ lane's own socket (`list-panes -s`) and walks each pane's process tree for a harness process; the observed agent's
781
+ pid decides between two, else the active pane among them, else `agent_pane_ambiguous`. A lane observed running an
782
+ agent (its hook or the host's row) that no pane holds is refused `agent_pane_not_found` and nothing is typed; a lane
783
+ without an agent is typed into its active pane, as before. After the Enter, for the two composers measured (Claude
784
+ Code 2.1.327 and Codex 0.169.1, `lane_core.COMPOSER_GLYPH`) the agent's screen is read (`send_checked`): when the
785
+ composer still holds exactly the typed text at two reads, 0.8 s and 1.8 s after the Enter, ONE more Enter is pressed,
786
+ and the composer is then read every 0.5 s for up to 4 s. An Enter is never pressed without that read: on an agent's
787
+ screen Enter accepts whatever is selected (a trust prompt, an update menu, an approval). MEASURED 18 Nov 2026: Codex
788
+ 0.169.1 keeps a text of more than 1,024 characters typed in this form in its composer (the first 1,024 become a paste
789
+ placeholder, the rest stays as text and the Enter becomes a newline), and one more Enter submits it; Claude Code took
790
+ short, 400 and 1,500 characters at the first Enter. Other harnesses' screens are not measured: their Enter is pressed
791
+ once and the answer says `unconfirmed`. It is refused while the
792
+ target's agent is `working` (the host's observation or the lane's own sidecar) unless forced, and always while it is
793
+ `needs_approval` — `force` included (BEY-7538, 2026-11-08): text typed into a prompt that waits for an approval answers
794
+ it, and an answer is a person's, never a tool's. `lanes_send` is a person-grade typing tool that names its lane; it is
795
+ not messaging, and nothing calls it to deliver a message.
714
796
  `lanes_signal` runs `lane-signal` with `--agent-pid` (the server's parent, the agent), `--note` (the sidecar's
715
797
  `name`, which `agent_state.read_sidecar_dict` already publishes as the agent's task line) and the agent's
716
798
  `CLAUDE_CODE_SESSION_ID` when its environment carries one, so the report and the agent's hooks name the same agent.
@@ -752,7 +834,8 @@ session file the verdict came from) by the sender's own `SendMessage` (`send_mes
752
834
  id its hooks recorded (`codex_queue`) or, without one, the live thread `lane_core.codex_handles` finds through Codex's
753
835
  app-server daemon (W15 L3, Linear BEY-6841: its cwd, then the title Codex draws; `via: app-server`, else `why`,
754
836
  `handle_ambiguous` when several fit; RUNBOOK "Codex lanes: thread ids"); any other agent `lane` (`throttle_turn`, Throttle's
755
- next-turn delivery, which is the Throttle lane's and off until measured); no agent `lane` (`typed`). A lane `lane-peerd` serves as a Claude
837
+ next-turn delivery, which is the Throttle lane's and off until measured); no agent `lane` (`typed`: only its keyboard
838
+ reaches it, and since BEY-7538 a message never takes that way — the word stays the handle's transport). A lane `lane-peerd` serves as a Claude
756
839
  peer shows `claude-peer` with its address, reached by `send_message` (`lane_core.shown_handle`; a `lanes_list` row
757
840
  carries that transport too), whatever its agent's own handle — which still routes a sender that is not Claude.
758
841
  `name_match` is the host's `agent.name_match`, else, for a known Claude session name, whether it equals the address
@@ -763,6 +846,14 @@ one naming its own session is left alone), with the identity flags unchanged and
763
846
  text of all this is [`AGENTS-lanes.md`](AGENTS-lanes.md), which the repository's `AGENTS.md` ("Messaging and roles")
764
847
  points at.
765
848
 
849
+ A hook that Codex's shared daemon fires records nothing, and a record that names the daemon is passed over (Linear
850
+ BEY-8641). `codex app-server` serves the threads of many lanes from one process and keeps the environment of the lane
851
+ that started it, so the `LANE_ID` its hooks carry is not the thread's lane (MEASURED 18 November 2026: one lane's
852
+ record rewritten with another lane's thread id, and the lane's messages queued to that thread). `lane-signal` and
853
+ `lane_core.handle` tell the daemon by a word of its command line (`DAEMON_WORDS`); a lane whose thread runs on the
854
+ daemon is found by its folder and title, as a lane without hooks is, and a record the daemon wrote does not keep the
855
+ lane's own Codex process from writing its own.
856
+
766
857
  Messages (W15 L4, Linear BEY-6842, `lane_core.message`; `lane message` in a shell is the same code). `lanes_message` sends one message
767
858
  from the agent's own lane — its address is the reply address — to a lane of the container, in ONE envelope
768
859
  (`lane_core.ENVELOPE`): `[lanes message from @<sender address> (<handle kind>:<name>) <HH:MM>Z] <text> — reply: lane
@@ -783,8 +874,12 @@ shows it mid-turn (`peer_socket`, `msg_id` in the answer; `peer_socket_failed`);
783
874
  session file the adapter does not apply; (3) the lane is a Codex thread — its hooks recorded it, or
784
875
  (W15 L3) its app-server names the one live thread that fits the lane, asked at dispatch with the recipient's own lane,
785
876
  home and `/proc` (`handle(…, fresh=True)`: never a thread a cached status read saw) — and `codex` is on PATH:
786
- `codex queue --thread <id> --message <envelope>` in `creation_env()`'s allow-list, 10 s, its output never shown
787
- (`codex_queue`; `codex_queue_failed`); a Codex lane without a recorded thread whose app-server names several threads
877
+ `codex queue --thread <id> --message <pointer>` in `creation_env()`'s allow-list, 10 s, its output never shown
878
+ (`codex_queue`; `codex_queue_failed`) — the pointer (`ENVELOPE_POINTER`, `lane_core.envelope_pointer`; BEY-8673 D)
879
+ names the message's id and how to take its text, `~/.lz/bin/lane inbox ack <id>` first and `lanes_message_ack` second,
880
+ never the text, so a queued turn Codex serves again after the lane took the message takes nothing twice (the per-call
881
+ CLI comes first because a `lane-mcp` started before an install runs the old ack, which answers no text; limit: a lane
882
+ that read its inbox file without acking gets the text once more from the pointer's ack); a Codex lane without a recorded thread whose app-server names several threads
788
883
  (`handle_ambiguous`) or cannot be asked (`handle_unavailable`) gets no thread and nothing typed: refused, or queued
789
884
  with `queue`; (4) `LANES_BUS=throttle` in the sender's environment and the lane runs an agent: `POST
790
885
  http://127.0.0.1:$LANES_THROTTLE_CONTROL_PORT/v1/lanes/messages` (19181 by default — Throttle's CONTROL listener, never
@@ -793,56 +888,77 @@ http://127.0.0.1:$LANES_THROTTLE_CONTROL_PORT/v1/lanes/messages` (19181 by defau
793
888
  header — with the SENDING harness's own Throttle client token as the bearer (`throttle client-token <pool>` for its
794
889
  pool: claude, codex, kimi, muse-code for Muse, zai for ZCode; Grok has none; only a `throttle_` token is ever sent, no
795
890
  proxy, no redirect followed): the client of Throttle's lane bus (BEY-6869), whose endpoint is the Throttle lane's, so
796
- the adapter is off by default (`throttle_turn`; `bus_unavailable`); (5) the lane's handle is `lane` and it is idle — an
797
- agent at its prompt (`needs_input`, `idle`, `done`, not delegating, its sidecar not working), or a shell at its prompt
798
- (`#{pane_current_command}` is bash, sh or dash), which gets the envelope as one comment line, `# …`, so nothing runs:
799
- typed through `lanes_send`'s path (`typed`) under the lane's dispatch lock (below), after a final recheck there;
800
- (6) otherwise, with `queue`, the message waits in the lane's inbox (`queued`), else the call is refused
801
- `recipient_busy`.
891
+ the adapter is off by default (`throttle_turn`; `bus_unavailable`); (5) no adapter types (BEY-7538, 2026-11-08: a
892
+ message never types into a terminal): a lane whose handle is `lane` and that none of the above reached — an agent no
893
+ bus serves, or a pane without an agent — has only its keyboard, which is a person's (`lanes_send`, `lane send`), so
894
+ the call is refused `transport_never_types`, or with `queue` the message waits in its inbox; nothing is typed, idle
895
+ or not, and no dispatch lock is taken. Before BEY-7538 this step typed the envelope into an idle lane (receipt
896
+ `typed`, which every reader still reads on an old message);
897
+ (6) otherwise, with `queue`, the message waits in the lane's inbox (`queued`) until its agent reads it, else the call
898
+ is refused `recipient_busy`.
802
899
  An adapter that applies and provably took nothing (it could not start, the connection was refused, Throttle answered a
803
900
  refusal) refuses with its code, or queues with `queue`. An adapter that may have taken it — `codex queue` timed out or
804
901
  exited non-zero (its exit codes are not measured: its own answer can time out after the thread queued the text),
805
902
  Throttle's answer was lost or unreadable after the request went out — is `unknown` (W15 part 2, the PR #544 review):
806
903
  the record keeps its text and gains `attempt` `{op, adapter, at, outcome, recipient: {lane, harness, pid, start,
807
904
  thread | trace, bus_id}}` (written before the adapter is asked, `sending`, and again once it answered), the receipt
808
- says `unknown`, and nothing sends it again — no other adapter, no drain of `lanes-statusd` after any restart — until a
809
- person runs `lane inbox retry <id> --duplicate-risk` (it may then arrive twice: it is queued again for the typed path)
810
- or the recipient acknowledges it. The answer says `delivered_by: unknown` with `not_confirmed` and the `attempt`.
811
-
812
- Native input has ONE authority per recipient (W15 part 2, the review's 8d91d073; DM-LANES-DISPATCH-LOCK): an exclusive
813
- `flock` on `~/.lz/state/dispatch/<lane id>.lock` in the container (the directory 0700, the file 0600, both created when
814
- absent, never through a link; `lane_core.dispatch_lock`), which `lanes-statusd` takes on the same inode through
815
- `/proc/<init pid>/root/home/coder/.lz/state/dispatch/<lane id>.lock`. Every writer of a lane's pane takes it — `lane
816
- message` and `lanes_message`'s typed adapter, `lane-peerd`'s handler threads (they run concurrently), `lanes_send` and
817
- `lane send`, the host's inbox drain and `lanes message` (the host's automatic `/rename` follows the same convention,
818
- W15 part 1) — waits for it at most 5 s
819
- (`DISPATCH_WAIT_S`), then refuses `recipient_busy` (or queues), and holds it across its final readiness recheck
820
- (observed again: still idle, not delegating, its hook sidecar not busy, the same agent — harness, pid, session — as
821
- when it was addressed, no older message waiting in its inbox, a shell still at its prompt), the text, the Enter and,
822
- for a drained message, its `typed` receipt. So two texts never share one prompt, a recipient that turned busy or was
823
- replaced while a writer waited gets nothing, waiting messages are typed oldest first (ids sort in the order an inbox
824
- was written, FIFO within one second too), and another recipient never waits. Each accepted message is a record
905
+ says `unknown`, and nothing sends it again — no other adapter, nothing on the host after any restart — until a
906
+ person runs `lane inbox retry <id> --duplicate-risk` (it may then arrive twice: it waits in the inbox again for its
907
+ agent to read) or the recipient acknowledges it. The answer says `delivered_by: unknown` with `not_confirmed` and the
908
+ `attempt`.
909
+
910
+ A person's typing has ONE authority per recipient (W15 part 2, the review's 8d91d073; DM-LANES-DISPATCH-LOCK): an
911
+ exclusive `flock` on `~/.lz/state/dispatch/<lane id>.lock` in the container (the directory 0700, the file 0600, both
912
+ created when absent, never through a link; `lane_core.dispatch_lock`), which the host takes on the same inode through
913
+ `/proc/<init pid>/root/home/coder/.lz/state/dispatch/<lane id>.lock`. Every writer of a lane's pane takes it —
914
+ `lanes_send` and `lane send`, a guest's `tmux_write` (a person's paste), and the host's automatic `/rename` (W15
915
+ part 1) — waits for it at most 5 s (`DISPATCH_WAIT_S`), then refuses `recipient_busy`, and holds it across its final
916
+ readiness recheck (its agent observed again), the text and the Enter. So two texts never share one prompt, a
917
+ recipient that turned busy while a writer waited gets nothing, and another recipient never waits. Since BEY-7538 no
918
+ message is one of these writers: `lane message`, `lanes_message`, `lane-peerd`'s handler threads, `lanes message` on
919
+ the host and `lanes-statusd`'s inbox pass write the inbox and type nothing. Each accepted message is a record
825
920
  `~/.lz/state/inbox/<lane>/<id>.json` (DM-LANES-MESSAGE, with its text, 0600) and a receipt `<id>.receipt.json`
826
921
  (DM-LANES-MESSAGE-RECEIPT); each outcome one line of `~/.lz/state/inbox/log` (DM-LANES-MESSAGE-LOG: `at from to id
827
- bytes outcome`, never a text). `lanes_message_ack` takes the text out of a message of the agent's own inbox
828
- (`unknown_message` otherwise) — the record first, then its receipt stamped `cleared`; `lanes_status` shows `inbox`
829
- (`{pending, delivered, last, unknown?}`) and `lanes_list` `inbox_pending` and `inbox_unknown`, read in the container.
922
+ bytes outcome`, never a text). `lanes_message_ack` (and `lane inbox ack <id>`) takes the text out of a message of the agent's
923
+ own inbox (`unknown_message` otherwise) — the record first, then its receipt stamped `cleared` — and answers that text
924
+ (`text`) on the one call that removes it, never on a later one (BEY-8673 D: taking a message is that recorded act); `lanes_status` shows `inbox`
925
+ (`{pending, delivered, last, unknown?}`) and `lanes_list` `inbox_pending` and `inbox_unknown`, read in the container:
926
+ that is how a lane's agent finds a waiting message, and `~/.lz/bin/lane inbox` shows its text — the text of one that
927
+ waits or is held; one an adapter already handed to the agent (`lane_core.inbox_state` `delivered`: its Codex thread's
928
+ queue, its Claude session, Throttle, the old `typed`) is a history line without its words, and its `--json` row says
929
+ `state: delivered` (with `thread` for `codex_queue`) and keeps the text (BEY-8673: a resumed Codex lane once carried
930
+ out every order its thread had been handed, read back from this listing).
830
931
  Every reader lists every message that is not settled — waiting, held, on its way, delivered with its text — however
831
932
  much acknowledged history the inbox holds, and only the newest 512 settled ones (`cleared`): one older waiting message
832
- behind hundreds of acknowledged ones is still counted, typed and expired. On the host, `lanes-statusd` counts each
933
+ behind hundreds of acknowledged ones is still counted, listed and expired. On the host, `lanes-statusd` counts each
833
934
  lane's waiting messages through `/proc/<init>/root` (one bounded scandir per container per cycle, a lane's files read
834
935
  only when its directory changed) and publishes `inbox: {pending}` on the lane's row, which the sidebar draws as ✉;
835
- between two cycles it types at most two waiting messages into lanes idle with no terminal attached (`typed`), never a
836
- held one, and takes the text out of messages whose ttl passed (`expired`), finishing a cleanup that stopped between its
837
- two writes (`cleared`). `lanes message <address> "<text>"` on the host, and the
838
- sidebar's `m`, send a person's message (`host:<login>`, no reply address) through the container's home volume and
839
- type it at once when the lane is idle. A message from another lane is never a person's consent.
936
+ between two cycles it takes the text out of messages whose ttl passed (`expired`), finishing a cleanup that stopped
937
+ between its two writes (`cleared`), and types none. `lanes message <address> "<text>"` on the host, and the
938
+ sidebar's `m`, send a person's message (`host:<login>`, no reply address) through the container's home volume into
939
+ the lane's inbox, where it waits for the lane's agent. A message from another lane is never a person's consent.
940
+ A message for a lane of another container (DM-LANES-OUTBOX, FLE-289: `@fleet` when the fleet admin runs elsewhere, a
941
+ board whose coordinator does) is not refused and dropped: it waits in the sender's outbox
942
+ `~/.lz/state/outbox/<sender lane>/` (the inbox's record and receipt shapes, receipt `outbox`), and the site's bridge —
943
+ a host process outside Lanes that reaches every container of the site — carries it: `lane outbox pending --json` in
944
+ the sender's container, `lane inbox deliver --from-container <name>` in the recipient's (a `queued` inbox record with
945
+ the sender's address and `origin`; idempotent on the origin's container and id), `lane outbox settle … --bridged
946
+ <container>:<id>` back in the sender's. The routing rule (coordinators to the fleet admin) holds for a remote fleet
947
+ admin; an outbox record whose ttl passes expires on the next listing. Nothing in this path types into a terminal. The
948
+ bridge is the only party the recipient's container has any word from: a bridged `from` is the bridge's claim, not a
949
+ verified identity (the record's `origin` names the container, and the inbox views show it beside `from`), and a `from`
950
+ that resolves to a lane of the recipient's own container is refused (`from_is_local`). The record carries `to_lane`,
951
+ the recipient's lane id as the sender's container knew it, resolved before `to`: the recipient's registry may give that
952
+ lane an address override the sender could not see.
840
953
 
841
954
  Claude peers (W15 L6, Linear BEY-6843, `container/lane-peerd`; DM-LANES-PEER, DM-LANES-PEER-FRAME). Claude Code
842
955
  lists every `~/.claude/sessions/<pid>.json` whose pid is a live process with the matching `procStart` in its
843
956
  sessions' `ListAgents`, and `SendMessage` writes one JSON line to the socket that file names (MEASURED on Claude Code
844
- 2.1.310, 2026-10-25; the frames in `tests/unit/fixtures/peer/`). `lane-peerd`, one loop per workspace container
845
- (`tmux -L lanes-peers`, started by `lanes-statusd`'s `rearm_peerd` between two cycles), reads `~/.lz/status.json`
957
+ 2.1.310, 2026-10-25, and again, unchanged, on 2.1.327, 2026-11-19, BEY-8660; the frames in `tests/unit/fixtures/peer/`).
958
+ `lane_core.PEER_PIN` admits the measured minor line (2.1.x) with `peerProtocol` 1, not one patch: a newer minor line or
959
+ another protocol is refused `peer_pin_failed` until it is re-measured. `lane-peerd`, one loop per workspace container
960
+ (`tmux -L lanes-peers`, session `peerd`, started by `lanes-statusd`'s `rearm_peerd` between two cycles with one tmux
961
+ command sequence that first ends any leftover session of that server, BEY-8660), reads `~/.lz/status.json`
846
962
  and the registry every 3 s and keeps, for each lane observed live whose agent is not Claude — Codex, Kimi, Grok,
847
963
  Muse, ZCode, a shell —, a virtual peer: a socket `~/.lz/state/peers/<lane>.sock` (0600, the directory 0700) and an
848
964
  entry `~/.claude/sessions/<pid>.json` with the keys of a real one, `pid` the lane's agent process (found under the
@@ -878,7 +994,8 @@ No tool exists for these. An agent that needs one asks a person; a refusal's `hu
878
994
  - **Interrupting** an agent. `lanes_send` types printable text only (no Ctrl-C, Esc, newline or tab) and refuses a
879
995
  lane whose agent is working (`agent_working`) unless forced.
880
996
  - **Answering an approval** prompt. `lanes_send` refuses a lane whose agent waits for an approval
881
- (`agent_needs_approval`); `force` is for an answer the agent was asked to type.
997
+ (`agent_needs_approval`), and `force` does not lift that (BEY-7538): an answer typed into that prompt is a
998
+ person's. No message types into a terminal either.
882
999
  - **Opening or attaching** a lane, or changing what a view shows.
883
1000
  - **Uploads**: a person's file into a lane (the Docs page, the desktop drop). The reverse, an agent's own file onto
884
1001
  the docs page, is `lanes_publish`.
@@ -928,32 +1045,48 @@ of these, else 2025-06-18. The data-model row is DM-LANES-LANE-MCP in `docs/mast
928
1045
  whole `handle`, `name_match` and `messaging` (the host's `agent.messaging`, `{socket_present, name}`, or null);
929
1046
  W15 L3: a Codex lane's whole `handle` may add `via` (`app-server`) or `why` (a `lane_core.CODEX_WHY` word; none
930
1047
  without a Codex daemon);
931
- `lanes_send` answers the lane's `address`, `lanes_new` and `lanes_register` the new lane's. W15 L4:
1048
+ `lanes_send` answers the lane's `address`, `lanes_new` and `lanes_register` the new lane's. BEY-8655 (additive):
1049
+ `lanes_send` answers `pane` (the tmux pane id it typed into) and `submitted` (`submitted`,
1050
+ `submitted_second_enter`, `unconfirmed`, or null without an Enter); `not_submitted` is a refusal with `changed`. W15 L4:
932
1051
  `lanes_message` answers the message's `id`, the recipient's `lane` and address (`to`), the sender's (`from`),
933
- `delivered_by` (`peer_socket` (W15 L6), `codex_queue`, `throttle_turn`, `typed`, `queued` or — W15 part 2,
934
- additive — `unknown`), `ttl_s`, `bytes`, `at`,
935
- where its record and receipt are (`message`, `receipt`) and what the adapter adds (`msg_id`, `thread`, `bus`, `typed`,
1052
+ `delivered_by` (`peer_socket` (W15 L6), `codex_queue`, `throttle_turn`, `queued` or — W15 part 2,
1053
+ additive — `unknown`; `typed` until BEY-7538, 2026-11-08, never answered since: a message never types into a
1054
+ terminal, and an old receipt that says `typed` is still read), `ttl_s`, `bytes`, `at`,
1055
+ where its record and receipt are (`message`, `receipt`) and what the adapter adds (`msg_id`, `thread`, `bus`,
936
1056
  `not_delivered`; for `unknown`: `not_confirmed` — the adapter's code and why its answer is missing — and `attempt`
937
1057
  `{op, adapter, at, outcome, recipient}`); its
938
- `expected_within_s` is seconds (`0`, typed) or a word: `next_turn` (the recipient's harness serves it at its next
939
- turn) or `when_idle` (waiting in the inbox), null for `unknown` (held: it may have arrived, nothing sends it again;
1058
+ `expected_within_s` is seconds (`0`, peer_socket) or a word: `next_turn` (the recipient's harness serves it at its
1059
+ next turn) or `when_idle` (waiting in the inbox until the recipient's agent reads it — nothing types it), null for
1060
+ `unknown` (held: it may have arrived, nothing sends it again;
940
1061
  a person's `lane inbox retry <id> --duplicate-risk`, never a tool, hands it back); the `use_send_message` refusal
941
1062
  carries `to`, `tool: SendMessage` and the lane's `address`, `handle_ambiguous` the `name` and its `lanes` (two lanes
942
1063
  answer to that messaging name) or — W15 part 2 — the `lane`, its `address` and `discovery` (several Codex threads
943
- fit the lane), `handle_unavailable` the same three (its Codex app-server could not be asked), `peer_pin_failed` the
944
- `lane` and its `address`. W15
1064
+ fit the lane), `handle_unavailable` the same three (its Codex app-server could not be asked), `peer_pin_failed` and
1065
+ `transport_never_types` (BEY-7538) the `lane` and its `address`. DM-LANES-OUTBOX (BEY-8446): for `@fleet` with
1066
+ the fleet admin elsewhere, or `@<board>` whose coordinator runs elsewhere, `lanes_message` answers `delivered_by`
1067
+ `outbox` with `expected_within_s` the word `bridge` and `lane` null (the record waits in the sender's outbox for
1068
+ the site's bridge; `to_lane` the recipient's lane id when known); the bridge's `lane inbox deliver` refuses
1069
+ `from_is_local` (a `from` that is a lane of the recipient's own container) and `expired` (under 60 s of ttl
1070
+ left), and a bridged inbox record carries `origin {kind: bridge, container, id, at}`, which `lanes_status`'s
1071
+ `inbox.last` shows beside `from`. W15
945
1072
  L6 adds the handle kind `claude-peer` (a lane `lane-peerd` serves: `{kind, name: <address>, transport:
946
1073
  send_message}`, the transport in a `lanes_list` row too). `lanes_message_ack` answers `id`, `lane`, `from`,
947
- `delivered_by` and `acked`. `lanes_status` adds `inbox` (`{pending, delivered, last: {id, from, at,
1074
+ `delivered_by` and `acked`, and `text` on the call that removes it (BEY-8673 D, additive; a second ack has none). `lanes_status` adds `inbox` (`{pending, delivered, last: {id, from, at,
948
1075
  delivered_by}}`, and `unknown` — W15 part 2 — while messages are held) and each `lanes_list` row `inbox_pending`
949
1076
  while the lane's inbox holds waiting messages and `inbox_unknown` while it holds held ones, each absent
950
- otherwise. Native input — `lanes_send`, a typed `lanes_message` — is serialized per recipient by the dispatch lock
1077
+ otherwise. A person's typing — `lanes_send` — is serialized per recipient by the dispatch lock
951
1078
  `~/.lz/state/dispatch/<lane id>.lock` (DM-LANES-DISPATCH-LOCK): a writer that cannot take it within 5 s is refused
952
- `recipient_busy` and typed nothing. On a
1079
+ `recipient_busy` and typed nothing; `lanes_message` types nothing and takes no lock (BEY-7538).
1080
+ BEY-7435 (additive): `lanes_register` on a session whose `lanes.terminals`
1081
+ binding lost its `terminals[]` row puts that row back and answers `outcome: repaired_from_binding` (the binding's
1082
+ declared `name` and id, and a `note` when the name asked for differs) instead of refusing `duplicate_binding` (it
1083
+ refuses `edit_refused` when the binding records an id its name does not give, `session_gone` when its session is
1084
+ not running); the
1085
+ `registry_row_vanished` refusal carries `vanished` (`[{name, id, row, binding, throttle}]`). On a
953
1086
  refusal it is `isError: true` with the
954
1087
  machine code (`refused`), the reason (`why`) and what a person can do instead (`human`). A refusal changed nothing
955
1088
  unless it carries `changed`: `tmux_failed` after `lanes_new` declared its lane, or after `lanes_send` typed its text
956
- but not its Enter. There is no `outputSchema` or `structuredContent`, so every protocol version reads the same thing.
1089
+ but not its Enter, and `not_submitted` after two Enters left the text in the agent's composer. There is no `outputSchema` or `structuredContent`, so every protocol version reads the same thing.
957
1090
  - **Protocol errors** (JSON-RPC): -32700 a line that is not JSON, -32600 an invalid request (a batch), -32601 an
958
1091
  unknown method, -32602 an unknown tool, -32002 anything but `initialize` and `ping` before `initialize`, -32603 a
959
1092
  defect outside a tool. The session goes on after each.
@@ -971,14 +1104,18 @@ The refusal codes (`refused`), each with the `human` sentence `lane-mcp`'s `HUMA
971
1104
  - a message (W15 L4): `use_send_message`, `handle_ambiguous`, `recipient_busy`, `codex_queue_failed`,
972
1105
  `bus_unavailable`, `message_too_long`, `unprintable`, `unknown_message`; (W15 L6) `peer_pin_failed`,
973
1106
  `peer_socket_failed`; and (W15 part 2) `handle_unavailable`, and `not_held` and `duplicate_risk`, which only a
974
- person's `lane inbox retry` answers;
1107
+ person's `lane inbox retry` answers; and (BEY-7538, 2026-11-08) `transport_never_types`: the lane's only way in is
1108
+ its keyboard, and a message never types into a terminal (with queue it waits in the lane's inbox instead);
975
1109
  - which file: `no_source`, `ambiguous_source`, `ambiguous_workspace`, `source_missing`, `source_invalid`,
976
- `source_unreadable`, `source_link`, `no_lanes_block`, `not_declared_here`, `unknown_prefix`;
977
- - the edit: `edit_conflict`, `edit_refused`, `last_terminal`, `duplicate_name`, `duplicate_binding`, `slug_collision`;
1110
+ `source_unreadable`, `source_link`, `no_lanes_block`, `not_declared_here`, `unknown_prefix`, `source_unwritable`
1111
+ (BEY-7435: this account cannot write in the file's folder, where the lock and the new file are created);
1112
+ - the edit: `edit_conflict`, `edit_refused`, `last_terminal`, `duplicate_name`, `duplicate_binding`, `slug_collision`,
1113
+ `registry_row_vanished` (BEY-7435: a row or binding the edit does not remove would be gone; the answer names each);
978
1114
  - a value: `invalid_name`, `invalid_session`, `invalid_cwd`, `invalid_command`, `invalid_text`, `invalid_note`,
979
1115
  `invalid_title`, `invalid_for`, `invalid_kind`;
980
1116
  - the file to publish: `outside_home`, `not_a_file`, `too_large`;
981
- - the target's agent: `agent_working`, `agent_needs_approval`;
1117
+ - the target's agent: `agent_working`, `agent_needs_approval`, and (BEY-8655) `agent_pane_not_found`,
1118
+ `agent_pane_ambiguous`, `not_submitted`;
982
1119
  - tmux and the sidecar: `tmux_unanswered`, `tmux_failed`, `signal_not_written`.
983
1120
 
984
1121
  `test_docs.AgentApi` keeps this list equal to every code `lane-mcp` and `lane_core.py` can raise. Two JSON-RPC frames
@@ -1240,6 +1377,7 @@ routes go to services of their own, each bound to the tailnet login Serve inject
1240
1377
  | `/lanes-assets/vendor/*` (prefix stripped) | `$LANES_SHARE/vendor` files: the pinned Mermaid `install/enable-docs.sh` installs (`Cache-Control: public, max-age=31536000, immutable`; a page names the versioned file, DEF-1870) | site-wide |
1241
1378
  | `/lanes-assets/*` (prefix stripped) | `web/` files (`no-cache`) | site-wide |
1242
1379
  | `/enrol/*` (prefix stripped) | `lanes-enrold` 127.0.0.1:8184, keeping Serve's `X-Forwarded-For` | site-wide |
1380
+ | `/lanes-docs` exactly, no slash (`handle @docsbare`, BEY-8667 E1b-2) | a `308` to `/lanes-docs/?<query>` (any method; a 308 keeps it), so the Docs page opens with its filter and not a view named lanes-docs | site-wide |
1243
1381
  | `/assets/*`, `/ws/*`, `/command/*`, `/info/*`, `/session`, `/session-list` | Zellij web 127.0.0.1:8082 | site-wide |
1244
1382
  | `GET /<device>` (one path segment, or `/`) | `web/index.html` (`no-store`) | site-wide |
1245
1383
  | anything else | Zellij web 127.0.0.1:8082 | site-wide |
@@ -1248,7 +1386,16 @@ A view session is served at `/<device>`, so `bin/lanes` `device_name` refuses th
1248
1386
  (`enrol`, `lanes-docs`, `lanes-assets`, `lanes-hooks`, casefolded). Caddy sorts the routes before it runs them: a single-path `handle`
1249
1387
  goes ahead of another only when that one has a single path too (DEF-1872), so the vendor route stays with the
1250
1388
  single-path routes above the named-matcher ones; its order is proven on a model of that sort
1251
- (`test_docs_assets.VendorRoute`), not on a running Caddy (DEF-1871, open until the RUNBOOK's operator check).
1389
+ (`test_docs_assets.VendorRoute`), not on a running Caddy (DEF-1871, open until the RUNBOOK's operator check). The
1390
+ slashless `/lanes-docs` redirect is a single-path route declared in that run too, so the sort keeps it ahead of the
1391
+ page route that took it before (`test_docs_assets.DocsBareRoute`).
1392
+ The view route rewrites to `index.html` inside Caddy and never redirects, so the page keeps the address it was opened
1393
+ with, query included (the pinned client rewrites it only when the path does not end with the session's name). Since
1394
+ E4 (BEY-8667, 19 November 2026) the phone shell reads `?ws=<workspace title>` once at the attach, sends at most one
1395
+ `FocusPane` to that workspace's lane list in place of the remembered tab (none when that list is already shown; a name
1396
+ no tab carries is ignored), and takes the query out with `history.replaceState`; `notify.conf`'s `lane_url` points a
1397
+ needs-you push there, filling `{ws}` from the registry ([web/README.md](../web/README.md), Notification and address
1398
+ links). Its device check is the RUNBOOK's steps 117 to 126, NOT YET DONE.
1252
1399
 
1253
1400
  The phone shell uses the pinned client's window hooks for workspaces, panes, input and sizing. A visible
1254
1401
  **Type here** field holds the original terminal input, as a text field. Programmatic input focus is blocked on
@@ -1257,7 +1404,182 @@ Quick keys, the lane filter and pastes go to the terminal WebSocket through the
1257
1404
  keys do. The filter never puts an Esc and other bytes in one frame (the server would repeat what follows the Esc): it
1258
1405
  sends a lone Esc, then `/` and the query, then only each edit's backspaces and letters. **Copy** and **Paste** call
1259
1406
  the browser clipboard inside the tap; a picker tab takes no paste, because the picker reads one as a file drop
1260
- ([web/README.md](../web/README.md), Input, keys and clipboard).
1407
+ ([web/README.md](../web/README.md), Input, keys and clipboard). Since BEY-8609 slice 1 the shell also observes the
1408
+ terminal WebSocket (a construct-only `Proxy` of `window.WebSocket`, installed before the client makes its sockets,
1409
+ INFERRED from script order, see web/README.md; only the `/ws/terminal` socket is watched): input is handed to `sendFn`
1410
+ only while the observed socket is OPEN (an unobserved socket is handed input whatever its state, and Paste says
1411
+ `Paste unconfirmed`), a refusal is dropped and worded (`Not sent: no connection`) and never sent later, input waiting
1412
+ out the filter's pause is dropped once another tab or pane is current, and after a close the header says
1413
+ `Disconnected` or `Check last input` (input handed over with no server frame after it, or within 5 s of the close;
1414
+ since BEY-8609 slice 2b on its status line, beside the workspace and the lane);
1415
+ only `Check last input` is carried across the client's reload, and only when the page was not being unloaded and
1416
+ `sessionStorage` works (the reload itself has conditions: none after a `pagehide`, Cancel or close code 4001, see
1417
+ web/README.md; changed in E3, below: after a `pagehide` the shell reloads the page itself, writing the note first when
1418
+ input was uncertain). A quick key's click is ignored when a pointer made it (`detail` of 1 or more) or when it comes
1419
+ within 500 ms of a pointer release on that key, so a tap sends once however late its click arrives, and a click no
1420
+ pointer made (a keyboard's Space or Return) is the key's ordinary activation. A browser socket throws only while
1421
+ connecting and discards silently once closing or closed, so before this the shell could not tell a key into a closed
1422
+ socket from a sent one.
1423
+ Since BEY-8609 slice 2a the keys sit in one strip directly on the dock: `⏎ ↑ ↓ Esc ^C Keys` on a lane tab, `⏎ y Esc`
1424
+ at a picker prompt. While a phone types in **Type here**, one CSS rule (`:has(.is-typing)` under `lanes-keyboard`)
1425
+ folds the strip onto the dock's band, so one row of keys sits on the keyboard; the dock and the capture input never
1426
+ move. **Keys** opens the pinned client's own modifier bar as a panel above the strip, with the shell's `y` and `n`
1427
+ buttons added at its two ends after `build()`'s listener loop (the client puts no listener on the bar itself, read in
1428
+ `app.js`) and its `ESC`, `↑`, `↓` and `-` cells hidden inside the built shell only (where the shell is not built,
1429
+ upstream's own bar keeps all nine cells); the panel closes at any change of view (`at()`, the identity
1430
+ waiting input is bound to) and releases an armed CTRL or ALT when it closes. `y` and `n` take one tap each; `^C` keeps
1431
+ its 400 ms hold. From slice 2a until E1a a phone's **Paste** moved to the strip and showed only while the software
1432
+ keyboard was up (Changed in E1a, BEY-8667: it stays in the header beside **Copy**, see below). While the software
1433
+ keyboard is up a **Done** button replaces **More** in the header and blurs the focused field (no `focus()` call). On a
1434
+ tablet the dock stands in the header before **Done** and **More**, so **Done** takes **More**'s place and the dock does
1435
+ not move when the keyboard comes up (INFERRED, while **Done** is no wider than **More**'s 48 px). The layout figures are
1436
+ calculated from the CSS by a model in the node suite, not measured on a device ([web/README.md](../web/README.md),
1437
+ Keyboard strip and Keys panel).
1438
+ Since BEY-8609 slice 2b the header names the work. Its first row is one button holding the workspace and, under it,
1439
+ the lane (two lines of text; no brand image, no fixed label, `aria-haspopup="dialog"`), then **Copy** and **More** (or
1440
+ **Done**) (Changed in E1a, BEY-8667: on a phone **Paste** stands between **Copy** and **More**, or **Done**); its second row is a
1441
+ status line, an `<output aria-live="polite">` outside that button, where every word goes. The header is 64 px (48 px
1442
+ and one row in landscape; one row on a tablet, where `browser.css` keeps the dock and the word in it). Refusals and
1443
+ clipboard failures stand there until the next input that reaches `send()` with frames (`Not sent: no connection`
1444
+ becomes `Not sent: try again` when the terminal socket opens: a word that names a state does not outlive it, and
1445
+ the dropped key stays told); `Copied`, `Paste sent`, `Hold
1446
+ to send` and `Press again to send` stay timed on the one interval, and input sent while one is up ends a standing word
1447
+ but leaves the timed word up; the close words stand while the terminal socket is closed and outrank a standing word,
1448
+ and a refusal after a close is shown for 8 ticks; the note after the client's reload stands until the next input. No timer is added:
1449
+ a standing word leaves the interval to stop at its next tick. The workspace sheet's count is an `<output>`, its rows are
1450
+ rebuilt only when a tab's name or position changes and otherwise patched in place, and a row says its counts in the
1451
+ repository's words (`◆ 1 need approval · ◇ 2 need you`) on screen and in its name. What a screen reader says is INFERRED,
1452
+ not heard ([web/README.md](../web/README.md), Header, words and workspace list).
1453
+
1454
+ The header's lane line on a lane tab is the active pane's title, and since E6 (BEY-8667) that is the lane's title. Until
1455
+ E6 the phone layout (`bin/lanes` `mobile_workspace_tab`) named the lane tab's pane after its workspace. Zellij reports a
1456
+ pane's layout name instead of its OSC 2 title (DEF-1531), so the header named the workspace twice on every lane.
1457
+
1458
+ The pane now has no name. `view.sh --mobile` gets the workspace title as its fifth argument, which it keeps across a
1459
+ re-exec. It writes the pane's OSC 2 title itself:
1460
+ - the workspace's title at the start and whenever no lane shows (`No lane selected`, a lane no longer in the registry);
1461
+ - the lane's title, or its id, after each resolve. The title is the lane's name in the registry, read from
1462
+ `resolve/<lane>` when the view opens the lane, so a rename reaches the header the next time the lane is opened.
1463
+
1464
+ It writes only when the title changed, with a Python one-shot that takes out C0 controls (ESC and BEL included), DEL,
1465
+ the C1 range, bytes that are no UTF-8, and the bidirectional marks, embeddings, overrides and isolates. It then cuts the
1466
+ title to 100 characters between characters (the lane lead's rulings E6-R1, E6-R2 and condition 1).
1467
+
1468
+ A desktop view writes no title: its panes keep their layout names. Where a desktop view names the sidebar, the same
1469
+ phone views give no hint: the lane lead's ruling of 21 November 2026 removed the false instruction and adds no sentence
1470
+ until the design master rules one (the design-system stop of that day).
1471
+
1472
+ A phone laid out before E6 keeps the named pane until it is rebuilt. `layout_changed` sees the changed tab, so the
1473
+ update's `lanes ensure --if-layout-changed` rebuilds a view with no client attached, and an attached phone says
1474
+ `update ready` (since E2 a phone has no `r` for it; read in source, not run against a live view). `lanes doctor` gives
1475
+ each stale phone its own
1476
+ `✗` line with `lanes rebuild <device>` (`stale_phone_layouts`, which until E6 was `stale_picker_layouts` and looked at
1477
+ the picker's pane only).
1478
+ Since E1a (BEY-8667, 19 November 2026) a phone has **Paste** in the header again, beside **Copy**: the owner's words
1479
+ that day were "the current legacy mobile experience have no copy paste", and the lane lead's ruling R2 reverses slice
1480
+ 2a's decision D3. The header's first row reads the workspace and lane, **Copy**, **Paste**, **Done** (only while typing,
1481
+ in **More**'s place), **More**; the status line is the second row (the end of the one row in landscape and on a tablet,
1482
+ whose row also holds the dock). **Paste** is drawn
1483
+ whether the software keyboard is down or up, and with a hardware keyboard; it is hidden on a picker tab, as **Panes**
1484
+ is (since E5a **Panes** also on a tab with fewer than two terminal panes, below).
1485
+ `⏎` stays on the strip while typing: a lane tab's strip shows `⏎ ↑ ↓ Esc ^C Keys` and a picker prompt `⏎ y Esc`. On
1486
+ a phone **Copy** and **Paste** are icons; their words are hidden, as before, and their names are in `aria-label` (ruling
1487
+ S3). At a viewport W px wide the workspace and lane names get W − 198 px in portrait (122 px at 320, 177 at 375, 192 at
1488
+ 390, 242 at 440; W − 140 from slice 2b until E1a) and W − 208 px in landscape (748 px at 956; W − 150, 806 px, until
1489
+ E1a), calculated from the declared CSS, not measured on a device. **Copy** still writes the visible screen (or the
1490
+ terminal's selection, when it has one) to the clipboard inside the tap and says `Copied` or `Clipboard blocked`. In the
1491
+ same tap it opens a second dialog of the shell, **Captured screen** (`role="dialog"`, `aria-modal="true"`, named by
1492
+ `aria-label`). Its head holds an `<output>` that repeats the clipboard's word (emptied as it opens), because the status line lies under the
1493
+ dialog's scrim. Its body is a `<pre class="lanes-shot">` with exactly the text given to the clipboard: 13 px monospace,
1494
+ rows not wrapped (a wide row scrolls sideways), selectable by touch (`-webkit-user-select: text`). That Safari then
1495
+ offers its selection handles and its own Copy is INFERRED, not yet checked on a device. The dialog opens when the
1496
+ clipboard is missing or refuses too, so the text can still be selected by hand. It is captured output: the visible
1497
+ screen only (no scrollback; older output must be scrolled into view in the lane first), Zellij's frames and bars
1498
+ included, and a row the terminal wrapped stays split into two lines. **Close**, Escape and a tap on the scrim close it;
1499
+ a tap on the text does not, nor does a press that began on the text and is let go over the scrim (a mouse or
1500
+ trackpad selection). The dialog holds the focus itself (`tabIndex = -1`), so after a press on its text Escape still
1501
+ closes it and Tab stays inside. Focus moves to its **Close**, `#terminal` is `inert` while it is open, and opening it closes
1502
+ an open software keyboard, as the Workspaces sheet does (ruling S1). It lives in the shell (`.zj-mobile-chrome`), never
1503
+ under `#terminal`. **Copy** and **Paste** still cancel `mousedown`. Both sheets come from one
1504
+ `dialog(name, head, ...body)` builder, so the Workspaces sheet is now named by `aria-label` (until E1a by
1505
+ `aria-labelledby` to its `h2`) and its close button is named `Close` (until E1a `Close workspaces`; ruling S2). On a
1506
+ tablet the captured screen takes `browser.css`'s 400 px left panel, so a wide row scrolls sideways (ruling S4). Whether
1507
+ a person finds the two icons, and whether the captured text can be selected and copied by touch, are the RUNBOOK's E1a
1508
+ device checks (from step 62, NOT YET DONE) ([web/README.md](../web/README.md), Copy and paste in the header).
1509
+ Since E1b-1 (BEY-8667, 19 November 2026; the owner's words that day: "links dont open") a web address printed in a lane
1510
+ opens by touch. The pinned client opens links only through xterm's mouse events, which its cancelled `touchstart`
1511
+ never lets a touch produce (INFERRED, as upstream's own comment says). `web/links.js`, loaded on demand (the lane lead's
1512
+ ruling R8), listens on `#terminal` in the capture phase, `passive`, so it cancels nothing and the lane still gets
1513
+ upstream's click (INFERRED: read from the code and shown against a fake of upstream's handler; the RUNBOOK's step 78
1514
+ checks it). On a tap by upstream's own rule (one finger, no move past 16 px, lifted before 500 ms) it reads the cell as
1515
+ upstream's `reportCoords` does (the private `term._core._mouseService`, plus the pan offset while panning), and the
1516
+ visible rows and the width, at `touchstart`. A pure `laneLinkAt(rows, cols, col, row)` finds an `http(s)://` address
1517
+ with a host and no user part, or a same-origin `/lanes-docs/` path, under the cell, linear in the screen's text: it
1518
+ continues an address that reaches the last column (or a framed pane's `│`) on the next row after its indent, ends it
1519
+ at `…` or at any Unicode format character (a zero-width or bidi control among them), and drops trailing punctuation,
1520
+ Markdown emphasis and an unbalanced `)` or `]`. A hit hides the context button and puts an `<a class="lanes-context" target="_blank" rel="noopener noreferrer">`
1521
+ reading `Open <host>` in its place (ruling B2; no CSS added). Since PR 1150's review the label is the host as the URL
1522
+ parser reads it (punycode for a look-alike), or a docs link's resolved path, in a right-to-left `<span>` around a
1523
+ left-to-right `<bdi>`: the label shows the host, or a docs link's path; on a narrow screen its start is cut, never its
1524
+ end (INFERRED for Safari). A `/lanes-docs/` path counts only when the URL parser resolves it to a path still under
1525
+ `/lanes-docs/`. One timer of `links.js`'s own takes it away after 8 s
1526
+ (ruling B1), and so does any typed key, any other press, or a tap on it; a press on it stops the timer. Nothing is sent and `window.open` is never called. OSC 8
1527
+ label links are later work (ruling B3). Whether Safari and the Home Screen app open the new tab, and whether a person
1528
+ finds the control, are the RUNBOOK's E1b-1 device checks (from step 74, NOT YET DONE)
1529
+ ([web/README.md](../web/README.md), Links in a lane).
1530
+ Since E1c-2 (BEY-8667, 19 November 2026; the owner's words that day: "it dont default open on the last workspace/lane
1531
+ you used") a page goes back to the tab its address showed last. The phone shell keeps three keys of its own in the
1532
+ browser: `sessionStorage` `lanes:unsure` (the reload note, DM-LANES-PHONE-UNSURE), and `localStorage`
1533
+ `lanes:tab:<path>` (since E1c-2: the name of the tab the page showed last, as `{"tab": <name>}`; since E5a also
1534
+ each workspace's last tab, `{"tab": <name>, "ws": {<workspace>: <tab name>}}`,
1535
+ DM-LANES-PHONE-LAST-TAB) and `lanes:font-size` (the text size). They sit beside the client's own `zellij:mobile-theme`
1536
+ (which the shell writes at load) and `zellij:mobile-ui` (which a tablet sets to `on` when it is absent). At the attach
1537
+ the shell reads that name before its first `refresh()` and, once, sends `FocusPane` to the tab with exactly that name
1538
+ when it is not current. Nothing is typed into any lane, and the lane the tab shows is the server's own (the view's
1539
+ target), so the tab brings its lane back. Until that restore settles (an update whose current tab is not the one the
1540
+ page started on, or the person's first press; an update with no current tab changes nothing) the shell writes nothing,
1541
+ so the first picker Zellij opens on is never remembered over the tab being restored. A name no tab carries does
1542
+ nothing, and no page follows another's write: the defaults of owner questions Q1 (BEY-8668) and Q2 (BEY-8669). The
1543
+ path is read at each read and write, and a write happens when the tab's name or the key changed. After the attach the
1544
+ pinned client changes a page's path only after a switch made inside Zellij (`history.pushState` to `/<new session>`);
1545
+ its Switch session sheet loads `/<session>` as a new page, and its boot rewrites a bare `/` before the shell attaches
1546
+ (read in `app.js`, not run). So the key is per view. The restore runs once per page load. A page that was only in the
1547
+ background does not load again: the pinned client does not reconnect after `pagehide`, so it stays on its old screen
1548
+ until it is reloaded (E3 was not built then; since E3 the shell checks the server and reloads it, below). Whether the
1549
+ restore lands as expected in Safari and the Home Screen app is the RUNBOOK's E1c-2 device check (steps 83 to 89, NOT
1550
+ YET DONE) ([web/README.md](../web/README.md), Reopen the last tab).
1551
+ Since E5a (BEY-8667, 19 November 2026, on the lane lead's rulings that day) moving between workspaces is
1552
+ shorter, still with `FocusPane` alone and nothing typed. **Lanes** goes from a workspace's lane list to its lane tab
1553
+ and back. A row of the Workspaces sheet opens the tab last shown in its workspace, which the page keeps in the same
1554
+ value's `ws` map (read once at the attach from the address's own key; no migration, so an E1c-2 value reads as an
1555
+ empty map), or its lane list when none is known, that tab is gone or it has no terminal pane; the current
1556
+ workspace's row only closes the sheet. `?ws=` still opens the lane list. **Panes** shows only on a tab with two
1557
+ terminal panes or more, and on a lane tab with one, **Type here** spans the freed cell by an inline style, so no CSS
1558
+ changed. The **Workspaces** count of what needs you elsewhere is E5b, later work. Whether this holds in Safari and the
1559
+ Home Screen app is the RUNBOOK's E5a device check (steps 127 to 134, NOT YET DONE)
1560
+ ([web/README.md](../web/README.md#moving-between-workspaces-bey-8667-e5a)).
1561
+ Since E3 (BEY-8667, 19 November 2026; the owner's review's section 2C and the start brief's five resume findings) a
1562
+ dead page comes back. The pinned client is not edited (the lane lead's ruling E3-R0): after a `pagehide` it stops its
1563
+ own reconnection for the life of the document, so `mobile.js` alone asks `GET /info/version` on the same origin
1564
+ (`cache: 'no-store'`, a 5 s `AbortSignal.timeout` where the browser has one; Caddy hands `/info/*` to Zellij) and
1565
+ reloads the page when the server answers 2xx. This is an interim departure from the review's repair, a qualified
1566
+ client update, which BEY-8676 tracks. The page checks by itself only on an event after a `pagehide` in this document,
1567
+ with the terminal socket CLOSING or CLOSED: the close on a shown page, a return (`visibilitychange` to visible, or
1568
+ `pageshow`, from the back/forward cache or not) or `online`. It never checks at load, runs one check at a time, and
1569
+ never checks by itself after close code 4001 (the client's own `Disconnected` notice). Without a `pagehide` the
1570
+ client's own notice and reload run, and the shell adds no check. The one exception is a stale socket: back after a
1571
+ hide longer than 30 s with the socket OPEN, the shell says `Reconnecting…` and counts 25 ticks of its existing 200 ms
1572
+ interval (no timer added; the interval is held while in doubt) for a terminal frame or a `MobileState`, and the
1573
+ socket's close ends that doubt too (the close then takes the path of any close; from the review of E3's commit B);
1574
+ with none of them it checks, so a healthy but quiet lane is reloaded too (E3-R5), and a Paste in that doubt says
1575
+ `Paste unconfirmed`. A failed check reloads nothing and says `No connection to Lanes`, and nothing polls; after a
1576
+ `pagehide` the next return or `online` checks once more (E3-R7). After a failed stale check the socket still reads
1577
+ OPEN, so only its close or another hide longer than 30 s checks again (a departure from E3-R7's wording, open for the
1578
+ lane lead). While the socket is gone `#terminal` is dimmed by an inline opacity (the string `.5`; no CSS rule and no
1579
+ CSS byte) and a **Reconnect** text button stands in **Paste**'s place beside the names, on a phone and a tablet; a tap
1580
+ checks, after 4001 too. Before its own reload the shell writes the reload note when the close was uncertain or a write
1581
+ is unanswered (DM-LANES-PHONE-UNSURE). Every device claim here is INFERRED: the RUNBOOK's E3 device check (steps 101 to
1582
+ 110, NOT YET DONE) counts reloads on an iPhone ([web/README.md](../web/README.md), Coming back to a dead page).
1261
1583
  Safe-area insets and the visual viewport handle the Home indicator, rotation and keyboard.
1262
1584
 
1263
1585
  `web/mobile.js` chooses one of three modes once at load, by capability (`laneShellMode`), and records it on
@@ -1271,17 +1593,58 @@ workspace and lane pickers. The bar reads the `MobileState` that Zellij sends to
1271
1593
  phone picker's `FocusPane`. It overlays the terminal, so the terminal's columns and rows do not change, and a
1272
1594
  click on the chip leaves the keyboard focus in the terminal. The tablet and desktop code and styles live in
1273
1595
  `web/browser.js` and `web/browser.css`, which `mobile.js` appends only in those two modes, so a phone never
1274
- downloads them: a phone fetches only the two files spec §8 budgets, MEASURED 2026-10-07 after the cockpit v3 main
1275
- sync (phone shell input v2 composed with S5 and W9 V3) at 24 612 B (`mobile.js`, whose explanations live in
1276
- `web/README.md`, Code notes, as `browser.js`'s do; the cap is that measured size, see there) and 18 945 B of 18 982 B
1277
- (`mobile.css`); the laptop/tablet JS download is 27 946 B, the DEF-1569 ratchet. Every byte the phone shell sends
1278
- goes on the terminal WebSocket through the client's own `sendFn` (input v2, CAP-142). It writes only what a person
1596
+ downloads them: a phone fetches only the two files spec §8 budgets at first paint. MEASURED with `wc -c` after E9
1597
+ (BEY-8667, 2026-11-21), `mobile.js` is 29 168 B of its 29 168 B cap: the lane lead's named `JS_TEXT_SIZE`, 251 B,
1598
+ moved the cap from 28 917 B (a pinch kept in Text size, and page zoom; web/README.md, A pinch kept, and page zoom), and
1599
+ the laptop/tablet JS download is 29 168 + 4 312 = 33 480 B of the DEF-1569 ratchet. After E7a the same day,
1600
+ `mobile.js` was 28 917 B of its 28 917 B cap: the lane lead's named `JS_TYPED_GUARD`, 149 B,
1601
+ moved the cap from 28 768 B, and the laptop/tablet JS download is 28 917 + 4 312 = 33 229 B of the DEF-1569 ratchet,
1602
+ which moved by the same 149 B; no CSS changed. The keyboard's letters and Return reach the pinned client's own
1603
+ `__zjSoftKbdCapture.sendFn`, never `send()`: since E7a `connect()` wraps it once, so a key typed while the observed
1604
+ terminal socket is not open says `Not sent: no connection` and a key handed over counts for `Check last input`
1605
+ (web/README.md, Typed letters and the no-connection guard). After E5a the same week
1606
+ (BEY-8667, ruled 2026-11-19, on E4's base 2026-11-20), `mobile.js` was 28 768 B of its 28 768 B cap: the lane lead's
1607
+ named `JS_WORKSPACE_MOVES`, 362 B, granted by name, moved the cap from 28 406 B, after 6 B of equivalent code
1608
+ (28 406 -> 28 400 B) paid first (web/README.md, Bundle budget). The laptop/tablet JS download is 28 768 + 4 312 =
1609
+ 33 080 B of the DEF-1569 ratchet, which moved by the same 362 B from 32 718 B; no CSS changed. After E4 the same day,
1610
+ `mobile.js` was 28 406 B of its 28 406 B cap: the lane lead's named `JS_DEEP_LINK`, 149 B, moved the cap from
1611
+ 28 257 B, after 17 B of equivalent code (28 257 -> 28 240 B) paid first; the laptop/tablet JS download was 28 406 +
1612
+ 4 312 = 32 718 B of the ratchet, which moved by the same 149 B from 32 569 B. Since Ed (BEY-8667,
1613
+ 2026-11-20) a desktop page goes back to the workspace and lane its address showed last: `browser.js` keeps
1614
+ `localStorage` `lanes:desktop:<path>` as `{"workspace", "lane"}` (DM-LANES-DESKTOP-LAST-LANE), reads it once at the
1615
+ first state with a current pane, sends at most one `FocusPane`, and writes nothing until that restore settles or the
1616
+ person picks in the bar. The desktop page keeps the `WebSocket` it was given, so its bar shows no connection status
1617
+ (the lane lead's ruling of that day). `browser.js` MEASURED 4 312 B with `wc -c`, under its cap moved from 4 096 B by
1618
+ the lead's named `JS_DESKTOP_RESUME`, 994 B, and the download 28 257 + 4 312 = 32 569 B of the ratchet, moved by the
1619
+ same 994 B (web/README.md, Reopen the last workspace and lane on a laptop). After E3 on 2026-11-19, `mobile.js` was
1620
+ 28 257 B of its 28 257 B cap: the lane lead's named `JS_RESUME_PAGE`, 985 B, moved the cap from 27 272 B at the
1621
+ measured figure, after 130 B of equivalent code (27 272 -> 27 142 B) paid first; the laptop/tablet JS download was
1622
+ 28 257 + 3 318 = 31 575 B of the ratchet, which moved by the same 985 B from 30 590 B. After E1c-2 the same day,
1623
+ `mobile.js` was 27 272 B of its
1624
+ 27 272 B cap: the lane lead's named `JS_RESUME_TAB`, 247 B, moved the cap from 27 025 B after a listener helper of
1625
+ equivalent code (27 022 -> 26 723 B) paid first (web/README.md, Bundle budget). The laptop/tablet JS download was
1626
+ 27 272 + 3 318 = 30 590 B of the DEF-1569 ratchet, which moved by the same 247 B from 30 343 B. Before E1c-2, after
1627
+ E1b-1 the same day, `mobile.js` was 27 022 B of the cap
1628
+ (`mobile.js`, whose
1629
+ explanations live in `web/README.md`, Code notes, as `browser.js`'s do; see there for each step; 26 992 B after E1a
1630
+ the same day, gate job `023c0491c4e34caa89696f771445786d`) and `mobile.css` 18 945 B of
1631
+ 18 982 B (unchanged by E1c-2); the laptop/tablet JS download was 27 022 + 3 318 = 30 340 B of the 30 343 B DEF-1569
1632
+ ratchet, and its CSS is 18 945 + 2 043 = 20 988 B of 20 993 B. After the attach a phone and a tablet also fetch the
1633
+ on-demand `links.js` once (5 432 B MEASURED, bound by its own row, `test_web_view.LINKS_JS_CAP`), on every
1634
+ attach, unlike `directory.js` and `inbox.js`, which a phone fetches only when one opens. E1a lowered `mobile.js` under the cap, which was no
1635
+ longer exact until E1c-2: it was the 27 025 B MEASURED 2026-11-18 after identity and words (BEY-8609 slice 2b), when the cap was that
1636
+ measured size, the laptop/tablet download was 27 025 + 3 318 = 30 343 B and `mobile.css` 18 942 B (26 771 B of
1637
+ `mobile.js` after the keyboard layout, slice 2a, the same day). Every byte the phone shell sends goes on the terminal
1638
+ WebSocket through the client's own `sendFn` (input v2, CAP-142). It writes only what a person
1279
1639
  tapped or typed into a lane: the filter's clearing `Esc` reaches only the picker it was typed on (DEF-1752, DEF-1817,
1280
1640
  DEF-1820), and
1281
1641
  while the picker's sidebar asks for a key (its pane title ends ` · › <verb>`; never while a name is being typed,
1282
- DEF-1819) the quick row offers `⏎ y Esc` there. The phone and tablet shell makes one request: once per page load it
1642
+ DEF-1819) the quick row offers `⏎ y Esc` there. The phone and tablet shell makes one request per page load: it
1283
1643
  reads the enrolment service's `GET /site` on the same origin (`/enrol/site`) and shows its `version` atop the client's
1284
- **More** menu (`Lanes v1.2.0`); a dev tree, an error or no answer shows nothing.
1644
+ **More** menu (`Lanes v1.2.0`); a dev tree, an error or no answer shows nothing. Since E3 (BEY-8667, the lane lead's
1645
+ ruling E3-R4) the rule is one request per load, plus one check per reconnect attempt, only after an event, never at
1646
+ load; the check is `GET /info/version` on the same origin, and a 2xx answer reloads the page
1647
+ ([web/README.md](../web/README.md)).
1285
1648
  `lanes web <device> [--desktop|--mobile]` prepares a browser view,
1286
1649
  enables the services through `install/enable-web.sh` and prints the private URL; without a flag a known device
1287
1650
  keeps its layout.
@@ -1308,8 +1671,13 @@ link keeps its URL only for `http://`, `https://`, `mailto:`, `/lanes-docs/` or
1308
1671
  with `rel="noopener noreferrer"`) and only without a backslash or a `.`/`..` path segment (`%2e` spellings included,
1309
1672
  which a browser resolves before it requests; on this site no `%2f`/`%5c` either: security review 2026-10-08), an image only for a document's own bytes
1310
1673
  (`/lanes-docs/d/<id>/raw` or `/artifact`) or a base64 `data:image/png|jpeg|gif|webp`; any other destination is dropped
1311
- and its text kept. A `mermaid` fence becomes `<pre class="mermaid">` for the pinned Mermaid (W6). The subset and the
1312
- output contract are DM-LANES-DOCS-RENDER in the master data-model ledger.
1674
+ and its text kept. A `mermaid` fence becomes `<pre class="mermaid">` for the pinned Mermaid (W6). Since BEY-8667 E1b-2
1675
+ a bare `http://` or `https://` address in text is a link too, under the same URL rules, without its trailing punctuation
1676
+ or a `)` or `]` it does not open, and only with a host after the scheme (a letter or digit, or the `[` of an IPv6
1677
+ address). It stays linear: each such run is matched once, and a run the rules refuse is left as text with no second try
1678
+ from inside it (trying again at each later `https://` would match the same run once per address, quadratic in its
1679
+ length; `test_mdlite` counts the characters each match spans).
1680
+ The subset and the output contract are DM-LANES-DOCS-RENDER in the master data-model ledger.
1313
1681
 
1314
1682
  **Docs service (W10 W3, LNS-104).** `libexec/docsd.py` (`lanes-docsd.service`, loopback 127.0.0.1:8185, reached as
1315
1683
  `/lanes-docs/*`) serves the docs store to the person it belongs to. A request is answered only when it came through
@@ -1340,7 +1708,11 @@ from the Docs page (32 MiB, 30 uploads per login in 10 minutes, two at once, one
1340
1708
  lane of one of the person's workspaces through `uploads.receive` — the workspace's `uploads/` and `docs_store.intake`,
1341
1709
  both or neither — and answers each file's receipt with the in-container path it landed at. A refused body is read away
1342
1710
  before the answer (at most 64 MiB, then a short linger), so the client reads the refusal instead of a reset
1343
- (DEF-1854). The index loads the drop area's `upload.css`/`upload.js` (their own files: `docs.js` had no room). RUNBOOK
1711
+ (DEF-1854). The form's destination is explicit (BEY-8609 slice 3b): its **Upload to** select names each lane as
1712
+ `<workspace> › <lane>` and preselects only a lane the page was opened for; every other page starts on an empty
1713
+ `Choose a lane`, so a person never sends to a lane they did not choose, and an empty `lane` is `400 no-lane` behind it.
1714
+ The Rust routes render the same form (`crates/lanes-runtime/src/http/pages.rs`, proved by the golden replay). The
1715
+ index loads the drop area's `upload.css`/`upload.js` (their own files: `docs.js` had no room). RUNBOOK
1344
1716
  "Docs service" has the unit, the pin gate and the wire contract (DM-LANES-DOCS-WIRE). A member record's `workspaces`
1345
1717
  grants the boards it lists; a record that lists none grants every workspace the host serves, as nowhere else in Lanes
1346
1718
  narrows by that list (DEF-1852).
@@ -1401,7 +1773,7 @@ follows the link. Each process still runs one tree: Python puts the script's res
1401
1773
  so a daemon started through the link imports only from the tree it started in, and `view.sh` resolves its own
1402
1774
  directory with `pwd -P`, so the holders it runs stay on its tree until the view starts again; the sidebar wrapper
1403
1775
  re-runs `sidebar.py` through the link, so a restarted sidebar runs the release `current` names then. Readers of pane
1404
- commands — `device_sync.identities`, `focused_view`, `stale_picker_layouts` — match a tree file by its suffix
1776
+ commands — `device_sync.identities`, `focused_view`, `stale_phone_layouts` — match a tree file by its suffix
1405
1777
  (`lanes_lib.tree_file_at`: an absolute path ending in `/libexec/sidebar`, `/libexec/view.sh` or `/holders/ssh.sh`), so
1406
1778
  a session built before, whose panes name its `pkg/<version>` tree, keeps every tab identity across an update.
1407
1779
 
@@ -1453,7 +1825,8 @@ because `device_sync.reconcile` adds, renames and orders tabs live but never cha
1453
1825
  rebuilt (`cmd_rebuild`) only when `zellij -s <device> action list-clients` answers with no client row; with a client,
1454
1826
  or with no answer, it is left running and `clients/<device>.update-ready` is written (DM-LANES-UPDATE-READY), which
1455
1827
  the sidebar looks for every `UPDATE_POLL` (30 s, outside the tick budget) and shows as the footer rung `update ready ·
1456
- reload (r)`, where `r` starts `lanes rebuild <device>` in a session of its own. The minute `lanes ensure` re-runs
1828
+ reload (r)`, where `r` starts `lanes rebuild <device>` in a session of its own (a phone: ` update ready` alone, its `r`
1829
+ types since E2, BEY-8667). The minute `lanes ensure` re-runs
1457
1830
  the comparison for stamped views only, so a view is rebuilt once its last client has left; `create_session` removes
1458
1831
  the stamp, and a layout that is current again (a rollback) drops it.
1459
1832
 
@@ -1555,7 +1928,8 @@ install, or `--mode owner` or `--mode aggregator` by `LANES_HOST_ROLE`. The host
1555
1928
  ECONOMY, SYNC, SITE, STORE, ROUTES, ATTENTION, LIFECYCLE) run inside it: a duty's flag is a request, and ownership is
1556
1929
  its domains' cutover records (`$LANES_STATE/cutover/<domain>.json`); `on` needs every record active for `lanes-rs`,
1557
1930
  and a Python twin stands down on the record, never on a flag file. The Studio Host checks the `attention` record before
1558
- it types an answer (`attention_owner_elsewhere`, zero bytes, while the lanes host owns it).
1931
+ it types an answer (`attention_owner_elsewhere`, zero bytes, while the lanes host owns it), then the `answer_qualified`
1932
+ predicate set (`answer_unqualified` naming the failing predicate, zero bytes; the attention-queue section above).
1559
1933
  Temporary-file cleanup and process protection have explicit plan/apply or enable steps; installation does not
1560
1934
  arm them. The root host guard is also separate and records rollback values. See [the runbook](RUNBOOK.md)
1561
1935
  and [host protection](HOST-GUARD.md) for those operations.
@@ -1671,7 +2045,8 @@ owner` fold the devices they name; `lanes user list|show` read the store. The si
1671
2045
  file changes — a claim, a hand-over) and adds the profile's `(st_ino, st_mtime_ns, st_size)` to its reload stamp, the
1672
2046
  one extra stat per tick an owned device pays (`users.update` replaces the file by rename, so every write has a new
1673
2047
  inode and two writes inside one timestamp tick are both seen, DEF-1972; the device file's own field is the same
1674
- `(st_ino, st_mtime_ns, st_size)`, since `lanes attach` also replaces it by rename): on a change it re-reads the
2048
+ `(st_ino, st_mtime_ns, st_size)`, since `lanes attach` also replaces it by rename, and so is the status source's,
2049
+ since statusd replaces its projections by rename too, BEY-7606): on a change it re-reads the
1675
2050
  profile, merges its opened-lane marks into its own (the later per lane)
1676
2051
  and paints its look over the device file's (`layered_look`: `--device-only` keys → profile → unmarked device keys →
1677
2052
  environment → defaults).
@@ -1693,7 +2068,9 @@ profile change and written by the sidebar keys `p`, `h` (after its Enter since 1
1693
2068
  same 0.2 s lock wait. Only registry lanes hide — never a divider, a zmx lane or a session under Unregistered — and a
1694
2069
  hidden one leaves the list, the header counts, OSC 9 and the fleet strip until `o` shows the hidden lanes (per sidebar,
1695
2070
  faint); meanwhile the list ends with one header-shaped row, `── hidden (n) · o shows them` (`Sidebar._visible`; the
1696
- Rust sidebar's `Entry::Hidden`, BEY-7248), so a hidden lane is never invisible. A pinned lane leads its section in registry order
2071
+ Rust sidebar's `Entry::Hidden`, BEY-7248), so a hidden lane is never invisible. On a phone (E2, BEY-8667) the row says
2072
+ `tap shows them`, stays while they show (`tap hides them`), and a tap on it toggles them (`handle_keys`' `hidden_row`
2073
+ branch, `toggle_hidden`); the desktop's row goes while `o` shows them. A pinned lane leads its section in registry order
1697
2074
  with the `pinned` mark, and `Sidebar.place_body` reserves rows above `⋮ N more` for every pin the window would hide
1698
2075
  below, so a click maps through the body as drawn (`body_map`).
1699
2076
  The arranging verbs (cockpit v3 R6) write the rest of the profile through the same `users.update`: `lanes workspaces