Commit Graph
71 Commits
Author SHA1 Message Date
araharah-executor 99e28de6a1 docs(07-01): complete fullscreen capability layer plan — SUMMARY
- 4/4 tasks, 157/157 web tests, typecheck clean; PX-04 fullscreen + safe-area re-resolution shipped
2026-10-25 03:47:47 +08:00
araharah-executor a7d8dbf345 docs(07): revise phase 07 plans — wire the safe-area watch, fold the corpora into budget-audit, add the subrequests row, resolve the research open questions
Checker-issue round 1 on the Phase 7 plan set:

BLOCKER (07-01) — watchSafeAreaChanges and watchFullscreenEvents were created
and unit-tested but never called in production: main.ts:74 was the only
safe-area site and was not in files_modified, and the fullscreen events were
never registered. Insets never re-resolved at runtime on a real device while
every gate stayed green.

  - web/src/main.ts joins 07-01's files_modified; task 4 step 8 wires
    watchSafeAreaChanges(getWebApp()) directly after the boot site's
    applySafeArea(resolveSafeInsets(getWebApp())) line.
  - task 4 step 6 registers watchFullscreenEvents once at the guidance-start
    edge in route.ts, with a deliberately no-op callback (events are
    observability, never correctness).
  - New grep acceptance criteria pin BOTH production call sites; two new
    must_haves key_links name them; T-07-06b now names the boot-site call.

WARNING (07-04 / VALIDATION.md) — the golden corpora were attributed to 07-04
t3, which never ran them. Folded into the budget audit: runGoldenCorpusGate()
re-runs `npm run routing:corpus` and `npm run search:corpus` as child
processes (the same shape runCpuLadderGate already uses), so the ONE
budget-audit command enforces SC4.a/SC4.b. VALIDATION.md rows now name 07-04
t2 and the budget-audit command.

WARNING (07-02 t3) — the landscape-leg snippet omitted the required setup.
The action now says to copy the existing corridor guidance leg VERBATIM
(setup stubGuidanceRoute(page, corridorModel) + guideQuery carrying dest +
fixpair + waitMode/expectGuide) and change ONLY the name, the scheme, and the
viewport; two grep criteria pin the setup and the query.

WARNING (07-04) — D-06/SC4 name subrequests but nothing measured beside the
50/request ceiling. Added runSubrequestClassGate(): a per-request-class
inventory derived from the Worker's route table (engine-A /api/route = 0
external subrequests; the cron tick's Telegram send is the only recurring
class; KV ops tracked separately against their own ceiling). Unmeasurable
counts read "not measured", never 0. docs/BUDGETS.md gains a
"## Subrequests per request class" section and the record states that the
inventory is source-derived, not a live Workers Logs metric.

WARNING (07-RESEARCH.md) — "## Open Questions" is now
"## Open Questions (RESOLVED)" and each of the five items carries its adopted
disposition; Q2/Q3 resolve to "answered by measurement at the launch gate per
D-04/D-06".

INFO (07-VALIDATION.md) — nyquist_compliant flipped to true and the sign-off
is approved 2026-10-25 after the map-row correction.

Waves, dependencies, autonomous flags, and the other three plans are unchanged.
2026-10-25 02:44:30 +08:00
araharah-executor 27b340fa6b docs(07): plan phase 07 — hardening + private launch (6 plans, 3 waves) 2026-10-25 02:31:50 +08:00
araharah-executor 0d437db10c docs(06): phase 6 PASSED — verification + checkpoint resolution 2026-10-25 01:08:28 +08:00
araharah-executor f9fd2b81d3 docs(06-08): device gate APPROVED 2026-10-25 01:07:27 +08:00
araharah-executor e546bcb2e0 docs(06-08): complete the automated half — captures + replay knob; the ONE REAL DRIVE is the BLOCKING gate
- task 1 done: the ?drive= replay knob, the seven guidance legs, the
  DSGN-02 guidance gallery — all committed and green (web 148/148,
  bot 125/125, routing 65/65, captures 20/20)
