Skip to content

fix(bearings): make fleet board descriptions readable - #3173

Closed
mremond wants to merge 4 commits into
kunchenguid:mainfrom
mremond:fm/tableau-descriptifs-tronques
Closed

mremond wants to merge 4 commits into
kunchenguid:mainfrom
mremond:fm/tableau-descriptifs-tronques

Conversation

@mremond

@mremond mremond commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

Intent

The captain, 2026-09-07, from his board: RESUME pull request 3173.

Context of his choice. A triage of his six open pull requests established that this one was ORPHANED - no task of ours tracked it - and that its defect is STILL LIVE on trunk. He was offered three paths: resume his own, fall in behind a competing pull request from another contributor proposing the solution he had set aside, or let it sleep. He resumes his own.

One fact to hold without over-interpreting it: this pull request is two weeks old and the MAINTAINER HAS NEVER WRITTEN ON IT. The five comments come from the captain or the review bot. The triage could not establish whether that is a deliberate choice or an effect of volume - four other pull requests touching the same template are also asleep. So it is not a rejection, it is silence.

Pull request: #3173

The captain's ask above refers to that pull request by pointer, so here is its substance. The bearings fleet board was unreadable. Every Underway, Landed and Charted row clamped its title and its secondary line to a single line with an ellipsis, so a row read as a truncated fragment - "Cinq chemins d'acceptation sur six sont atomiques. La revue durcit la front..." - and told the captain nothing about the work it named. Two further corrections the captain requested himself while looking at the board belong to the same underlying defect, that the board clipped or overflowed text instead of letting it read: a merge call's risk pin rendered the entire risk value, so a level followed by a sentence of justification pushed the pin outside its card; and the pin's tone compared the raw value against the English "low" alone, so a level written in the captain's own language wore the alert tone rather than the calm one.

What the captain wants from the board: rows that wrap over a few lines instead of clipping to one, a risk level that stays on its pin with its justification readable inside the card, and a low level recognised in either language.

What Changed

  • Let Underway, Landed, and Charted board rows wrap across capped lines while containing long unbroken text.
  • Split merge risk values into a level pin and an in-card justification, recognizing low and faible as neutral risk levels.
  • Add browser/render regression coverage and map board test assets to the snapshot-bearings test family.

Why this is now three commits

This branch was 78 commits behind and has been rebased onto current main.

The defect it fixes is still live there, re-checked line by line against today's template: .bb-row__title and .bb-row__sub still carry white-space: nowrap, and the merge-risk pin still compares the raw value against "low" alone and renders "risk " + item.risk whole.
The new layout regression was also run against a real headless browser on the current tree: it fails on main's template and passes on this branch.

The rebase dropped three of the ten files this branch previously touched, because main had meanwhile settled them another way:

  • tests/fm-on.test.sh - main landed an equivalent cleanup() calling fm_remote_job_stop_worker_tree, so this branch's version was redundant.
  • docs/fm-test-portable-shards.md - this branch refreshed a four-shard capacity table, and main has since moved the serial lane to five shards, so the edit no longer described anything real. The coverage guard passes unchanged at serial_shards=5.
  • tests/fm-watch-triage.test.sh - a test de-flake unrelated to board rendering, left out so this change stays on the defect it names.

Nothing that fixes the reported defect was dropped.

Risk Assessment

✅ Low: The change is narrowly scoped to board text rendering and its regression coverage, with the risk split, bilingual low-level tone, wrapping behavior, and test-poller cleanup coherently implemented.

Testing

Focused renderer and runner tests passed, and a real generated board was visually reviewed in Brave at desktop width: the long Charted Next title/subtitle wrap within the card, while “RISK FAIBLE” stays compact with its full justification readable in-card. The automated headless layout probe could not run on this host’s available Brave launcher; the visual evidence fixture and its listener cleanup were completed manually.

Evidence: Rendered bearings fleet board showing wrapped Charted Next text and compact bilingual low-risk pin with in-card justification

