Handover: Calternal orchestration paused 2026-10-30 (state, branches, open questions) #774

Closed
opened 2026-10-30 17:29:17 +00:00 by kayg · 1 comment
Owner

Handover from the Calternal orchestrator, 2026-10-30 (night, IST). All work is paused at kayg's request. Every job was told to commit and push its work, and every worktree on every Calternal host was swept: uncommitted work went to wip/… branches, and unpushed commits went to their own branches.

Rules in force

  • Claude subagents only from 2026-10-30 21:10 IST, for at least 24h and until kayg lifts it. No Codex delegate_task and no Codex CLI. The pool's Codex quota is also exhausted for about 5.6 days.
  • Maintenance goes to the maintainer thread first, and to kayg only if it can't resolve it. This covers tokens, VM setup and NetBird.
  • Three review rounds at most, then a plan doc and a simpler design. Foundational work gets a plan (sizes, big-O, failure table, scaling tests) before any code.
  • Nothing merges until kayg approves. Trains run the full Playwright suite, with the first run counting.
  • Briefs must say "never ask: decide, note it in the PR, continue". Two remote jobs sat for hours on a question nobody saw.

Hosts

Host Owner Notes
10by32-01-std (cua, arm64) Calternal T3 env 21f623fe-e89a-41e6-96b0-ab610e8a5c5f, project mcp:fbd6ba53-3c0c-4dc3-b7a4-6d8b4e5a2716. Maintainer needs a reboot (free-page reporting); it's idle now; the maintainer has been told. To be phased out for calternal-dev-02-std (coming).
10by32-02-std (cua) Infraternal
macos-01-std (lume) Calternal T3 env 47d4bbea-081e-4f34-84a1-0e15bc35e5e5; Mac lock /tmp/mac-bench.lock
macos-02-std Infraternal
6by32-compute01 (agent, x86) Calternal T3 env 2f385a8d-4422-48d7-ab4e-4bd35ddcb7f8, project mcp:b1ad3b92-e096-42f7-8547-5c4ef6019b0e
8by64-compute01 Calternal CI and staging CPU headroom is reserved by the pool
6by32-compute02, 8by64-compute02 Infraternal Borrow only by asking first
perf-test-02/03 shared measurement only, via perf-run.sh

Machine split agreed with Infraternal and reported to kayg (2026-10-30 night):

  • Calternal: 8by64-compute01 (CI/staging; never borrow it), 6by32-compute01, 10by32-01-std, macos-01-std, plus calternal-dev-02-std when it exists.
  • Infraternal: 8by64-compute02, 6by32-compute02, 10by32-02-std, macos-02-std, plus infraternal-dev-02-std.
  • Shared by lock, measurement only: perf-test-01/02/03 (perf-run.sh / perf-lock.sh; announce in the Infraternal thread first).
  • Borrowing: ask first, then pool lease --host … --placed.
  • Tonight: Infraternal borrowed 6by32-compute01 for one job (mesh sign-in) and added ~/infraternal* under agent there. It hands the VM back in the morning or on request.

Build pool: ~/.local/state/build-pool/pool. It supports --host and --host … --placed. Lease before every job.

Work in flight (paused), with where to resume

