gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit613ae0ec613ae0ecMerge branch 'bs3' into mainTracker613ae0ec/missions/SR1-search-roundtrip.md

2.1 KB

  1. # SR1: does search.hl make an extra server round trip per keystroke?
  2. Origin (Tracker's later step, LOG 2026-11-08 13:0x): since HM50, typing in search calls navigate(replace) per keystroke; that changes q -> startText -> query, so search.hl's guard `query != v` drops the searchDb answer and `found` is re-derived from the address text. Question: does that re-derivation add a server round trip (or a second searchDb call) per keystroke compared with one call per keystroke?
  3. Tracker's reading (unconfirmed): measure first; change code only if there is a real extra round trip, and then with the smallest change that keeps the visible behaviour (typed text, caret, address /search/<q>, results) the same. If the cause is in the framework, STOP with a short repro.
  4. ## Rules
  5. - Read /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md fully. HL-STANDARD.md is in your system prompt and applies (L1-L19, F1-F21). No hand-written JavaScript in the app.
  6. - Scratch only /media/STORAGE/claude-scratch/tracker/SR1/. Worktree: `git worktree add -b sr1-search /media/STORAGE/claude-scratch/tracker/SR1/wt main`; bin/ is untracked: copy it from /media/STORAGE/projects/WorldAPI/tracker.worldapi.org/bin. Ports 8703-8706 (check `ss -ltnp`; never 8700).
  7. - Measure on the gate fixture (as tests/browser.mjs builds it) with Chrome DevTools Protocol from a harness in your scratch dir: type a 9-letter query letter by letter; count per keystroke the WebSocket frames / server face calls (and searchDb calls if visible in the server log). Loreana test Chrome http://127.0.0.1:9223 may be used: one own plain tab, closed in finally; or a headless Chrome you start and stop yourself.
  8. - If you change code: all 11 gates of deploy.sh GATES, LC_ALL=C, under `flock /media/STORAGE/claude-scratch/tracker/gates.lock`, starts wait >=120 s; measure again; commit with subject starting exactly `|||PR ` on the branch. Do NOT push, merge or deploy; no tickets, LOG, STATUS.
  9. - Stop everything you started; list it. Report /media/STORAGE/claude-scratch/tracker/SR1/REPORT.md; final message <=6 lines (round trips per keystroke before/after, commit if any, gates).
  10. - Limit ~40 requests.

Branches

Latest commits

  • 613ae0ecMerge branch 'bs3' into mainTracker
  • 1383264b|||PR BS3: keep shared synchronous sorting fastTracker
  • 63e5ba1a|||PR BS3: guard boot imports and share resumable sort buffersTracker
  • 310613f1Merge branch 'records-dp72' into mainTracker
  • 6f7b61ba|||PR records: deploy-swap fix live, Kunibert findingsTracker
  • c41587d2Merge branch 'bs2' into mainTracker
  • 0dd538a6|||PR BS2: finish the boot index in slices so a booting instance keeps answeringTracker
  • 019d5cedMerge branch 'records-1110' into mainTracker
  • f88ae8b9|||PR records: day56 toggle live, reviewTracker
  • b6b3bb4dMerge branch 'ap56e' into mainTracker
  • 29a26da9|||PR AP56e: guard hidden show helpers during session syncTracker
  • 7c9ec236|||PR AP56e: re-vendor Hybriel set day56 (source 36ae83a8, bin c1f595a2)Tracker
  • 4b54f6f9Merge branch 'records-audit' into mainTracker
  • cab4a3bc|||PR records: branch audit, PR-onlyTracker
  • 641e1c4cMerge branch 'records-dp71' into mainTracker
  • 85a6e9f5|||PR records: DP71 checked in ChromeTracker
  • f5be5f18records: gitoria PR-only planTracker
  • 46a37036records: DP71 liveTracker
  • 3bcb7039Status/log: DP71 in progressTracker
  • 5b3a5693Log: SR1b merged via PR 2, DP71 startedTracker