Source: Rendered bearings fleet board showing wrapped Charted Next text and compact bilingual low-risk pin with in-card justification

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Bearings - fleet board</title>
<style>
/* ============================================================
   Bearings board - Firstmate Design System, inlined for portability.
   Tokens copied verbatim from myfirstmate priv/static/assets/app.css
   (the compiled adoption of .agents/skills/firstmate-design).
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Chango&family=Jost:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap");

:root {
  --rust-700: #8f2f17; --rust-600: #a93a1f; --rust-500: #c0452a;
  --rust-400: #d35f3f; --rust-300: #e08365; --rust-100: #f4d8c9; --rust-050: #fbece3;
  --navy-700: #1a2238; --navy-600: #222c49; --navy-500: #2a3656;
  --navy-300: #6c7796; --navy-100: #d9deea;
  --gold-600: #b5791c; --gold-500: #e0a52e; --gold-300: #f0d38c; --gold-100: #f8ecc9;
  --ocean-600: #2f6688; --ocean-500: #3c7ea6; --ocean-200: #b6d4e2; --ocean-050: #e8f1f5;
  --sea-700: #234e3a; --sea-500: #2f6b4f; --sea-200: #b9d4c5; --sea-050: #e9f2ec;
  --paper-000: #fbf4e2; --paper-100: #f6ecd3; --paper-200: #f0e3c4; --paper-300: #e7d6ae;
  --cream-line: #ddc89c;
  --ink-900: #241c14; --ink-700: #3f3224; --ink-500: #6f5e46; --ink-300: #9c8a6c;
  --white: #fffdf7;
  --bg-page: var(--paper-100);
  --surface-card: var(--white);
  --surface-card-warm: var(--paper-000);
  --text-strong: var(--ink-900); --text-body: var(--ink-700);
  --text-muted: var(--ink-500); --text-faint: var(--ink-300);
  --border-default: var(--cream-line); --border-soft: var(--paper-300);
  --status-online: var(--sea-500); --status-online-soft: var(--sea-050);
  --status-warn: var(--gold-600); --status-warn-soft: var(--gold-100);
  --status-danger: var(--rust-600); --status-danger-soft: var(--rust-050);
  --status-info: var(--ocean-500); --status-info-soft: var(--ocean-050);
  --font-display: "Chango", "Cooper Black", Rockwell, Georgia, serif;
  --font-sans: "Jost", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --fs-h3: 1.4rem; --fs-h4: 1.15rem; --fs-base: 1rem; --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem; --fs-2xs: 0.6875rem;
  --ls-caps: 0.16em;
  --radius-xs: 6px; --radius-sm: 9px; --radius-md: 12px; --radius-banner: 7px;
  --radius-lg: 18px; --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(36, 28, 20, 0.06), 0 4px 10px rgba(36, 28, 20, 0.06);
  --shadow-hard: 4px 4px 0 var(--ink-900);
  --shadow-hard-sm: 3px 3px 0 var(--ink-900);
  --texture-paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  --focus-ring: 0 0 0 3px var(--gold-300);
  --container-app: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--bg-page);
  background-image: var(--texture-paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ---- fm-badge (enamel sign-pin), verbatim contract ---- */
.fm-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--fs-2xs); font-weight: 800; line-height: 1;
  padding: 5px 9px 4px; text-transform: uppercase; letter-spacing: 0.07em;
  border-radius: var(--radius-xs); border: 1.5px solid var(--ink-900);
  box-shadow: 2px 2px 0 var(--ink-900); white-space: nowrap;
}
.fm-badge--online  { background: var(--sea-500);  color: var(--paper-000); }
.fm-badge--warn    { background: var(--gold-500); color: var(--navy-700); }
.fm-badge--danger  { background: var(--rust-600); color: var(--paper-000); }
.fm-badge--info    { background: var(--ocean-500); color: var(--paper-000); }
.fm-badge--neutral { background: var(--paper-000); color: var(--ink-900); }
.fm-badge--solid   { background: var(--rust-500); color: var(--paper-000); }

/* ---- fm-btn ---- */
.fm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 800; line-height: 1; white-space: nowrap;
  border: 2px solid transparent; border-radius: var(--radius-banner); cursor: pointer;
  text-decoration: none; transition: background 120ms, border-color 120ms, transform 120ms, box-shadow 120ms;
}
.fm-btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.fm-btn:active { transform: translateY(1px); }
.fm-btn--sm { font-size: var(--fs-xs); padding: 8px 16px; }
.fm-btn--primary { background: var(--rust-500); color: var(--white); border-color: var(--ink-900); box-shadow: var(--shadow-hard-sm); }
.fm-btn--primary:hover { background: var(--rust-600); }
.fm-btn--gold { background: var(--gold-500); color: var(--navy-700); border-color: var(--ink-900); box-shadow: var(--shadow-hard-sm); }
.fm-btn--gold:hover { background: var(--gold-600); color: var(--white); }
.fm-btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---- fm-card ---- */
.fm-card {
  background: var(--surface-card); border: 1px solid var(--border-default);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden;
}
.fm-card--poster { border: 2px solid var(--ink-900); box-shadow: var(--shadow-hard); border-radius: var(--radius-md); }
.fm-card--warm { background: var(--surface-card-warm); }

/* ---- fm-sign (eyebrow section label) ---- */
.fm-sign {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800;
  text-transform: uppercase; letter-spacing: var(--ls-caps); font-size: var(--fs-xs);
  line-height: 1; white-space: nowrap;
}
.fm-sign--eyebrow { color: var(--rust-500); }
.fm-sign--muted { color: var(--ink-500); }
.fm-sign svg { width: 14px; height: 14px; }
.fm-ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.18em; }

/* ============================================================
   Board chrome (bb-*) - built on the same tokens
   ============================================================ */
.bb-nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper-100) 86%, transparent);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--border-default);
}
.bb-nav__inner {
  max-width: var(--container-app); margin: 0 auto; padding: 0 28px; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.bb-brand { display: inline-flex; align-items: center; gap: 12px; }
.bb-brand__disc {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none;
  border-radius: 999px; background: var(--rust-500); color: var(--paper-000);
  border: 2px solid var(--ink-900); box-shadow: var(--shadow-hard-sm);
}
.bb-brand__disc svg { width: 60%; height: 60%; }
.bb-brand__wm { font-family: var(--font-display); font-size: 23px; color: var(--text-strong); line-height: 1; }
.bb-meta-mono { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-faint); white-space: nowrap; }

.bb-main {
  max-width: var(--container-app); margin: 0 auto;
  padding: 26px 28px 72px; display: flex; flex-direction: column; gap: 22px;
}

