Skip to content

ID book survey disagreements: WEB.md / web docs / hosted-worker README vs the code (WEB-1…WEB-15) #13365

Closed

Description

@dezren39

ID book survey disagreements: WEB.md / web docs / hosted-worker README vs the code (WEB-1…WEB-15)

Found by the source survey behind the ID book (#13332; book live at https://developing-today.github.io/code/id/). In each case the book states the code behaviour; items are cited by number inline in most chapters shown, and the rest are recorded here from the survey. Full file:line evidence was verified against the checkout at 1ccb4a19457 (2026-11-23).

  • WEB-1 — WEB.md's editor routes don't exist. — The web UI: pages and HTTP API
  • WEB-2 — WEB.md's route table covers less than half the surface (the router has 54 paths / 58 method bindings). — The web UI: pages and HTTP API
  • WEB-3 — WEB.md's project structure is pre-crate-split. — The web UI: pages and HTTP API
  • WEB-4 — WEB.md names asset files the build never emits. — The web UI: pages and HTTP API
  • WEB-5 — web/README's collab wire table is 6 tags behind the code. — WebSocket protocols
  • WEB-6 — web/README's connection flow names the wrong route parameter ({file_path}; the code binds {doc_id}). — WebSocket protocols
  • WEB-7 — Both docs misstate the TagEvent wire format. — WebSocket protocols
  • WEB-8 — web/README's empty-text timeout story contradicts the code. — WebSocket protocols
  • WEB-9 — hosted-worker README's route list is a first-slice fossil (the UserDO has 13 paths / 15 method routes). — The hosted Worker API
  • WEB-10 — web/README says dist/ is git-ignored; it isn't (as a directory). — The web UI: pages and HTTP API
  • WEB-11 — WEB.md's E2E counts and file list are stale. — The web UI: pages and HTTP API
  • WEB-12 — Root README's structure section predates the crate split. — The web UI: pages and HTTP API
  • WEB-13 — The MCP v1 surface lists a tool it always refuses (presence.set, refused by the bridge with NoFrameMapping). — The MCP bridge
  • WEB-14 — Server-config doc comment under-lists the budgets keys (two implemented keys missing from the doc table). — Configuration: environment, defaults and server config
  • WEB-15 — WEB.md presents the web UI as unauthenticated-by-default local tooling, understating the token behaviour. — The web UI: pages and HTTP API
{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-23T14:18:24Z",
    "session_id": null,
    "lane": null,
    "host": "amd",
    "worktree": null,
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": null,
    "auth_subject": "agent-next-19-local",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

  1. developing-today commented on Nov 23, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 — claim: Lane AAS (archer), 2026-11-23. Taking #13365: ID book survey disagreements WEB-1…WEB-15 — correct the in-repo docs (pkgs/id WEB.md, web/README, hosted-worker README, root README structure section, MCP v1 surface list, server-config doc comment) so they match the shipped code, which the ID book already states.

    Premise + ownership check (fresh, 2026-11-23): issue open, no labels; comments count-confirmed at 1 (only the automated Kaneo link from developing-today[bot] 2026-11-23T14:18:30Z); no lane claim, no user/* label, no design/ratification gate, not on the hard-skip list. fleet agent next returned no claimable task (queue dry/down), so this was picked directly from GitHub.

    Plan: verify each WEB item against current main code on a laptop worktree (branch lane-aas-13365), fix the docs to match the code, verify with targeted greps/build of the id docs surface where applicable, land via PR. The issue stays open if any item's premise fails verification; each item's verdict will be recorded here.

  3. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 — done: Lane AAS (archer), 2026-11-23. All fifteen WEB items landed via PR #13515, merged as 1f9bc15391ca1c2efa639463a6369392456c27e5 (head e7d511d7c8f6).

    Premise verdict: TRUE on all 15 items, each verified against current main before editing — the book's survey evidence plus first-hand spot checks: TagEvent serde renames and from/to/count fields in crates/id-store/src/tags.rs; all five [budgets] keys in crates/id-cli/src/server_config/parse.rs (the doc comment listed three); presence.set in v1_tool_definitions() refused at BridgeSession::tool_action with NoFrameMapping; E2E spec files counted on disk; web/dist ignore rules read from .gitignore (directory tracked with .gitkeep, contents ignored).

    What changed (6 files):

    • pkgs/id/WEB.md — full route table (54 paths / 58 method bindings + the 10-path program-only router; /edit/{*name}, /view/{*name}, /hash/{hash} replace the nonexistent /edit/{hash} and /file/{name}); crate-split project structure; hashed asset names; lowercase TagEvent format; a new Security Layer section (Host allow-list, Origin check, token gate); E2E counts/file list as they stand.
    • pkgs/id/web/README.md — collab wire table completed to tags 0–11 with the Init mode field; {doc_id} in the connection flow; empty-text cadence corrected (Ping each 30 s idle cycle, every 2nd replaced by empty text); TagEvent format; dist/ description.
    • pkgs/id/hosted-worker/README.md — UserDO route paragraph replaced with the implemented surface (13 paths / 15 method routes incl. usage, export, KV DELETE, blobs, bridge); metering/caps no longer described as later steps.
    • pkgs/id/README.md — Project Structure rewritten for the crate split; E2E totals corrected (138 tests × 2 browsers = 276).
    • pkgs/id/crates/id-caps/src/mcp_bridge.rs — doc comment on the pinned v1 surface states presence.set is always refused (surface itself unchanged).
    • pkgs/id/crates/id-cli/src/server_config/mod.rs — [budgets] doc table now lists all five implemented keys.

    Verification:

    • Remote dispatch run 45228655631 (fleet-forks): cargo test -p id-caps -p id-cli --lib on this branch — success.
    • Laptop run (nix develop in pkgs/id, RUSTC_WRAPPER= / SCCACHE_DISABLE=1, private target dir): full cargo test -p id-caps — exit 0 (253 lib tests, 3 mcp_bridge_surface tests, 1 roc_import_policy test).
    • Grep oracles post-change: no from_subject, no capitalised TagEvent examples, no /edit/{hash} or /file/{name}, no main.css/main.js asset claims, no {file_path}, no stale 104/208 E2E totals in the touched docs.

    Closing: the issue's scope is these fifteen corrections and all fifteen are on main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions