Repository navigation
docs: the README shows the map before it explains it (T-105) - #93
Merged
Merged
Conversation
Removed: the roadmap/status roll-call ("Status:" line, set_layers mentions,
"cut"/"remaining" wording), the long City-wide breadth and Working-together
prose sections, the ASCII tool-layer diagram, and every "not yet
re-verified" hedge except the one dated ChatGPT desktop caveat the task
kept.
Added: the hero.jpg and landing.jpg screenshots (top of file and in "One
map, two hands"), the two screenshot-vs-WebMCP comparison GIFs with
captions and ledgers under "The same task, two ways", and a link to the
new docs/details.md.
Condensed 251 lines to 120: one condensed comparison table (3 rows,
2026-08-28), a 15-row tool table (≤20 words/row) replacing the old
per-tool prose, and 5-6 bullet summaries for design rules and
collaboration in place of full paragraphs.
New file docs/details.md carries, verbatim, the four facts cut from the
README that were not already documented elsewhere: the
describe_surroundings 300 m district fallback, the select_features
500-match cap, the get_share_link v1/v2/v3 versioning rule, and the
tier-2 permanent-vs-transient fetch failure rule. The tier-2 enrichment
tag list and coverage percentages were also cut but not moved, since
public/data/README.md already documents them in full.
Every number was re-verified against this worktree's tree before use:
tool roster (src/components/tool-roster.ts, 14 imperative + add_note),
Try Asking prompts (src/components/TryAsking.tsx), tool input schemas
(src/lib/map-tools/index.ts), tier-2 manifest (18 categories, 31,069
features, public/data/tier2/index.json), bundled dataset counts (109
mrt_station + 12 district + 865 park + 445 school + 607 supermarket + 25
listing = 2,063, public/data/*.geojson), Node 22 (.github/workflows/ci.yml),
MAX_SHARE_URL_BYTES/SELECT_MATCH_LIMIT (src/lib/map-tools/share.ts,
tier2-query.ts), the ?shim=1 behaviour (src/components/WebMcpProvider.tsx),
and the WebMCP flag/extension links (docs/webmcp-reference.md). The
comparison-table numbers and the two GIF ledgers are carried from
docs/comparison.md and the task's own recording ledger respectively, not
independently re-measured.
Second pass (adversarial review, T-41 follow-up), each item source-checked:
- Screenshot ledger: the radius was never read off an on-screen zoom
readout (that readout lives in an off-screen .gm-machine block; the
recording script hard-codes the radius) — now "a guess"; the other 5
parks were reachable one click-and-read at a time, not unreadable — now
says so; dropped the "42 s" timing, which was paced differently between
clips and didn't belong next to the action counts.
- WebMCP ledger: 2 of the 7 parks are `Unnamed park` in OpenStreetMap
(visible in the clip's own SELECTED panel) — the "each with a name"
claim overstated it; now "an id ... two of them parks OpenStreetMap
never named". Tool time corrected 53 ms -> 82 ms to match the
re-recorded clip's on-screen ledger (docs/media/webmcp-agent.gif
replaced by the orchestrator, not by this commit).
- Comparison-table honesty note: the table's Task A (16 actions) predates
the human search box the live clips now use (docs/comparison.md honesty
note 2), which is why the two measurements aren't directly comparable;
now says so inline.
- Tool table: "Act (page state, no server)" was contradicted by
plan_route, the one tool that calls out to FOSSGIS OSRM — reworded to
"writes page state; only plan_route leaves the page", and the 15 rows
are now grouped Perceive/Navigate/Act in that order (no new column).
- "Fourteen tools" (Try it) vs "Fifteen tools" (heading) both stood
unexplained — now "fourteen registered tools" with the reason
(add_note is a plain HTML form, not a document.modelContext
registration). Moved that ChatGPT-verification sentence, and the
docs/details.md link, out of "Try it" and the Data section to the end
of "Fifteen tools", so "Try it" ends on the working DevTools snippet
instead of a hedge.
- "always holds a link" -> "holds a link": a map whose hash would exceed
MAX_SHARE_URL_BYTES leaves the previous hash in place instead of
updating it (src/components/share-hash.ts:85).
- Added one clause: a share link carrying agent state opens with the
inspector/activity feed already up, not replaying the idle-to-awake
animation (src/lib/awaken/index.ts:177-179, bootMode).
- docs/details.md: fixed a dangling "is the clearest example. It" referent
in the describe_surroundings opening; retitled the file and replaced
the process note with one neutral sentence describing what the file is.
- Persuasion-only additions, no new facts: a strapline in the live-link
line (15 tools, no backend, no API keys); a closing sentence on why this
problem generalizes past this one map; a one-line lede on "One map, two
hands" naming the map as shared state; a bullet naming the two distinct
WebMCP registration paths (document.modelContext vs the add_note HTML
form) that both write the same state; and a CI line (1,436 unit tests
across 60 files, all green — pnpm check on this tree,
.github/workflows/ci.yml) after the install/build commands.
README.md: 120 -> 122 lines (still under the 125-line budget).
Task: T-41
… follow-up) - docs/media/webmcp-agent.gif: re-recorded against the T-104-fixed build; the closing caption no longer says "named" (two of the seven parks are unnamed in OpenStreetMap) and reads 82 ms of tool time, which the README now quotes. - README.md: impact sentence moved ahead of the accessibility disclaimer; the screenshot-arm caption split into two plain sentences; docs/details.md link and the ChatGPT caveat separated into their own paragraphs. - src/components/TryAsking.tsx: the comment coupling ASK_CARDS to the README said three cards were quoted; the README now quotes all five. Task: T-41
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
CLYEH
added a commit
that referenced
this pull request
Sep 2, 2026
#94) The fourth T-104 test compared the post-drag camera against a live sample taken BEFORE `mouse.down()`, while the flight was still moving. On a slow runner the flight's own motion between that sample and the mousedown ran opposite to the 160x120px pan and cancelled most of it: CI read 0.00055 against the 0.001 floor (run 33586396145, PR #93). The pan handler is `activateOnStart`, so the mousedown itself calls `stop(true)` and freezes the camera; sampling right after it isolates the hand's effect exactly. The fixed 400 ms inertia wait is now a poll on `!map.isMoving()`, so the `moveend` the store publishes on has fired before the position is read. Verified: 12/12 with `--workers=2 --repeat-each=3`; under a load average above 150 (a parallel `--repeat-each=5` on this machine) the spec's other tests also timed out, which is the runner, not the change. Task: T-104
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The README shows the map before it explains it (T-105)
The README is condensed from 251 lines to 124 and now leads with what a judge would otherwise have to imagine: the map after an agent session (hero image), the same task run twice as two GIFs — a screenshot agent by clicks and pictures, a WebMCP agent by five tool calls — and the page as it opens (landing image). Everything cut from the prose that still describes shipped behaviour moved to
docs/details.md; everything that described unshipped or removed work (set_layers, "cut" notes, the "Remaining" clause, the status roll-call) is gone. The README describes the tree as it is.What changed
README.md: pitch line, hero, "Why Glass", "The same task, two ways" (both clips with per-arm captions and an honesty paragraph), the 2026-08-28 measured table, "Try it" (Chrome 149+ steps, the five ask cards verbatim, a DevTools snippet,?shim=1), "Fifteen tools" by layer, "One map, two hands", "Data", "How it is built".docs/details.md(new):describe_surroundingsdistrict fallback,select_features500-match cap,get_share_linkv1/v2/v3, tier-2 permanent vs transient fetch failure — prose the README used to carry.docs/media/:hero.jpg,landing.jpg,screenshot-agent.gif(5.2 MB),webmcp-agent.gif(3.4 MB).src/components/TryAsking.tsx: the comment that said the README quotes three cards now says five, which is what the README does.How the clips were made
Scripted replays recorded 2026-09-02 with Playwright's headless Chromium against a local production build of this branch — not a live model, and the README says so. The screenshot arm gets only clicks, keys, wheel and screenshots; the WebMCP arm calls
document.modelContext.executeToolthrough the page's dev shim (?shim=1), the same tool code Chrome's native surface runs. The WebMCP arm's caption numbers (5 calls, 2.9 KB, 82 ms, 0 screenshots, 7 parks) are the ledger of that recording; the screenshot arm's (19 actions, 8 screenshots, 2 of 7 parks) are counted from the script. Recording the first arm surfaced T-104 (the awakening cancelled the first flight), fixed separately in PR #92; the WebMCP clip was re-recorded after that fix.How verified
src/lib/map-tools/index.ts+ theadd_noteform), dataset counts againstpublic/data/manifest.json(109/12/865/445/607/25 = 2,063; 18 tier-2 categories, 31,069 features), the five ask cards byte-identical toASK_CARDS, the measured table againstdocs/comparison.md, unit-test counts againstpnpm check(60 files, 1,436 passing, 0 skipped).Unnamed park), "no screenshot can read", a 42 s / 53 ms mix-up, "Act … no server" (plan_routeleaves the page), "always holds" → "holds", a dangling referent indetails.md, commit subject > 72 chars.pnpm checkgreen on the branch. No source behaviour changed (one comment inTryAsking.tsx).main, since GitHub serves the default branch's README.Task: T-105