/* stat strip */
.bb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.bb-stat {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; min-width: 0;
  background: var(--surface-card-warm); border: 1px solid var(--border-soft); border-radius: var(--radius-md);
}
.bb-stat--call { background: var(--rust-050); border: 2px solid var(--rust-500); }
.bb-stat__num { font-family: var(--font-mono); font-size: var(--fs-h3); font-weight: 600; line-height: 1; color: var(--text-strong); }
.bb-stat--call .bb-stat__num { color: var(--rust-600); }
.bb-stat__label { font-family: var(--fon

... [23788 bytes truncated] ...

imit");
    answerLimit.setAttribute("role", "alert");
    foot.appendChild(answerLimit);
    form.appendChild(foot);

    form.addEventListener("submit", function (ev) {
      ev.preventDefault();
      answerLimit.classList.remove("is-visible");
      var fd = new FormData(form);
      var value = fd.get("answer");
      var note = (fd.get("note") || "").trim();
      var displayAnswer = value ? (note ? value + " - " + note : value) : note;
      if (!displayAnswer) return;
      if (utf8ByteLength(displayAnswer) > 512) {
        answerLimit.textContent = "Answer is too long to queue (512 bytes maximum).";
        answerLimit.classList.add("is-visible");
        return;
      }
      if (window.lavish && window.lavish.queuePrompt) {
        /* The versioned context keeps the selected option separate from its
           note, while close carries the composer-declared completion mode. */
        var ctxData = {
          schema: "fm-bearings-answer.v1",
          question: item.key,
          selection: value || "",
          note: note
        };
        if (item.close) ctxData.close = item.close;
        window.lavish.queuePrompt(
          "Captain's Call answer - " + item.title + ": " + displayAnswer,
          { tag: "choice", text: item.title + " -> " + displayAnswer, element: form,
            data: ctxData }
        );
      }
      card.classList.add("is-queued");
      /* deal the next card once this one is answered */
      setTimeout(function () { showCard(active < cards.length - 1 ? active + 1 : active); }, 450);
    });

    pad.appendChild(form);
    card.appendChild(pad);
    deck.appendChild(card);
  });

  /* stack navigation: one card at a time, dealt off the pile */
  var cards = Array.prototype.slice.call(deck.children);
  var active = 0;
  var stackCount = document.getElementById("bb-stack-count");
  var stackPrev = document.getElementById("bb-stack-prev");
  var stackNext = document.getElementById("bb-stack-next");
  var stackNav = stackCount.parentNode;
  function showCard(i) {
    active = Math.max(0, Math.min(cards.length - 1, i));
    cards.forEach(function (c, j) { c.hidden = j !== active; });
    var answered = deck.querySelectorAll(".is-queued").length;
    stackCount.textContent = "card " + (active + 1) + " of " + cards.length +
      (answered ? " · " + answered + " answered" : "");
    stackPrev.disabled = active === 0;
    stackNext.disabled = active === cards.length - 1;
    /* the pile thins as the deal approaches the bottom */
    deck.classList.toggle("bb-call--penult", active === cards.length - 2);
    deck.classList.toggle("bb-call--last", active === cards.length - 1);
  }
  if (cards.length) {
    stackPrev.addEventListener("click", function () { showCard(active - 1); });
    stackNext.addEventListener("click", function () { showCard(active + 1); });
    showCard(0);
  } else {
    deck.classList.add("bb-call--empty");
    deck.appendChild(el("div", "bb-empty", "Nothing needs your action right now."));
    stackNav.hidden = true;
  }

  /* Underway */
  var uw = document.getElementById("bb-underway");
  if (!data.underway.length) uw.appendChild(el("div", "bb-empty", "Nothing is underway."));
  data.underway.forEach(function (t) {
    var row = el("div", "bb-row");
    row.appendChild(badge(t.state === "working" ? "online" : "info", t.state));
    var main = el("div", "bb-row__main");
    main.appendChild(el("div", "bb-row__title", t.doing));
    /* captain-facing rows name the repo; the internal task id shows only when
       no repo is known */
    main.appendChild(el("div", "bb-row__sub", t.kind + " · " + (t.repo || t.id)));
    row.appendChild(main);
    uw.appendChild(row);
  });

  /* Landed */
  var ld = document.getElementById("bb-landed");
  if (!data.landed.length) ld.appendChild(el("div", "bb-empty", "No recent completions are in the current baseline."));
  data.landed.forEach(function (t) {
    var row = el("div", "bb-row");
    var chk = el("span", "bb-row__check");
    chk.innerHTML = '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>';
    row.appendChild(chk);
    var main = el("div", "bb-row__main");
    main.appendChild(el("div", "bb-row__title", t.what));
    main.appendChild(el("div", "bb-row__sub", (t.repo || t.id) + " · " + t.owner));
    row.appendChild(main);
    if (t.pr_url) {
      var a = el("a", "bb-row__pr", "#" + t.pr_url.split("/").pop());
      a.href = t.pr_url; a.title = t.pr_url; a.target = "_blank"; a.rel = "noopener";
      row.appendChild(a);
    }
    ld.appendChild(row);
  });

  /* Charted Next + dispatch picker */
  var ch = document.getElementById("bb-charted");
  var bar = document.getElementById("bb-dispatch");
  var barCount = document.getElementById("bb-dispatch-count");
  var barBtn = document.getElementById("bb-dispatch-btn");
  var anyPickable = false;

  function pickedIds() {
    return Array.prototype.map.call(ch.querySelectorAll(".bb-pick:checked"), function (c) { return c.value; });
  }
  function refreshBar(limitMessage) {
    var n = pickedIds().length;
    barCount.textContent = limitMessage || (n ? n + " picked for dispatch" : "pick queued work to dispatch");
    barBtn.disabled = !n;
  }

  if (!chartedQueued(data.charted).length && !chartedMoreQueued) {
    ch.appendChild(el("div", "bb-empty", "Nothing is queued."));
  }
  data.charted.forEach(function (t) {
    var row = el("div", "bb-row");
    if (t.dispatchable && !isWarning(t)) {
      anyPickable = true;
      var pick = document.createElement("input");
      pick.type = "checkbox"; pick.className = "bb-pick"; pick.value = t.id;
      pick.setAttribute("aria-label", "Pick " + t.id + " for dispatch");
      pick.addEventListener("change", function () {
        if (pick.checked && utf8ByteLength(pickedIds().join(",")) > 512) {
          pick.checked = false;
          refreshBar("Selection limit reached (512 bytes maximum). ");
          return;
        }
        refreshBar();
      });
      row.appendChild(pick);
    } else {
      row.appendChild(el("span", "bb-pick-spacer"));
    }
    var main = el("div", "bb-row__main");
    main.appendChild(el("div", "bb-row__title", t.title));
    /* second line keeps the title uncrowded in the half-width column */
    var chSub = t.repo || t.id;
    main.appendChild(el("div", "bb-row__sub", t.reason ? t.reason + " · " + chSub : chSub));
    row.appendChild(main);
    if (isWarning(t)) row.appendChild(badge("danger", "needs repair"));
    else if (t.reason) row.appendChild(badge("warn", "waiting"));
    ch.appendChild(row);
  });
  var chartedShown = chartedQueued(data.charted).length;
  var chartedTotal = chartedShown + chartedMoreQueued;
  document.getElementById("bb-charted-sub").textContent =
    chartedMoreQueued ? "showing " + chartedShown + " of " + chartedTotal : "";
  if (chartedMoreQueued) {
    ch.appendChild(el("span", "bb-morechip", "+" + chartedMoreQueued + " more queued - ask firstmate for the full chart"));
  }
  if (chartedMoreWarnings) {
    ch.appendChild(el("span", "bb-morechip", "+" + chartedMoreWarnings + " more repair warning" + (chartedMoreWarnings === 1 ? "" : "s") + " - ask firstmate for the full chart"));
  }

  if (anyPickable) {
    bar.hidden = false;
    refreshBar();
    barBtn.addEventListener("click", function () {
      var ids = pickedIds();
      var dispatchAnswer = ids.join(",");
      if (!ids.length) return;
      if (utf8ByteLength(dispatchAnswer) > 512) {
        refreshBar("Selection is too long to queue (512 bytes maximum). ");
        return;
      }
      if (window.lavish && window.lavish.queuePrompt) {
        window.lavish.queuePrompt(
          "Dispatch order - start this queued work now: " + ids.join(", "),
          { tag: "choice", text: "Dispatch: " + ids.join(", "), element: bar,
            queueKey: "dispatch.charted",
            data: { question: "dispatch.charted", answer: dispatchAnswer } }
        );
      }
      bar.classList.add("is-queued");
    });
  }
  } catch (e) {
    renderBoardError("The board data could not be rendered");
  }
})();
</script>
</body>
</html>

