Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/hive-view/blob/main/evidence/2026-11-07-v1.md # hive-view aien-dev/hive-view Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `hive-view / evidence / 2026-11-07-v1.md` 139 lines · 9922 bytes Raw Blame History Source # hive-view v1 evidence, 2026-11-07 to 2026-11-09 (Spark, GB10, Ubuntu arm64) Binaries (built by omega-mv@`943d9555` `seed/out/omc`, sha256 `5f90edea…f6df`, sources and omc taken from omega-mv git objects at that commit; builds byte-identical when repeated): Binary sha256 server (this revision, deployed 2026-11-09) `8971a878f83bf5dca673d1b25bc43666fce37f9372e927203b32b4c15914fd24` server, head `988b15b7` (entries-panel wrap below) `8fb2dc8863271351f5ff48d7db0effe9c5bf864bf6ed181f64b18ecc01afe662` server, review-fix draft `0c2ad66d` without the UTF-8 chunk-edge back-off (deployed briefly, replaced) `165e33615a05c6b2e83e4334bbb32cb102f34896ef12dea718d1f27f31083227` server, previous head `539f4575` (before the review fixes) `12672fd8ac41cd47e7c9a826fb804ee587debed5b104b3e88eedbebdc1ea6c40` server, head `0971680f` (before the attempt line and argv redaction) `f86347591c5e51f172eb12eca7c95b65efa13ee43a14c61385e1f2938b161349` gate (56 checks) `a44c983a4a2645f0e5d8faf37f1dce604e005bb2397135e5ee60c37819c6bf39` negative-control server (this revision without the `;` escape in `vwchunk`) `3268e343899b91cd2487c67998d8b14dad935a11e6209bfd3e28077dcbde7e1d` Unless a section names another build, results below are for server `8971a878…`. The local CI replay ran server `f8634759…`; Chrome and CPU ran the builds named in their sections. ## GitHub CI: NOT_RUN for every head after `999ab19` The first run (head `999ab19`) failed 2 of 52 and found the two defects described below. No run started for later heads: GitHub Actions has been blocked org-wide since about 08:16Z (BOARD 2026-11-07T08:20:48Z, "owner marked spammy"). Local replay of `.github/workflows/gate-arm64.yml` at head `551b10f` on the Spark (fresh clone, omc taken from omega-mv `943d9555` git objects and checked against `omega-mv.lock`, a fresh HOME holding only `~/.config`, port 18196): server and gate sha256 equal `build.json` (MATCH, MATCH); `mktoken` exit 0; `gate nolog` 5 passed, 0 failed; after `install -d -m 700 ~/.local/state/hive-view`, `gate run` 52 passed, 0 failed (`ci-replay-*.txt`). This is a local replay of the previous head, not a GitHub result. Pushes are blocked as well (the push account is suspended, BOARD 08:24:41Z); this revision exists only as a local commit and patch. ## Deployed (DEPLOYED on the Spark, not merged) `deploy/hive-view.service` installed as a systemd user unit; `systemctl --user` shows active, the main process has nice 10 and `Cpus_allowed_list 0-2`; `/health` answers on 127.0.0.1 and 100.64.0.2. `kill -KILL` of the main process (server `f8634759…`): restarted after RestartSec (NRestarts=1), `/health` ok. Server `8971a878…` installed 2026-11-09 with `server.prev` = `8fb2dc88…`, unit restarted, then `gate run 18190` against the deployed service: 56 passed, 0 failed (`gate-run.txt`). ## Gate (EXERCISED) `gate run 18190` against the deployed service above: 56 passed, 0 failed, exit 0 (`gate-run.txt`). The same gate against this server on a scratch port with a HOME holding only the token: 56 passed (`gate-run-token-only-home.txt`). Negative control: the same gate against the negative-control server on port 18198: 50 passed, 6 failed, exit 1. The six failures are exactly the cases where a chunk ends in `;` (`semi;`, `;`, `;;`, `\;`, `bs\;`, the 4096-byte text with `;` at both chunk ends). Output: `gate-negative-control.txt`. Entries panel wrap (found by factory bay 6 at `988b15b7`): with no `##` heading in QUESTIONS or DECISIONS (also a missing or empty file), `vwents` computed the start of the last 4000 bytes as an unsigned `n - 4000`, which wrapped below 4000; the connection then died after the 200 headers (curl: 200, 0 body bytes, exit 18). Fixed in `src/page.om` (emit the last min(n - b0, 4000) bytes only when n > b0); the fixed server is byte-identical to the bay's proposed-fix build (`8971a878…`). Two new gate cases fetch both panels and need a 200 and the closing ``. Server `8fb2dc88…` on a token-only HOME: 54 passed, 2 failed, exactly those two (`gate-entries-before.txt`). Throwaway short-file check (QUESTIONS.md = "short q\n"): `8fb2dc88…` 200 with 0 body bytes, curl exit 18; `8971a878…` 200, 516 bytes, the text shown escaped. On the live service both panels answer 200 with the whole page. UTF-8 at a chunk edge (found in review: the code backs a chunk edge off continuation bytes, and no gate case covered it). New case: "a" followed by 1365 copies of U+20AC (4096 bytes; the 2048-byte edge falls inside a character). Experiment: a server without the back-off (`165e3361…`) also passed all 54 checks of that time (`gate-no-utf8-backoff-165e3361.txt`): tmux 3.4 `send-keys -l` delivers the split character intact to the pane. The back-off was kept anyway: each chunk is a separate write to the program in the pane, and the `tee` sink cannot show whether that program decodes a character split across two writes. The case therefore documents delivery; it does not detect removal of the back-off. Enter or Escape with text in the box: the form handler drops the text (route.om `vwfbuild`), so only the key is pressed. New gate case checks that the sink receives only the Enter byte. Send log unavailable (found by the first CI run): the first runner had no `~/.local/state/hive-view`, and the server then typed the text and only failed to log it afterwards. The server now opens the log before typing and refuses with code 8 when it cannot. `gate nolog`, run with a HOME holding only the token, against the server binary from before that change: 4 passed, 1 failed (the text was typed); against this revision: 5 passed, 0 failed (`gate-nolog.txt`). Send log write failure (found in review): opening alone did not guarantee a logged send, because the line was written only after typing and the write result was ignored. Now an `attempt` line must be written in full before typing (else code 8), and the outcome line follows. Control: the state directory holds `sends.log -> /dev/full`, which opens but fails every write with ENOSPC. Previous head `f8634759…`: 4 passed, 1 failed, the text was typed (`gate-nolog-full-before.txt`); this revision: 5 passed, 0 failed (`gate-nolog-full.txt`). The sends log of the `gate run` above shows `result=attempt` followed by `result=ok` for each typed send. CI runs both setups. Command lines on the machine panel (found in review): GPU and pool-lock holders were shown with their full argv, which could carry a secret. Throwaway check (a test `main` around `vwcmdl`, not kept): argv `bash -c "sleep 20; true" --password hunter2 --api-key=abc123 plain AuthHeader=Bearer.xyz --tokenfile /x/y keep`is shown as`bash -c sleep 20; true *** *** --api-key=*** plain AuthHeader=*** *** *** keep`. Gate fix (also found by the first CI run): the "wrong cookie" check replaced the token's first character with `0`, which is the real token whenever that already starts with `0` (1 token in 16; inferred cause of the CI failure, since the runner's token is not shown). It now writes `1` in that case. ## CPU (MEASURED) `gate cpu PID 60` (USER_HZ 100), two dashboard pages open in Chrome (1400x1000 and a 390x844 phone viewport) for the whole minute. Run 1 used server `9f70b61b…`, run 2 server `8e4ca0a1…`, run 3 server `12672fd8…` (head `539f4575`; the poller and page code are unchanged in `165e3361…`): What Run 1 Run 2 Run 3 hive-view main + poller + connection handlers (with reaped children), ticks in 60 s 182 76 171 tmux server, hive-view running 292 255 305 tmux server, hive-view stopped (baseline, minute after run 1) 269 WolframLanguageEvaluator: `N[182/(60*100)*100] -> 3.03`, `N[76/(60*100)*100] -> 1.27`, `N[171/(60*100)*100] -> 2.85` (% of one core); `N[182/(60*100*20)*100] -> 0.152`, `N[76/(60*100*20)*100] -> 0.0633`, `N[171/(60*100*20)*100] -> 0.1425` (% of 20 cores); `N[(292-269)/(60*100)*100] -> 0.383`. Likely cause of the spread (inferred, not measured): how many session screens changed during the minute, since unchanged panes are not captured again. The arithmetic and rounding are proven in Lean 4 in `cpu-shares.lean` (lake env lean rc 0; a false variant, 2.86, fails with rc 1). ## Chrome (EXERCISED, headless Chromium managed by omp) Against server `8971a878…` (this revision), deployed on port 18190, 2026-11-09 (the same steps also passed on `8fb2dc88…` and `165e3361…`): - `/s/hv-chrome` (scratch session `stty raw -echo; tee` into a file): "chrome 8971; ünï $(id) €€" arrived byte for byte followed by CR; the page showed "Sent 35 bytes to hv-chrome, then pressed Enter." Then "must not be typed" in the box with the Enter button: the sink received only one more CR. Phone (iPhone 12 emulation): scrollWidth 390 = innerWidth. `/p/entries?f=questions` rendered (10585 characters of text, newest entry first). Against server `12672fd8…` (head `539f4575`), deployed on port 18190: - `http://spark.hub.internal:18190/?t=` signed in and showed the dashboard. - `/s/hv-chrome` (a scratch session running `tee` into a file): "chrome on head; ünï $(id)" arrived byte for byte followed by LF; the page showed "Sent 31 bytes to hv-chrome, then pressed Enter." - Phone (390 px wide, scale 3): no horizontal page scroll (scrollWidth 390 = innerWidth); queen screen, form and buttons visible. - Service stopped with the page open: after 16 s every panel showed the browser's error page (`chrome-error://chromewebdata/` frames); after restart `/health` answered `ok` and the page came back. Earlier, against server `9f70b61b…`: the full dashboard contents (queen with colours, omp tiles, Hermes, lead tiles, machine, BOARD, QUESTIONS, DECISIONS, CLAIMS, other sessions) and that the queen form on `/` targets `omp-queen` (hidden field checked; nothing was sent to the queen).