diff --git a/AGENTS.md b/AGENTS.md
index a0905786..2452ed17 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -760,7 +760,13 @@ door's first-tap prompt, shown once; features/lessons.js).
`{ type, index, pageIdx, lineId, before, moved }`, set by the context menu's Move
label row, cleared by the drop, Esc or a right-click; a handle whose line is gone or
on another page cancels itself at the next slide; one slide long, never persisted;
- features/mark-context-menu.js).
+ features/mark-context-menu.js),
+ `state.placingGhost` + `placingGhostLast` + `placingGhostFromStamp` (the Ghost tool's copy
+ in hand, features/ghost.js: between a capture and its drop, and since STAMP-PICKUP,
+ 2026-10-13, after a Stamp, which takes the ghost off the sheet and hands it back to the
+ cursor grabbed where its menu opened; `placingGhostFromStamp` is read by app.js's undo and
+ redo, which drop the copy in hand because the undo of the stamp puts the ghost back on the
+ sheet; Esc lets it go, any other tool orphans it in `clearToolStarts`; never persisted).
- `config.example.js` is the template; `config.js` is committed for production.
### Cloud state (when Supabase enabled)
diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md
index 91cfdf60..a3a471ce 100644
--- a/ARCHITECTURE.md
+++ b/ARCHITECTURE.md
@@ -177,8 +177,8 @@ modules. Candidates in priority order:
| [user-admin.spec.js](user-admin.spec.js) | Playwright regression for pilot #20 — an always-run registry-contract test (asserts `window.App.openManageUserModal` + `openAllUsersModal` are functions and that calling them with no session is a safe no-op: the modals do not become visible and nothing throws), plus a cloud-gated test (`ensureSignedInWithProject`, `test.skip` when no cloud) that opens via `App.openManageUserModal()` and asserts `#manageUserModal.visible` + the list element gets content. Asserts no console / page errors; `npx playwright test user-admin.spec.js` |
| [features/load-project.js](features/load-project.js) | Twenty-first feature-file split (`window.App` registry pilot #21) and the **most dependency-heavy** so far — the cloud Load Project modal `openLoadProjectModal` (~585 lines: project browser list, ownership/role filters, per-row access panels + invite via `invite-to-project`, copy/download/delete row actions, and the project-load action). Its own IIFE loaded **after** [app.js](app.js); reads deps from `App` and re-reads `App.getSupabase()` in the outer fn + each nested async helper (client can be recycled); registers `App.openLoadProjectModal`. The save-before-load gate `openLoadProjectModalOrPromptSave` and the whole copy/fork domain live in [features/copy-project.js](features/copy-project.js) (split 2026-07-30 at this file's documented domain boundary); the `#loadProject*` bindings + Escape branch stay in app.js and reach both files through the registry at call time. The row renderer `renderLoadProjectListRows` is a thin loop over per-row helpers decomposed along its action boundaries (`computeLoadProjectRowSizeBytes` / `buildLoadProjectRowHtml` / `bindLoadProjectRowActions` / `bindLoadProjectAdminAccess` / `bindLoadProjectRowLoad`). Because the project-load action is fused with the boot/engine path, ~20 publish-only deps are exposed on `App` (`updateSaveStatusIndicator`, `canUseDevAuth`, `deleteProjectAsOwner`, `openCopyProjectModalOrPromptSave`, `hydrateProjectFromCloudRow`, `clearUndoStacks`, `subscribeToProjectCheckoutChanges`, `checkInCurrentProjectIfHeld`, `takeoffBackupGet`, `resolvePdfBufferForCloudProject`, `ensureGroupColors`, `openCanvasOnlyNeedsPdfModal`, `buildPagesFromPdfArrayBufferAndProjectData`, `backupDataToProjFormat`, `fitZoom`, `SUPABASE_URL`), incl. four **setters** (`setAutoSaveDirty`/`setLastModifiedAt`/`setLastLocalBackupAt`/`setLastSaveIncludedPdf`) for engine `let`-state the load resets (it cannot assign through the registry otherwise). The leftover grab-bag under the old `// SECTION: Load Project modal` marker was re-sectioned into 8 honest markers, and `// SECTION: Canvas Event Handlers` moved up to absorb the stray `showContextMenu`. The modal header has an admin-only **Advanced** toggle (`#loadProjectAdvancedToggle`, persisted via `loadProjectAdvanced`) that shows/hides every row's "Who has access" block by toggling a `hide-access` class on `#loadProjectList` (default OFF = hidden). The project-load action itself was extracted host-agnostic as `loadCloudProjectRow(proj, ui)` (registered `App.loadCloudProjectRow`; `ui` = `{hostModalId, showError}`) so [features/bid-board.js](features/bid-board.js) opens bids through the identical path; `bindLoadProjectRowLoad` is now the modal-specific wrapper (mutex + row busy UI). The owner-email filter is un-gated to `isAdmin \|\| isOverseer` **LOAD-DEVICE-PDF (2026-09-22)**: `devicePdfIfOnlyCopy(proj, idbBackup)` (the restore's rule: the backup's blob unless both hashes exist and disagree) is asked in both branches of `loadCloudProjectRow`, and `openOnDevicePdf` builds the sheets on it and hands the copy to the engine (`state.pdfBuffer`, `pdfStoragePath` null) for the autosave tick's upload; the canvas-only door opens only when the device has no copy. Spec: [load-device-pdf.spec.js](load-device-pdf.spec.js). R12 (2026-09-26): both canvas-only branches (the stored PDF missing, and no PDF stored) hydrate through `App.hydrateStateFromProjectData`, so a bid opened without its PDF no longer keeps the last project's rooms, zoom cap or duct knobs. REVIEW-BAR (2026-10-13): `loadCloudProjectRow` ends by calling `App.onCloudProjectRowLoaded(proj)` (features/review-flow.js) with the row it opened, so the review bar can show for a ready bid. |
| [features/copy-project.js](features/copy-project.js) | The **copy/fork domain + save-before-load gate**, split out of [features/load-project.js](features/load-project.js) 2026-07-30 at that file's documented domain boundary (the code itself arrived from app.js as registry split #35). Owns `pendingCopyProject` / `copyProjectModalTarget`; binds `#copyProjectModalConfirm` + the `#saveBeforeLoad*` modal buttons at load; registers `App.openCopyProjectModalOrPromptSave`, `App.openLoadProjectModalOrPromptSave`, `App.hydrateProjectFromCloudRow`, `App.resolvePdfBufferForCloudProject`, `App.buildPagesFromPdfArrayBufferAndProjectData`, `App.resetCopyProjectState`, `App.clearCopyProjectModalTarget`. Reads `App.openLoadProjectModal` (registered by load-project.js) at call time, so load order between the two files is irrelevant. Regression: [copy-project.spec.js](copy-project.spec.js). R12 (2026-09-26): `buildPagesFromPdfArrayBufferAndProjectData` builds its sheets with `App.buildBlankPagesFromPdf` and hydrates through `App.hydrateStateFromProjectData(d, { legacyScales: true })`. |
-| [features/bid-board.js](features/bid-board.js) | The **overseer Bid Board** (`#bidBoardModal`) — the read-only "see every bid" surface for `profiles.is_overseer` users (server side: migrations `profiles_is_overseer` / `list_accessible_projects_overseer` / `overseer_admin`, see SUPABASE_SETUP.md). Renders `list_accessible_projects` rows as presentation-friendly cards (name, estimator = owner-email local part, right-aligned, counts, last-edited; CLOUD-OFF-ICON 2026-10-13: a bid with its PDF in the cloud says nothing, one without wears a crossed-out cloud in the card's top-right corner, `.bid-card-cloud-off`, an inline stroke SVG with the note in a CSS tooltip on hover and in its `aria-label`) with a search box + estimator ``; a card click funnels into `App.loadCloudProjectRow` (extracted from [features/load-project.js](features/load-project.js)) with `hostModalId: 'bidBoardModal'`, so a bid always opens in the existing viewer mode (`state.isViewer` — overseers have no checkout arm server-side). Registers `App.openBidBoard` (also bound to `#bidBoardBtnSidebar`, shown for overseers **and** admins by `updateUI`) and `App.maybeAutoOpenBidBoard` — called from app.js after the profile flags land at sign-in; auto-opens **once per page load** for pure overseers (never admins) with nothing on screen, deferring to a stored `clickcount-last-project` (the restore-last-session flow) and to view-link tabs. Regression: [bid-board.spec.js](bid-board.spec.js) (stubbed `App.getSupabase`; registry no-op, card render + filters, auto-open guards). Hides the two test-harness accounts' projects (`HIDDEN_TEST_OWNERS`, mirroring cleanup-test-accounts). PEOPLE-TWINS (2026-10-13): a **People · Twins · All** switch (`#bidBoardKind`, a `.radio-seg` beside the search) opens on People for everyone but an admin, who opens on All; a twin is told by the owner's email against `TWIN_OWNER_RE`, the pattern twin-login enforces (the RPC carries no twin flag); `kindRows` feeds both the list and the estimator `` (only the owners the segment shows); under People a `.bid-board-hidden-note` under the list says how many twin bids are off with a "show twins" link; the switch hides itself when no bid is twin-owned; the choice is per open, never stored. The Ready lane runs oldest waiting first (`byOldestWaiting` on `review_requested_at`, Will 2026-10-13; the lane title says so in a `.bid-board-lane-hint`) and is handed to the review bar as its queue (`App.setReviewQueue`), so Next ready walks the lane as shown. Review handoff: `review_status === 'ready'` rows render in a pinned **Ready for review** lane (`.bid-board-lane-title`) with a gold badge; `'reviewed'` rows carry a quiet ✓ badge. DROP-CARD-BUTTONS (2026-10-13): a card carries no decision; Mark reviewed and Request changes… live on the review bar in the opened bid ([features/review-flow.js](features/review-flow.js)), which the card click reaches. |
-| [features/review-flow.js](features/review-flow.js) | The **bid review handoff** (estimator → overseer ops flow; server side: migrations `project_review_flow` / `list_accessible_projects_review`). Registers `App.setProjectReviewStatus(projectId, status)` — the single client entry to the guarded `set_project_review_status` RPC (`'ready'`/clear: owner, editor share, or admin; `'reviewed'`: overseer or admin) — and owns the Project Settings **Bid review** row (`#settingsReviewRow`: live status line + transition button "Mark ready for review" / "Withdraw" / "Mark ready again"). The row re-renders via a MutationObserver on `#settingsModal`'s class each time the modal becomes visible (no app.js hook), fetching `review_status/review_requested_at/reviewed_at` fresh from the projects row; it hides for signed-out/no-project/pure-viewer sessions but never gates harder than the server. Badged by [features/bid-board.js](features/bid-board.js) (the lane) and in [features/load-project.js](features/load-project.js) rows; since DROP-CARD-BUTTONS (2026-10-13) the board's cards carry no decision and the review bar below is the reviewer's only one. REVIEW-BAR (2026-10-13, BOARD-QUIET step 1): owns the **review bar** (`#reviewBar`, in the `.app` flex column under the header), shown by `App.onCloudProjectRowLoaded(proj)`, which features/load-project.js calls at the end of a cloud load with the RPC row, for a `review_status === 'ready'` row when `App.canOversee()`: how long it has waited, the owner, the counts, then Request changes… (the confirm dialog's note), Mark reviewed, and Next ready, which opens the next ready row of the queue the board hands over with `App.setReviewQueue(rows)` (its Ready lane as rendered, oldest waiting first) through `App.loadCloudProjectRow`; after a decision the bar says what happened and how many are left; `App.refreshReviewBar` (from `updateUI`) hides it once the open project is not the one it was shown for; `App.showReviewBar` is the spec seam. Regression: the review-handoff and review-bar tests in [bid-board.spec.js](bid-board.spec.js). |
+| [features/bid-board.js](features/bid-board.js) | The **overseer Bid Board** (`#bidBoardModal`) — the read-only "see every bid" surface for overseers (`profiles.is_overseer`) and, since LEAD-ROLE (2026-10-02), leads and admins too (server side: migrations `profiles_is_overseer` / `list_accessible_projects_overseer` / `overseer_admin`, see SUPABASE_SETUP.md). Renders `list_accessible_projects` rows as presentation-friendly cards (name, estimator = owner-email local part, right-aligned, counts, last-edited; CLOUD-OFF-ICON 2026-10-13: a bid with its PDF in the cloud says nothing, one without wears a crossed-out cloud in the card's top-right corner, `.bid-card-cloud-off`, an inline stroke SVG with the note in a CSS tooltip on hover and in its `aria-label`) with a search box + estimator ``; a card click funnels into `App.loadCloudProjectRow` (extracted from [features/load-project.js](features/load-project.js)) with `hostModalId: 'bidBoardModal'`, so a bid always opens in the existing viewer mode (`state.isViewer` — overseers have no checkout arm server-side). Registers `App.openBidBoard` (also bound to `#bidBoardBtnSidebar`, shown for overseers, admins and leads by `updateUI`: `state.isOverseer || state.isAdmin || state.isLead`) and `App.maybeAutoOpenBidBoard` — called from app.js after the profile flags land at sign-in; auto-opens **once per page load** for pure overseers (never admins) with nothing on screen, deferring to a stored `clickcount-last-project` (the restore-last-session flow) and to view-link tabs. Regression: [bid-board.spec.js](bid-board.spec.js) (stubbed `App.getSupabase`; registry no-op, card render + filters, the Ready lane with no decision on a card, People · Twins · All for a lead and for an admin, the review bar on an open ready bid, auto-open guards). Hides the two test-harness accounts' projects (`HIDDEN_TEST_OWNERS`, mirroring cleanup-test-accounts). PEOPLE-TWINS (2026-10-13): a **People · Twins · All** switch (`#bidBoardKind`, a `.radio-seg` beside the search) opens on People for everyone but an admin, who opens on All; a twin is told by the owner's email against `TWIN_OWNER_RE`, the pattern twin-login enforces (the RPC carries no twin flag); `kindRows` feeds both the list and the estimator `` (only the owners the segment shows); under People a `.bid-board-hidden-note` under the list says how many twin bids are off with a "show twins" link; the switch hides itself when no bid is twin-owned; the choice is per open, never stored. The Ready lane runs oldest waiting first (`byOldestWaiting` on `review_requested_at`, Will 2026-10-13; the lane title says so in a `.bid-board-lane-hint`) and is handed to the review bar as its queue (`App.setReviewQueue`), so Next ready walks the lane as shown. Review handoff: `review_status === 'ready'` rows render in a pinned **Ready for review** lane (`.bid-board-lane-title`) with a gold badge; `'reviewed'` rows carry a quiet ✓ badge. DROP-CARD-BUTTONS (2026-10-13): a card carries no decision; Mark reviewed and Request changes… live on the review bar in the opened bid ([features/review-flow.js](features/review-flow.js)), which the card click reaches. |
+| [features/review-flow.js](features/review-flow.js) | The **bid review handoff** (estimator → overseer ops flow; server side: migrations `project_review_flow` / `list_accessible_projects_review`). Registers `App.setProjectReviewStatus(projectId, status, note)` — the single client entry to the guarded `set_project_review_status` RPC (`'ready'`/clear: owner, editor share, admin or lead; `'reviewed'`, and `'changes'` with its non-blank note: a reviewer, overseer, lead or admin, since LEAD-ROLE 2026-10-02) — and owns the Project Settings **Bid review** row (`#settingsReviewRow`: live status line + transition button "Mark ready for review" / "Withdraw" / "Mark ready again"). The row re-renders via a MutationObserver on `#settingsModal`'s class each time the modal becomes visible (no app.js hook), fetching `review_status/review_requested_at/reviewed_at` fresh from the projects row; it hides for signed-out/no-project/pure-viewer sessions but never gates harder than the server. Badged by [features/bid-board.js](features/bid-board.js) (the lane) and in [features/load-project.js](features/load-project.js) rows; since DROP-CARD-BUTTONS (2026-10-13) the board's cards carry no decision and the review bar below is the reviewer's only one. REVIEW-BAR (2026-10-13, BOARD-QUIET step 1): owns the **review bar** (`#reviewBar`, in the `.app` flex column under the header), shown by `App.onCloudProjectRowLoaded(proj)`, which features/load-project.js calls at the end of a cloud load with the RPC row, for a `review_status === 'ready'` row when `App.canOversee()`: how long it has waited, the owner, the counts, then Request changes… (the confirm dialog's note), Mark reviewed, and Next ready, which opens the next ready row of the queue the board hands over with `App.setReviewQueue(rows)` (its Ready lane as rendered, oldest waiting first) through `App.loadCloudProjectRow`; after a decision the bar says what happened and how many are left; `App.refreshReviewBar` (from `updateUI`) hides it once the open project is not the one it was shown for; `App.showReviewBar` is the spec seam. Regression: the review-handoff and review-bar tests in [bid-board.spec.js](bid-board.spec.js). |
| [features/bid-chip.js](features/bid-chip.js) | **The header bid switcher's chip** (BID-SWITCHER.md stage 2): `#headerBidChip` names the open bid ("No bid open" otherwise) and opens a menu of [recent-bids.js](recent-bids.js)' list, so moving between bids skips Load Project. Takes the wordmark's slot once a bid is open, and shows `#headerSidebarToggle` in its place (exactly one of the two is visible). Registers `App.renderBidChip` (called from app.js `updateUI`), `App.closeBidMenu` and `App.isBidMenuOpen` (the Esc ladder's popover rung), `App.loadRecentBidNow`. Spec: [bid-switcher.spec.js](bid-switcher.spec.js). |
| [copy-project.spec.js](copy-project.spec.js) | Always-run Playwright regression for the copy/fork split — registry contract (all seven registered names are functions), the not-dirty path (`openCopyProjectModalOrPromptSave` opens `#copyProjectModal` with the "(copy)" name prefilled), the dirty path (opens `#saveBeforeLoadModal` with the copy-specific message; Cancel clears `pendingCopyProject`), and Discard routing back to the copy modal. `npx playwright test copy-project.spec.js` |
| [load-project.spec.js](load-project.spec.js) | Playwright regression for pilot #21 — an always-run registry-contract test (`window.App.openLoadProjectModal` is a function; with Supabase unconfigured the modal shows "Cloud not configured" and becomes visible without throwing), plus a cloud-gated test (`ensureSignedInWithProject`, `test.skip` when no cloud) that opens via `App.openLoadProjectModal()` and asserts `#loadProjectModal.visible` + `#loadProjectList` (or `#loadProjectEmpty`) populated. Asserts no console / page errors; `npx playwright test load-project.spec.js` |
@@ -247,7 +247,7 @@ modules. Candidates in priority order:
| [features/line-color.js](features/line-color.js) | The **shared color-selection service** (registry split #36): `showLineColorModal(currentColor, onApply)` (callback stashed on `state.pendingLineColorApply`), `pushRecentColor` (custom-only recents via the pure `nextRecentColors`, localStorage-persisted), and `setupCreateColorPicker(opts)` (the Presets / custom / Recent picker embedded in the three create surfaces). Consumed by features/item-details.js, counter.js, choose-create-line-type.js, quick-line.js, and app.js — a shared dependency of four feature files, so it must not be merged into any one of them. Reads `COLORS` / `nextRecentColors` as bare constants.js globals (unlike the other feature files). Regression: [create-color-picker.spec.js](create-color-picker.spec.js) (no name-matched spec). |
| [features/custom-icon-upload.js](features/custom-icon-upload.js) | **Custom icon upload** (registry split #37): `parseUploadedSvg` (SVG path/rect/circle/ellipse/line → normalized path icon) + the `#customIconUploadInput` handler that persists the icon (`getUserCustomIcons`/`saveUserCustomIcons`) and refreshes the three custom icon grids (Create Counter, Quick Count, Details). The Create Counter grid is rebuilt by its owner's builder, `App.buildCreateCustomIconGrid` ([features/counter.js](features/counter.js)), the same one the panel opens with, so a pick after an upload fills the name AND re-reads the fixture units (MAP-ICON-PREFILL, D34); the upload's own autofill re-reads them too (`App.syncWsfuForm('create')`). `selectUploadedIcon` makes the success visible (T2-05 #19): it scrolls the new cell into view (`scrollIntoView({ block: 'nearest' })` — the cell appends below the grid's 200px fold) and adds the one-shot `.flash-new` selection-ring pulse (styles.css `icon-cell-flash` keyframes; no removal listener — every upload rebuilds the grid via `innerHTML`, so the class never survives a rerender). Registers nothing; reads feature-registered members at call time (`App.buildCreateCustomIconGrid` + `App.markCreateIconPicked` from counter.js, `App.syncWsfuForm` from water-fixtures.js, `App.updateCounterQuickCountNamePreview` from quick-modals.js, `App.getCounterLineTypeDetailsItem` from item-details.js). Persistence side covered by [custom-icon-paths-indexeddb.spec.js](custom-icon-paths-indexeddb.spec.js); the upload path by [custom-icon-upload.spec.js](custom-icon-upload.spec.js) (real FileReader + DOMParser walk via `setInputFiles`; grid refresh + selection + name autofill; a custom pick after an upload prefills Fixture units the same as before one; the T2-05 in-scroll-window + `.flash-new` assertions; the no-supported-shapes rejection alert). |
| [features/ghost.js](features/ghost.js) | **The Ghost tool** (PROTOTYPE): rubber-band a batch of placed marks into a translucent reference copy ("a typical"), drag it over another part of the sheet, and optionally **Stamp** it down as real counted marks. Owns the capture→place gesture (`handleGhostCanvasClick`, staged `handleGhostEscape`) and the per-ghost right-click menu (`tryOpenGhostMenuAt` — Stamp / Show counts / Show runs / Delete). The model half is pure in annotation-model.js (`captureGhostFromRect`, `ghostCounts`, `ghostBounds`, `translateGhost`, `stampGhostIntoAnnotations`, `ghostIndexAtPoint`); drawing is `drawGhosts` in canvas-draw.js (live overlay ONLY — never the export path, like the grid). Ghosts are a DISTINCT annotation kind (`ann.ghosts[]`, `{ id, label, showCounters, showLines, src }` with src annotation-shaped in absolute PDF-space) so no tally surface can read them; Stamp is the single door to counted marks. STAMP-PICKUP (2026-10-13, Wendi): Stamp hands the ghost back to the cursor: the marks land, the ghost leaves `ann.ghosts` and rides the pointer again (`state.placingGhost`, grabbed where the menu was opened, `state.placingGhostFromStamp`), so nothing stays over the stamped marks and the next spot is one click away; Esc lets it go, another tool orphans it, and app.js's undo/redo drop it (`dropGhostPickedUpByStamp`), since the undo of the stamp puts the ghost back on the sheet. MAP-GHOST-DELETE: registers `App.purgeFromEveryGhost(kind, id)`, which the delete cascades (item-details.js `performDeleteCounterLineType`, groups.js `deleteGroup`) call after pruning the live marks; it runs the pure `purgeFromGhosts` over every page and layer plus the ghost riding the cursor, and drops `activeGhostId` / the open menu for a ghost it emptied, so a deleted type or group cannot be stamped back uncounted. App.* deps: state, TOOL, ensureActiveCanvas, getActiveAnnotations, getPageCanvases, pushUndoSnapshot, markProjectDirty, showToast, placeFixedMenu, renderAnnotations, updateUI, logUserEvent + the model wrappers (and `purgeFromGhosts`). Hotkey G. |
-| [ghost.spec.js](ghost.spec.js) | Playwright regression for features/ghost.js: registry contract + G arming, the three-click capture→place gesture leaving every tally untouched (footer text pinned byte-identical), the both-ends capture rule + empty-box refusal, the staged Escape ladder, show/hide toggles gating Stamp, Stamp minting fresh-id real marks with the ghost surviving for the next drop, and the save/load sanitizer roundtrip. MAP-GHOST-DELETE: deleting a counter, a line type (the details modal's Delete + confirm) or a group (`App.deleteGroup` + `#confirmOk`) empties it out of the Typical, and a Stamp from the ghost menu brings back none of it; deleting everything a Typical held removes the Typical. |
+| [ghost.spec.js](ghost.spec.js) | Playwright regression for features/ghost.js: registry contract + G arming, the three-click capture→place gesture leaving every tally untouched (footer text pinned byte-identical), the both-ends capture rule + empty-box refusal, the staged Escape ladder, show/hide toggles gating Stamp, the pure stamp minting fresh-id real marks (the model leaves the ghost in its list; it is the menu's Stamp that picks it up), STAMP-PICKUP (2026-10-13: Stamp from the menu hands the ghost to the cursor grabbed where the menu opened, the next drop, a stamp again, Esc letting it go with the marks kept, undo putting it back on the sheet and dropping the one in hand, redo, and a captured ghost untouched by an unrelated undo), a mouse drag never arming a capture corner, and the save/load sanitizer roundtrip. MAP-GHOST-DELETE: deleting a counter, a line type (the details modal's Delete + confirm) or a group (`App.deleteGroup` + `#confirmOk`) empties it out of the Typical, and a Stamp from the ghost menu brings back none of it; deleting everything a Typical held removes the Typical. |
| [features/hotkey-peek.js](features/hotkey-peek.js) | **Hotkey peek**: hold Cmd (or Alt) about 1.5s to show a `` badge on every visible control that has a hotkey (`body.hotkey-peek`); release, blur or a second key hides or cancels it. Badges are stamped lazily from `App.HOTKEYS` (so they cannot drift from the keydown handler); runner entries map through `RUNNER_BADGE_TARGETS`. Adds a visual layer only, never handles a hotkey. Debug seam `App.__hotkeyPeekState`. Spec: [hotkey-peek.spec.js](hotkey-peek.spec.js). |
| [keyboard-map.spec.js](keyboard-map.spec.js) | Playwright regression for the Keyboard Map — the load-bearing test is the **derivation guard**: it walks every `` in the Macros table, normalizes it with a mirror of the feature's `normalizeKeyToken`, and asserts each one resolves to a board key that is lit (so a future shortcut row the board can't represent fails CI-adjacent local runs rather than silently going dark). Split by breakpoint: the **desktop** describe (default viewport) asserts the inline board is pre-built and visible on Macros-open with **no second click**, the See Keyboard button and its modal stay out of the way, the tool hotkeys `M/S/C/L/J/P/D/R/H/X/V/N/Z/Q` + Space/Escape/arrows are lit, modifiers are outlined rather than filled, an unmapped key (`G`) is a plain silhouette, and the hover caption names the action (incl. a two-action key); a second desktop test asserts the layout contract — card within the viewport, the **body** (not the card) scrolling, and the board sitting above it. The **mobile** describe (375×812) asserts the inverse visibility, that the button opens the modal on top of the list, that the board scrolls inside `.kb-board-wrap` without the page body overflowing, Escape ordering (board first, then the list), and the close button. Both run the derivation guard against their own host. Filters the gitignored `/config.local.js` 404 like [render-pixels.spec.js](render-pixels.spec.js). `npx playwright test keyboard-map.spec.js` |
| [item-details.spec.js](item-details.spec.js) | Playwright regression for pilot #25 — seeds a counter (markers on 2 pages) + line type + grouped quick line, then drives the moved surface end-to-end: sidebar edit pen opens the details modal (title, per-page usage rows, getter returns the open item), rename persists on blur, the moved close binding resets the item, the delete flow routes confirm-modal → `performDeleteCounterLineType` (counter + all markers gone, both modals hidden), Line Properties opens via the context-menu path and Escape closes it via `App.closeLinePropertiesModal` persisting a just-typed drop, and `App.deleteGroup` clears the group off annotations. Asserts no console / page errors; `npx playwright test item-details.spec.js` |
@@ -1188,6 +1188,13 @@ Everything below is built on top of the [RECONSTITUTE.md](RECONSTITUTE.md) core.
[features/highlight-labels.js](features/highlight-labels.js).
- **Note annotation** (`N`) — click to place, modal for text; red text; resizable
width and font size; moveable; double-click or context Edit to edit.
+- **Ghost / Stamp** (`G`, the ⋯ menu) — rubber-band a batch of placed counters and lines
+ into a translucent reference copy of a typical that rides the cursor, drops and drags as a
+ batch, and is stamped down as real counted marks from its right-click menu (Stamp / Show
+ counts / Show runs / Delete). A ghost is a distinct annotation kind (`ann.ghosts[]`) no
+ tally reads, Stamp the one door to counted marks; since STAMP-PICKUP (2026-10-13) Stamp
+ hands the ghost back to the cursor for the next spot, and undo of the stamp puts it back
+ on the sheet. See [features/ghost.js](features/ghost.js).
- **Page rotation** (`R`) — per-page `page.rotation` (0/90/180/270); annotations
and notes transform; persisted.
- **Snap to 45° angles** (`J`) — header toggle (right of Polyline when
@@ -1501,6 +1508,19 @@ Everything below is built on top of the [RECONSTITUTE.md](RECONSTITUTE.md) core.
and hands a bid to another estimator from Project Settings' Hand to… (features/hand-off.js,
the `reassign_project` RPC); accounts stay admin); realtime notifications via
`subscribeToProjectCheckoutChanges`.
+- **All Bids board + bid review handoff** — `#bidBoardModal` (features/bid-board.js): every
+ bid in the company as cards for overseers, leads and admins (auto-opens once for a pure
+ overseer), with search, an estimator filter and, where the company runs digital twins, a
+ People · Twins · All switch (PEOPLE-TWINS 2026-10-13: People by default, All for an admin);
+ a card says nothing about the cloud unless the PDF is missing (a crossed-out cloud in its
+ corner, CLOUD-OFF-ICON); a card click opens the bid read-only through
+ `App.loadCloudProjectRow`. The handoff (features/review-flow.js over the
+ `set_project_review_status` RPC): the estimator marks a bid Ready for review from Project
+ Settings' Bid review row (withdraw, re-request); ready bids sit in a pinned Ready for review
+ lane, oldest waiting first; opening one as a reviewer shows the review bar under the header
+ (`#reviewBar`, REVIEW-BAR 2026-10-13) with how long it has waited, Request changes… (a note
+ the server requires), Mark reviewed and Next ready, which walks the lane; the cards carry no
+ decision (DROP-CARD-BUTTONS). Plan: [journeys/plans/BID-BOARD-QUIET.md](journeys/plans/BID-BOARD-QUIET.md).
- **Checkout expired recovery** — recovery modal + silent auto-recheckout
(`tryAutoRecheckoutIfAllowed`, `handleBackgroundCheckoutExpired`); see CHANGELOG.
- **View links** — `project_view_links` + `view_link_access_log`; Share modal
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1b2591f2..db3d29ad 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,46 @@ expired recovery UX" work occupies that slot).
---
+## docs: the hand-kept lists caught up to main at 655a023 (2026-10-13)
+
+A read of AGENTS.md, ARCHITECTURE.md, RECONSTITUTE.md, SUPABASE_SETUP.md, FEATURES.md,
+FEATURE-CATALOG.md, the Overseer guide and the BOARD-QUIET plan against the code after the seven
+PRs since the pass at 5362f42 earlier today (#327 the measuring guide, #328 the BOARD-QUIET row,
+#329 PEOPLE-TWINS, #330 REVIEW-BAR, #331 DROP-CARD-BUTTONS, #332 CLOUD-OFF-ICON, #333
+STAMP-PICKUP). Each kept its CHANGELOG entry, its ARCHITECTURE rows and, for the board, the
+guide; what drifted was the lists beside them, the product copy, and the lines LEAD-ROLE
+(2026-10-02) had already left behind in the rows these PRs touched.
+
+- **AGENTS.md.** The in-memory state list gains the ghost in hand (`state.placingGhost`,
+ `placingGhostLast`, `placingGhostFromStamp`), since STAMP-PICKUP made it a cross-file contract
+ that app.js's undo reads.
+- **ARCHITECTURE.md.** The ghost.spec row said the ghost survives its own stamp for the next drop
+ and listed neither the STAMP-PICKUP test nor the drag test; the bid-board row named overseers
+ and admins where the sidebar button and the server have included leads since LEAD-ROLE, and
+ its spec list lacked this week's three board tests; the review-flow row gave
+ `setProjectReviewStatus` two arguments and a reviewer set without leads. The feature catalog
+ ("Features Beyond Spec") had no bullet for the Ghost / Stamp tool (2026-08-20) or for the All
+ Bids board and the review handoff (2026-08-28); both written.
+- **FEATURES.md and FEATURE-CATALOG.md.** A line and an entry for the All Bids board with the
+ review handoff (none of the four board PRs wrote one); a line and an entry for Ghost / Stamp,
+ which had none since it shipped; and the catalog's Lead role entry, which FEATURES.md had and
+ the catalog did not.
+- **SUPABASE_SETUP.md.** The handoff bullet still had the overseer clicking Mark reviewed on the
+ card.
+- **The Overseer guide.** "Only an overseer or admin can mark it reviewed" and the admins aside
+ under Granting the role, both from before leads; rebuilt. The board screenshot showed the old
+ badges (the CLOUD-OFF-ICON entry said so): the generator's callout box still pointed at the
+ removed `.bid-card-badge-warn`, now `.bid-card-cloud-off`, and `overseer-all-bids.png` is
+ rebuilt from it (the overlay now right-aligns a callout label whose box sits at the frame's
+ right edge, where "Cloud status" was clipped).
+- **BOARD-QUIET.** The plan's Shipped list lacked CLOUD-OFF-ICON and its closing line still named
+ the Fully cloud badge as a redundancy to remove; the PUNCHLIST row names the fourth step.
+- Code comments the rows copy: features/review-flow.js's and features/bid-board.js's headers
+ (leads), ghost.spec.js's old stamp test (the pure stamp leaves the ghost in its list). sw.js
+ restamped for the two shell files.
+- Not touched: RECONSTITUTE.md (no shape changed; a ghost in hand is state, not a payload),
+ JOURNEY-MAP.md, the deck, the courses.
+
## feat(ghost): Stamp hands the ghost back to the cursor (STAMP-PICKUP, 2026-10-13)
Wendi: "i want the text and box to go away after using a ghost stamp." The box and the word
diff --git a/FEATURE-CATALOG.md b/FEATURE-CATALOG.md
index 12706f9b..c49cf568 100644
--- a/FEATURE-CATALOG.md
+++ b/FEATURE-CATALOG.md
@@ -120,6 +120,14 @@ reflects all ten automatically. Every counter total surface shows the multiplied
number — sidebar badges, Choose tab, Summary, footer, legend, report all agree — and hovering a
sidebar/Summary badge shows the placed count.
+**Ghost / Stamp — a typical that rides the cursor**
+*Problem:* A restroom group or a unit layout repeats across a floor at different spots, where a
+multiply zone (one spot, many copies) does not fit, and counting each copy by hand is the same
+twenty clicks again.
+*Useful because:* Rubber-band the placed marks into a translucent copy, drop it where the next one
+goes, and Stamp it down as real counted marks; the ghost itself never reaches a total, and after a
+stamp it is back in hand for the next spot, so a four-restroom floor is one capture and four stamps.
+
---
## 3. Counting
@@ -463,6 +471,23 @@ what they were.
*Useful because:* One view shows which counters and line types you actually use across all your
projects, with one-click adds of the proven ones to your Artboard.
+**All Bids board + bid review handoff**
+*Problem:* The owner or the senior estimator who needs to see a bid has to ask for it to be shared,
+and "it's done, go look" is a chat message nobody tracks.
+*Useful because:* An overseer, lead or admin opens every bid in the company from one board (search,
+an estimator filter, and a People · Twins · All switch where digital twins run, so the fleet's
+backtests stay out of the way). The estimator marks a bid Ready for review from Project Settings;
+it joins a pinned lane, oldest waiting first, and opening it shows a Reviewing bar with Request
+changes…, Mark reviewed and Next ready, so a morning of reviews is one loop. Both sides see the
+state on the bid.
+
+**Lead role — takes over bids without the admin's keys**
+*Problem:* The lead estimator who must free a stuck lock, reassign a bid or fix who has access
+either waits for an admin or is made one, with the account and delete powers that brings.
+*Useful because:* A lead sees every bid, checks out any, forces a live lock, manages a bid's
+editors and viewers, marks it reviewed, and hands it to another estimator with one click; users,
+passwords, deletes and the global reload stay with admins.
+
**Admin toolkit — users, projects, activity, force turn-in, global reload**
*Problem:* Team tools usually externalize administration to a separate console (or a support
ticket).
diff --git a/FEATURES.md b/FEATURES.md
index 51cfc9b2..de1007e7 100644
--- a/FEATURES.md
+++ b/FEATURES.md
@@ -21,6 +21,7 @@ Compiled 2026-07-31 from the live app, ARCHITECTURE.md's feature catalog, and th
- **Synthetic scale bar** — A dashed reference bar drawn on the sheet lets you eyeball a preset scale against a known dimension at any time.
- **Scale zones** — A detail or isometric drawn at a different scale on the same sheet measures correctly without re-scaling the page. On a compressed/rescaled sheet, zone presets carry the same sheet-size correction as the page, so detail and plan agree.
- **Multiply zones** — Count one typical floor, wrap it in a ×10 zone, and the totals reflect all ten — no duplicate clicking. Every counter total surface shows the multiplied ("with repeats") number; hovering a sidebar or Summary badge shows how many marks are physically placed.
+- **Ghost / Stamp (G)** — Rubber-band a typical (a restroom group, a unit) into a translucent copy that rides the cursor, drop it where the next one goes, and Stamp it down as real counted marks; the ghost itself never counts, and after a stamp it is back in hand for the next spot, so a four-restroom floor is one capture and four stamps.
## Counting
@@ -108,6 +109,7 @@ Compiled 2026-07-31 from the live app, ARCHITECTURE.md's feature catalog, and th
- **Viewer scale sharing** — A view-link recipient can set a page scale and it shares back to the project, so field questions get answered without a round trip.
- **Artboard (cloud palette)** — Your counters, line types, modifiers, and Quick Key layout follow your account to any device — set up once, reuse every bid; loading mid-bid re-links your placed marks by name, nothing stops counting.
- **My Standards** — See which counters and line types you actually use across all your projects and add the standards to your Artboard in one click.
+- **All Bids board + bid review handoff** — An overseer, lead or admin sees every bid in the company on one board, newest first, with search and an estimator filter (a company running digital twins gets a People · Twins · All switch, so the fleet's backtests stay out of the way). An estimator marks a bid Ready for review from Project Settings; it joins a pinned lane, oldest waiting first, and opening it shows a Reviewing bar with Request changes…, Mark reviewed and Next ready, so a morning of reviews is one loop, not forty trips to the board.
- **Lead role (takes over bids)** — A lead estimator sees every bid, checks out any, frees a stuck lock, manages who has access, and hands a bid to another estimator with one click, without the keys to accounts and deletes an admin holds.
- **Admin toolkit** — Create/manage users, transfer project ownership, force turn-in, audit per-user activity, and push a global reload — all inside the app.
diff --git a/PUNCHLIST.md b/PUNCHLIST.md
index 8f49b3b8..40b9ac91 100644
--- a/PUNCHLIST.md
+++ b/PUNCHLIST.md
@@ -38,5 +38,5 @@ How agents add to this list: AGENTS.md, "Recording a to-do".
| TRADE-DEFAULT | A project that never named a trade: does the device's default trade count as the project's? The app answers three ways today, so Bid Check on such a project shows water rows and the IPC edition but no hanger, fitting or plumbing rows. Decide, then one resolver | decision | ⚑ call | — | [DECOMPOSITION_MAP.md](DECOMPOSITION_MAP.md#t06-one-trade-resolver) |
| ICON-STORE | Opening a project REPLACES the user's own icon store with its `customIconPaths` (annotation-model.js:509 and 444 into app.js:209, wholesale; a project with an empty list empties the store), and they ride the user's later saves. Since #268 they are inert, but should a project be able to add icons to a user's store at all? Decide, then build | decision | ⚑ call | — | |
| DEMO-TRACK | The demo track behind the test drive's "Try it" is built for all three trades (phases 1 to 3 landed 2026-10-02). Left: a tester's real tablet and phone walk with a stopwatch against the 60 s target | test | tester | — | [DEMO-TRACK.md](journeys/plans/DEMO-TRACK.md#open-after-phase-2) |
-| BOARD-QUIET | All Bids for a lead: the board becomes a quiet list, actions on the hovered row, exceptions only, grouped by estimator once there are enough; PEOPLE-TWINS, REVIEW-BAR and DROP-CARD-BUTTONS shipped the first steps (the twin fleet off by default, the decision in the opened bid only, oldest waiting first) | build | agent | — | [BID-BOARD-QUIET.md](journeys/plans/BID-BOARD-QUIET.md#what-is-left) |
+| BOARD-QUIET | All Bids for a lead: the board becomes a quiet list, actions on the hovered row, exceptions only, grouped by estimator once there are enough; PEOPLE-TWINS, REVIEW-BAR, DROP-CARD-BUTTONS and CLOUD-OFF-ICON shipped the first steps (the twin fleet off by default, the decision in the opened bid only, oldest waiting first, the cloud silent unless the PDF is missing) | build | agent | — | [BID-BOARD-QUIET.md](journeys/plans/BID-BOARD-QUIET.md#what-is-left) |
| DEEP-ZOOM | Zoom past 1200% for Wendi: a full-density overlay window for the marks at deep zoom, the ceiling to 5000% with the device and per-sheet guard rails, and a smaller full-page backdrop past 4×; measured safe to 30000% on main, the blur is the marks, not the sheet | build | agent | — | [DEEP-ZOOM.md](journeys/plans/DEEP-ZOOM.md#the-build) |
diff --git a/SUPABASE_SETUP.md b/SUPABASE_SETUP.md
index 0adfa220..72b749ff 100644
--- a/SUPABASE_SETUP.md
+++ b/SUPABASE_SETUP.md
@@ -275,7 +275,7 @@ on conflict (user_id) do update set is_admin = true;
- **Manage User** (admin only) — In User Settings, open Manage User to list all users with role, an owned-**Projects** count, and last sign-in / last active. Per-row actions: **Set password** (🔑, reset any user's password via `admin-set-password`), **Transfer projects** (⇄, move all of a user's projects to someone else via `admin-reassign-projects`), **Overseer toggle** (👁, grant/revoke the read-only see-every-bid role via `admin_set_overseer` — the icon is lit when active and the Role column reads `Overseer`), **View activity** (♥, opens the activity overview), and **Delete**. Delete opens a dialog offering to either delete the user's projects too or **reassign** them to another user first (`admin-delete-user` with `reassignToUserId`). Click a user's **Projects** count to see their project list (name + last-edited), or their stacked **dates** cell / heart icon to open the **Activity overview**. Reassign/transfer moves the project rows *and* their owner-scoped PDF storage objects, preserves inherited view links, and clears redundant shares. You cannot delete yourself.
- **All Users** (admin only) — In User Settings, view all users with role, project count, last sign-in / last active, and per-row **View activity**.
- **Overseer / Bid Board** — A user flagged `profiles.is_overseer` (Manage Users 👁 toggle, or SQL upsert like the admin one above) sees **every project, always read-only**: the **All Bids** board (sidebar button; auto-opens for pure overseers signing in with nothing to restore) lists every bid as cards (name, estimator, counts, last edited) with search + estimator filter, and clicking one opens it in the existing viewer mode. Load Project shows the same full list with the owner filter. No edit, checkout, share, delete, or admin surfaces — enforced server-side (dedicated read-only RLS policies; the checkout RPC refuses overseers). Test-harness accounts' projects are hidden from the board.
-- **Bid review handoff** — An estimator marks a cloud bid **Ready for review** from Project Settings (status row + toggle; withdraw or re-request anytime). The Bid Board pins ready bids in a **Ready for review** lane where an overseer/admin clicks **Mark reviewed**; reviewed bids carry a quiet ✓ badge (Load Project rows badge both states too). All transitions go through `set_project_review_status` (server-guarded per role).
+- **Bid review handoff** — An estimator marks a cloud bid **Ready for review** from Project Settings (status row + toggle; withdraw or re-request anytime). The Bid Board pins ready bids in a **Ready for review** lane, oldest waiting first; opening one as a reviewer (overseer, lead or admin) shows the review bar under the header with **Request changes…**, **Mark reviewed** and **Next ready** (REVIEW-BAR, 2026-10-13; the cards carry no decision since DROP-CARD-BUTTONS); reviewed bids carry a quiet ✓ badge (Load Project rows badge both states too). All transitions go through `set_project_review_status` (server-guarded per role).
- **My Activity** — In User Settings, any signed-in user can open **My Activity** to see their own activity overview (member-since, total events, counters/lines/exports, active days, rolling windows, and a day-grouped recent-activity feed). Backed by `user_activity_detail_for_admin` (self-or-admin guard).
- **Manage Projects** (admin only) — In Project Settings, open Manage Projects to list all projects across users and delete any project (removes project and stored PDF).
- **Share** — In Project Settings, open Share to add users by email (viewer or editor). Any project member can add users. Editors can check out to edit; one editor at a time. Turn in releases the lock. 30-minute inactivity expiry (lock extends on edits/saves). System admins can force turn-in any project.
diff --git a/content/guides/reviewing-all-bids.md b/content/guides/reviewing-all-bids.md
index 847a01fe..5186fefa 100644
--- a/content/guides/reviewing-all-bids.md
+++ b/content/guides/reviewing-all-bids.md
@@ -121,9 +121,9 @@ sign in, CountTooling brings you back to the bid you last had open; the board is
Project Settings row (or **Withdraw** a request that went up too early).
Who can do what is enforced by the server, not the buttons: only the bid's owner, an editor
-on it, or an admin can mark it ready or withdraw; only an overseer or admin can mark it
-reviewed. The same badges show up in **Load Project** rows, so estimators see the state of
-their own bids wherever they look.
+on it, a lead or an admin can mark it ready or withdraw; only an overseer, a lead or an admin
+can mark it reviewed. The same badges show up in **Load Project** rows, so estimators see the
+state of their own bids wherever they look.
## Granting the role (admins)
@@ -136,8 +136,8 @@ Users**, each row has an **eye toggle**:
**Role** column reads *Overseer*. Click it again to take the role away; the change applies
the next time they load the app.
- Overseer is **read-everything, write-nothing**. It doesn't grant any admin powers, no user
- management, no deleting, no editing other people's projects. (Admins already see every
- project and don't need the flag; they also get the All Bids board.)
+ management, no deleting, no editing other people's projects. (Admins and leads already see
+ every project and don't need the flag; they get the All Bids board too.)
- The role is a good fit for exactly the person who should *look but never touch*: reviews
stay safe because the server refuses an overseer every write, even if a bug or a
mis-click asked for one.
diff --git a/features/bid-board.js b/features/bid-board.js
index 62c4194a..1f70d787 100644
--- a/features/bid-board.js
+++ b/features/bid-board.js
@@ -10,7 +10,7 @@
// into the same load path as the Load Project modal
// (App.loadCloudProjectRow, extracted from features/load-project.js), so a
// bid always opens in the existing read-only viewer mode -- the overseer has
- // no checkout arm server-side. Admins can open the board too (same button);
+ // no checkout arm server-side. Admins and leads (LEAD-ROLE) open the board too (same button);
// it auto-opens only for pure overseers signing in with nothing else to
// restore. Cross-file deps read from App at call time: getSupabase,
// showModal, hideModal, escapeHtml, loadCloudProjectRow, showToast.
diff --git a/features/review-flow.js b/features/review-flow.js
index cd2a3d4e..dfcc52bc 100644
--- a/features/review-flow.js
+++ b/features/review-flow.js
@@ -22,8 +22,8 @@
// row (review_status rides it), and hides when the open project is no
// longer the one it was shown for (App.refreshReviewBar, from updateUI).
// All transitions go through the set_project_review_status RPC, which
- // enforces who can do what server-side ('ready'/clear: owner, editor share,
- // or admin; 'reviewed': overseer or admin) — this file never gates harder
+ // enforces who can do what server-side ('ready'/clear: owner, editor share, admin or
+ // lead; 'reviewed' and 'changes': overseer, lead or admin, LEAD-ROLE) — this file never gates harder
// than the server, it only hides the row where it could never apply.
async function setProjectReviewStatus(projectId, status, note) {
diff --git a/ghost.spec.js b/ghost.spec.js
index 86bc2aa2..e382c0b2 100644
--- a/ghost.spec.js
+++ b/ghost.spec.js
@@ -190,8 +190,8 @@ test.describe('Ghost tool (features/ghost.js)', () => {
expect(now.counters).toBe(4);
expect(now.lines).toBe(1);
- // Re-enable runs and stamp again — the ghost survives its own stamp, so a
- // typical can be walked across the sheet and dropped repeatedly.
+ // Re-enable runs and stamp again: the pure stamp leaves the ghost in its list (it is the
+ // menu's Stamp that hands it to the cursor, STAMP-PICKUP below), so it stamps repeatedly.
const res2 = await page.evaluate(() => {
const ann = window.App.getActiveAnnotations(window.state.pages[0]);
ann.ghosts[0].showLines = true;
diff --git a/guides/img/overseer-all-bids.png b/guides/img/overseer-all-bids.png
index 3591b125..ed85d608 100644
Binary files a/guides/img/overseer-all-bids.png and b/guides/img/overseer-all-bids.png differ
diff --git a/guides/reviewing-all-bids/index.html b/guides/reviewing-all-bids/index.html
index 3dda1fb4..3a97b46c 100644
--- a/guides/reviewing-all-bids/index.html
+++ b/guides/reviewing-all-bids/index.html
@@ -190,9 +190,9 @@ The review handoff
Project Settings row (or Withdraw a request that went up too early).
Who can do what is enforced by the server, not the buttons: only the bid's owner, an editor
-on it, or an admin can mark it ready or withdraw; only an overseer or admin can mark it
-reviewed. The same badges show up in Load Project rows, so estimators see the state of
-their own bids wherever they look.
+on it, a lead or an admin can mark it ready or withdraw; only an overseer, a lead or an admin
+can mark it reviewed. The same badges show up in Load Project rows, so estimators see the
+state of their own bids wherever they look.
Granting the role (admins)
Overseer is a per-account flag that only an admin can set, from User Settings → Manage
Users , each row has an eye toggle :
@@ -202,8 +202,8 @@ Granting the role (admins)
Role column reads Overseer . Click it again to take the role away; the change applies
the next time they load the app.
Overseer is read-everything, write-nothing . It doesn't grant any admin powers, no user
-management, no deleting, no editing other people's projects. (Admins already see every
-project and don't need the flag; they also get the All Bids board.)
+management, no deleting, no editing other people's projects. (Admins and leads already see
+every project and don't need the flag; they get the All Bids board too.)
The role is a good fit for exactly the person who should look but never touch : reviews
stay safe because the server refuses an overseer every write, even if a bug or a
mis-click asked for one.
diff --git a/journeys/plans/BID-BOARD-QUIET.md b/journeys/plans/BID-BOARD-QUIET.md
index 0acc3172..b6c6aa43 100644
--- a/journeys/plans/BID-BOARD-QUIET.md
+++ b/journeys/plans/BID-BOARD-QUIET.md
@@ -30,6 +30,9 @@ D the cards kept and quieted).
the lane as the board shows it. features/review-flow.js owns it. Detail in CHANGELOG.md.
- DROP-CARD-BUTTONS (2026-10-13, Will's call on the canvas's before/after boards): the cards
carry no decision; the bar is the only one. Detail in CHANGELOG.md.
+- CLOUD-OFF-ICON (2026-10-13, Will): the green Fully cloud badge is gone; a bid without its PDF
+ wears a crossed-out cloud in the card's corner with the note on hover; the estimator sits
+ right-aligned. Detail in CHANGELOG.md.
## What is left
@@ -39,5 +42,5 @@ D the cards kept and quieted).
2. **B, grouped by estimator**, only once the company has more than two or three human
estimators; with one or two it is A with a caret.
-With the buttons gone, the next redundancies on a ready card are the gold Ready badge inside
-the Ready lane and the green Fully cloud badge for the normal case: the step from D to A.
+With the buttons and the Fully cloud badge gone, the one redundancy left on a ready card is the
+gold Ready badge inside the Ready lane: the step from D to A.
diff --git a/scripts/build-screenshots.js b/scripts/build-screenshots.js
index dec7faec..f27d98b2 100644
--- a/scripts/build-screenshots.js
+++ b/scripts/build-screenshots.js
@@ -89,6 +89,7 @@ async function drawOverlays(page, items, accent) {
// Place the label above the box, but drop it below if that would clip past the top edge.
const labTop = it.y - 30 < 2 ? it.y + it.h + 8 : it.y - 30;
lab.style.cssText = `position:absolute;left:${it.x}px;top:${labTop}px;background:${accent};color:#161617;font:600 15px/1 'DM Sans',system-ui,sans-serif;padding:6px 10px;border-radius:6px;white-space:nowrap;box-shadow:0 2px 6px rgba(0,0,0,.5);`;
+ lab.dataset.boxRight = String(it.x + it.w); // for the right-edge pass below
root.appendChild(lab);
}
} else {
@@ -98,6 +99,14 @@ async function drawOverlays(page, items, accent) {
root.appendChild(el);
}
document.body.appendChild(root);
+ // A label that would run past the right edge (a box in the viewport's top-right corner,
+ // such as the board card's cloud icon) is right-aligned to its box instead.
+ root.querySelectorAll('[data-box-right]').forEach((lab) => {
+ if (lab.getBoundingClientRect().right > window.innerWidth - 2) {
+ lab.style.left = 'auto';
+ lab.style.right = (window.innerWidth - Number(lab.dataset.boxRight)) + 'px';
+ }
+ });
}, { items, accent });
}
@@ -945,7 +954,7 @@ const SHOTS = [
{ n: 2, sel: '#bidBoardOwnerFilter' },
{ n: 3, sel: '#bidBoardList .bid-card' },
],
- boxes: [{ sel: '#bidBoardList .bid-card-badge-warn', label: 'Cloud status' }],
+ boxes: [{ sel: '#bidBoardList .bid-card-cloud-off', label: 'Cloud status' }],
},
// A bid open in the overseer's read-only viewer ("Viewing only" banner).
@@ -1000,7 +1009,8 @@ const SHOTS = [
// Synthetic list_accessible_projects rows for the Bid Board shots: realistic
// bid names and demo estimator emails, dates relative to the run so the
-// "days ago" labels read naturally. One canvas-only row shows the warn badge.
+// "days ago" labels read naturally. One canvas-only row wears the crossed-out cloud
+// (CLOUD-OFF-ICON).
function overseerBidRows() {
const day = 864e5, now = Date.now();
let n = 0;
diff --git a/sw.js b/sw.js
index cc1d74cd..2f7e0015 100644
--- a/sw.js
+++ b/sw.js
@@ -23,7 +23,7 @@
* visit once the CDN has settled. The app's admin "global force reload" clears caches
* as a backstop.
*/
-const CACHE_VERSION = '0792cc5f5aa1';
+const CACHE_VERSION = 'da3bce395e2b';
const CACHE_NAME = `counttooling-shell-${CACHE_VERSION}`;
// The full same-origin app shell. GENERATED by `npm run build:sw`, do not edit by hand:
@@ -305,8 +305,8 @@ const PRECACHE_SHA256 = {
'/features/hand-off.js': 'e996c7300432489bcb8e1c9a02539278a7ac3ffbf2daaabce4922b4875e10c23',
'/features/user-admin.js': '2abd3029bdf2950310af9c19fb302b416976922bad3f4142db55626e3a229128',
'/features/load-project.js': 'f01367d24dc62824ca474b5f7f707fc7e739bfcd936b85d3cafe6d6813c98ad8',
- '/features/bid-board.js': '49706aed04f2273c45cf57ed152ad61c170280d40ee61217b50f1e1c5b3e463e',
- '/features/review-flow.js': '55b0ab96cce1674baa5a794ad3c1986a438ff9a2691b5cf2b78f0187ce61b640',
+ '/features/bid-board.js': '2ffb71043f7134c72ebc4a5c70add9b5a056bca76b98c5b0910d454bc2039781',
+ '/features/review-flow.js': 'dc18a0dd6882a5dda4f520b9460902d33ee86698c1762ad94684adaf484865a7',
'/features/copy-project.js': '7668abd5e8121edc27c3155882da4c252791455a5a7bdd4a6accbe36ef0bea09',
'/features/prepare-pdf.js': '7468cb401fc5a29c1e3e6f3188c1e99396c6b7b5d5374d2cb7de0367a80e4c24',
'/features/quick-modals.js': '052927460e00406495fea8cdb36c0e3cf816d455eb94cb764437bd40016ed527',