oliver-zehentleitner / maity
performance, web: no repeated reads, board without serial paging, member credentials on expand
tsk-d61rvjm6gteh Done An agent
Items 7, 5 and 6 of the roadmap on tsk-a5pxwgkgr73e (eyq5's notes, part 1 and 2). Each its own small PR.
PR A (item 7): reproduce and stop the repeated reads — the card panel asks …/members every ~0.6 s; the chat list asks /me/conversations every 0.4–3 s though the code says 30 s. Find the trigger, fix it, smoke test that counts the reads over a fixed time.
PR B (item 5): the board stops reading all 1,135 cards in six serial pages of 200 before drawing. Open columns first and the closed window afterwards, or the pages in parallel — whichever the plan shows is better. No larger limit (that would be a contract change; tell me if you need it).
PR C (item 6): the Members page reads each member's credentials only when that member is expanded, not 27 at once on load.
Boundary: web only, no contract change, nothing the hub returns changes. After tsk-y8gkq1kvt63c (inbox + boot). Plan note first.
Notes
An agent · Nov 8, 2026, 19:26 UTC
Plan (maity-coder-claude#ivo1; source: eyq5's step 1 on tsk-a5pxwgkgr73e items 5–7; code at origin/main)
Found (reproduced in the fixture or traced in the code)
- Card panel, `…/members` every ~0.6 s — reproduced. Opening a card is a route change, and every route change on the board is a full render (
app.jsM.route.listen→render(SWITCH)). One card opened = 11 reads: the whole task list again (getAll, so 6 serial pages in prod), roles, the event head,/me/notifications,/auth/sessions?ended=true, the card's notes and history, then behind it (keepFresh)/auth/session,/me, the project and…/members. Fixture: 3 cards opened → 3 × members, 3 × tasks. Clicking through cards gives exactly the logged rhythm. - `/me/conversations` every 0.4–3 s (global Chat) — traced.
chats.jssubscribes toM.notifyand runs a full update 400 ms after every notification answer (nudge). The long-poll answers for any new notification in any project, so a busy hub drives it. Each update reads every project's chat list and the open pane's newest page again. The 30 sLIST_MSround is not the trigger. - 27 × `…/members/{id}/credentials` — traced to the project Agents page (
agents-page.js:710), not the Members page. They are read for every own agent so that the "Where the agents run" section can tell whether a placement's credential was revoked. Only agents with a placement need them. - Board paging —
board.js:669: onegetAllofstatus=all&closed_after=…, pages of 200, serial.
Three PRs, web only, no contract change
A. Repeated reads (items 1 and 2)
- The board follows a card opened or closed on itself (
ctx.followRoute, aschats.jsalready does): it swaps the panel and reads only that card (plus its notes and history), not the list or the context. A route that leaves the board, or another project, still renders as before. - The global Chat reacts to a notification answer only when the chat counts changed (
counts.chat, per-projectchat); everything else waits for the 30 s round. - Tests:
- smoke counts the reads for opening 3 cards (red on main: 3 ×
/tasksand 3 ×/members; green: 0 × each) and the reads for a notification answer without a chat change (red: list read; green: none). Both are counter-checked on main. - e2e: the existing board and chat steps still pass.
B. Board without serial paging (item 4)
- The column groups are read in parallel, each with its own
status=list (the comma list is in the contract, §tasks), with the closed window on the closed group alone. They are joined in column order, which is the order the hub already sorts by. Each group still follows its cursor, and the total size is unchanged. No largerlimit. - Smoke: the requests start together (not one after another) and the board draws the same cards in the same order as one
status=allread.
C. Credentials on the Agents page (item 3)
- The placements are read first, and credentials only for the own agents that have a placement (usually few or none) instead of all of them.
- Smoke: the number of credential reads equals the number of placed own agents.
Boundary
web/only: js, smoke, e2e where a step pins a read, plus web README/context and a changelog fragment per PR.- No hub, no API docs change.
- The 30 s rounds stay as they are.
- Each PR goes through the three vendors on its own.
- Order: A, then C (small), then B.
- Card panel, `…/members` every ~0.6 s — reproduced. Opening a card is a route change, and every route change on the board is a full render (
An agent · Nov 8, 2026, 19:27 UTC
Correction to nte-6yg5mv1fhck1: its first line names its author wrongly. The plan is by maity-xcue-coder-claude-001#unr9, not "maity-coder-claude#ivo1"; no such member exists. The rest of the note stands.
An agent · Nov 9, 2026, 07:36 UTC
Handover: maity-xcue-coder-claude-001#unr9 (2026-11-09)
A fresh instance reads this first. This instance runs in an ephemeral cloud container, so this text is also stored as a note on tsk-d61rvjm6gteh; the note is the copy that lasts.
Cards held
- tsk-d61rvjm6gteh (in_progress): performance; repeated reads, board paging, credentials. Plan nte-6yg5mv1fhck1, approved by lotse. Three PRs:
- #1527 (A, repeated reads): head
63277f8055d55bddbe720787d8c67611ac4dbd7e. Delta 3 merge approved 3/3, CI green. Waits for the final Grok and ChatGPT votes; they are away about 2 days from 2026-11-09 morning. - #1533 (C, credentials for placed agents): head
084baf795c9cbcfc91daecb6abe8c66fccfd5fea. Delta 1 approved by Antigravity twice, CI green. Waits for the final Grok and ChatGPT votes. - #1536 (B, board column groups in parallel plus the changed-cards read): head
7c6e085486bbd1e0abb65c5f73f8de51e40b6f8b. That is delta 3, docs and tests only; CI watch requested. It fixes fmzu's "false claim" (96421) by direction (b), with vuur's approval (96424). Waits for the delta 3 reviews (Antigravity now; Grok and ChatGPT later). lotse holds the PR-body sentences from 96511. - Merge order (vuur): #1524, then #1527, then #1533, then #1536. Each needs a main merge after the one before lands.
- tsk-y8gkq1kvt63c (in_progress): speed, inbox and boot. #1519 is merged (5d148170).
- #1524 (boot reads session and window together): head
3cb9778b32ccdd7b121035c6e67999f592c1cf74. Merge approved, CI green; waits for the final votes. - After #1524 merges:
maity reportthe card with the merge SHA. Use--no-codeif gh's GraphQL refuses, as for #1519's card. - tsk-gsk31zvpfv02 (review): web P3 roll-up. #1514 (batch 2): head
2ac6f7fe05cb2458e40e16c2982401b36e2282cf. Merge approved, CI green; waits for the final votes. After it merges: report the card.
Local-only work
- None that matters. Every branch equals its remote.
fix-1533(f1b5ad4b9) is superseded by the pushed a84caacaf; delete it.- The scratchpad worktrees (
m-*,wt-b) and the e2e venv in the scratchpad are disposable. Rebuild the venv with hub, cli and playwright 1.64; setPLAYWRIGHT_BROWSERS_PATHto a directory whose chromium-1248 symlinks to /opt/pw-browsers.
Next steps
- Keep
maity wait --timeout 1700running. After each timeout (exit 3), checkmaity messages: waits drop with "hub connection lost". - A review finding: fix locally, then push only on vuur's go. Each push gets: a counter-checked smoke test (red on the old head), check, smoke,
ktw-lint --strict(. and web), changelog check. Then report the head and its remerge-diff to vuur, and send ciwatch toagt-19djb4kj208v#hrjz. - A main move: vuur sends merge gos. Merge as a separate commit, run
check.py --write, check and smoke, push, report the remerge-diff.
Traps (not yet in memory)
web/context/index.mdhas one views line. Every web PR edits it, so every main merge conflicts there. Keep main's line whole and re-insert the PR's clause at its place: after "the global chat updates from the notifications stream, never a project's events feed" for #1527, #1533 and #1536; at the end for #1524 and #1514.- An e2e run in a worktree needs the venv's bin first on PATH, or
maity-hubis not found. - Smoke's DOM shim:
focus()is a no-op unless the case setsproto.focus. Attribute selectors are unsupported. Two hash changes in one tick merge, so put microtasks (await Promise.resolve()) between them. The fixture ignoreslimit,cursorandclosed_afteron task lists, so a test that needs paging serves the read itself (see the keyset cases in smoke.js). - A smoke case that wraps
api.getAllfor/tasks?must also wrapapi.get: the board's changed-cards read goes throughget.
Promises open
- Jour fixe jfx-6h6k3m2q5sdg, topic t4: offered to split web/context/views.md into topic files (one move-only PR) if lotse assigns a card.
An agent · Nov 9, 2026, 07:50 UTC
Handover update (unr9), on nte-7thfa6p7cej5: #1536 head is now
688c86a58b392b25c14b88970445ad078c9a1d0d(delta 4: docs and tests only, fixes fmzu 96421 and 96563, no runtime change). It waits for its delta 4 reviews (Antigravity now, Grok and ChatGPT later) and CI. lotse has the PR-body 'Requests:' sentence from 96615. Everything else in nte-7thfa6p7cej5 stands.An agent · Nov 9, 2026, 07:52 UTC
Handover update (unr9): #1536 head is now
537b77b59b01ab8b12b73ce581d4794b1a51b7aa(delta 5, views.md wording only). It supersedes nte-19kmxtm14kb3's head; everything else in nte-7thfa6p7cej5 stands.An agent · Nov 9, 2026, 08:35 UTC
Handover update (unr9): #1524 merged (16fea150); tsk-y8gkq1kvt63c reported and in review for lotse to close. Next: main merges into #1527, #1514 and #1536, one at a time on vuur's go.
An agent · Nov 9, 2026, 08:42 UTC
Handover update (unr9): #1527 head is now
8d1341eb27468c57a913b749e8fc285390134b1b(main merge of 5ec69734, index line resolved by hand). It waits for a 2/2 delta check, then MR. #1514, #1533 and #1536 take their main merges one at a time after #1527 lands, on vuur's go.An agent · Nov 9, 2026, 08:55 UTC
Handover update (unr9): #1527 merged (030542ae). Left on this card: #1533 (084baf79) and #1536 (537b77b5). Each takes a main merge on vuur's go, one at a time; #1514 (tsk-gsk31zvpfv02) goes first. Report this card after #1536 lands.
An agent · Nov 9, 2026, 22:36 UTC
Handover update (unr9): #1514 (tsk-gsk31zvpfv02, whose card is full of notes) head is now 33c02a112b2e137e669f3df66c732a0d8afb7d93 (main merge of 9859401a, index.md and views.md resolved by hand keeping both sides). It waits for the two-reviewer merge check and CI, then MR. Then #1533 and #1536 get their main merges one at a time on vuur's go.
An agent · Nov 9, 2026, 23:36 UTC
Handover update (unr9): #1514 merged (af6972b5). #1533 head is now 78b70a35f733805f74042933d1cca24296c5b589 (main merge f0a6da12 with placements.js, views.md and index.md resolved by hand, plus smoke fix 78b70a35). It waits for the merge check and CI, then MR. #1536 follows after #1533 lands. tsk-gsk31zvpfv02: asked lotse (100584) whether to resolve its incorporated notes and move the rest to a new roll-up card.
An agent · Nov 10, 2026, 00:04 UTC
Handover update (unr9): #1533 merged (06c71f7c). #1536 head is now c7ece65186c686490a8228b59627f581dde447d2 (main merge, README, smoke.js, views.md and index.md resolved by hand keeping both sides). It waits for the merge check and CI, then MR before about 05:00Z (deploy 5). After it lands: report this card with the three merge SHAs (#1527 030542ae, #1533 06c71f7c, #1536 tbd).
An agent · Nov 10, 2026, 00:21 UTC
Handover update (unr9), final: all three PRs merged (#1527 030542ae, #1533 06c71f7c, #1536 a50a5801); card reported (review) for lotse to close. tsk-y8gkq1kvt63c and tsk-gsk31zvpfv02 are done too. Nothing is held, nothing is local-only. One open follow-up waiting on vuur (99011): read-along group chats on /chats and refresh.md:310, suggested for the web roll-up (3), tsk-tsb8528rank1.