- two device-gate bugs fixed before the road (G7b confirm survival,
  G7c puck+freshness)
- task 2 = checkpoint:human-verify gate=blocking: the executor STOPPED
  per protocol — 06-DEVICE-GATE.md carries the real-drive checklist
  (Parts A/B/C); device results are never faked
- STATE.md and ROADMAP.md intentionally untouched (orchestrator-owned,
  per the dispatch)
2026-10-24 21:41:06 +08:00
araharah-executor 001c8ac8b0 docs(06-07): complete the cron turn-cards plan — SUMMARY
- continuation session: adopted the dead executor's in-flight task-2 GREEN,
  finished + committed it atomically (ad61229), then executed task 3 (9c50fb0)
- 125/0 bot tests, 65/0 routing tests, typechecks clean, 8 committed PNGs
- STATE.md and ROADMAP.md intentionally untouched (orchestrator-owned)
2026-10-24 19:55:47 +08:00
araharah-executor 37ffefe11c docs(06): A1 decision — c3 now / c2 next milestone; D-12 street-bearing ratified 2026-10-24 19:36:54 +08:00
araharah-executor c73c96db3c docs(06-06): complete the guidance pump plan — camera, BackButton graph, envelope flows 2026-10-24 15:34:46 +08:00
araharah-executor 7dcaa00ea3 docs(06-05): complete the guidance cockpit surface plan — glyphs, banner/cards builders, capability guards 2026-10-24 14:24:03 +08:00
araharah-executor 46acbf4a53 docs(06-04): complete the engine-A server-surface plan — graph built, /api/route live, A1 escalation surfaced
- 3 tasks: build tool + real 14.7MB KL graph; TDD /api/route + backend #2 +
  RP re-pins; upload/measure/fork-docs + the A1 ladder to its decision point
- gates: routing 65/65, bot 103/103, both typechecks clean
- escalations inside: A1 CPU gate FAIL (ladder a rejected on correctness,
  b sound-but-net-zero, c needs maintainer sign-off); R2 bucket awaits
  one-time dashboard activation (user_setup)
- STATE.md / ROADMAP.md untouched (orchestrator-owned)
2026-10-24 13:58:31 +08:00
araharah-executor c96f186da6 docs(06-03): merge continuation-pass verification into the plan summary
- session-continuation note (late-flush observation + post-flush gate
  re-verification by the continuation agent)
- plan-agnostic phrasing for the future worker-router RP2 widening
2026-10-24 13:10:18 +08:00
araharah-executor 3f06fdc281 docs(06-03): complete the guidance-envelope service + /api/guidance plan 2026-10-24 13:09:20 +08:00
araharah-executor 371b2a0ad7 docs(06-03): complete guidance envelope service + /api/guidance plan
- 2/2 tasks TDD RED->GREEN: envelope service (0cfa0bd/c87dc7d) +
  /api/guidance endpoints (212aa57/7875ed4)
- GE4-GE7 + RP2 re-pinned with their invalidating changes; GE1-GE3 frozen
- 90/90 bot tests green; typecheck clean
2026-10-24 13:08:05 +08:00
araharah-executor a9041fb527 docs(06-02): complete the guidance-brain plan (replays + ETA + throttle)
- SUMMARY: 3/3 tasks, 5 commits, 100/100 web tests, replay-proven D-04
  machine, honest ETA, D-15 throttle; deviations + self-check recorded
- STATE.md / ROADMAP.md deliberately untouched (orchestrator-owned)
2026-10-24 12:53:16 +08:00
araharah-executor 9456a870fe docs(06-01): complete engine-a data-plane plan
- SUMMARY: CSR codec + snapping + typed-array A* (57/57 routing tests,
  625/625 Dijkstra equivalence), 2 documented deviations (header alignment
  padding, compass turn convention), TDD gate sequence intact
