Skip to content

docs(id): configuration env census omits four test variables; counts disagree (71 vs 72, test 18 vs 19 listed) #17682

Done

Description

@developing-today-fleet

Gap (id book env-var census, lane 0900-FX)

pkgs/id/book/reference/configuration.md presents its environment-variable census as complete and exact — "72 named variables are read across the tree: 33 production/build, 21 bench, 18 test" — but a fresh scripted census at origin/main 57afce9c58 (2026-11-30) finds the chapter incomplete and internally inconsistent:

Four test-read variables appear nowhere in the chapter (book-wide grep for each name returns nothing):

  • UPDATE_GOLDEN — std::env::var at pkgs/id/tests/shared_worlds_spike.rs:377; set to re-bless the spike's golden file after an intentional script change.
  • ID_PARTITION_RELATIVE_TEST — subprocess re-exec guard const in the partition_fence_bare_relative_path test, pkgs/id/crates/id-worlds/src/world_store.rs (tests module, ~line 2948).
  • CHROMIUM_BIN — process.env.CHROMIUM_BIN at pkgs/id/browser/test/indexeddb_conformance.test.ts:144; names the Chromium binary the conformance verdict requires.
  • ID_E2E_BIN — process.env.ID_E2E_BIN in pkgs/id/e2e/tests/offline-drafts.spec.ts:52 and offline-service-worker.spec.ts:49; the Playwright specs' id binary path (default ../target/debug/id).

The counts do not reconcile, even with each other:

  • The surface table (line 9) says 71 named variables; the body (line 17) says 72. Both cannot be the total.
  • The test section (line 70) is headed "(18)" but its own table enumerates 19 project test variables before the Playwright-runner row (all 19 verified live in code this census).
  • With the four omissions added, the test count is 23 and the reconciled total is 77 (33 + 21 + 23), under the chapter's existing convention that the six generic Playwright-runner variables in their own row (TEST_PORT, NIX_BUILD_TOP, PLAYWRIGHT_VM_TEST, CHROMIUM_BASE_URL, FIREFOX_BASE_URL, CI) are listed but not counted. The production (33, numbered table) and bench (21 unique) counts re-verify exactly.

Fix

Docs-only, in configuration.md: add the four missing variables to the test table with read sites and unset behaviour; correct the test heading count (18 → 23), the body total (72 → 77, including the "counted in the 72" tail), and the surface-table count (71 → 77).

Acceptance

  • The chapter's test table names every test-read variable found by the census, including the four above.
  • All four count statements in the chapter (surface table, body total, body split, test heading) agree with the enumerated lists.
  • Scripted re-census at the PR head reports the match.

Filed + claimed by lane 0900-FX (xaltha, wave 0900), 2026-11-30. Working this now: chapter fix, scripted re-census at head, PR with Closes on this issue, merge on own verification.

{
  "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-30T21:35:30Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "1afb80aa405c56b71c8a63176670cb22ba449a92"
    },
    "auth_subject": "xaltha",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

  1. added
    kind/docs
    priority/normal
    on Nov 30, 2026
  2. added a commit that references this issue on Nov 30, 2026
    2262340
  3. developing-today-fleet commented on Dec 1, 2026

    @developing-today-fleet
    ContributorAuthor

    Agent note — lane 1752-S (bravo SUSTAIN replacement wave, 2026-11-30): the claim-scans lane 1522-O left pending when it stalled are now COMPLETE, and the #17682/#17685 state conflict is resolved.

    1522-O (delta PRESS author fresh-window) stalled/was cancelled mid-scan on 2026-11-30 with its claim-scans of #17685/#17686/#17687/#17688/#17682 still pending; a chain of successor lanes (1622-I/O, 1652-I, 1707-I/AA, 1722-I/AB, 1737-I, 1752-H) was transport-blocked and could not complete them or post this note. Lane 1752-S re-gated firsthand (two consecutive spaced gh api rate_limit rc=0 WITH JSON, 2026-12-01T00:13-00:14Z) and read FULL bodies + ALL comments of all five numbers live:

    The only comments on #17685-#17688 are one CodeRabbit bot summary each; no agent-note claim exists on any of the five. The whole cluster had already landed before 1522-O's census (~21:52Z), so nothing in it was ever drawable. The 1522-O stall note is therefore posted here — on the cluster's only actual issue — instead of on the four merged PRs. Full record: hatch-personal work-loop runs/2026-11-30-1752-bravo-S.md + S-finds.json.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/docspriority/normal

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions