TheYuchen commited on
Commit ·
37b85de
1
Parent(s): 77fb334
Docs: Wave 2 fixes section; S3 backlog persisted to docs/AUDIT_BACKLOG.md
Browse files- docs/AUDIT_BACKLOG.md +90 -0
- docs/EVIDENCE_WORKBENCH.md +87 -0
docs/AUDIT_BACKLOG.md
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Deep audit 2026-07-10 — S3 backlog (deferred polish)
|
| 2 |
+
|
| 3 |
+
Deferred S3 findings from the 2026-07-10 deep audit. S1 (provenance
|
| 4 |
+
family) shipped in Wave 1; S2 shipped in Wave 2 (see
|
| 5 |
+
EVIDENCE_WORKBENCH.md). Everything below is real but low-stakes:
|
| 6 |
+
polish, wording, a11y nits, caps/consistency sweeps. One bullet each,
|
| 7 |
+
kept verbatim from the audit.
|
| 8 |
+
|
| 9 |
+
## FlowCanvas
|
| 10 |
+
|
| 11 |
+
- stale comments (FAB breakpoint sm→md; Notice sources; preflight memo claim; RibbonLegend session claim)
|
| 12 |
+
- restore-pulse timeout not cleared
|
| 13 |
+
- dropTargetEdgeId lingering on touch cancel
|
| 14 |
+
- node id collision same-ms
|
| 15 |
+
- four listRuns caps disagree (50/100/200/500) — consolidate
|
| 16 |
+
- preflight highlight promised but unimplemented
|
| 17 |
+
- preflight misses multi-backend/duplicate-input/cycle checks
|
| 18 |
+
- "ops" vs "gates" label drift on edge labels
|
| 19 |
+
- RibbonEdge aria without role=img + pass-through vs unknown conflation
|
| 20 |
+
- stale post-run encodings after edits (dim via liveHash divergence)
|
| 21 |
+
- EmptyCanvas names invisible controls in 768-1024 band
|
| 22 |
+
- ShareButton.tsx dead file
|
| 23 |
+
- NumberField clamps per keystroke + empty-field divergence
|
| 24 |
+
- param editor double border seam
|
| 25 |
+
- QNode hover-delete stale comment
|
| 26 |
+
- LiveEvidenceStrip shows prev replicate's final frame briefly
|
| 27 |
+
- CircuitPicker matches by display_name not key
|
| 28 |
+
- NodePalette alert/confirm inconsistent with toast idiom + search aria-label missing
|
| 29 |
+
- autoConnect replacedCount counts identical rewires
|
| 30 |
+
- ConfigContextBar truncation + button rhythm
|
| 31 |
+
- strip stacking height budget (preflight list needs max-h)
|
| 32 |
+
- BlockPicker z-40 vs siblings z-30 + PresetPicker stale header comment + MoreMenu mobile pin offset
|
| 33 |
+
- board openConfig silent no-ops need disabled+title
|
| 34 |
+
- board header height mirror claim stale
|
| 35 |
+
- exportPython precision comment toFixed(0)
|
| 36 |
+
- store addBlocksToCanvas replaces queue
|
| 37 |
+
- share-hash boot ignores plugin defaults
|
| 38 |
+
- useDismissOn mousedown-only + no focus restore
|
| 39 |
+
- PaneResizer mouse-only + role without keyboard
|
| 40 |
+
- replicate progress notice auto-fades during slow runs
|
| 41 |
+
- cost effect stale nodes ref
|
| 42 |
+
|
| 43 |
+
## Evidence
|
| 44 |
+
|
| 45 |
+
- Sparkline y-range ≥1 flattens sub-unit data
|
| 46 |
+
- QuBound NaN final_loss tile
|
| 47 |
+
- Qshot fidelity 0-1 4dp vs % convention
|
| 48 |
+
- CI line missing tabular-nums
|
| 49 |
+
- ReplicateStrip errored-run dots + float-equality highlight
|
| 50 |
+
- TransformationSignature tiny-negative op bar drawn on positive side
|
| 51 |
+
- CompareView divergence marker suppressed when prefixLen<2 + A/B chips date ambiguity + title-only tooltips on 2px markers
|
| 52 |
+
- lineage legend not sticky + four guidance strips stack on fresh device
|
| 53 |
+
- funnel "widest (oldest)" wording (not monotone)
|
| 54 |
+
- lineage dots keyboard-unreachable
|
| 55 |
+
- single-click no-undo delete of only-copy records
|
| 56 |
+
- IDB-unavailable indistinguishable from empty
|
| 57 |
+
- strip dots clipped at 0/1 extremes
|
| 58 |
+
- hashHue collision probability undisclosed
|
| 59 |
+
- dedupeDraws should key (root_seed,shots,successes)
|
| 60 |
+
- DifferenceFunnel EST_TEXT_W heuristic + no ticks when maxShots<100 + stale funnel during pair-switch fetch
|
| 61 |
+
- CircuitDiff per-lane scrollbars desync
|
| 62 |
+
- KvRow [object Object]
|
| 63 |
+
- PluginFigures formatCell tiny-nonzero→"0" + iframe theme tokens + bar label collisions
|
| 64 |
+
- ResultsPane tabs missing aria-controls/arrow keys
|
| 65 |
+
- export camera on empty tabs
|
| 66 |
+
- histogram top-6 no "+k more"
|
| 67 |
+
- dead exports (viz fmt, gateDiffOf)
|
| 68 |
+
- RunStatusChips 9px chip exception undocumented
|
| 69 |
+
|
| 70 |
+
## Infra
|
| 71 |
+
|
| 72 |
+
- api.ts fallback docstring stale
|
| 73 |
+
- store gateDiffDefaultOpen never cleared
|
| 74 |
+
- theater y-domain re-zoom during streaming (anchor on first point)
|
| 75 |
+
- unspent region 0.05 opacity vs doc "hatch"
|
| 76 |
+
- overlay stop annotation never flips
|
| 77 |
+
- scrub not reset on same-run re-restore
|
| 78 |
+
- React keys by f.shots
|
| 79 |
+
- runStore extractHeadline docstring drift + exportArchive 1000 cap + import synthesized-id duplicates + listRunsByConfig arbitrary subset past 200
|
| 80 |
+
- board listRuns(200) header count + FAMILY_FILL hardcoded hex + pooled band 1.5px sliver + empty-board "?" no-op
|
| 81 |
+
- App scenario mode flash + unknown scenario key silent + StrictMode double boot
|
| 82 |
+
- demoArchive force-scan 1000 cap + ensureDemoArchive swallows errors
|
| 83 |
+
- figureExport F0..F7 stale string + runsForView 500 cap + lastConfigHash stale for restored runs + triple-download blocking
|
| 84 |
+
- svgPaper class-strip regex touches metadata JSON
|
| 85 |
+
- FigureExportButton long-press flag leak
|
| 86 |
+
- WelcomeTour slide-5 overclaim + missing type=button
|
| 87 |
+
- ClaimsMap separator inside link
|
| 88 |
+
- ThemeSwitcher/TopBar aria nits
|
| 89 |
+
- band overlay no Esc
|
| 90 |
+
- localStorage key naming exceptions note
|
docs/EVIDENCE_WORKBENCH.md
CHANGED
|
@@ -1630,3 +1630,90 @@ provenance or reproducibility. One line per fix:
|
|
| 1630 |
9. **SSE parser** — decoder flushed after the read loop and the
|
| 1631 |
remaining buffer parsed (no lost final event); unknown JSON events
|
| 1632 |
are treated as StepResults only when `node_id` is a string.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1630 |
9. **SSE parser** — decoder flushed after the read loop and the
|
| 1631 |
remaining buffer parsed (no lost final event); unknown JSON events
|
| 1632 |
are treated as StepResults only when `node_id` is a string.
|
| 1633 |
+
|
| 1634 |
+
## Deep audit 2026-07-10 — Wave 2 fixes (SHIPPED 2026-07-11)
|
| 1635 |
+
|
| 1636 |
+
S2 findings: run-lifecycle races, dead affordances, dishonest empties,
|
| 1637 |
+
and export text-metric drift. Deferred S3 polish lives in
|
| 1638 |
+
docs/AUDIT_BACKLOG.md. One line per fix:
|
| 1639 |
+
|
| 1640 |
+
Run-lifecycle guards (FlowCanvas):
|
| 1641 |
+
|
| 1642 |
+
1. **Restore queues behind a running pipeline** — the pendingRestore
|
| 1643 |
+
consumer refuses to swap the canvas while `running` (warn notice);
|
| 1644 |
+
the request stays in the store and applies when the run ends.
|
| 1645 |
+
2. **pendingAutoRun expires** — cleared by the restore consumer,
|
| 1646 |
+
loadPreset and clearGraph, so a superseded request can never fire a
|
| 1647 |
+
surprise run minutes later.
|
| 1648 |
+
3. **Restore-path loadSample staleness guard** — shares the preset
|
| 1649 |
+
path's generation counter (one `sampleGenRef` for both paths), so
|
| 1650 |
+
the two paths supersede each other.
|
| 1651 |
+
4. **Replicate-loop partial honesty** — completed count tracked; a
|
| 1652 |
+
failed step (or mid-loop transport error) reports "stopped after i
|
| 1653 |
+
of N", never the unconditional success toast.
|
| 1654 |
+
5. **Loop cancel affordance** — while a ×N loop runs, Run (toolbar +
|
| 1655 |
+
mobile FAB) becomes "Stop after this run"; a ref checked between
|
| 1656 |
+
iterations stops the loop after the current run archives.
|
| 1657 |
+
6. **Boot sample-load failure speaks** — warn notice + "No circuit
|
| 1658 |
+
loaded — pick one on the left" title on the disabled Run buttons.
|
| 1659 |
+
7. **Authoring locked during runs** — param editors, node delete ×,
|
| 1660 |
+
preset picker and circuit picks disable while `running` (toolbar
|
| 1661 |
+
selects already did), each with a "locked while a run is in
|
| 1662 |
+
progress" title.
|
| 1663 |
+
|
| 1664 |
+
Pickers / palette:
|
| 1665 |
+
|
| 1666 |
+
8. **BlockPicker badges are live** — FlowCanvas publishes canvasKinds
|
| 1667 |
+
to the store; on-canvas defaults are no longer pre-checked (no more
|
| 1668 |
+
duplicate input/output per Add-blocks round-trip) and the "on
|
| 1669 |
+
canvas" badges render.
|
| 1670 |
+
9. **Palette zero-state accounts for the family filter** — plus a
|
| 1671 |
+
"Show all families" escape hatch.
|
| 1672 |
+
10. **Upload input resets + shows busy** — same file re-uploads after
|
| 1673 |
+
a failure; the `__upload__` spinner renders.
|
| 1674 |
+
|
| 1675 |
+
Evidence pane:
|
| 1676 |
+
|
| 1677 |
+
11. **Compare auto-switch keys on identity** — pair replacement
|
| 1678 |
+
re-fires the tab switch (was `.length`, which never changes 2→2).
|
| 1679 |
+
12. **compareIds lifecycle** — pruned after Clear demo data / archive
|
| 1680 |
+
import (`pruneCompareSelection`); setCompareIds dedupes;
|
| 1681 |
+
CompareView explains "runs no longer archived" instead of a silent
|
| 1682 |
+
blank.
|
| 1683 |
+
13. **Interval-bar point markers clamp at 0/1** — cards (clipped by
|
| 1684 |
+
overflow-hidden) and CompareView twins (overhung).
|
| 1685 |
+
14. **Uploaded-circuit records tell the truth in history** —
|
| 1686 |
+
restore/replay titles say "re-upload to reproduce" when
|
| 1687 |
+
sample_key is null (board wording).
|
| 1688 |
+
15. **PluginFigures empty bar stub** — `data: []` renders a message
|
| 1689 |
+
instead of crashing the whole pane on the reduce.
|
| 1690 |
+
16. **Lineage window is named** — footer "showing the 50 most recent
|
| 1691 |
+
of N archived runs" when the archive exceeds the window.
|
| 1692 |
+
|
| 1693 |
+
Board / theater / infra:
|
| 1694 |
+
|
| 1695 |
+
17. **Connecting overlay z-50** — paints over board/theater/header.
|
| 1696 |
+
18. **No band double-overlay** — the run-start effect skips the band
|
| 1697 |
+
Evidence overlay when the theater will auto-open.
|
| 1698 |
+
19. **F2 exports drop guidance chrome** — data-export-strip on
|
| 1699 |
+
DemoArchiveBanner and the board hint strip/"?" button.
|
| 1700 |
+
20. **Scenario force-reimport honesty** — after a forced demo import
|
| 1701 |
+
on a browser that had cleared demo data, the banner says
|
| 1702 |
+
"re-imported for this figure scenario"; the Clear tooltip no
|
| 1703 |
+
longer claims "never".
|
| 1704 |
+
21. **Export text metrics share one estimator** —
|
| 1705 |
+
svgPaper.estimateTextW budgets the ×1.25 PAPER_FONT_BUMP in the
|
| 1706 |
+
theater's stop-label flip/intrusion, panel title-dx and the
|
| 1707 |
+
cost-anchor line (which splits into two tspans when the bumped
|
| 1708 |
+
width would clip; the svg gains bottom pad for the second line).
|
| 1709 |
+
22. **DifferenceFunnel pane scale** — two-tier viewBox width:
|
| 1710 |
+
container-derived in the pane (text ≥9px effective, legend wraps),
|
| 1711 |
+
documented 760px kept for exports via a hidden twin the funnel's
|
| 1712 |
+
export button targets.
|
| 1713 |
+
23. **F6/F8 pair picker reproduces documented figures** — excludes
|
| 1714 |
+
scenario-tagged records (F7's Wave-1 guard verified) and prefers
|
| 1715 |
+
demo-flagged records when present.
|
| 1716 |
+
24. **config-context bar never flashes a stale hash** — liveHash
|
| 1717 |
+
resets on editorContext change and renders "computing identity…"
|
| 1718 |
+
while null (empty canvas keeps its own wording).
|
| 1719 |
+
25. **qshot preset lints clean** — ships with its output sink.
|