Pipeline

Updates from git push no-mistakes

✅ **intent** - passed

✅ No issues found.

⏭️ **Rebase** - skipped
  • ⚠️ tests/fm-on.test.sh - merge conflict rebasing onto refs/remotes/no-mistakes-push/fm/tableau-descriptifs-tronques
🔧 **Review** - 1 issue found → auto-fixed ✅
  • ⚠️ tests/fm-bearings-board-layout.test.sh:234 - This test builds and arms a real process-event listener, while its fake lavish-axi poll loops forever. The inherited temp-directory cleanup only removes the fixture files, so each successful run leaves the listener/poll process alive. Add an EXIT teardown that calls fm-procevent.sh sweep-home with this fixture’s environment before fm_test_cleanup, as the renderer test does.

🔧 Fix: Clean up layout test poller
✅ Re-checked - no issues remain.

✅ **Test** - passed

✅ No issues found.

  • bash tests/fm-bearings-board-render.test.sh
  • bash tests/fm-test-run.test.sh
  • bash tests/fm-bearings-board-layout.test.sh (skipped: Chrome/Chromium not installed)
  • FM_CHROME_BIN=&#39;/Applications/Brave Browser.app/Contents/MacOS/Brave Browser&#39; bash tests/fm-bearings-board-layout.test.sh (Brave headless did not emit its smoke DOM; interrupted and cleaned up)
  • Built the evidence fixture with bin/fm-bearings-board.sh build …/payload.json, inspected the rendered page in Brave, then ran bin/fm-procevent.sh sweep-home to retire its listener.
