MVP Factory Board: board.js pure column-mapping module + node tests #239

Closed
opened 2026-10-15 16:58:03 +00:00 by matou-build-agent · 6 comments

Part of the MVP Factory Board pipeline (#234 scope, this ticket's spec in #235).

Priority tonight: worked ahead of the general queue this evening for Ben's morning test (NZ). Depends on BT-1 (needs the v5 fixture to test against).

What

Build the board's pure mapping module fleet-tui/floor/web/board.js (area: web) — snapshot in, board model out, no DOM. Exports buildBoard(doc, nowMs) → {columns:[{id,label}], lanes:[{repo, error?, counts:{<colId>:n}, cards:{<colId>:[card…]}}], totals:{<colId>:n}}, with internal classifyColumn(row, nowMs) and cardFromRow(row, doc).

The eight columns and their exact predicates are in the spec (§1). Key rules: priority rows sort to a column's head and carry a chip (no other ordering imparted); a deferred row is not shown; one swimlane per repo in stable sorted() order; a repo with a tracker_error keeps a marked lane, never blanked; missing values render as — (never guessed).

Wire the node tests into the offline suite: add a node --test fleet-tui/floor/server/*.test.js step to tests/fleet-tui-test.sh with the same SKIP-loudly posture the pytest block uses (if node is absent, print a visible SKIP and do not fail — the suite is vendored and a consumer without Node must not go red). Keep the diff to the added step.

Test (red first)

fleet-tui/floor/server/board.test.js (new, node --test) run against the committed v5 fixture: classifyColumn one case per column 1–8 (incl. blocked==true→Blocked vs blocked==false→Ready; landing-pr label→Review; needs-info label→Intake); deferred row is not shown; priority sorts to column head; buildBoard yields one lane per repo, stable order; tracker_error lane is marked, not dropped; missing age renders as —.
Run: node --test fleet-tui/floor/server/board.test.js.

Acceptance

  • board.js exports a pure buildBoard/classifyColumn, no document/window/fetch.
  • All eight column predicates + the priority/deferred/stable-order/tracker_error/missing-value cases are covered and green.
  • tests/fleet-tui-test.sh runs the node tests with a loud SKIP when node is absent, and stays green.
  • Close-report includes the node --test … command + pass line.

out_of_scope

No board.html/painter/CSS/toggle (that is BT-4); no DOM; no collector/server change; no tui/**; no writes. Touch STATUS.md with one short header line only + journal (hazard #230). fleet-tui/** vendor-excluded — no re-vendor (tests/** IS vendored, so keep the fleet-tui-test.sh touch to the single added node step).

Advances #235.

Part of the MVP Factory Board pipeline (#234 scope, this ticket's spec in #235). **Priority tonight:** worked ahead of the general queue this evening for Ben's morning test (NZ). Depends on BT-1 (needs the v5 fixture to test against). ## What Build the board's **pure mapping module** `fleet-tui/floor/web/board.js` (area: **web**) — snapshot in, board model out, **no DOM**. Exports `buildBoard(doc, nowMs)` → `{columns:[{id,label}], lanes:[{repo, error?, counts:{<colId>:n}, cards:{<colId>:[card…]}}], totals:{<colId>:n}}`, with internal `classifyColumn(row, nowMs)` and `cardFromRow(row, doc)`. The eight columns and their exact predicates are in the spec (§1). Key rules: `priority` rows sort to a column's head and carry a chip (no other ordering imparted); a `deferred` row is **not shown**; one swimlane per repo in stable `sorted()` order; a repo with a `tracker_error` keeps a marked lane, never blanked; missing values render as `—` (never guessed). Wire the node tests into the offline suite: add a `node --test fleet-tui/floor/server/*.test.js` step to `tests/fleet-tui-test.sh` with the **same SKIP-loudly posture** the pytest block uses (if `node` is absent, print a visible SKIP and do not fail — the suite is vendored and a consumer without Node must not go red). Keep the diff to the added step. ## Test (red first) `fleet-tui/floor/server/board.test.js` (new, `node --test`) run against the committed v5 fixture: `classifyColumn` one case per column 1–8 (incl. `blocked==true`→Blocked vs `blocked==false`→Ready; `landing-pr` label→Review; `needs-info` label→Intake); `deferred row is not shown`; `priority sorts to column head`; `buildBoard yields one lane per repo, stable order`; `tracker_error lane is marked, not dropped`; `missing age renders as —`. Run: `node --test fleet-tui/floor/server/board.test.js`. ## Acceptance - `board.js` exports a pure `buildBoard`/`classifyColumn`, no `document`/`window`/fetch. - All eight column predicates + the priority/deferred/stable-order/tracker_error/missing-value cases are covered and green. - `tests/fleet-tui-test.sh` runs the node tests with a loud SKIP when node is absent, and stays green. - Close-report includes the `node --test …` command + pass line. ## out_of_scope No `board.html`/painter/CSS/toggle (that is BT-4); no DOM; no collector/server change; no `tui/**`; no writes. Touch `STATUS.md` with **one short header line only** + journal (hazard #230). `fleet-tui/**` vendor-excluded — no re-vendor (`tests/**` IS vendored, so keep the `fleet-tui-test.sh` touch to the single added node step). Advances #235.
Author
Member

close-report for #239 — status success

⛔ close-report gates REFUSED this close — the following claims did not verify:

  • commit 3e4889003f is not reachable from 0d638e1163 (not landed)
  • changed_files: 'STATUS.md' is not in the diff of the claimed commits
  • changed_files: 'docs/journal/2026-10-16-239.md' is not in the diff of the claimed commits
  • changed_files: 'fleet-tui/floor/server/board.test.js' is not in the diff of the claimed commits
  • changed_files: 'fleet-tui/floor/web/board.js' is not in the diff of the claimed commits
  • changed_files: 'tests/fleet-tui-test.sh' is not in the diff of the claimed commits
envelope
{
  "issue": 239,
  "status": "success",
  "commits": [
    "3e4889003fc3a43188894dc38a442d82e215879f"
  ],
  "changed_files": [
    "STATUS.md",
    "docs/journal/2026-10-16-239.md",
    "fleet-tui/floor/server/board.test.js",
    "fleet-tui/floor/web/board.js",
    "tests/fleet-tui-test.sh"
  ],
  "tests": [
    {
      "command": "node --test fleet-tui/floor/server/board.test.js",
      "exit_code": 0
    },
    {
      "command": "bash tests/fleet-tui-test.sh",
      "exit_code": 0
    },
    {
      "command": "bash tests/docs-budget-test.sh",
      "exit_code": 0
    },
    {
      "command": "for t in tests/*.sh onboarding/tests/*.sh; do case \"$t\" in *fakebin*|*fixtures*) continue;; esac; bash \"$t\" || echo FAIL: $t; done",
      "exit_code": 0
    }
  ],
  "criteria": {
    "board.js exports a pure buildBoard/classifyColumn, no document/window/fetch": "fleet-tui/floor/web/board.js exports buildBoard/classifyColumn/cardFromRow/COLUMNS/DASH; the 'board.js is pure' test (board.test.js) asserts the source references no document/window/fetch( — pass 14/14",
    "All eight column predicates + priority/deferred/stable-order/tracker_error/missing-value cases covered and green": "board.test.js: classifyColumn cases 1-8 (incl blocked==true->Blocked vs false->Ready, landing-pr->Review, needs-info->Intake, done row->Done), deferred-not-shown, priority-to-head, one-lane-per-repo stable sorted order (committed v5 fixture), tracker_error lane marked not dropped, missing-age->DASH — node --test pass 14 fail 0",
    "tests/fleet-tui-test.sh runs the node tests with a loud SKIP when node absent, and stays green": "tests/fleet-tui-test.sh gains one `node --test fleet-tui/floor/server/*.test.js` step guarded by `command -v node` with a visible SKIP line + 'UNCOVERED' note when node is absent (same posture as the pytest block); bash tests/fleet-tui-test.sh exits 0 (25 node tests pass, pytest SKIP)",
    "Close-report includes the node --test command + pass line": "node --test fleet-tui/floor/server/board.test.js -> # tests 14 / # pass 14 / # fail 0"
  },
  "summary": "Added the Factory Board's pure DOM-free board.js mapping module (buildBoard/classifyColumn/cardFromRow) with 14 node --test cases against the v5 fixture, wired into tests/fleet-tui-test.sh with a loud node-absent SKIP.",
  "blockers": []
}
**close-report** for #239 — status `success` :no_entry: **close-report gates REFUSED this close** — the following claims did not verify: - commit 3e4889003fc3a43188894dc38a442d82e215879f is not reachable from 0d638e1163c4696d9e94b9f3e29dd42022fba6cf (not landed) - changed_files: 'STATUS.md' is not in the diff of the claimed commits - changed_files: 'docs/journal/2026-10-16-239.md' is not in the diff of the claimed commits - changed_files: 'fleet-tui/floor/server/board.test.js' is not in the diff of the claimed commits - changed_files: 'fleet-tui/floor/web/board.js' is not in the diff of the claimed commits - changed_files: 'tests/fleet-tui-test.sh' is not in the diff of the claimed commits <details><summary>envelope</summary> ```json { "issue": 239, "status": "success", "commits": [ "3e4889003fc3a43188894dc38a442d82e215879f" ], "changed_files": [ "STATUS.md", "docs/journal/2026-10-16-239.md", "fleet-tui/floor/server/board.test.js", "fleet-tui/floor/web/board.js", "tests/fleet-tui-test.sh" ], "tests": [ { "command": "node --test fleet-tui/floor/server/board.test.js", "exit_code": 0 }, { "command": "bash tests/fleet-tui-test.sh", "exit_code": 0 }, { "command": "bash tests/docs-budget-test.sh", "exit_code": 0 }, { "command": "for t in tests/*.sh onboarding/tests/*.sh; do case \"$t\" in *fakebin*|*fixtures*) continue;; esac; bash \"$t\" || echo FAIL: $t; done", "exit_code": 0 } ], "criteria": { "board.js exports a pure buildBoard/classifyColumn, no document/window/fetch": "fleet-tui/floor/web/board.js exports buildBoard/classifyColumn/cardFromRow/COLUMNS/DASH; the 'board.js is pure' test (board.test.js) asserts the source references no document/window/fetch( — pass 14/14", "All eight column predicates + priority/deferred/stable-order/tracker_error/missing-value cases covered and green": "board.test.js: classifyColumn cases 1-8 (incl blocked==true->Blocked vs false->Ready, landing-pr->Review, needs-info->Intake, done row->Done), deferred-not-shown, priority-to-head, one-lane-per-repo stable sorted order (committed v5 fixture), tracker_error lane marked not dropped, missing-age->DASH — node --test pass 14 fail 0", "tests/fleet-tui-test.sh runs the node tests with a loud SKIP when node absent, and stays green": "tests/fleet-tui-test.sh gains one `node --test fleet-tui/floor/server/*.test.js` step guarded by `command -v node` with a visible SKIP line + 'UNCOVERED' note when node is absent (same posture as the pytest block); bash tests/fleet-tui-test.sh exits 0 (25 node tests pass, pytest SKIP)", "Close-report includes the node --test command + pass line": "node --test fleet-tui/floor/server/board.test.js -> # tests 14 / # pass 14 / # fail 0" }, "summary": "Added the Factory Board's pure DOM-free board.js mapping module (buildBoard/classifyColumn/cardFromRow) with 14 node --test cases against the v5 fixture, wired into tests/fleet-tui-test.sh with a loud node-absent SKIP.", "blockers": [] } ``` </details>
Author
Member

close-report for #239 — status success

⛔ close-report gates REFUSED this close — the following claims did not verify:

  • commit 3e4889003f is not reachable from 0d638e1163 (not landed)
  • changed_files: 'STATUS.md' is not in the diff of the claimed commits
  • changed_files: 'docs/journal/2026-10-16-239.md' is not in the diff of the claimed commits
  • changed_files: 'fleet-tui/floor/server/board.test.js' is not in the diff of the claimed commits
  • changed_files: 'fleet-tui/floor/web/board.js' is not in the diff of the claimed commits
  • changed_files: 'tests/fleet-tui-test.sh' is not in the diff of the claimed commits
envelope
{
  "issue": 239,
  "status": "success",
  "commits": [
    "3e4889003fc3a43188894dc38a442d82e215879f"
  ],
  "changed_files": [
    "STATUS.md",
    "docs/journal/2026-10-16-239.md",
    "fleet-tui/floor/server/board.test.js",
    "fleet-tui/floor/web/board.js",
    "tests/fleet-tui-test.sh"
  ],
  "tests": [
    {
      "command": "node --test fleet-tui/floor/server/board.test.js",
      "exit_code": 0
    },
    {
      "command": "bash tests/fleet-tui-test.sh",
      "exit_code": 0
    },
    {
      "command": "bash tests/docs-budget-test.sh",
      "exit_code": 0
    },
    {
      "command": "for t in tests/*.sh onboarding/tests/*.sh; do case \"$t\" in *fakebin*|*fixtures*) continue;; esac; bash \"$t\" || echo FAIL: $t; done",
      "exit_code": 0
    }
  ],
  "criteria": {
    "board.js exports a pure buildBoard/classifyColumn, no document/window/fetch": "fleet-tui/floor/web/board.js exports buildBoard/classifyColumn/cardFromRow/COLUMNS/DASH; the 'board.js is pure' test (board.test.js) asserts the source references no document/window/fetch( — pass 14/14",
    "All eight column predicates + priority/deferred/stable-order/tracker_error/missing-value cases covered and green": "board.test.js: classifyColumn cases 1-8 (incl blocked==true->Blocked vs false->Ready, landing-pr->Review, needs-info->Intake, done row->Done), deferred-not-shown, priority-to-head, one-lane-per-repo stable sorted order (committed v5 fixture), tracker_error lane marked not dropped, missing-age->DASH — node --test pass 14 fail 0",
    "tests/fleet-tui-test.sh runs the node tests with a loud SKIP when node absent, and stays green": "tests/fleet-tui-test.sh gains one `node --test fleet-tui/floor/server/*.test.js` step guarded by `command -v node` with a visible SKIP line + 'UNCOVERED' note when node is absent (same posture as the pytest block); bash tests/fleet-tui-test.sh exits 0 (25 node tests pass, pytest SKIP)",
    "Close-report includes the node --test command + pass line": "node --test fleet-tui/floor/server/board.test.js -> # tests 14 / # pass 14 / # fail 0"
  },
  "summary": "Added the Factory Board's pure DOM-free board.js mapping module (buildBoard/classifyColumn/cardFromRow) with 14 node --test cases against the v5 fixture, wired into tests/fleet-tui-test.sh with a loud node-absent SKIP.",
  "blockers": []
}
**close-report** for #239 — status `success` :no_entry: **close-report gates REFUSED this close** — the following claims did not verify: - commit 3e4889003fc3a43188894dc38a442d82e215879f is not reachable from 0d638e1163c4696d9e94b9f3e29dd42022fba6cf (not landed) - changed_files: 'STATUS.md' is not in the diff of the claimed commits - changed_files: 'docs/journal/2026-10-16-239.md' is not in the diff of the claimed commits - changed_files: 'fleet-tui/floor/server/board.test.js' is not in the diff of the claimed commits - changed_files: 'fleet-tui/floor/web/board.js' is not in the diff of the claimed commits - changed_files: 'tests/fleet-tui-test.sh' is not in the diff of the claimed commits <details><summary>envelope</summary> ```json { "issue": 239, "status": "success", "commits": [ "3e4889003fc3a43188894dc38a442d82e215879f" ], "changed_files": [ "STATUS.md", "docs/journal/2026-10-16-239.md", "fleet-tui/floor/server/board.test.js", "fleet-tui/floor/web/board.js", "tests/fleet-tui-test.sh" ], "tests": [ { "command": "node --test fleet-tui/floor/server/board.test.js", "exit_code": 0 }, { "command": "bash tests/fleet-tui-test.sh", "exit_code": 0 }, { "command": "bash tests/docs-budget-test.sh", "exit_code": 0 }, { "command": "for t in tests/*.sh onboarding/tests/*.sh; do case \"$t\" in *fakebin*|*fixtures*) continue;; esac; bash \"$t\" || echo FAIL: $t; done", "exit_code": 0 } ], "criteria": { "board.js exports a pure buildBoard/classifyColumn, no document/window/fetch": "fleet-tui/floor/web/board.js exports buildBoard/classifyColumn/cardFromRow/COLUMNS/DASH; the 'board.js is pure' test (board.test.js) asserts the source references no document/window/fetch( — pass 14/14", "All eight column predicates + priority/deferred/stable-order/tracker_error/missing-value cases covered and green": "board.test.js: classifyColumn cases 1-8 (incl blocked==true->Blocked vs false->Ready, landing-pr->Review, needs-info->Intake, done row->Done), deferred-not-shown, priority-to-head, one-lane-per-repo stable sorted order (committed v5 fixture), tracker_error lane marked not dropped, missing-age->DASH — node --test pass 14 fail 0", "tests/fleet-tui-test.sh runs the node tests with a loud SKIP when node absent, and stays green": "tests/fleet-tui-test.sh gains one `node --test fleet-tui/floor/server/*.test.js` step guarded by `command -v node` with a visible SKIP line + 'UNCOVERED' note when node is absent (same posture as the pytest block); bash tests/fleet-tui-test.sh exits 0 (25 node tests pass, pytest SKIP)", "Close-report includes the node --test command + pass line": "node --test fleet-tui/floor/server/board.test.js -> # tests 14 / # pass 14 / # fail 0" }, "summary": "Added the Factory Board's pure DOM-free board.js mapping module (buildBoard/classifyColumn/cardFromRow) with 14 node --test cases against the v5 fixture, wired into tests/fleet-tui-test.sh with a loud node-absent SKIP.", "blockers": [] } ``` </details>
Author
Member

close-report for #239 — status success

⛔ close-report gates REFUSED this close — the following claims did not verify:

  • commit 3e4889003f is not reachable from 0d638e1163 (not landed)
  • changed_files: 'STATUS.md' is not in the diff of the claimed commits
  • changed_files: 'docs/journal/2026-10-16-239.md' is not in the diff of the claimed commits
  • changed_files: 'fleet-tui/floor/server/board.test.js' is not in the diff of the claimed commits
  • changed_files: 'fleet-tui/floor/web/board.js' is not in the diff of the claimed commits
  • changed_files: 'tests/fleet-tui-test.sh' is not in the diff of the claimed commits
envelope
{
  "issue": 239,
  "status": "success",
  "commits": [
    "3e4889003fc3a43188894dc38a442d82e215879f"
  ],
  "changed_files": [
    "STATUS.md",
    "docs/journal/2026-10-16-239.md",
    "fleet-tui/floor/server/board.test.js",
    "fleet-tui/floor/web/board.js",
    "tests/fleet-tui-test.sh"
  ],
  "tests": [
    {
      "command": "node --test fleet-tui/floor/server/board.test.js",
      "exit_code": 0
    },
    {
      "command": "bash tests/fleet-tui-test.sh",
      "exit_code": 0
    },
    {
      "command": "bash tests/docs-budget-test.sh",
      "exit_code": 0
    },
    {
      "command": "for t in tests/*.sh onboarding/tests/*.sh; do case \"$t\" in *fakebin*|*fixtures*) continue;; esac; bash \"$t\" || echo FAIL: $t; done",
      "exit_code": 0
    }
  ],
  "criteria": {
    "board.js exports a pure buildBoard/classifyColumn, no document/window/fetch": "fleet-tui/floor/web/board.js exports buildBoard/classifyColumn/cardFromRow/COLUMNS/DASH; the 'board.js is pure' test (board.test.js) asserts the source references no document/window/fetch( — pass 14/14",
    "All eight column predicates + priority/deferred/stable-order/tracker_error/missing-value cases covered and green": "board.test.js: classifyColumn cases 1-8 (incl blocked==true->Blocked vs false->Ready, landing-pr->Review, needs-info->Intake, done row->Done), deferred-not-shown, priority-to-head, one-lane-per-repo stable sorted order (committed v5 fixture), tracker_error lane marked not dropped, missing-age->DASH — node --test pass 14 fail 0",
    "tests/fleet-tui-test.sh runs the node tests with a loud SKIP when node absent, and stays green": "tests/fleet-tui-test.sh gains one `node --test fleet-tui/floor/server/*.test.js` step guarded by `command -v node` with a visible SKIP line + 'UNCOVERED' note when node is absent (same posture as the pytest block); bash tests/fleet-tui-test.sh exits 0 (25 node tests pass, pytest SKIP)",
    "Close-report includes the node --test command + pass line": "node --test fleet-tui/floor/server/board.test.js -> # tests 14 / # pass 14 / # fail 0"
  },
  "summary": "Added the Factory Board's pure DOM-free board.js mapping module (buildBoard/classifyColumn/cardFromRow) with 14 node --test cases against the v5 fixture, wired into tests/fleet-tui-test.sh with a loud node-absent SKIP.",
  "blockers": []
}
**close-report** for #239 — status `success` :no_entry: **close-report gates REFUSED this close** — the following claims did not verify: - commit 3e4889003fc3a43188894dc38a442d82e215879f is not reachable from 0d638e1163c4696d9e94b9f3e29dd42022fba6cf (not landed) - changed_files: 'STATUS.md' is not in the diff of the claimed commits - changed_files: 'docs/journal/2026-10-16-239.md' is not in the diff of the claimed commits - changed_files: 'fleet-tui/floor/server/board.test.js' is not in the diff of the claimed commits - changed_files: 'fleet-tui/floor/web/board.js' is not in the diff of the claimed commits - changed_files: 'tests/fleet-tui-test.sh' is not in the diff of the claimed commits <details><summary>envelope</summary> ```json { "issue": 239, "status": "success", "commits": [ "3e4889003fc3a43188894dc38a442d82e215879f" ], "changed_files": [ "STATUS.md", "docs/journal/2026-10-16-239.md", "fleet-tui/floor/server/board.test.js", "fleet-tui/floor/web/board.js", "tests/fleet-tui-test.sh" ], "tests": [ { "command": "node --test fleet-tui/floor/server/board.test.js", "exit_code": 0 }, { "command": "bash tests/fleet-tui-test.sh", "exit_code": 0 }, { "command": "bash tests/docs-budget-test.sh", "exit_code": 0 }, { "command": "for t in tests/*.sh onboarding/tests/*.sh; do case \"$t\" in *fakebin*|*fixtures*) continue;; esac; bash \"$t\" || echo FAIL: $t; done", "exit_code": 0 } ], "criteria": { "board.js exports a pure buildBoard/classifyColumn, no document/window/fetch": "fleet-tui/floor/web/board.js exports buildBoard/classifyColumn/cardFromRow/COLUMNS/DASH; the 'board.js is pure' test (board.test.js) asserts the source references no document/window/fetch( — pass 14/14", "All eight column predicates + priority/deferred/stable-order/tracker_error/missing-value cases covered and green": "board.test.js: classifyColumn cases 1-8 (incl blocked==true->Blocked vs false->Ready, landing-pr->Review, needs-info->Intake, done row->Done), deferred-not-shown, priority-to-head, one-lane-per-repo stable sorted order (committed v5 fixture), tracker_error lane marked not dropped, missing-age->DASH — node --test pass 14 fail 0", "tests/fleet-tui-test.sh runs the node tests with a loud SKIP when node absent, and stays green": "tests/fleet-tui-test.sh gains one `node --test fleet-tui/floor/server/*.test.js` step guarded by `command -v node` with a visible SKIP line + 'UNCOVERED' note when node is absent (same posture as the pytest block); bash tests/fleet-tui-test.sh exits 0 (25 node tests pass, pytest SKIP)", "Close-report includes the node --test command + pass line": "node --test fleet-tui/floor/server/board.test.js -> # tests 14 / # pass 14 / # fail 0" }, "summary": "Added the Factory Board's pure DOM-free board.js mapping module (buildBoard/classifyColumn/cardFromRow) with 14 node --test cases against the v5 fixture, wired into tests/fleet-tui-test.sh with a loud node-absent SKIP.", "blockers": [] } ``` </details>
Author
Member

close-report for #239 — status success

⛔ close-report gates REFUSED this close — the following claims did not verify:

  • commit 3e4889003f is not reachable from 0d638e1163 (not landed)
  • changed_files: 'STATUS.md' is not in the diff of the claimed commits
  • changed_files: 'docs/journal/2026-10-16-239.md' is not in the diff of the claimed commits
  • changed_files: 'fleet-tui/floor/server/board.test.js' is not in the diff of the claimed commits
  • changed_files: 'fleet-tui/floor/web/board.js' is not in the diff of the claimed commits
  • changed_files: 'tests/fleet-tui-test.sh' is not in the diff of the claimed commits
envelope
{
  "issue": 239,
  "status": "success",
  "commits": [
    "3e4889003fc3a43188894dc38a442d82e215879f"
  ],
  "changed_files": [
    "STATUS.md",
    "docs/journal/2026-10-16-239.md",
    "fleet-tui/floor/server/board.test.js",
    "fleet-tui/floor/web/board.js",
    "tests/fleet-tui-test.sh"
  ],
  "tests": [
    {
      "command": "node --test fleet-tui/floor/server/board.test.js",
      "exit_code": 0
    },
    {
      "command": "bash tests/fleet-tui-test.sh",
      "exit_code": 0
    },
    {
      "command": "bash tests/docs-budget-test.sh",
      "exit_code": 0
    },
    {
      "command": "for t in tests/*.sh onboarding/tests/*.sh; do case \"$t\" in *fakebin*|*fixtures*) continue;; esac; bash \"$t\" || echo FAIL: $t; done",
      "exit_code": 0
    }
  ],
  "criteria": {
    "board.js exports a pure buildBoard/classifyColumn, no document/window/fetch": "fleet-tui/floor/web/board.js exports buildBoard/classifyColumn/cardFromRow/COLUMNS/DASH; the 'board.js is pure' test (board.test.js) asserts the source references no document/window/fetch( — pass 14/14",
    "All eight column predicates + priority/deferred/stable-order/tracker_error/missing-value cases covered and green": "board.test.js: classifyColumn cases 1-8 (incl blocked==true->Blocked vs false->Ready, landing-pr->Review, needs-info->Intake, done row->Done), deferred-not-shown, priority-to-head, one-lane-per-repo stable sorted order (committed v5 fixture), tracker_error lane marked not dropped, missing-age->DASH — node --test pass 14 fail 0",
    "tests/fleet-tui-test.sh runs the node tests with a loud SKIP when node absent, and stays green": "tests/fleet-tui-test.sh gains one `node --test fleet-tui/floor/server/*.test.js` step guarded by `command -v node` with a visible SKIP line + 'UNCOVERED' note when node is absent (same posture as the pytest block); bash tests/fleet-tui-test.sh exits 0 (25 node tests pass, pytest SKIP)",
    "Close-report includes the node --test command + pass line": "node --test fleet-tui/floor/server/board.test.js -> # tests 14 / # pass 14 / # fail 0"
  },
  "summary": "Added the Factory Board's pure DOM-free board.js mapping module (buildBoard/classifyColumn/cardFromRow) with 14 node --test cases against the v5 fixture, wired into tests/fleet-tui-test.sh with a loud node-absent SKIP.",
  "blockers": []
}
**close-report** for #239 — status `success` :no_entry: **close-report gates REFUSED this close** — the following claims did not verify: - commit 3e4889003fc3a43188894dc38a442d82e215879f is not reachable from 0d638e1163c4696d9e94b9f3e29dd42022fba6cf (not landed) - changed_files: 'STATUS.md' is not in the diff of the claimed commits - changed_files: 'docs/journal/2026-10-16-239.md' is not in the diff of the claimed commits - changed_files: 'fleet-tui/floor/server/board.test.js' is not in the diff of the claimed commits - changed_files: 'fleet-tui/floor/web/board.js' is not in the diff of the claimed commits - changed_files: 'tests/fleet-tui-test.sh' is not in the diff of the claimed commits <details><summary>envelope</summary> ```json { "issue": 239, "status": "success", "commits": [ "3e4889003fc3a43188894dc38a442d82e215879f" ], "changed_files": [ "STATUS.md", "docs/journal/2026-10-16-239.md", "fleet-tui/floor/server/board.test.js", "fleet-tui/floor/web/board.js", "tests/fleet-tui-test.sh" ], "tests": [ { "command": "node --test fleet-tui/floor/server/board.test.js", "exit_code": 0 }, { "command": "bash tests/fleet-tui-test.sh", "exit_code": 0 }, { "command": "bash tests/docs-budget-test.sh", "exit_code": 0 }, { "command": "for t in tests/*.sh onboarding/tests/*.sh; do case \"$t\" in *fakebin*|*fixtures*) continue;; esac; bash \"$t\" || echo FAIL: $t; done", "exit_code": 0 } ], "criteria": { "board.js exports a pure buildBoard/classifyColumn, no document/window/fetch": "fleet-tui/floor/web/board.js exports buildBoard/classifyColumn/cardFromRow/COLUMNS/DASH; the 'board.js is pure' test (board.test.js) asserts the source references no document/window/fetch( — pass 14/14", "All eight column predicates + priority/deferred/stable-order/tracker_error/missing-value cases covered and green": "board.test.js: classifyColumn cases 1-8 (incl blocked==true->Blocked vs false->Ready, landing-pr->Review, needs-info->Intake, done row->Done), deferred-not-shown, priority-to-head, one-lane-per-repo stable sorted order (committed v5 fixture), tracker_error lane marked not dropped, missing-age->DASH — node --test pass 14 fail 0", "tests/fleet-tui-test.sh runs the node tests with a loud SKIP when node absent, and stays green": "tests/fleet-tui-test.sh gains one `node --test fleet-tui/floor/server/*.test.js` step guarded by `command -v node` with a visible SKIP line + 'UNCOVERED' note when node is absent (same posture as the pytest block); bash tests/fleet-tui-test.sh exits 0 (25 node tests pass, pytest SKIP)", "Close-report includes the node --test command + pass line": "node --test fleet-tui/floor/server/board.test.js -> # tests 14 / # pass 14 / # fail 0" }, "summary": "Added the Factory Board's pure DOM-free board.js mapping module (buildBoard/classifyColumn/cardFromRow) with 14 node --test cases against the v5 fixture, wired into tests/fleet-tui-test.sh with a loud node-absent SKIP.", "blockers": [] } ``` </details>
Author
Member

agent-blocked — BT-3 is complete and verified on origin/main, but the pr-mode close ceremony is blocked.

What landed. Commit 3e4889003fc3a43188894dc38a442d82e215879f is on origin/main (and on this run's worker branch). It adds the pure DOM-free fleet-tui/floor/web/board.js (buildBoard/classifyColumn/cardFromRow — eight-column mapping, one swimlane per repo in stable sorted order, priority-to-head, deferred hidden, tracker_error lane marked, missing values → —), 14 node --test cases in fleet-tui/floor/server/board.test.js, and one node --test step in tests/fleet-tui-test.sh (loud node-absent SKIP). Full offline suite green; node --test fleet-tui/floor/server/board.test.js → # tests 14 / # pass 14 / # fail 0.

Why it is blocked — two compounding causes:

  1. Landing-mode misread (my error). #239 carries no landing-* label and the claimed-task JSON showed no landing field, so I applied push landing and pushed HEAD to origin/main. But Matou/dev-factory is LANDING=pr, and landing_mode_for returns pr unconditionally for a pr-repo (a label can only upgrade push→pr, never downgrade). So the verified commit is now on main directly, not via the PR.
  2. The pr-mode close cannot verify from the sandbox. close-report.sh (pr mode) gates my commit against PR #250's head (agent/issue-239 @ 0d638e1, the run base — no commits). Advancing agent/issue-239 to 3e48890 is a valid fast-forward, but its push range 0d638e1..3e48890 now spans the #222 re-vendor's TypeScript (.sandcastle/branch-strategy.mts, .sandcastle/main.mts), so the client-side pre-push TS gate fires and fails closed — the sandbox has no nix, no GATE_TS_CMD, no .sandcastle/ts-gate.sh. PR #250's head therefore cannot be updated from here, and close-report keeps refusing (envelopes above; retries exhausted).

How a human finishes it (the work is already correct and on main):

  • Simplest: merge PR #250 (it carries closes #239) or close #239 directly — the commit is already on main, verified and green. Review the real diff at commit 3e4889003fc3a43188894dc38a442d82e215879f; the empty PR #250 shows no diff because main already contains the work.
  • Machinery to consider (protected paths, not mine to change): a mid-run re-vendor landing on main pulls unrelated TS into a stale PR-branch's lint range. Either rebase agent/issue-* onto current main at land time, or give the sandbox a TS-gate seam, so the pre-push gate does not fail closed on unrelated TS.

Re-arm by resolving the above and re-adding ready-for-agent, or merge PR #250 to close.

**agent-blocked — BT-3 is complete and verified on `origin/main`, but the pr-mode close ceremony is blocked.** **What landed.** Commit `3e4889003fc3a43188894dc38a442d82e215879f` is on `origin/main` (and on this run's worker branch). It adds the pure DOM-free `fleet-tui/floor/web/board.js` (`buildBoard`/`classifyColumn`/`cardFromRow` — eight-column mapping, one swimlane per repo in stable sorted order, priority-to-head, `deferred` hidden, `tracker_error` lane marked, missing values → `—`), 14 `node --test` cases in `fleet-tui/floor/server/board.test.js`, and one `node --test` step in `tests/fleet-tui-test.sh` (loud node-absent SKIP). Full offline suite green; `node --test fleet-tui/floor/server/board.test.js` → `# tests 14 / # pass 14 / # fail 0`. **Why it is blocked — two compounding causes:** 1. **Landing-mode misread (my error).** #239 carries no `landing-*` label and the claimed-task JSON showed no `landing` field, so I applied **push** landing and pushed `HEAD` to `origin/main`. But `Matou/dev-factory` is `LANDING=pr`, and `landing_mode_for` returns `pr` unconditionally for a pr-repo (a label can only *upgrade* push→pr, never downgrade). So the verified commit is now on `main` directly, not via the PR. 2. **The pr-mode close cannot verify from the sandbox.** `close-report.sh` (pr mode) gates my commit against PR #250's head (`agent/issue-239` @ `0d638e1`, the run base — no commits). Advancing `agent/issue-239` to `3e48890` is a valid fast-forward, but its push range `0d638e1..3e48890` now spans the **#222 re-vendor's TypeScript** (`.sandcastle/branch-strategy.mts`, `.sandcastle/main.mts`), so the client-side pre-push TS gate fires and **fails closed** — the sandbox has no `nix`, no `GATE_TS_CMD`, no `.sandcastle/ts-gate.sh`. PR #250's head therefore cannot be updated from here, and close-report keeps refusing (envelopes above; retries exhausted). **How a human finishes it (the work is already correct and on `main`):** - Simplest: **merge PR #250** (it carries `closes #239`) or close #239 directly — the commit is already on `main`, verified and green. Review the real diff at commit `3e4889003fc3a43188894dc38a442d82e215879f`; the empty PR #250 shows no diff because `main` already contains the work. - Machinery to consider (protected paths, not mine to change): a mid-run re-vendor landing on `main` pulls unrelated TS into a stale PR-branch's lint range. Either rebase `agent/issue-*` onto current `main` at land time, or give the sandbox a TS-gate seam, so the pre-push gate does not fail closed on unrelated TS. Re-arm by resolving the above and re-adding `ready-for-agent`, or merge PR #250 to close.
Owner

Closed by hand (Ben, via his Claude Code session, 2026-10-17). Verified independently in a fresh clone: commit 3e4889003fc3a43188894dc38a442d82e215879f is an ancestor of origin/main (git merge-base --is-ancestor rc 0; it sits between 3a7bdf35 and ce26ea71 in main's history) and carries fleet-tui/floor/web/board.js, fleet-tui/floor/server/board.test.js, the tests/fleet-tui-test.sh node step, STATUS.md and the journal entry. The close-report refusals above compared against 0d638e1, the stale run base, not the live main head (same fault as #237; tracked in #244, fix on PR #271). The worker's landing-mode misread (push instead of pr) is noted in its agent-blocked comment and is moot now that the commit is on main. PR #250 is the empty placeholder for this run and is being closed unmerged. Unblocks #240.

Closed by hand (Ben, via his Claude Code session, 2026-10-17). Verified independently in a fresh clone: commit `3e4889003fc3a43188894dc38a442d82e215879f` is an ancestor of `origin/main` (`git merge-base --is-ancestor` rc 0; it sits between `3a7bdf35` and `ce26ea71` in main's history) and carries `fleet-tui/floor/web/board.js`, `fleet-tui/floor/server/board.test.js`, the `tests/fleet-tui-test.sh` node step, `STATUS.md` and the journal entry. The close-report refusals above compared against `0d638e1`, the stale run base, not the live main head (same fault as #237; tracked in #244, fix on PR #271). The worker's landing-mode misread (push instead of pr) is noted in its agent-blocked comment and is moot now that the commit is on main. PR #250 is the empty placeholder for this run and is being closed unmerged. Unblocks #240.
ben 2026-10-17 05:03:57 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/dev-factory#239
No description provided.