2026-10-24 12:16:37 +08:00
araharah-executor 4212d1acd0 fix(06): revise plans per checker feedback — D-12 street-bearing cards by default, split 06-05 task 2, dep/wording/doc fixes 2026-10-24 08:06:42 +08:00
araharah-executor 7fe8c6aa65 docs(06): create phase plans (8 plans, 4 waves) 2026-10-24 07:46:13 +08:00
araharah-executor 6f747b4cb1 docs(05): phase 5 PASSED — verification + close 2026-10-24 06:06:49 +08:00
araharah-executor efba4d6f4c docs(05-05): complete verification-gates plan
- BA9/BA10 + BA5 sentinel extension, five ?fixpair-raced capture legs
  (13/13), RP1/RP2 Worker privacy gates
- two Rule-1 boot fixes (onLoad wiring + consult-after-load) documented
- STATE.md and ROADMAP.md untouched (orchestrator-owned)
2026-10-24 06:04:52 +08:00
araharah-executor 7aa1113a57 docs(05-04): complete web route surface plan
- 4/4 tasks, 5 commits (f710913, d0751c1, 01a75f1, 65952fb, 52c9320)
- 73 web tests green incl. RS1-RS10; typecheck + production build + theme audit clean
- deviations: live-branch routePhase guard (spec state-table precedence),
  controller dep growth for Node-testability, pin-tail 3x8/20 synthesis
2026-10-24 05:40:35 +08:00
araharah-executor 50f22dcbb7 docs(05-02): complete fixture corpus + offline tolerance gate plan 2026-10-24 05:21:59 +08:00
araharah-executor 48627d4102 docs(05-03): complete guidance-session contract freeze plan 2026-10-24 05:10:36 +08:00
araharah-executor 2ee5e4e38b docs(05-01): complete routing workspace plan
- SUMMARY: 3/3 tasks TDD RED->GREEN, 25/25 cases green, 6 commits
- RoutingSource seam + polyline6 codec + fixture backend + loader proof
2026-10-24 05:04:26 +08:00
araharah-executor e5b6c06b12 docs(05): UI-SPEC addendum — card padding convention fixed in live shell 2026-10-24 04:12:51 +08:00
araharah-executor 70e586fd7e docs(05): UI-SPEC approved — checker flags folded (pin tail 8px, exception-class wording, addLayer precision) 2026-10-24 04:06:10 +08:00
araharah-executor f9a140dd84 docs(04): phase 4 PASSED — verification + checkpoint resolution 2026-10-24 03:19:17 +08:00
araharah-executor 280fd68147 docs(04-04): device gate final verdict — PASSED 2026-10-24 03:18:26 +08:00
araharah-executor b427ca071c docs(04-04): /cari menu diagnosis — non-default setMyCommands scopes silently no-op (Telegram-side) 2026-10-24 03:15:11 +08:00
araharah-executor 2c5fff1899 docs(04-04): device-gate verdicts — legs 1-4+6 PASS, leg 5 FAIL (BotFather Main Mini App missing) 2026-10-24 02:54:33 +08:00
araharah-executor 430765c778 docs(04-04): leg-5 carrier note — browser hits the session wall by design; t.me startapp link is the on-device procedure 2026-10-24 02:36:06 +08:00
araharah-executor f33bc76779 docs(04-04): complete webview deep-link hand-off plan — two-carrier resolver + ONBD-03 hooks + device gate escalated 2026-10-24 01:46:39 +08:00
araharah-executor 7b02c7dd4a docs(04-04): the blocking ONBD-02/ONBD-03 device gate — deployed + canaries green, six legs UNVERIFIED pending a real device
- deploy 31138f79 live at https://araharah-bot.araharah-bot.workers.dev;
  MINI_APP_URL == origin; menu button web_app armed; commands
  re-registered (help/privacy/cari); unsigned webhook 401; the live
  app chunk carries 30/30 gazetteer ids + zero crypto tokens
- getWebhookInfo last_error is STALE (2026-10-22, phase-3 era,
  pre-dates both wave deploys; pending 0) — re-read at leg 1
- all six physical legs recorded UNVERIFIED — the phase stays open
  until a real Android/iOS/Desktop walks them; no faked verdicts
2026-10-24 01:44:51 +08:00
araharah-executor 3c790e26de docs(04-03): complete chat-search-surface plan — /cari venue card + alternates + corrected deep-link carrier 2026-10-24 01:23:41 +08:00
araharah-executor 3aec9542a3 docs(04-02): complete golden-corpus + bake-off-close plan
- SUMMARY: 3/3 tasks, 5 commits, corpus gate green at 100% top-3 / 7-7 refusals,
  lever None; deviations documented (fixture-source implication, bbox pin,
  pavilion-kl coordinate fix)
2026-10-24 01:05:25 +08:00
araharah-executor 2e724cbee1 docs(04): commit plan-revision residue + 04-01 SUMMARY 2026-10-24 00:39:32 +08:00
araharah-executor 8b6ad2047f docs(04-01): complete shared-search-module plan
- 3 tasks executed RED→GREEN (6 commits): workspace scaffold + JUPEM
  normalizer, OSA distance + disjoint-tier scorer, curated 30-entry KL
  gazetteer + lazy three-environment loader + GPL/ODbL licensing
- 39/39 suite green; typecheck clean; esbuild inlines the dataset;
  wrangler dry-run exit 0; bot + web suites unaffected
- SRCH-01/SRCH-02 foundation proven: KLCC→suria-klcc, negatives refused
2026-10-24 00:38:58 +08:00
araharah-executor c9458add47 docs(04): plan revision 2 — 04-03 contract wording fixes (inline-card sequencing, async alternatesFor) 2026-10-24 00:14:02 +08:00
araharah-executor 4a83ec6871 docs(04): plan revision 1 — fix wave-1 bundle proof + acceptance-criteria corrections 2026-10-24 00:02:27 +08:00
araharah-executor c0134c7e99 docs(04): pattern map — analogs + conventions for every phase-4 surface 2026-10-23 23:40:46 +08:00
araharah-executor a575ecd139 docs(04): create phase plan — 4 plans in 3 waves (search module, corpus/bake-off, /cari surface, webview hand-off + device gate) 2026-10-23 23:40:41 +08:00
araharah-executor aa34e7b50d docs(04): research verification pass — track .planning/, Overpass UA correction, deep-link MTProto confirmation 2026-10-23 23:40:41 +08:00
araharah-executor 7994c84a40 docs(04): research phase domain — destination search + KL gazetteer
Phase 4 research: in-Worker SearchSource over a curated KL gazetteer.

Two critical platform findings:
- Telegram start_param is NEVER delivered to inline web_app buttons
  (direct links + attachment menu only). The destination id must ride
  as a URL query param on the button's URL; D-11's substance preserved.
- beforeinstallprompt never fires in a WebView. ONBD-03 must use
  Telegram's native WebApp.addToHomeScreen(); iOS status is always
  "unknown" by platform design.

Benchmarked the CPU budget: naive full-corpus Damerau is 52ms at
D-07's max scale vs the 10ms Workers Free limit. Exact-hash-first +
token-prefiltered residual is 0.0003ms.

Also: Phase 2 CS3/CS4/CS5 gates need declared amendments; ODbL
attribution obligation for the OSM-derived gazetteer.
2026-10-23 22:50:13 +08:00
araharah-executor 275879a18b ambek .planning 2026-10-23 22:37:55 +08:00
araharah-executor 1890b5b1ca docs(03): verification exit addendum — probe removal + GEO-03 platform allowlist 2026-10-23 18:53:28 +08:00
araharah-executor 2589e2126f docs(03-04): checkpoint resolution — device matrix passed 2026-10-23 18:45:15 +08:00
araharah-executor 9d6fdc64be docs(03): device matrix PASSED + phase verification 2026-10-23 18:45:15 +08:00
araharah-executor 28045d9b9e docs(03-04): log round 7 — probe readings; version-gate the settings CTA 2026-10-23 01:44:14 +08:00
araharah-executor e64cf7003b docs(03-04): log debug round 6 — signature-field HMAC erratum (the live blocker) 2026-10-23 01:34:53 +08:00
araharah-executor c062ebaee1 docs(03-04): log debug round 5 — diagnostic probe armed 2026-10-23 01:25:35 +08:00