Repository navigation
Conversation
Every Underway, Landed and Charted row clamped its title and secondary line to a single line with an ellipsis, so a row read as a truncated fragment and said nothing about the work it named. A merge call's risk pin rendered the whole risk value, so a level followed by a sentence of justification pushed the pin past its card, and the raw value was compared against the English "low" alone, leaving a French level wearing the alert tone. Give the title three lines and the secondary line two. overflow-wrap keeps an unbreakable URL or id from setting a min-content width that the .bb-row__main min-width:0 shrink cannot absorb, and overflow hidden keeps whatever passes the clamp off the page's own horizontal axis. Split the risk value at its first period: the level stays on the pin and the justification moves into the card body, where it stays available on touch and in print instead of hiding behind hover. Recognise "low" and "faible", trimmed and case-insensitively, so an unrecognised level still errs toward alert rather than calm. A whitespace-only level renders no pin at all rather than a bare alert-coloured badge, and both parts wrap inside the card even when the text is one unbroken token. Document the resulting value contract in the builder header, which owns the payload the template renders. Refs kunchenguid#3173
…heir suites Pin the risk value's split, its tone in either language, and its blank and bare-level handling through the render harness. Add a browser layout regression that builds a board whose row text, risk level and risk justification are all far too long, then measures the result in a real headless browser at desktop and narrow widths: rows wrap to their clamp, the pin stays inside its card, the justification wraps rather than escaping, and the document never gains a horizontal axis. It skips when no usable browser is present rather than failing the lane. The render harness now reports the Captain's Call cards beside the rows it already reported, so what a risk value renders as is asserted through the real template rather than by reading its source. The new layout suite is browser-level, so register it in the snapshot-bearings family beside the other bearings snapshot work. That suite reads tests/assets/board-render-harness.mjs, and a changed tests/assets/ file previously fell through to the tests/* catch-all and aborted the run as unmapped. Add a tests/assets/* arm above that catch-all which resolves consumers with the existing reference scan, so an asset selects the suites that read it, a retired asset its consumer still names still selects that consumer, and an asset no suite names still refuses loudly. families_for_test_reference keeps its every-argument-is-a-needle convention unchanged. The selector's own fixtures name synthetic assets rather than a real one, because that scan reads test sources: a real name embedded there would make this suite answer for the asset itself and hide the unmapped fallback behind its own family. Refs kunchenguid#3173
This was referenced Sep 15, 2026
This was referenced Oct 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
Two bearings-board rendering defects. Board row titles and their secondary lines were clamped to a single line with an ellipsis, so a row read as a truncated fragment that said nothing about the work it named. A merge item's
riskvalue rendered whole on its badge, so a level followed by a sentence of justification pushed the pin past its card, and the raw value was compared against the Englishlowalone, leaving a French level wearing the alert tone.Both fixes were first proposed in #3173. Since then
bin/fm-test-run.shmoved on the default branch, and the two versions offamilies_for_test_referencediverged in design rather than merely conflicting: the default branch reads every argument as an OR-ed needle, while #3173 had changed the function to read its second argument as a script to exclude from the scan. Each convention had a live caller, so neither could absorb the other without regressing that side.This branch rebuilds the same fixes on the default branch's convention.
families_for_test_referenceis left unchanged - no exclusion parameter, no second positional meaning, no new signature. That exclusion was only needed becausetests/fm-test-run.test.shembedded the real asset pathtests/assets/board-render-harness.mjsas fixture data: the reference scan reads test sources, so that suite matched as a consumer of the asset and suppressed the unmapped fallback behind its own family. The suite already builds a fully synthetic fixture repository, so its fixtures now name synthetic assets and the false match has no source. Mapping a changed test asset to its consumers then ships as an ordinarytests/assets/*arm above thetests/*catch-all, using the existing OR-needle call.Scope is limited to that rework; no adjacent code was refactored or tidied.
What Changed
lowandfaibleas neutral levels.families_for_test_referenceunchanged with trunk’s OR-needle convention.Supersedes #3173. Trunk overtook the original branch, so this work was rebuilt on trunk’s convention rather than merged against it.
Risk Assessment
✅ Low: The bounded changes satisfy the source-verifiable intent, preserve the trunk selector interface, and introduce no substantiated material defects.
Testing
Focused selector and renderer checks passed; real board and CLI scenarios produced screenshots, responses, and base-versus-target evidence. The layout suite capability-skipped, so Brave CDP supplied live visual verification. A broader 390px overflow assertion exposed an unchanged base heading; changed text remained contained. Cleanup left the worktree clean, with publication checks reserved for the outer PR phase.
Evidence: Live board measurements
Source: Live board measurements
Evidence: Base rendering comparison
Source: Base rendering comparison
Evidence: Live selector transcript
Source: Live selector transcript
Evidence: Invalid risk refusals
Source: Invalid risk refusals
Evidence: Optional browser capability skip
Source: Optional browser capability skip
skip: Chrome or Chromium not found fm-test-run: gate skip: tests/fm-bearings-board-layout.test.sh: Chrome or Chromium not found Runner exited 0 and recorded gate_skip=true.Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
TMPDIR="$PWD/.test-phase/tmp" bash tests/fm-test-run.test.shTMPDIR="$PWD/.test-phase/tmp" bash tests/fm-bearings-board-render.test.shbash tests/fm-bearings-board-layout.test.shwith isolated TMPDIR, then withFM_CHROME_BINpointing to Brave; both capability-skipped.bin/fm-test-run.sh --json <evidence>/layout-capability.json tests/fm-bearings-board-layout.test.shpython3 .test-phase/build-live.py: actual board build with isolated FM_HOME and real Lavish server.node .test-phase/drive-board.mjs: real Brave CDP rendering, deck navigation, ten risk inputs, three viewport widths, screenshots, touch emulation, and print-media visibility.node .test-phase/compare-base.mjs: reproduced original rendering failures and compared the 390px heading overflow against base.python3 .test-phase/selector-live.py: real selector over copied target test sources, including changed/deleted assets, unmapped refusal, second-needle selection, and explicit byte equality.Ran the base selector against the changed real asset; reproduced exit-2 mapping refusal.Built missing/null/empty-risk payloads and verified refusal preserves the existing board.Inspected screenshots, stopped isolated services, removed transient test directories, and confirmed a clean worktree at the target commit.✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.