Skip to content

test(mermaid): complete TL-U26 candidate feasibility corrections and evidence harness - #60

Merged
christophersesugh merged 7 commits into
mainfrom
feat/tl-u26-feasibility-completion
Nov 26, 2026
Merged

christophersesugh merged 7 commits into
mainfrom
feat/tl-u26-feasibility-completion

Conversation

@christophersesugh

@christophersesugh christophersesugh commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Scope

TL-U26 follow-up for F05/F06/F20/F31, based on main after #59. Development-only feasibility, not U27–U29 production cutover.

  • Bind Sequence event selection directly to explicit unique host row references on ordinary SVG text, independent of generated class names, IDs, positional ordering and route geometry. Keep ordinary host-owned source controls available for every bounded projected source during loading, success or rendering failure. Reserve participant-caption lookalikes and reject missing/duplicated/permuted references.
  • Reserve fixed inline Graph state lines in the diagram geometry and paint current bounded native-compatible value summaries, focus/write cues and collapsed counts without relayout for state-only changes. Missing state slots fail closed to native fallback.
  • Scope render cache to the current trace; retain retryable loader and cancellation. Extend existing browser regressions to include source controls during failure, independent token binding with unknown classes/reversed order, participant collisions, missing state slots and all four canonical inline-state cases.
  • Independently installed proof asserts direct caption pointer/keyboard round-trip and inline Graph state against the installed core, not the candidate text list alone. Add sampled Linux process-tree RSS to source/packed reports and a three-engine focused test workflow.

Explicit review decisions and remaining gates

Sequence bare arrow paths and phase boxes are decorative, not source selection targets; caption/reference pointer/keyboard selection and independent source controls replace direct bare-mark selection. Optional motion and participant visual binding still use guarded pinned SVG structure. Review this interaction tradeoff against MR-04/MR-10, not an implicit contract amendment. Graph reserved slots and legibility require actual browser proof. Process memory is sampled aggregate Node/descendant RSS (may double-count shared pages), not unique memory or exact instantaneous peak. Copied-adapter packed proof is not production package integration. No production dependency/version/export change, publication, ticket closure or cutover.

Validation

Final reviewed candidate head 8ef1b7e7b9f4946a3d6c718f3a84c7a2a79c5c86, four commits ahead and zero behind main at inspection. Isolated process-memory helper tests: 2/2 passed with Node 22.16.0; both copied file Git blob hashes verified against the exact head. Full repo clone failed due to GitHub DNS; Node 24 and pnpm unavailable locally. Full typecheck, browser, packed workload measurements, notice approval, actual AT and native zoom NOT PERFORMED locally. Exact-head workflow query returned no runs yet. Review all three engines and retained artifacts, record actual measured results and per-area reviewed go/no-go. Do not start TL-U27 before U26 acceptance.

@christophersesugh
christophersesugh marked this pull request as ready for review November 26, 2026 20:48

Copy link
Copy Markdown
Contributor Author

CI failure correction

All three engines failed the same pointer regression: the absolutely positioned native State table intercepted clicks on the fallback Sequence source references disclosure (CI and feasibility logs for 8ef1b7e). Compiler/unit suite passed 454/454; full Chromium browser suite passed 198/199 and each focused engine passed 52/53. Commit 5bfeebd1237efaa5a46fcb5ad2c87ede6a2f7720 makes the fallback a bounded flex column with diagnostics and source controls in normal flow and State table in its own scrolling region. Expanded the real pointer regression to 260/375/720 px and added non-overlap assertions before/after opening. No forced clicks or relaxed assertions.

The failed Vitest run also generated an untracked failure screenshot before source measurement (dirty: true), and packed measurement was skipped. Reordered feasibility measurements before focused regressions, required a clean checkout at the measurement boundaries, and retained failure screenshots alongside measurement artifacts. Focused tests still run on all three engines even if a prior measurement fails. Previous dirty evidence is not acceptance evidence. New exact-head CI/packed results pending; no full local runtime validation performed.

Copy link
Copy Markdown
Contributor Author

Exact-head feasibility evidence review

Verified all workflows green on 5bfeebd1237efaa5a46fcb5ad2c87ede6a2f7720; 454 unit/compiler tests, 201 full browser tests per engine, 55 focused tests per engine and both memory-helper tests per engine. Downloaded and examined all three retained ZIPs; clean exact SHA/fingerprint/source stability, packed native archive identity (reported), independent consumer lock and inventory hashes (recomputed), all four reference cell/source/inline state round trips and caption pointer/keyboard selection passed. Measured native geometry versus candidate render, assets, process RSS, widths and dependency risks are recorded in docs/mermaid-feasibility.md.

Actual desktop and mobile Sequence screenshots in all engines showed overlapping duplicate moving text and the fixed source-reference caption. The follow-up commit 6063e07137b27b086f29acffa2fa8008e37e2e05 removes the moving duplicate for Sequence only; retains source-linked one-shot arrow cue, fixed selectable caption, and exact regression coverage. This is a genuine visual correction from the evidence review, not a weakened test. Fresh CI and screenshots required; old evidence remains explicitly attributed to tested SHA. Graph/collapse bounded proof positive; source tokens/host controls positive; unbounded graph NO-GO; production notices, participant binding/interaction tradeoff, applicable human AT/zoom and reviewed go/no-go remain. No U27 or publication approval.

Copy link
Copy Markdown
Contributor Author

Architecture direction is under review in context PR #60. The revised target is generic semantic execution composition, with the compact player preserved and Mermaid proposed as an optional diagram backend. Do not treat this proof as production adoption, start U27, or merge as accepted on prior green evidence. Latest head 6063e07 failed CI; retain both negative outcomes and earlier exact green evidence for U26 disposition. No changes to this source branch in the governance task.

Copy link
Copy Markdown
Contributor Author

CI diagnosis at 6063e07: 454 compiler/unit tests passed; both browser failures arose because the regression expected the selectable TL token text node to contain the whole message caption. Mermaid emits the wrapped text as separate sibling nodes (adapter emits caption +
+ rowToken). Commit 2aaf367 checks the actual source-bound caption lines, exact token/accessible name and selection identity, visible stationary labels, and a single unlabeled directional motion cue. No implementation or gate relaxed; fresh CI remains required. This is a bounded proof regression fix, not a decision to resume optional Mermaid production integration.

@christophersesugh
christophersesugh merged commit fecbd45 into main Nov 26, 2026
6 checks passed
@christophersesugh
christophersesugh deleted the feat/tl-u26-feasibility-completion branch November 26, 2026 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant