Repository navigation
fix: render fleet panes to drawn geometry - #55
Merged
Merged
Conversation
levelupself
pushed a commit
that referenced
this pull request
Aug 16, 2026
origin/main advanced by two commits while this branch waited on a merge decision: #55 (render fleet panes to drawn geometry) and #57 (require local suite evidence when CI is unavailable). The opencode primacy-probe fix (#54) was already an ancestor of this branch. One conflict, in bin/fm-brief.sh, and it lands on a file this branch had already resolved once. #57 replaces the literal no-mistakes deliverable sentence with a $READY_DELIVERABLE variable selected by whether the repository can demonstrate a working CI check gate. The incoming variable is kept, because that feature is the point of #57 - but both of its definitions reintroduced "This project ships", silently reverting the per-task noun this branch had unified across the direct-PR, local-only and no-mistakes blocks. The noun is re-applied to both definitions, so the generated brief stays internally consistent. The other four files touched by the incoming work had also been resolved once on this branch (AGENTS.md, bin/backends/herdr.sh, docs/herdr-backend.md, tests/fm-brief.test.sh). Each auto-merged, and each round-one decision was re-verified as still present rather than assumed.
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
Correct the captain-visible fleet-panel corruption caused by Herdr pane pty dimensions diverging from panes drawn rectangles. Implement the contained Firstmate workaround so the cockpit obtains authoritative drawn columns and lines for every fleet pane and the painter renders to those dimensions on every redraw and after layout changes, while preserving configured narrow side-by-side layouts. Treat the two-painter hypothesis and a Firstmate painting regression as disconfirmed. Add a red-first executable regression through a public interface that creates a pty-versus-drawn-rectangle mismatch and proves the rendered frame remains within drawn geometry, and cover the overflow-summary row so it is width-clipped and cannot wrap and scroll a correctly sized frame. Use the real visual-path counterfactual established by the diagnosis, review all supported runtime-backend integration surfaces for applicability, keep one contract owner, follow repository shell and Markdown style, run repository lint, and update maintained verification evidence only where the active guarantee requires it. State in the PR body that this is a workaround for separately tracked upstream Herdr pty-sizing defect herdr-pty-drawn-geometry-sync, not the permanent source fix. Pipeline-authored risk rationales, fix summaries, and PR bodies must use role-neutral prose with no second person and no captain, user, firstmate, or crewmate role nouns; this constraint does not apply to product code, prompts, or user-facing copy.
What Changed
herdr-pty-drawn-geometry-sync, not the permanent source fix.Risk Assessment
✅ Low: The change is well-bounded and source evidence shows the Herdr-specific painter re-reads authoritative drawn geometry on every redraw, clips rendered rows and overflow summaries to that geometry, preserves existing backend behavior elsewhere, and adds executable public-interface regression coverage for the diagnosed mismatch.
Testing
Change inspection, a real tmux pty-versus-drawn-rectangle mismatch, per-redraw geometry refresh, narrow overflow-summary clipping, short-pane preservation, and Herdr cockpit launch integration all passed; rendered HTML captures demonstrate the bounded end-user frames, with no transient worktree artifacts left behind.
Evidence: Rendered 14×4 geometry redraw
Evidence: Rendered clipped overflow summary
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.
Inspectedgit diff 098be72164480652565a48d3a1e7d423453b880b..80e21bb28e8b8d174848cc24d36187bbd607ddb4to map the acceptance criteria to executable paths.FM_TEST_EVIDENCE_DIR=/tmp/no-mistakes-evidence/01M046NPDJ6JCYHBM08QKJ6NYK bash tests/fm-fleet-view-pane-fit-smoke.test.shbash tests/fm-cockpit.test.shInspected both generated HTML artifacts to confirm they contain the actual captured terminal frames bounded to 14×4 and 21×8 drawn geometry.git status --shortand evidence-directory inspection confirmed only intentional test changes remain and evidence is confined to the designated directory.✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.