@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.
- package/package.json +1 -1
- package/payload/lanes/README.md +29 -11
- package/payload/lanes/VERSION +1 -1
- package/payload/lanes/bin/lanes +159 -59
- package/payload/lanes/bin-rs/BINARIES.json +2 -17
- package/payload/lanes/client/lanes-launch +51 -2
- package/payload/lanes/container/lane +142 -19
- package/payload/lanes/container/lane-mcp +168 -55
- package/payload/lanes/container/lane-peerd +6 -6
- package/payload/lanes/container/lane-signal +48 -3
- package/payload/lanes/container/lane_core.py +1040 -164
- package/payload/lanes/container/throttle-pulse +13 -4
- package/payload/lanes/docs/AGENTS-lanes.md +15 -7
- package/payload/lanes/docs/ARCHITECTURE.md +478 -101
- package/payload/lanes/docs/DESIGN.md +7 -2
- package/payload/lanes/docs/INSTALL.md +20 -3
- package/payload/lanes/docs/PLAN-1.9.1-SIDEBAR-CODEX.md +128 -0
- package/payload/lanes/docs/RUNBOOK.md +1428 -107
- package/payload/lanes/docs/USERGUIDE.md +488 -86
- package/payload/lanes/holders/tmux.sh +3 -3
- package/payload/lanes/install/services.py +68 -11
- package/payload/lanes/libexec/agent_state.py +2 -5
- package/payload/lanes/libexec/attach.py +11 -3
- package/payload/lanes/libexec/cursor_sync.py +22 -2
- package/payload/lanes/libexec/docsd.py +38 -4
- package/payload/lanes/libexec/lanes_lib.py +377 -39
- package/payload/lanes/libexec/mdlite.py +43 -3
- package/payload/lanes/libexec/notify.py +69 -26
- package/payload/lanes/libexec/registrations.py +5 -0
- package/payload/lanes/libexec/session_actions.py +114 -27
- package/payload/lanes/libexec/sidebar.py +246 -64
- package/payload/lanes/libexec/site_hooks.py +65 -0
- package/payload/lanes/libexec/statusd.py +139 -189
- package/payload/lanes/libexec/studio_host.py +8 -2
- package/payload/lanes/libexec/tokens.py +6 -2
- package/payload/lanes/libexec/update.py +13 -5
- package/payload/lanes/libexec/view.sh +39 -4
- package/payload/lanes/libexec/workspace_keys.py +54 -0
- package/payload/lanes/site/protocol.py +15 -5
- package/payload/lanes/site/relay.py +5 -2
- package/payload/lanes/site/server.py +29 -18
- package/payload/lanes/systemd/lanes-economy.service +3 -1
- package/payload/lanes/tokens/README.md +10 -0
- package/payload/lanes/tokens/generate.py +1 -1
- package/payload/lanes/web/Caddyfile +9 -2
- package/payload/lanes/web/README.md +2410 -95
- package/payload/lanes/web/browser.css +2 -0
- package/payload/lanes/web/browser.js +18 -6
- package/payload/lanes/web/directory.js +1 -1
- package/payload/lanes/web/docs.js +23 -0
- package/payload/lanes/web/links.js +157 -0
- package/payload/lanes/web/manifest.webmanifest +0 -2
- package/payload/lanes/web/mobile.css +30 -32
- package/payload/lanes/web/mobile.js +286 -227
- package/payload/lanes/web/upload.js +65 -22
- package/payload/lanes/web/workspace-keys.js +65 -0
- package/payload/lanes/zellij/config.kdl +1 -1
- package/payload/manifest.json +5 -22
- package/payload/lanes/bin-rs/THIRD-PARTY-NOTICES +0 -18953
- package/payload/lanes/bin-rs/x86_64-unknown-linux-musl/lanes-hook +0 -0
- package/payload/lanes/bin-rs/x86_64-unknown-linux-musl/lanes-terminal +0 -0
|
@@ -247,7 +247,7 @@ real list scrolls where `⋮` is:
|
|
|
247
247
|
▸ Runtime: rules 18m ○$
|
|
248
248
|
▸ Runtime: events 9m ●
|
|
249
249
|
▸ Runtime: value-hunter-r… 1h ○↓
|
|
250
|
-
── ✓ Done (1)
|
|
250
|
+
── ✓ Done, not seen (1) ────────────
|
|
251
251
|
✓ Sakio CLI 7m ○
|
|
252
252
|
── Sakio (25) ──────────────────────
|
|
253
253
|
Granite 2h ○
|
|
@@ -319,6 +319,11 @@ the same hit boxes, and never writes column `cols`.
|
|
|
319
319
|
Swipe to scroll · Tap to open
|
|
320
320
|
```
|
|
321
321
|
|
|
322
|
+
The phone's list scrolls by lanes (E11a, BEY-8667, the lane lead's ruling of 21 November 2026): each wheel report the
|
|
323
|
+
web client sends for a swipe (one per 24 px of travel, its own threshold) moves the view by ONE lane, three rows,
|
|
324
|
+
clamped at both ends, with the undrawn cursor kept inside the view. The desktop's wheel still moves the cursor by
|
|
325
|
+
three entries.
|
|
326
|
+
|
|
322
327
|
## Budgets
|
|
323
328
|
|
|
324
329
|
Each budget is pinned by a test; a budget that is not met is an open defect row, never a raised number.
|
|
@@ -333,7 +338,7 @@ Each budget is pinned by a test; a budget that is not met is an open defect row,
|
|
|
333
338
|
| Upload: select timeout stays 1.0 while uploading; `dirty` only on `.progress` mtime change | `test_upload_does_not_shorten_the_tick` (Task 24) |
|
|
334
339
|
| `render_mobile(35, 48×60)` ≤ 2.0 ms hard, frame ≤ 6144 B; target ≤ 0.45 ms cold / ≤ 0.10 ms warm (today 0.352 ms / 1663 B; 4058 B truecolor after cockpit v3 P2, 3991 B before) | `test_mobile_render_time_and_frame` |
|
|
335
340
|
| `reload(force)` unchanged (0.14 ms at 35 / 0.39 ms at 183); fleet attention computed inside it from the loaded dict — NOT shown met: Task 24 measured 0.26–0.44 ms at 35 / 0.69–0.80 ms at 183 and Task 12 0.296 → 0.386 ms at 35 (load 30–62; the 0.14/0.39 figures are quiet-host figures), DEF-1564 open; the budget is not raised | bench in Task 24's and Task 12's commit messages; DEF-1564 |
|
|
336
|
-
| Phone: exactly one `setInterval(`, zero `setTimeout(
|
|
341
|
+
| Phone: exactly one `setInterval(`, zero `setTimeout(` in `mobile.js` (since E1b-1, BEY-8667, the on-demand `links.js` adds one `setTimeout(` of its own, the Open control's 8 s, the lane lead's ruling B1, and no `setInterval(`), no `backdrop-filter`, a painted `box-shadow` only in `.lanes-sheet-panel` and `.zj-mobile-menu` (a `box-shadow: none` override, as on the security modal, is not paint work and is not counted); `fetch(` absent until W9 V3's one `/enrol/site` per page load, and since E3 (BEY-8667, the lane lead's ruling E3-R4) the rule is one request per load, plus one check per reconnect attempt, only after an event, never at load (the check is `/info/version`); mobile.css grows ≤ 2048 B over today's 16 934 B, mobile.js ≤ 3072 B over today's 19 102 B (measured 2026-10-03; the caps are baseline + allowance, quoted in the test), raised since by exactly what phone shell input v2, its review fixes, the cockpit v3 sync, the docs cockpit's **Docs** row (plan W10 W7, +135 B), trustworthy input, the keyboard layout and identity and words MEASURED, to a cap of 27 025 B, and by E1c-2's named `JS_RESUME_TAB` (BEY-8667) to 27 272 B, and by E3's named `JS_RESUME_PAGE` (BEY-8667) to 28 251 B, and by E4's named `JS_DEEP_LINK` (BEY-8667) to 28 406 B, and by E5a's named `JS_WORKSPACE_MOVES` (BEY-8667) to 28 768 B, and by E7a's named `JS_TYPED_GUARD` (BEY-8667) to 28 917 B, and by E9's named `JS_TEXT_SIZE` (BEY-8667) to 29 168 B (spec §8 has the steps); E1a (BEY-8667) left `mobile.js` at 26 992 B, 33 B under the cap of then, E1c-2 made it equal its cap again, the equivalent code before E3 left it 130 B under, E3 made it equal its cap again, the equivalent code before E4 left it 17 B under, E4 made it equal its cap again, the equivalent code before E5 left it 6 B under, E5a made it equal its cap again, E7a too, and since E9 it equals its cap again. Trustworthy input (BEY-8609 slice 1): `mobile.js` 24 709 B → 24 538 B after 171 B of equivalent code → 26 333 B MEASURED with `wc -c`; cap 24 747 → 26 333 B (+1 586); laptop/tablet ratchet 28 065 → 29 651 B (`browser.js` 3 318 B unchanged). Keyboard layout (BEY-8609 slice 2a, 2026-11-18): `mobile.js` 26 333 B → 25 897 B after 436 B of equivalent code → 26 771 B MEASURED with `wc -c`; cap 26 333 → 26 771 B (+438); laptop/tablet ratchet 29 651 → 30 089 B (`browser.js` 3 318 B unchanged); `mobile.css` 18 945 → 18 942 B MEASURED, under its unchanged 18 982 B cap. Identity and words (BEY-8609 slice 2b, 2026-11-18): `mobile.js` 26 771 B → 26 558 B after 213 B of equivalent code → 26 994 B MEASURED with `wc -c` (10 B of it the completeness review's fix in `send()`); cap 26 771 → 26 994 B (+223); laptop/tablet ratchet 30 089 → 30 312 B (`browser.js` 3 318 B unchanged); then the path owner's rule on that slice (`Not sent: no connection` becomes `Not sent: try again` when the terminal socket opens): 85 B more of equivalent code, then 27 025 B MEASURED with `wc -c`; cap 26 994 → 27 025 B (+31); laptop/tablet ratchet 30 312 → 30 343 B; `mobile.css` 18 942 → 18 942 B MEASURED (its rules paid inside it), under its unchanged 18 982 B cap; `browser.css` 1 947 → 2 043 B MEASURED, under its 2 048 B cap; `index.html` keeps its 9 SRI-pinned upstream assets. Copy and paste (BEY-8667 slice E1a, 2026-11-19; the lane lead's ruling C1 keeps every cap and its slack): `mobile.js` 27 025 B → 26 894 B (calculated) after 48 B for the phone's `row.prepend(pasteKey)` line and 83 B of equivalent code (`q = s => document.querySelector(s)` for five calls) → 26 991 B (+97 B net, calculated, for the captured screen, the one `dialog()` builder both sheets use, its head word and emptying it as the dialog opens) → 26 992 B MEASURED with `wc -c` after the review's two repairs (the scrim closes only a press that began on it, 40 B; the dialog holds the focus, 31 B), paid by 70 B of equivalent code (`D = document`); cap 27 025 B unchanged, 33 B free; laptop/tablet download 26 992 + 3 318 = 30 310 B under the unchanged 30 343 B ratchet (`browser.js` 3 318 B unchanged); `mobile.css` 18 942 → 18 945 B MEASURED (−103 B for the two selectors that were dead once Paste left the strip, 52 + 51 B; +106 B for the `.lanes-shot` rule), under its unchanged 18 982 B cap; laptop/tablet CSS 18 945 + 2 043 = 20 988 B of 20 993 B (`browser.css` 2 043 B unchanged); the captured screen's shadow is the existing `.lanes-sheet-panel` rule; gate job `023c0491c4e34caa89696f771445786d` measured every figure at E1a's head. Links in a lane (BEY-8667 slice E1b-1, 2026-11-19; the lane lead's ruling R8: a module loaded on demand, not bytes in `mobile.js`): `mobile.js` 26 992 → 27 022 B MEASURED with `wc -c` (its one loader, the last statement of `connect()`, +30 B); cap 27 025 B unchanged, 3 B free; laptop/tablet download 27 022 + 3 318 = 30 340 B under the unchanged 30 343 B ratchet; `links.js` 5 397 B MEASURED with `wc -c` (readable names, no comment line; 5 432 B since PR 1150's review, the label as the whole host in a right-to-left span and a `/lanes-docs/` path as the URL parser resolves it, granted by name; the lane lead's named grant `LINKS_JS_CAP`), fetched once after the attach on a phone and a tablet, never listed in `index.html`, bound by its own cap (`test_web_view.LINKS_JS_CAP`); no CSS changed. Listener helper (BEY-8667, the commit before E1c-2, 2026-11-19; equivalent code): `mobile.js` 27 022 → 26 723 B MEASURED with `wc -c` (`on(t, …)` for 27 `addEventListener` calls); no cap moves. Reopen the last tab (BEY-8667 slice E1c-2, 2026-11-19; the lane lead's named grant `JS_RESUME_TAB` = 247 B, option B): `mobile.js` 26 723 → 27 272 B MEASURED with `wc -c` (612 B for the memory of the last tab, 63 B of it paid by equivalent code, `W = window` on the helper's line); cap 27 025 → 27 272 B (+247); laptop/tablet ratchet 30 343 → 30 590 B (`browser.js` 3 318 B unchanged); no CSS changed. Equivalent code before E3 (BEY-8667, the commit before E3, 2026-11-19): `mobile.js` 27 272 → 27 142 B MEASURED with `wc -c` (`on(W, …)` for four window listeners, `classes`, `keep` for five `preventDefault` calls, `now()`); no cap moves. Coming back to a dead page (BEY-8667 slice E3, 2026-11-19; the lane lead's named grant `JS_RESUME_PAGE` = 985 B, at the measured figure, his bound 1 000 B; a reload made by `mobile.js` alone, ruling E3-R0, with BEY-8676 tracking the qualified client update): `mobile.js` 27 142 → 28 251 B MEASURED with `wc -c` (30 B of it the fix from the review of E3's commit B: a close ends the stale path's doubt); cap 27 272 → 28 251 B (+985); laptop/tablet ratchet 30 590 → 31 575 B (`browser.js` 3 318 B unchanged); no CSS changed and no CSS cap moved (ruling E3-R2: the terminal's dim is an inline style); desktop resume (BEY-8667 Ed, 2026-11-20; the lane lead's named grant `JS_DESKTOP_RESUME` = 994 B): `browser.js` 3 318 → 4 312 B MEASURED with `wc -c`, its cap 4 096 → 4 312 B; laptop/tablet ratchet 31 575 → 32 569 B; `mobile.js` and both CSS files unchanged. Equivalent code before E4 (BEY-8667, the commit before E4, 2026-11-19; ruling E4-R1): `mobile.js` 28 251 → 28 240 B MEASURED with `wc -c` (17 strict comparisons on 16 lines become `==` or `!=`); no cap moves. Notification and address links (BEY-8667 slice E4, 2026-11-19; the lane lead's named grant `JS_DEEP_LINK` = 149 B, ruling E4-R1; **Open lane** opens the lane list, ruling E4-R2, the default of owner question Q4, BEY-8670): `mobile.js` 28 240 → 28 406 B MEASURED with `wc -c` (`connect()` reads `?ws=` once, 66 B; the query's lane list before the remembered tab, 23 B; the query taken out of the address, 77 B); cap 28 251 → 28 406 B (+149), equal to the measured size; laptop/tablet ratchet 32 569 → 32 718 B (`browser.js` 4 312 B unchanged); no request added, no CSS changed and no CSS cap moved. Equivalent code before E5 (BEY-8667, the commit before E5, 2026-11-19; ruling E5-R0): `mobile.js` 28 406 → 28 400 B MEASURED with `wc -c` (six strict comparisons become `==` or `!=`); no cap moves. Moving between workspaces (BEY-8667 slice E5a, 2026-11-19; the lane lead's named grant `JS_WORKSPACE_MOVES` = 362 B; the **Workspaces** count of what needs you elsewhere split out as E5b, ruling E5-R13): `mobile.js` 28 400 → 28 768 B MEASURED with `wc -c` (the **Lanes** toggle, 44 B; a row's click and `focusTab()`'s second tab, 84 B; `tabNamed()`, 36 B; the `ws` map in the memory, 35 B; `panesAt()` and **Panes** hidden with fewer than two terminal panes, **Type here** spanning the freed cell by an inline style, 169 B); cap 28 406 → 28 768 B (+362), equal to the measured size; laptop/tablet ratchet 32 718 → 33 080 B (`browser.js` 4 312 B unchanged); no request added, no CSS changed and no CSS cap moved; typed letters go through the no-connection guard (BEY-8667 E7a, 2026-11-21; the lane lead's named grant `JS_TYPED_GUARD` = 149 B at the figure measured at the fix commit): `mobile.js` 28 768 → 28 917 B MEASURED with `wc -c`, cap 28 768 → 28 917 B (+149), equal to the measured size; laptop/tablet ratchet 33 080 → 33 229 B (`browser.js` 4 312 B unchanged); no word is new, no request added, no CSS changed and no CSS cap moved; a pinch kept and page zoom (BEY-8667 E9, 2026-11-21; the lane lead's named grant `JS_TEXT_SIZE` = 251 B at the figure measured at the fix commit): `mobile.js` 28 917 → 29 168 B MEASURED with `wc -c`, cap 28 917 → 29 168 B (+251), equal to the measured size; laptop/tablet ratchet 33 229 → 33 480 B (`browser.js` 4 312 B unchanged); no word is new, no request added, no CSS changed and no CSS cap moved | `test_web.test_js_timers_unchanged`, `test_web_view.LinksOnDemand`, `test_web.test_no_scroll_time_effects`, `test_web.test_bundle_growth`, `test_web.test_integrity_pins_untouched` |
|
|
337
342
|
| Zellij: config.kdl grows by the theme + ui block only (~4 KB), `load_plugins {}` empty, no `rename-tab` from the sidebar | `test_keybinds.test_theme_block_and_plugin_free`, `test_tokens.test_generated_blocks_match_committed_files` |
|
|
338
343
|
| Unit suite stays under 75 s wall (MEASURED 2026-10-04 after Task 21: 833 tests, 124–176 s at load ~30–60 — exceeded, DEF-1415 open; the budget is not raised); new pins are exact-string asserts, no sleeps; `tokens.py --check` ≤ 50 ms, contrast test ≤ 10 ms | observed in each task's run step |
|
|
339
344
|
|
|
@@ -180,8 +180,11 @@ file to the installed release.
|
|
|
180
180
|
Since 1.4.0 `lanes install-container` also starts the Throttle pulse — but only in the container the Throttle daemon runs
|
|
181
181
|
in: the one `LANES_THROTTLE_CONTAINER` in the server's `~/.config/lanes/site.conf` names, else the container of the
|
|
182
182
|
board's Throttle tab (`tools--throttle-monitor`). There it runs `docker exec -d <container> tmux -L lanes-pulse new -d -s pulse
|
|
183
|
-
~/.lz/bin/throttle-pulse --loop`, a loop on a tmux socket of its own; every other container gets the
|
|
184
|
-
|
|
183
|
+
~/.lz/bin/throttle-pulse --loop [--control <url>]`, a loop on a tmux socket of its own; every other container gets the
|
|
184
|
+
file and nothing runs. `--control <url>` is there when the same site.conf declares `LANES_THROTTLE_CONTROL=<url>` (a
|
|
185
|
+
plain `http(s)://host:port` the container can reach; needed where the daemon's control port is not on that
|
|
186
|
+
container's loopback — a fleet container forwards only the data planes — otherwise the fleet block says ` cannot
|
|
187
|
+
reach`); a value `lanes sync` refuses starts no pulse and the install says which key, exit 1. The daemon binds its own container's loopback (DEF-1525), which the host cannot reach, so the pulse runs beside it
|
|
185
188
|
and the host reads its file through the container's root. statusd starts it again the same way when its file is more
|
|
186
189
|
than 90 s old while that container runs (at most once every 10 minutes, never on a host under critical pressure).
|
|
187
190
|
Without a token it reads the daemon's open routes only; spend and burn figures need the operator's one-time `lanes
|
|
@@ -283,6 +286,18 @@ gets a new tailnet address keeps working), and a second alias, `lanes-ip`, holds
|
|
|
283
286
|
back to `lanes-ip` after two immediate connect failures, then to `lanes-public` when the site has one. A machine
|
|
284
287
|
without MagicDNS keeps the address in `lanes`. Every alias pins the same host key under the profile's alias.
|
|
285
288
|
|
|
289
|
+
On a slow path (hundreds of milliseconds per round trip) a window over ssh shows each key only after a whole round
|
|
290
|
+
trip. `LANES_TRANSPORT=mosh lanes-launch` (or `lanes-launch <device> --mosh`) runs the window through mosh instead:
|
|
291
|
+
`mosh --ssh="ssh -o RequestTTY=no" lanes -- sh -c '$HOME/.local/bin/lanes attach …'`, the same host and the same
|
|
292
|
+
attach command as the ssh path, and nothing else. It is off unless asked for, and it needs three things: mosh on this
|
|
293
|
+
machine (`brew install mosh`, `apt install mosh`), mosh-server on the server, and mosh's UDP ports (60000-61000) open
|
|
294
|
+
on the path between them. Before each window connects to a host, the client checks the first two (`command -v mosh`
|
|
295
|
+
here; one `ssh -n -o BatchMode=yes -o ConnectTimeout=5 lanes 'command -v mosh-server'`, at most 10 s) and says in
|
|
296
|
+
one line which transport it uses: `lanes: transport mosh to lanes`, or `lanes: transport ssh to lanes (mosh asked
|
|
297
|
+
for: lanes has no mosh-server)` and ssh. A blocked UDP path is not something it can check first: mosh then says it
|
|
298
|
+
receives nothing from the server, and the window is closed and opened again without the variable. The upload helper,
|
|
299
|
+
`ls`, `here` and `web` stay on ssh.
|
|
300
|
+
|
|
286
301
|
### Join with an invite or a request
|
|
287
302
|
|
|
288
303
|
On a server that runs the enrolment service `lanes-enrold` (every server install enables it), a new machine
|
|
@@ -460,7 +475,9 @@ terminal. The Serve step reads `tailscale serve status --json` first: a mapping
|
|
|
460
475
|
the `sudo tailscale set --operator=<account>` step above. Existing tokens remain valid.
|
|
461
476
|
|
|
462
477
|
Connect Tailscale on the phone, open the printed URL in Safari, paste only the token value, then
|
|
463
|
-
**Share → Add to Home Screen
|
|
478
|
+
**Share → Add to Home Screen** on that plain address (nothing after `#`): the icon opens that view, and each view you
|
|
479
|
+
add is its own app (not yet checked on a device). A token grants terminal access as the server account. Manage tokens
|
|
480
|
+
with:
|
|
464
481
|
|
|
465
482
|
```sh
|
|
466
483
|
lanes token list # every token, with the device it was created for
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# Lanes 1.9.1 sidebar and Codex reliability plan
|
|
2
|
+
|
|
3
|
+
Status: planned for the 1.9.1 candidate. The default sidebar order remains unchanged until the experiment has a
|
|
4
|
+
measured result.
|
|
5
|
+
|
|
6
|
+
## Sidebar experiment
|
|
7
|
+
|
|
8
|
+
The candidate should offer an explicit per-device trial mode for the desktop terminal, laptop browser and phone. The
|
|
9
|
+
mode is opt-in and reversible, and it is read from the same profile that already carries workspace order and lane
|
|
10
|
+
pins. The server projection remains the authority for row identity, status and role, so every surface makes the same
|
|
11
|
+
choice.
|
|
12
|
+
|
|
13
|
+
The first trial order is coordinator first within the current workspace, followed by lanes the person pinned, followed
|
|
14
|
+
by lanes that need the person's attention, then working, done-not-seen and the remaining lanes. A coordinator keeps
|
|
15
|
+
its top position when its status changes. A pinned lane keeps its relative order and does not displace a coordinator.
|
|
16
|
+
The existing attention queue remains the default mode and remains available as the immediate fallback.
|
|
17
|
+
|
|
18
|
+
The trial must preserve the current queue's guarantees.
|
|
19
|
+
|
|
20
|
+
- A `needs_approval`, error or explicit input request remains visible and retains its urgency mark.
|
|
21
|
+
- Stable entry times continue to debounce section changes. A status flap must not reorder a lane repeatedly.
|
|
22
|
+
- Cursor identity, scroll position, last workspace and last lane survive a refresh, reconnect and a device-mode change.
|
|
23
|
+
- Hidden and unregistered lanes stay governed by their existing rules. A coordinator cannot be hidden by the trial's
|
|
24
|
+
sort key.
|
|
25
|
+
- The desktop and phone render the same ordered identities from one projection. The browser directory must not invent a
|
|
26
|
+
second order.
|
|
27
|
+
|
|
28
|
+
The trial should expose a small control in the sidebar settings with three choices.
|
|
29
|
+
|
|
30
|
+
1. **Attention first** uses the current section queue.
|
|
31
|
+
2. **Coordinator first** tries the requested coordinator, pinned and attention order.
|
|
32
|
+
3. **Pinned first** keeps coordinator marking but lets the person's pins lead, followed by attention.
|
|
33
|
+
|
|
34
|
+
The selected mode is device-scoped at first. A later release can promote a mode into the owner profile after the
|
|
35
|
+
results show that people want the same order on every device.
|
|
36
|
+
|
|
37
|
+
## Codex status reliability
|
|
38
|
+
|
|
39
|
+
The current observer is layered. A trusted lane-signal sidecar wins, then the harness observer and Codex title parser,
|
|
40
|
+
then the window bell. Codex `Stop` currently records `done`, `PermissionRequest` records `needs_approval`, and a plain
|
|
41
|
+
task title is `idle`. This is the measured baseline for the experiment.
|
|
42
|
+
|
|
43
|
+
The candidate should add a Codex status probe behind the Rust shadow path. It may use the app-server thread status only
|
|
44
|
+
when the thread is live, belongs to the lane's working directory and has a fresh update time. It must publish the
|
|
45
|
+
source and freshness with the observation, and it must leave the existing title and bell fallback in place when the
|
|
46
|
+
probe is unavailable. A stale or ambiguous thread must never create a false `needs_input` or `needs_approval` row.
|
|
47
|
+
|
|
48
|
+
The probe should distinguish these cases before any status mapping changes.
|
|
49
|
+
|
|
50
|
+
| Observed case | Sidebar state | Evidence required |
|
|
51
|
+
| --- | --- | --- |
|
|
52
|
+
| Codex is executing a turn or tool | Working | Live thread state or a fresh working sidecar event |
|
|
53
|
+
| Codex asks for permission | Needs approval | `PermissionRequest` sidecar event, or an equivalent live protocol event |
|
|
54
|
+
| Codex asks the person for a reply | Needs you | A live, typed question event with a stable request id |
|
|
55
|
+
| Codex completed a turn | Done, not seen | `Stop` sidecar event or a fresh completion event |
|
|
56
|
+
| No live Codex evidence | Idle or shell | Pane/process evidence, with stale titles treated as shell when the harness ended |
|
|
57
|
+
|
|
58
|
+
The phrase “waiting on me” must only be emitted when Codex provides an explicit question/input event. A completed turn
|
|
59
|
+
must stay Done until that event is measured. This prevents a title or a quiet pane from manufacturing an attention
|
|
60
|
+
request.
|
|
61
|
+
|
|
62
|
+
## Workspace shortcuts and a future Hypervibe key map
|
|
63
|
+
|
|
64
|
+
The first shortcut experiment is `Super+1` through `Super+9`. Each number selects the corresponding **visible
|
|
65
|
+
workspace in the person's profile order**, rather than the raw Zellij tab position. A workspace with both a picker tab
|
|
66
|
+
and a lane tab counts once. The switch focuses that workspace's remembered tab when one exists, then its picker or lane
|
|
67
|
+
tab according to the same `{"tab", "ws"}` memory used by the current phone shell. `Super+0` is deliberately left
|
|
68
|
+
unassigned until a stable home or coordinator action has an owner.
|
|
69
|
+
|
|
70
|
+
The terminal implementation must resolve the profile order and workspace identity before it calls Zellij. It should use
|
|
71
|
+
the same bounded `go-to-tab-name` route as `lanes here` and `lanes attach`, or a small equivalent Lanes command, rather
|
|
72
|
+
than binding `GoToTab N` directly. This skips Host, Throttle and unmanaged tabs, survives a reordered profile and keeps
|
|
73
|
+
the shortcut aligned with the browser and phone. A number beyond the visible workspace count is a no-op with a short
|
|
74
|
+
status hint. The existing `Ctrl-Alt-Left/Right` tab traversal remains available as the adjacent-workspace fallback.
|
|
75
|
+
|
|
76
|
+
The checked-in Zellij is 0.45.1. `zellij --config /tmp/lanes-zellij-super-test.kdl setup --check` returned exit 0
|
|
77
|
+
for a temporary `bind "Super 1" { GoToTab 1; }` fixture, so the grammar is available. This does not prove that a
|
|
78
|
+
window manager will deliver every Super chord. The terminal trial must verify delivery on each supported host and keep
|
|
79
|
+
the existing Ctrl-Alt route when a host reserves the modifier.
|
|
80
|
+
|
|
81
|
+
Browser desktop and tablet use the platform equivalent `Meta+1` through `Meta+9` (`Command` on macOS and `Super` on
|
|
82
|
+
Linux). The handler must run only when focus is outside a text input, contenteditable surface, search field, filter,
|
|
83
|
+
login control or composition, and it must never write the digit into a lane. A phone has no touch Super key. Its
|
|
84
|
+
workspace sheet remains the capability-floor path, while a hardware keyboard may use the same Meta chords under the
|
|
85
|
+
same focus guard. The browser and phone handlers must focus the remembered tab through the client control API and must
|
|
86
|
+
not synthesize terminal bytes.
|
|
87
|
+
|
|
88
|
+
The key namespace should stay small and discoverable. These are candidates for later experiments, ordered by the
|
|
89
|
+
least destructive action first.
|
|
90
|
+
|
|
91
|
+
| Candidate | Meaning | Guard and fallback |
|
|
92
|
+
| --- | --- | --- |
|
|
93
|
+
| `Super+Tab` / `Super+Shift+Tab` | Cycle visible workspaces in profile order | No-op at an unavailable view; `Ctrl-Alt-Left/Right` and the workspace sheet remain available |
|
|
94
|
+
| `Super+G` | Jump to the next lane marked Needs you | Requires an explicit input question or approval signal; show `nothing needs you` when empty |
|
|
95
|
+
| `Super+L` | Focus the current workspace's sidebar | Alias the existing `Ctrl-Alt-l` only after terminal, browser and phone focus tests |
|
|
96
|
+
| `Super+K` | Open a command palette for navigation-only actions | Palette actions must be reversible and must not send text or answer a prompt |
|
|
97
|
+
| `Super+P` | Open the pinned-lanes view | Keep the normal ordered list one escape away; respect hidden-lane policy |
|
|
98
|
+
| `Super+Shift+S` | Search workspaces and lanes | Search field owns the keyboard until Escape; no lane receives search text |
|
|
99
|
+
| `Super+Shift+U` | Arm the upload strip | Preserve the existing `Ctrl-Alt-u` path and show the armed state before a drop |
|
|
100
|
+
| `Super+Shift+D` | Open Docs for the current workspace | Use the existing Docs route and leave the terminal focus unchanged on close |
|
|
101
|
+
| `Super+R` | Reconnect the current view | Never reload while a send is pending; retain the last workspace and lane |
|
|
102
|
+
|
|
103
|
+
No future shortcut should move, close, hide, rename or message a lane without a separate confirmation contract. Those
|
|
104
|
+
verbs change shared state and need an explicit action surface rather than a mnemonic key. The same key must mean the
|
|
105
|
+
same navigation verb on terminal, browser and hardware-keyboard phone views. Every new binding must appear in the
|
|
106
|
+
sidebar key sheet and the runbook, and must have a conflict test proving that ordinary agent input, IME composition,
|
|
107
|
+
browser forms, picker filters and locked views keep their current behavior.
|
|
108
|
+
|
|
109
|
+
## Acceptance and rollout
|
|
110
|
+
|
|
111
|
+
The candidate needs a fixture matrix for both surfaces and both modes.
|
|
112
|
+
|
|
113
|
+
- Coordinator working, waiting for input, done and shell states with pinned and unpinned neighbours.
|
|
114
|
+
- Codex working, permission request, completion, explicit question, stale title and missing app-server cases.
|
|
115
|
+
- Desktop and phone order parity, including a reconnect and a change of the selected workspace.
|
|
116
|
+
- Rust shadow and legacy output comparisons for the same observation stream.
|
|
117
|
+
- `Super+1…9` / `Meta+1…9` select the same profile-ordered visible workspace, skip hidden boards and unmanaged tabs,
|
|
118
|
+
handle paired picker tabs, restore remembered per-workspace tabs and no-op with fewer-than-nine workspaces.
|
|
119
|
+
- A shortcut pressed in a lane prompt, an editor, a sidebar filter, a browser form or an IME composition reaches that
|
|
120
|
+
control and does not switch workspace. A locked terminal still accepts the navigation chords that are explicitly
|
|
121
|
+
declared shared.
|
|
122
|
+
- The temporary Zellij grammar check above is repeated with the candidate config, and browser and hardware-keyboard
|
|
123
|
+
tests record whether the host delivered the Meta/Super modifier.
|
|
124
|
+
|
|
125
|
+
The trial is ready for a small owner-selected cohort when every case has a source label, no false attention rows are
|
|
126
|
+
found in the fixture matrix, and switching back to Attention first restores the existing order without losing the
|
|
127
|
+
cursor or saved workspace. The owner decides whether the trial becomes the default for 1.9.1 or remains a candidate
|
|
128
|
+
for a follow-up release.
|