✅ **Document** - passed

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

@greptile-apps

greptile-apps Bot commented Aug 27, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Reviews (14): Last reviewed commit: "fix(review): Clean up layout test poller" | Re-trigger Greptile

@mremond

mremond commented Aug 27, 2026

Copy link
Copy Markdown
Contributor Author

The red check here is the head-bound attestation, and it is not unique to this PR

Recording the evidence so the next person to hit this does not re-derive it.

What fails. PR must be raised via no-mistakes — every other check on this branch is green. The verify step reports:

attestation.head_sha: 1bb9d064759dcb09c9537380d3320ca402e76370
PR head:              48f27030…
A later push must not pass on an older attestation.

Why. The attestation passed on the opened event and has failed on every synchronize since. The pipeline's own CI step pushes its fixes to the PR branch, which moves the head, and nothing rebinds the attestation to the new head. The CI repair agent diagnoses this correctly in its own log and then hands off, because it is walled off from both pushing and re-attesting:

the outer executor must commit this change and refresh the head-bound attestation through its owned push/PR phase

The step that can push does not re-attest. So each repair round moves the head once more and re-breaks the binding it was trying to satisfy. Five pushes here, five failures, always against the same original SHA.

Not a one-off. #3135 shows the same signature independently: 13 of 14 checks green, this gate the only red one. Two open PRs, same symptom.

What is being done here. A fresh validation run from the current head, so the attestation binds to the head it actually publishes. The work itself was never in question — review, tests, documentation and lint all passed with zero findings before this gate was reached. The rerun exists only to close the binding.

Not proposing a change to the gate: it is right to refuse a stale attestation, and the failure mode it prevents is real. The gap is that the pipeline can invalidate its own attestation and has no way to restore it.

@mremond
mremond force-pushed the fm/tableau-descriptifs-tronques branch from 48f2703 to 0735924 Compare August 27, 2026 17:31
@mremond mremond changed the title fix(bearings): make fleet board text readable and contained fix(bearings): keep fleet board text readable and contained Aug 27, 2026
@mremond
mremond force-pushed the fm/tableau-descriptifs-tronques branch from 75e4d5b to 1b0cccf Compare August 28, 2026 09:25
@mremond mremond changed the title fix(bearings): keep fleet board text readable and contained fix(bearings): keep board descriptions and risks readable Aug 31, 2026
Comment thread bin/fm-test-run.sh Resolved
@mremond

mremond commented Aug 31, 2026

Copy link
Copy Markdown
Contributor Author

Measured note: Behavior portable serial 1 / tests/fm-secondmate-reconcile.test.sh

This check is red on this PR. It is reported here rather than made green, because the evidence says it has a real reason to be unstable and this branch does not touch it.

The failure: not ok - a busy control lock blocked the reconcile path

What was measured:

Observation Result
Runs on this branch head 6 runs, 1 failure
Runs on unmodified origin/main 7 runs, 0 failures
Diff of the test, bin/fm-secondmate-reconcile.sh, bin/fm-lease-lib.sh vs upstream empty - this branch changes none of them
Serial shard holding the test on origin/main shard 2
Serial shard holding it on this branch shard 4

Reading, with its limits. No code change here reaches that test or its subject, so the failure is not caused by this branch's content. But this branch adds a test file, which re-partitions the serial shards and moves fm-secondmate-reconcile from shard 2 to shard 4 - different neighbours, different load. The test is timing-sensitive ("busy control lock"), so shard re-composition is a plausible way to expose it. 1-in-6 against 0-in-7 is far too small to distinguish, and running the test alone locally cannot test the shard hypothesis at all.