Work Branch / head State Resume with
#759b private upload staging, implementation (plan #771, head f8b1db01) fix/private-staging-759b @ cf5f69f2 All code in. Lock registry, private scratch, recovery to .calternal/recovered/, prune pinning, flock startup probe. Every failure-table row has a test; the 1,000-round kill -9 loop passes; fmt and clippy pass. A full cargo test --workspace was cut off by the pause, with zero failures up to that point. Run the full workspace tests to the end. Take local release numbers vs dev (handover/759b/upload_bench.py on branch wip/10by32-01-impl-759b-scratch-20261030 (1e6e32d7), with the partial workspace test log next to it). Open the PR with the failure-table→test map. Then x86 perf on perf-test-02/03, and the native macOS tests on macos-01. target/ was kept on 10by32-01 (a speed-up only; it may be gone after the reboot).
Train BM3 (BM2 minus #759): #763, mockup-values, Composer, plus fixes PR #772, train/2026-10-30-bm3 @ cc56ef86 Rust gates pass (the CI Rust fix cc56ef86 corrected recovery misreading an interrupted save as a delete). Both browser halves still need a full first run on cc56ef86 (cancelled twice by VM swaps and this pause). Chromium half and WebKit half in parallel on two hosts, 1 worker, no retries. Watch the throttled-390 CodeMirror layout shift (intermittent). Then kayg's merge approval.
Storage tiering slice 1 (#761), with appdata/userdata names wip/6by32-01-tier-761-s1-pause-20261030 @ b343e0cb (snapshot of a Codex job: 60 files, +2760/−878) Mid-work. Gates never run. A Claude job continues from the snapshot onto feat/tiering-761-s1. Read the #761 plan; the quota split is mandatory (layout A).
Undo (#768: K1 per device, K2 keep their text, K3 cursor back) in the block-identity prototype wip/10by32-02-undo-768-20261030 @ d22ae674 (base proto/block-identity-v7d 57724c04) Regression tests added, plus 3 failing cases found (creation undo merges remote text into a neighbour) and the 2 known P2s. Scope: the prototype plus the TS adapter, not the live app. Make the plan's matrix pass, then the PR → proto/block-identity-v7d.
Calendar review fixes (no stripes, full width, back arrow, horizontal paging, agenda rows, long press, drag, pinch zoom/adaptive density) review/calendar-2 @ d34d41f1 Most fixes done; final screenshots and frame measurement pending. Pinch/density steer may not be included. Screenshots are in evidence-10by32-02-20261030.tgz. Finish, verify the screenshots and frames myself, deploy to preview.
Month view mockup review/calendar-month @ 917dbfa1 On preview. Waiting on kayg (fold Agenda, hollow dots). Apply kayg's answers.
Glass layer, search preview, indexing ring port none (the job only read code) Not started. Findings: port only the deltas of b1d82c10 (Float, follow/reparent, the Bar outside prop exists); the ⌘K search preview pane is new work (web's ⌘K is the Composer); the ring hooks into ListFilter/ListSearch; first paint is 239.3/240 KB. The When bar-morph waits for the Tasks UI port. Branch port/glass-when-ring from train/2026-10-30-bm3. Scope the preview pane with kayg first, or port items 1 and 4 only.
Apple Notes over IMAP slice 0 (#766) spike/imap-766-s0 @ f490ae6b, summary in #766 comment 70639 Partly answered. Key finding: Apple ignores UIDVALIDITY before cleanup, so reused UIDs delete unrelated notes, and the plan must never reuse UIDs across epochs. 13 plan changes listed in §6. Cleanup verified. E2-5, the E2-1 fast-edit race, and two-client cases via scripted imaplib. Dovecot runs as agent on 6by32-compute01 (no containers).
BM1 first-open on Mac (#756 @ 3685f29a) none Not measured. Two attempts blocked: Cua spaces gone, then Safari automation permissions. Run on macos-01-std (T3 env 47d4bbea…; /Users/lume/Developer/calternal is empty, so clone first). Chrome works; Safari needs safaridriver --enable.
Deploy script (#765) PR #773 ops/deploy-simple-765 @ 69d0266d (+2 commits pushed at pause) Done, 14 shim tests. kayg's merge approval.
Quota (#764) and cold growth (#767) perf/quota-simple @ 86f48a39, perf/cold-growth-on-764 @ 4481816d Waiting for the layout split (now decided: A, via tiering). Open: an intermittent startup Home-deletion race. Rebase onto tiering slice 1, then rerun typing CPU on the perf VM.

Other WIP snapshots from the sweep (old review and verify worktrees, saved verbatim, low priority): wip/6by32-01-*-pause-20261030 (ids-verify4/5, lists-b, perf767-*, perf-idle-8, review-733b/c, review-748, verify-742/744), wip/8by64-01-review-688-pause-20261030, wip/6by32-02-calternal-pause-20261030, and wip/10by32-0{1,2}-*-20261030 from the earlier VM swap.

Roadmap (resume in this order when unpaused)

Ship first, since these are almost done:

  1. Train BM3 → prod. Run both browser halves on cc56ef86 in parallel. Then kayg's merge approval, then deploy with scripts/deploy-prod.sh once #773 is merged. Until then the manual method from 29 Oct (backup + :rollback).
  2. #759b private staging. Finish the workspace tests and open the PR. Then x86 perf on perf-test-02/03 (≥95% of dev, per plan §3), native macOS tests on macos-01, an independent review (3 rounds max), and the next train.
  3. Deploy script #773: merge after kayg's approval.

Storage line (strictly in order):

  1. Tiering slice 1 (#761) from snapshot b343e0cb: the split appdata/userdata layout, plus an offline migration command for single-root installs. It goes through review, then a train. Prod migration is a separate, by-hand, approved step.
  2. Quota #764 and cold growth #767: rebase onto slice 1. Re-measure typing CPU (≤2% at 100k) and idle on the perf VM. Fix the intermittent startup Home-deletion race. Then a train.

UI line:

  1. Calendar. Finish review/calendar-2: I verify the screenshots and frame times, then it goes on preview. Apply kayg's month answers. After grill round 2, mock up the event sheet. Then port Calendar into apps/web.
  2. Glass port, from train/2026-10-30-bm3: the Float portal layer (item 1) and indexing ring B (item 4). Add the search preview pane only if kayg scopes it. The When bar-morph waits for the Tasks UI port.
  3. BM1 (#756) first open on Mac: measure on macos-01. If the blur is the cause, use the pre-blurred backdrop fallback. Then ship.
  4. Composer: the Safari/WebKit contrast check on Mac, still unmeasured.

Editor and data line:

  1. Undo (#768) in the prototype, from snapshot d22ae674. Then block identity (#758) into the app, then tasks-create plus the Composer.
  2. Apple Notes over IMAP (#766).
    • Revise the plan with slice 0's 13 changes. Most important: never reuse a numeric UID across UIDVALIDITY epochs, because Apple deletes by stale UID.
    • Finish slice 0's open cases: E2-5, the E2-1 race, and the two-client cases.
    • Then slice 1.

Later (approved direction, not started):

  • the Tasks UI port (ADR 0066), which unlocks the When field;
  • the Contacts UI on CardDAV;
  • calternaldav calendar plus a Reminders test fleet (CA14);
  • voice, photos, sharing, money;
  • the launch QA pass (#622: 5 first-user subagents).

Infra: move Calternal jobs to calternal-dev-02-std when the maintainer sends its T3 ID (user cua; same baseline as provision-10by32). 10by32-01 is idle for its reboot, then being phased out.

Proposed next session (kayg didn't start it; all jobs stopped)

  1. BM3 both halves (Chromium on 10by32-01 after its reboot, WebKit on 6by32-compute01 once Infraternal hands it back).
  2. #759b: workspace tests to the end, PR, x86 perf on perf-test-02, review round 1.
  3. Tiering slice 1 from snapshot.
  4. Calendar-2 finish, then my own screenshot and frame check, then preview.
  5. BM1 on macos-01.
  6. IMAP plan revision (docs only).
  7. Undo in the prototype if there's room.

Not without kayg: the glass port's preview-pane scope, the event sheet mockup (needs grill round 2), any deploy.

Waiting on kayg (product)

  1. Month view (on preview): fold the Agenda pane in Month view on desktop (titles truncate at 113 px)? Keep hollow dots for planned events?
  2. Event sheet, grill round 2: Q8 month drag keeps the time; hold opens the menu and moving turns it into a drag. Q9 the two-line time/day with no dot. Q10 Note · Task · Photo · Voice buttons. Q11 everything is added inside the sheet. Q12 the order of rows. Q13 "Didn't happen" on past planned events. After that, the event sheet mockup.
  3. Merge the deploy script #773: plain bash, backs up state only, 14 shim tests. Backups are confirmed covered by backup01.
  4. Merge Train BM3 #772 once both browser halves pass on cc56ef86. They were never completed after the VM swap.
  5. Search preview pane scope. The approved mockup has a ⌘K Search with results on the left and a glass note preview on the right. In apps/web, ⌘K is the Composer, which has no preview, so the pane is new work, not a port. Options: build it now as part of the glass port; or port only the glass layer and the ring, and do the preview with the search work later. Recommended: the latter.

Waiting on kayg (raised by the maintainer)

Rotate the Honcho MCP bearer token (it leaked into a job log); root NetBird SSH to prod; a router DHCP reservation for the Studio; NetBird groups for the new VMs (VM-to-VM SSH).

How to operate (for whoever resumes)

  • Peers (find them with ListAgents; session names change):

    • the maintainer thread (2026-10-29-can-you-please-netbird-ssh-1f-*) handles infra, tokens and VMs;
    • infraternal-* handles machine scheduling and the build pool, which it owns.
    • Reply with SendMessage. Peer messages are information, not kayg's approval.
  • Launching a job:

    • pool lease --project calternal --class backend|ci-train|light --job X --est-gb N --mem-gb N --arch any --host H --path P (use --placed to record a job that's already running).
    • Then delegate_task with target {environmentId, projectId, providerInstanceId:"claudeAgent", model:"claude-sonnet-5-5"}.
    • The brief must be self-contained. It must say:
      • start the heartbeat as a systemd-run --user unit;
      • use build-slot.sh;
      • read the Forgejo token in code from ~/.local/share/forgejo-cli/keys.json and never print it;
      • never print config or secret files;
      • never ask questions: decide, note it in the PR, continue (remote questions aren't surfaced, and two jobs sat for hours).
    • Release the lease when the job ends.
  • T3 targets:

    Host environmentId project
    10by32-01-std 21f623fe-e89a-41e6-96b0-ab610e8a5c5f mcp:fbd6ba53-3c0c-4dc3-b7a4-6d8b4e5a2716 (/home/cua/calternal)
    6by32-compute01 2f385a8d-4422-48d7-ab4e-4bd35ddcb7f8 mcp:b1ad3b92-e096-42f7-8547-5c4ef6019b0e (/home/agent/calternal)
    macos-01-std 47d4bbea-081e-4f34-84a1-0e15bc35e5e5 aae230c6-a772-44ce-9874-70479d1287b0 (empty dir, clone first)
    control host 4c48f064-0b18-44a6-a187-455b87e120cc 33afa16c-cbe7-4d0b-8cc6-4a3685743ef4
  • SSH: use netbird ssh <user>@<name>.vpn.kayg.org with the FQDN. VMs can't reach each other (NetBird groups pending), so relay copies through the control host. Mac lock: mkdir /tmp/mac-bench.lock with a holder file, released by an EXIT trap.

  • Preview (mockups): /srv/calternal-preview/site on 8by64-compute01, served by rootless podman calternal-preview.service (user calternal). As root: copy the site, overlay the build, swap, then systemctl --user -M calternal@ restart calternal-preview.service. The bind mount follows the inode, so the restart is required. review.html is the index of what waits for kayg.

  • Prod (calternal.cloud, 10.69.69.83): reachable only through compute01 (netbird ssh agent@8by64-compute01 'netbird ssh --no-browser root@10.69.69.83 bash -s'). Rootless podman user calternal; image localhost/calternal:current, with :rollback = 7a86367e. Data is in /srv/calternal-app/data (single-root layout until the tiering migration). Current prod: d83e54db (deployed by hand on 29 Oct, 22:03 IST). Never deploy without a green train and kayg's approval.

  • Codex is off (Claude-only rule, and the pool quota is exhausted for about 5.6 days).

  • Memory for this project is under ~/.claude/projects/-home-kayg-Developer-calternal/memory/ (MEMORY.md index). The decision files calternal-decisions-*.md are the source of truth for product decisions.

Decided today (already recorded in memory)

  • Quota layout A: the split is mandatory, with folder names appdata and userdata. Per #761, userdata is the same tree on SSD and HDD.
  • #759b plan approved: app-controlled scratch; commit-evidence pinning; offline lock-family upgrade.
  • Undo K1 per device, K2 keep their text, K3 cursor back to where it was.
  • IMAP slice 0, tiering slice 1 and the simple deploy script: go.
  • BM1 Mac numbers come from the Mac VMs, never the Studio host.
  • When field = bar morph (don't ask again). Glass, search preview and indexing ring B are approved → port.
  • Calendar: tapping an event morphs the bar into the event sheet; inline live edits; notes open full; heatmap of logged hours; the day zooms out of its cell.
  • Calendar density: Relaxed by default, adaptive to the pane, and pinch zoom decides it.

Verification that everything is saved

Rechecked after the pause on 10by32-01, 6by32-compute01, 6by32-compute02 and 8by64-compute01. For every worktree, either its HEAD is on a remote branch, or a remote wip/* branch has its exact tree, working files included. The one exception is 8by64-compute01 wt/deploy-fix/.job-evidence/ (219 MB of test evidence, not code), which is archived on the control host instead of in git. macos-01 has no leftovers, and its Mac lock is free.

Evidence archives (control host)

~/calternal-reports/evidence-10by32-0{1,2}-20261030.tgz (old std VMs, including the calendar-2 screenshots) and ~/calternal-reports/evidence-8by64-01-deploy-fix-20261030.tgz.

🤖 Generated with Claude Code

Handover from the Calternal orchestrator, 2026-10-30 (night, IST). **All work is paused** at kayg's request. Every job was told to commit and push its work, and every worktree on every Calternal host was swept: uncommitted work went to `wip/…` branches, and unpushed commits went to their own branches. ## Rules in force - **Claude subagents only** from 2026-10-30 21:10 IST, for at least 24h and until kayg lifts it. No Codex `delegate_task` and no Codex CLI. The pool's Codex quota is also exhausted for about 5.6 days. - **Maintenance goes to the maintainer thread first**, and to kayg only if it can't resolve it. This covers tokens, VM setup and NetBird. - **Three review rounds at most**, then a plan doc and a simpler design. Foundational work gets a plan (sizes, big-O, failure table, scaling tests) before any code. - **Nothing merges until kayg approves.** Trains run the full Playwright suite, with the first run counting. - **Briefs must say "never ask: decide, note it in the PR, continue".** Two remote jobs sat for hours on a question nobody saw. ## Hosts | Host | Owner | Notes | |---|---|---| | 10by32-01-std (cua, arm64) | Calternal | T3 env `21f623fe-e89a-41e6-96b0-ab610e8a5c5f`, project `mcp:fbd6ba53-3c0c-4dc3-b7a4-6d8b4e5a2716`. **Maintainer needs a reboot** (free-page reporting); it's idle now; the maintainer has been told. To be phased out for **calternal-dev-02-std** (coming). | | 10by32-02-std (cua) | Infraternal | | | macos-01-std (lume) | Calternal | T3 env `47d4bbea-081e-4f34-84a1-0e15bc35e5e5`; Mac lock `/tmp/mac-bench.lock` | | macos-02-std | Infraternal | | | 6by32-compute01 (agent, x86) | Calternal | T3 env `2f385a8d-4422-48d7-ab4e-4bd35ddcb7f8`, project `mcp:b1ad3b92-e096-42f7-8547-5c4ef6019b0e` | | 8by64-compute01 | Calternal CI and staging | CPU headroom is reserved by the pool | | 6by32-compute02, 8by64-compute02 | Infraternal | Borrow only by asking first | | perf-test-02/03 | shared | measurement only, via `perf-run.sh` | **Machine split agreed with Infraternal and reported to kayg (2026-10-30 night):** - **Calternal:** 8by64-compute01 (CI/staging; never borrow it), 6by32-compute01, 10by32-01-std, macos-01-std, plus calternal-dev-02-std when it exists. - **Infraternal:** 8by64-compute02, 6by32-compute02, 10by32-02-std, macos-02-std, plus infraternal-dev-02-std. - **Shared by lock, measurement only:** perf-test-01/02/03 (perf-run.sh / perf-lock.sh; announce in the Infraternal thread first). - **Borrowing:** ask first, then `pool lease --host … --placed`. - **Tonight:** Infraternal borrowed **6by32-compute01** for one job (mesh sign-in) and added `~/infraternal*` under agent there. It hands the VM back in the morning or on request. Build pool: `~/.local/state/build-pool/pool`. It supports `--host` and `--host … --placed`. Lease before every job. ## Work in flight (paused), with where to resume | Work | Branch / head | State | Resume with | |---|---|---|---| | **#759b private upload staging**, implementation (plan #771, head f8b1db01) | `fix/private-staging-759b` @ `cf5f69f2` | **All code in.** Lock registry, private scratch, recovery to `.calternal/recovered/`, prune pinning, flock startup probe. Every failure-table row has a test; the 1,000-round kill -9 loop passes; fmt and clippy pass. A full `cargo test --workspace` was cut off by the pause, with zero failures up to that point. | Run the full workspace tests to the end. Take local release numbers vs dev (`handover/759b/upload_bench.py` on branch `wip/10by32-01-impl-759b-scratch-20261030` (1e6e32d7), with the partial workspace test log next to it). Open the PR with the failure-table→test map. Then x86 perf on perf-test-02/03, and the native macOS tests on macos-01. `target/` was kept on 10by32-01 (a speed-up only; it may be gone after the reboot). | | **Train BM3** (BM2 minus #759): #763, mockup-values, Composer, plus fixes | PR #772, `train/2026-10-30-bm3` @ `cc56ef86` | Rust gates pass (the CI Rust fix cc56ef86 corrected recovery misreading an interrupted save as a delete). **Both browser halves still need a full first run on cc56ef86** (cancelled twice by VM swaps and this pause). | Chromium half and WebKit half in parallel on two hosts, 1 worker, no retries. Watch the throttled-390 CodeMirror layout shift (intermittent). Then kayg's merge approval. | | **Storage tiering slice 1** (#761), with `appdata`/`userdata` names | `wip/6by32-01-tier-761-s1-pause-20261030` @ `b343e0cb` (snapshot of a Codex job: 60 files, +2760/−878) | Mid-work. Gates never run. | A Claude job continues from the snapshot onto `feat/tiering-761-s1`. Read the #761 plan; the quota split is mandatory (layout A). | | **Undo** (#768: K1 per device, K2 keep their text, K3 cursor back) in the block-identity prototype | `wip/10by32-02-undo-768-20261030` @ `d22ae674` (base `proto/block-identity-v7d` 57724c04) | Regression tests added, plus 3 failing cases found (creation undo merges remote text into a neighbour) and the 2 known P2s. Scope: the prototype plus the TS adapter, not the live app. | Make the plan's matrix pass, then the PR → `proto/block-identity-v7d`. | | **Calendar review fixes** (no stripes, full width, back arrow, horizontal paging, agenda rows, long press, drag, pinch zoom/adaptive density) | `review/calendar-2` @ `d34d41f1` | Most fixes done; final screenshots and frame measurement pending. Pinch/density steer may not be included. Screenshots are in `evidence-10by32-02-20261030.tgz`. | Finish, verify the screenshots and frames myself, deploy to preview. | | **Month view mockup** | `review/calendar-month` @ `917dbfa1` | **On preview.** Waiting on kayg (fold Agenda, hollow dots). | Apply kayg's answers. | | **Glass layer, search preview, indexing ring port** | none (the job only read code) | Not started. Findings: port only the deltas of b1d82c10 (Float, follow/reparent, the Bar outside prop exists); the ⌘K search preview pane is **new work** (web's ⌘K is the Composer); the ring hooks into ListFilter/ListSearch; first paint is 239.3/240 KB. The When bar-morph waits for the Tasks UI port. | Branch `port/glass-when-ring` from `train/2026-10-30-bm3`. Scope the preview pane with kayg first, or port items 1 and 4 only. | | **Apple Notes over IMAP slice 0** (#766) | `spike/imap-766-s0` @ `f490ae6b`, summary in #766 comment 70639 | Partly answered. **Key finding: Apple ignores UIDVALIDITY before cleanup**, so reused UIDs delete unrelated notes, and the plan must never reuse UIDs across epochs. 13 plan changes listed in §6. Cleanup verified. | E2-5, the E2-1 fast-edit race, and two-client cases via scripted imaplib. Dovecot runs as agent on 6by32-compute01 (no containers). | | **BM1 first-open on Mac** (#756 @ 3685f29a) | none | Not measured. Two attempts blocked: Cua spaces gone, then Safari automation permissions. | Run on macos-01-std (T3 env `47d4bbea…`; `/Users/lume/Developer/calternal` is empty, so clone first). Chrome works; Safari needs `safaridriver --enable`. | | **Deploy script** (#765) | PR #773 `ops/deploy-simple-765` @ `69d0266d` (+2 commits pushed at pause) | Done, 14 shim tests. | kayg's merge approval. | | **Quota** (#764) and cold growth (#767) | `perf/quota-simple` @ 86f48a39, `perf/cold-growth-on-764` @ 4481816d | Waiting for the layout split (now decided: A, via tiering). Open: an intermittent startup Home-deletion race. | Rebase onto tiering slice 1, then rerun typing CPU on the perf VM. | **Other WIP snapshots from the sweep** (old review and verify worktrees, saved verbatim, low priority): `wip/6by32-01-*-pause-20261030` (ids-verify4/5, lists-b, perf767-*, perf-idle-8, review-733b/c, review-748, verify-742/744), `wip/8by64-01-review-688-pause-20261030`, `wip/6by32-02-calternal-pause-20261030`, and `wip/10by32-0{1,2}-*-20261030` from the earlier VM swap. ## Roadmap (resume in this order when unpaused) **Ship first, since these are almost done:** 1. **Train BM3 → prod.** Run both browser halves on `cc56ef86` in parallel. Then kayg's merge approval, then deploy with `scripts/deploy-prod.sh` once #773 is merged. Until then the manual method from 29 Oct (backup + `:rollback`). 2. **#759b private staging.** Finish the workspace tests and open the PR. Then x86 perf on perf-test-02/03 (≥95% of dev, per plan §3), native macOS tests on macos-01, an independent review (3 rounds max), and the next train. 3. **Deploy script #773:** merge after kayg's approval. **Storage line (strictly in order):** 4. **Tiering slice 1 (#761)** from snapshot `b343e0cb`: the split `appdata`/`userdata` layout, plus an offline migration command for single-root installs. It goes through review, then a train. Prod migration is a separate, by-hand, approved step. 5. **Quota #764 and cold growth #767:** rebase onto slice 1. Re-measure typing CPU (≤2% at 100k) and idle on the perf VM. Fix the intermittent startup Home-deletion race. Then a train. **UI line:** 6. **Calendar.** Finish `review/calendar-2`: I verify the screenshots and frame times, then it goes on preview. Apply kayg's month answers. After grill round 2, mock up the event sheet. Then port Calendar into apps/web. 7. **Glass port**, from `train/2026-10-30-bm3`: the Float portal layer (item 1) and indexing ring B (item 4). Add the search preview pane only if kayg scopes it. The When bar-morph waits for the Tasks UI port. 8. **BM1 (#756) first open on Mac:** measure on macos-01. If the blur is the cause, use the pre-blurred backdrop fallback. Then ship. 9. **Composer:** the Safari/WebKit contrast check on Mac, still unmeasured. **Editor and data line:** 10. **Undo (#768)** in the prototype, from snapshot `d22ae674`. Then block identity (#758) into the app, then tasks-create plus the Composer. 11. **Apple Notes over IMAP (#766).** - Revise the plan with slice 0's 13 changes. Most important: never reuse a numeric UID across UIDVALIDITY epochs, because Apple deletes by stale UID. - Finish slice 0's open cases: E2-5, the E2-1 race, and the two-client cases. - Then slice 1. **Later (approved direction, not started):** - the Tasks UI port (ADR 0066), which unlocks the When field; - the Contacts UI on CardDAV; - calternaldav calendar plus a Reminders test fleet (CA14); - voice, photos, sharing, money; - the launch QA pass (#622: 5 first-user subagents). **Infra:** move Calternal jobs to **calternal-dev-02-std** when the maintainer sends its T3 ID (user `cua`; same baseline as provision-10by32). 10by32-01 is idle for its reboot, then being phased out. ## Proposed next session (kayg didn't start it; all jobs stopped) 1. BM3 both halves (Chromium on 10by32-01 after its reboot, WebKit on 6by32-compute01 once Infraternal hands it back). 2. #759b: workspace tests to the end, PR, x86 perf on perf-test-02, review round 1. 3. Tiering slice 1 from snapshot. 4. Calendar-2 finish, then my own screenshot and frame check, then preview. 5. BM1 on macos-01. 6. IMAP plan revision (docs only). 7. Undo in the prototype if there's room. Not without kayg: the glass port's preview-pane scope, the event sheet mockup (needs grill round 2), any deploy. ## Waiting on kayg (product) 1. **Month view** (on preview): fold the Agenda pane in Month view on desktop (titles truncate at 113 px)? Keep hollow dots for planned events? 2. **Event sheet, grill round 2:** Q8 month drag keeps the time; hold opens the menu and moving turns it into a drag. Q9 the two-line time/day with no dot. Q10 Note · Task · Photo · Voice buttons. Q11 everything is added inside the sheet. Q12 the order of rows. Q13 "Didn't happen" on past planned events. After that, the event sheet mockup. 3. **Merge the deploy script #773**: plain bash, backs up state only, 14 shim tests. Backups are confirmed covered by backup01. 4. **Merge Train BM3 #772** once both browser halves pass on cc56ef86. They were never completed after the VM swap. 5. **Search preview pane scope.** The approved mockup has a ⌘K Search with results on the left and a glass note preview on the right. In apps/web, ⌘K is the Composer, which has no preview, so the pane is **new work**, not a port. Options: build it now as part of the glass port; or port only the glass layer and the ring, and do the preview with the search work later. Recommended: the latter. ## Waiting on kayg (raised by the maintainer) Rotate the Honcho MCP bearer token (it leaked into a job log); root NetBird SSH to prod; a router DHCP reservation for the Studio; NetBird groups for the new VMs (VM-to-VM SSH). ## How to operate (for whoever resumes) - **Peers** (find them with ListAgents; session names change): - the **maintainer thread** (`2026-10-29-can-you-please-netbird-ssh-1f-*`) handles infra, tokens and VMs; - **infraternal-*** handles machine scheduling and the build pool, which it owns. - Reply with SendMessage. Peer messages are information, not kayg's approval. - **Launching a job:** - `pool lease --project calternal --class backend|ci-train|light --job X --est-gb N --mem-gb N --arch any --host H --path P` (use `--placed` to record a job that's already running). - Then `delegate_task` with target `{environmentId, projectId, providerInstanceId:"claudeAgent", model:"claude-sonnet-5-5"}`. - The brief must be self-contained. It must say: - start the heartbeat as a `systemd-run --user` unit; - use build-slot.sh; - read the Forgejo token in code from `~/.local/share/forgejo-cli/keys.json` and never print it; - never print config or secret files; - **never ask questions: decide, note it in the PR, continue** (remote questions aren't surfaced, and two jobs sat for hours). - Release the lease when the job ends. - **T3 targets:** | Host | environmentId | project | |---|---|---| | 10by32-01-std | `21f623fe-e89a-41e6-96b0-ab610e8a5c5f` | `mcp:fbd6ba53-3c0c-4dc3-b7a4-6d8b4e5a2716` (/home/cua/calternal) | | 6by32-compute01 | `2f385a8d-4422-48d7-ab4e-4bd35ddcb7f8` | `mcp:b1ad3b92-e096-42f7-8547-5c4ef6019b0e` (/home/agent/calternal) | | macos-01-std | `47d4bbea-081e-4f34-84a1-0e15bc35e5e5` | `aae230c6-a772-44ce-9874-70479d1287b0` (empty dir, clone first) | | control host | `4c48f064-0b18-44a6-a187-455b87e120cc` | `33afa16c-cbe7-4d0b-8cc6-4a3685743ef4` | - **SSH:** use `netbird ssh <user>@<name>.vpn.kayg.org` with the FQDN. VMs can't reach each other (NetBird groups pending), so relay copies through the control host. Mac lock: `mkdir /tmp/mac-bench.lock` with a holder file, released by an EXIT trap. - **Preview** (mockups): `/srv/calternal-preview/site` on 8by64-compute01, served by rootless podman `calternal-preview.service` (user calternal). As root: copy the site, overlay the build, swap, then `systemctl --user -M calternal@ restart calternal-preview.service`. The bind mount follows the inode, so the restart is required. `review.html` is the index of what waits for kayg. - **Prod** (calternal.cloud, 10.69.69.83): reachable only through compute01 (`netbird ssh agent@8by64-compute01 'netbird ssh --no-browser root@10.69.69.83 bash -s'`). Rootless podman user `calternal`; image `localhost/calternal:current`, with `:rollback` = 7a86367e. Data is in `/srv/calternal-app/data` (single-root layout until the tiering migration). Current prod: `d83e54db` (deployed by hand on 29 Oct, 22:03 IST). Never deploy without a green train and kayg's approval. - **Codex** is off (Claude-only rule, and the pool quota is exhausted for about 5.6 days). - **Memory** for this project is under `~/.claude/projects/-home-kayg-Developer-calternal/memory/` (MEMORY.md index). The decision files `calternal-decisions-*.md` are the source of truth for product decisions. ## Decided today (already recorded in memory) - Quota layout A: the split is mandatory, with folder names `appdata` and `userdata`. Per #761, `userdata` is the same tree on SSD and HDD. - #759b plan approved: app-controlled scratch; commit-evidence pinning; offline lock-family upgrade. - Undo K1 per device, K2 keep their text, K3 cursor back to where it was. - IMAP slice 0, tiering slice 1 and the simple deploy script: go. - BM1 Mac numbers come from the Mac VMs, never the Studio host. - When field = bar morph (don't ask again). Glass, search preview and indexing ring B are approved → port. - Calendar: tapping an event morphs the bar into the event sheet; inline live edits; notes open full; heatmap of logged hours; the day zooms out of its cell. - Calendar density: Relaxed by default, adaptive to the pane, and pinch zoom decides it. ## Verification that everything is saved Rechecked after the pause on 10by32-01, 6by32-compute01, 6by32-compute02 and 8by64-compute01. For every worktree, either its HEAD is on a remote branch, or a remote `wip/*` branch has its exact tree, working files included. The one exception is 8by64-compute01 `wt/deploy-fix/.job-evidence/` (219 MB of test evidence, not code), which is archived on the control host instead of in git. macos-01 has no leftovers, and its Mac lock is free. ## Evidence archives (control host) `~/calternal-reports/evidence-10by32-0{1,2}-20261030.tgz` (old std VMs, including the calendar-2 screenshots) and `~/calternal-reports/evidence-8by64-01-deploy-fix-20261030.tgz`. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Author
Owner

Closing in 14 Nov housekeeping: Superseded by the handover in #1106 (2026-11-13); the 10-30 pause state is long obsolete.

Closing in 14 Nov housekeeping: Superseded by the handover in #1106 (2026-11-13); the 10-30 pause state is long obsolete.
kayg closed this issue 2026-11-13 19:35:38 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal#774
No description provided.