feat(bin): add live fleet task-list view - #2
Merged
Conversation
ItsFlow
force-pushed
the
fm/live-tasklist-view
branch
from
July 28, 2026 18:23
875670a to
9b4a337
Compare
Add bin/fm-tasklist-view.sh, a read-only live projection of this home's task and priority list for a persistent split pane. It renders IN FLIGHT (with a parallel-worker marker), QUEUED (ready), UPCOMING (blocked or held), and DONE-RECENT bands in backlog priority order, auto-refreshing on a configurable interval with a one-shot mode for testing. It is a thin renderer over bin/fm-fleet-snapshot.sh --json, the same read-only data owner bin/fm-fleet-view.sh uses, so the board cannot drift from the real backlog/state contract. Review-ready PR links and done artifacts render on their own line so they stay clickable in narrow panes. FM_HOME is required (fail-closed), and a briefly absent or locked source keeps the last good frame instead of crashing. Colocated tests cover band composition, priority ordering, the parallel marker, secondmate exclusion, graceful empty rendering, the fail-closed home contract, the --done/--width knobs, and a proof that a render mutates no state or data file.
ItsFlow
force-pushed
the
fm/live-tasklist-view
branch
from
July 28, 2026 22:28
9b4a337 to
ce5185b
Compare
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.
What Changed
fm-tasklist-view.sh, a read-only live terminal board that renders in-flight, queued, upcoming, and recently done fleet work fromFM_HOMEsnapshots.Risk Assessment
✅ Low: The updated change is a bounded read-only renderer over the existing snapshot contract, and the prior gate-visibility and option-parsing risks have been addressed without introducing material new source risks.
Testing
After inspecting the diff to confirm the intent, I ran the focused tasklist behavior suite and the modified backend suite, then manually rendered the CLI board and a short live refresh loop against a realistic fixture while proving
state/anddata/checksums stayed unchanged; all checks passed.Evidence: Tasklist board one-frame render
Evidence: Tasklist live refresh transcript
Evidence: Read-only render proof
state/data checksum comparison: unchangedPipeline
Updates from git push no-mistakes
⏭️ **intent** - skipped
✅ No issues found.
🔧 **Rebase** - 2 issues found → auto-fixed ✅
tests/fm-backend.test.sh- merge conflict rebasing onto refs/remotes/no-mistakes-push/fm/live-tasklist-viewtests/fm-backend.test.sh- merge conflict rebasing onto origin/main🔧 Fix applied.
✅ Re-checked - no issues remain.
🔧 **Review** - 2 issues found → auto-fixed ✅
bin/fm-tasklist-view.sh:146-$upcomingis built only from queued records while$inflightis built only from livestate/*.metatasks. The snapshot contract also has current backlog records that intentionally have no live child metadata, such as in-flight holds (current_role == "held") and invalid inventory disclosures inmain_inventory; those now disappear from every band, so a home with an in-flight external/captain hold or orphaned in-flight row can render as empty instead of surfacing the hold/gate.bin/fm-tasklist-view.sh:72---widthunconditionally shifts and accepts the next token as the width. A malformed call likefm-tasklist-view.sh --width --onceconsumes--once, resets the invalid width to 80, and then enters the live loop instead of failing usage, which can hang scripted one-shot invocations.🔧 Fix: Fix tasklist gates and option parsing
✅ Re-checked - no issues remain.
✅ **Test** - passed
✅ No issues found.
Inspected the target diff61cd98dc91bcacef664bea0682ecdc60a0db9a02..ce5185b20561aa21f8903cc287cb903f4aaa3db6to extract intent and affected tests.bash tests/fm-tasklist-view.test.shbash tests/fm-backend.test.shManual evidence render:FM_HOME=... PATH=... bin/fm-tasklist-view.sh --once --no-color --width 96 --done 2captured totasklist-view-transcript.txt.Manual live refresh check:FM_HOME=... PATH=... bin/fm-tasklist-view.sh --interval 0.5 --no-clear --no-color --width 80captured two frames totasklist-live-loop-transcript.txt.Manual read-only check: compared SHA-256 checksums for fixturestate/anddata/before and after rendering.✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.