So this is offered as a measurement, not a verdict: the test appears sensitive to timing, and shard composition changes what it runs beside. Whether that is worth hardening is the maintainer's call, not ours.

@mremond

mremond commented Aug 31, 2026

Copy link
Copy Markdown
Contributor Author

Correction to my earlier note on tests/fm-secondmate-reconcile.test.sh

My previous comment stated that this branch leaves that test and its subject untouched, with an empty diff against upstream. That is no longer true, and I am correcting it before anything else.

What actually happened. An automated CI-repair commit on this branch — 8e57df6 (no-mistakes: apply CI fixes) — modified the test itself:

  • Before: sleep 0.2, then fail if the notify process is still alive.
  • After: poll up to 1000 × 0.01s — ten seconds — before failing.

That is a fiftyfold relaxation of the very assertion the test exists to carry: a busy lifecycle lock does not hold up the digest. A test that waits ten seconds no longer checks that the lock doesn't hold the digest up; it checks only that the lock is eventually released. That is the test removed while its name is kept.

Where my earlier statement stood. It was accurate when written, at commit 507a62d. The relaxation entered this branch afterwards, through a merge, and I did not catch it before reporting. The measurements in that comment — 1 failure in 6 runs here, 0 in 7 upstream, the shard moving from 2 to 4 — were taken before the relaxation and remain accurate for that state of the branch. The "empty diff" claim is the part that became false.

What is being done. The relaxation is being reverted in its own clearly-named commit, so the history shows that it existed and was withdrawn. If the check goes red again afterwards, it will be left red, named and measured, for the maintainer to judge. It will not be made green by weakening what it asserts.

@mremond mremond changed the title fix(bearings): keep board descriptions and risks readable fix(bearings): keep fleet board descriptions readable Aug 31, 2026
@mremond

mremond commented Aug 31, 2026

Copy link
Copy Markdown
Contributor Author

Revert landed — status of the busy-lock test

Following up my correction above, which said the relaxation was being reverted. It now has been, so this records the finished state rather than an intention.

  • 0dcd62c — revert(test): restore busy-lock timing assertion. Its own commit, named as a revert, so the history shows the relaxation existed and was withdrawn rather than concealing it.
  • tests/fm-secondmate-reconcile.test.sh is byte-identical to origin/main again: empty diff.
  • The original sleep 0.2 assertion is restored, and the wait_until_process_exits helper introduced with the relaxation is gone.

To restate plainly, so nothing on this page is misleading: the disarming of that test did happen on this branch. It came from an automated CI-repair commit (8e57df6), not from the change this PR is about, and it was inherited here through a merge. It has been removed. The check is not being made green by weakening what it asserts.

If Behavior portable serial 1 goes red again now that the real assertion is back, it is being left red deliberately, with the measurement and its limits in my earlier comment, for the maintainer to judge.

mremond and others added 4 commits September 7, 2026 18:44
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 told the reader nothing about the work it named.

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.

Claude-Session: https://claude.ai/code/session_01TFXczY5CL15S9SxFcibsEc
…n the card

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
compared the raw value against the English "low" alone, leaving a French
level wearing the alert tone.

Split the value at its first period: the level stays on the pin, 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.

Claude-Session: https://claude.ai/code/session_01TFXczY5CL15S9SxFcibsEc
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 from a payload 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 suite reads tests/assets/board-render-harness.mjs, so map changed
test assets to their consuming suite in the selector: scan references
even after deletion so an unchanged consumer is still selected, and
exclude the selector suite itself, which embeds those paths as fixture
data rather than consuming them.

Claude-Session: https://claude.ai/code/session_01TFXczY5CL15S9SxFcibsEc
@mremond
mremond force-pushed the fm/tableau-descriptifs-tronques branch from 6601d9b to 5affdec Compare September 7, 2026 17:13
@mremond mremond changed the title fix(bearings): keep fleet board descriptions readable fix(bearings): make fleet board descriptions readable Sep 7, 2026
@mremond

mremond commented Sep 15, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #4521; closing this one.

@mremond mremond closed this Sep 15, 2026
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