feat(rr): live task board for check-family commands#232
Merged
Conversation
A TTY-aware board that runs N labelled tasks concurrently, renders one live spinner row each (collapsing to ✔/✖ with a duration), flushes their captured output, and prints a summary. Non-TTY/CI prints once, deterministically. Glyphs mirror @clack/prompts. Adds palette.error. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
check, lint, format, jsc, tsc, pack and doctor now run captured and render board rows (✔/✖ + flushed output), one row per package for monorepo tsc. Every command/subcommand reads identically — `<command> (<tool>) · <package>` (or `· <n> packages` for fan-out) — and shows the underlying `$ <command>`. `rr check` runs jsc then tsc as framed sections with one overall verdict. clean stays logger-based. Plugin SDK: verbs + Packer.pack() + Doctor.doctor() return RunReport; DoctorResult/DoctorOutput removed. See decisions 012-014. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
🦋 Changeset detectedLatest commit: 908d2c0 The changes in this PR will be included in the next version bump. This PR includes changesets to release 7 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
Preview releaseLatest commit: Some packages have been released:
Note Use the PR number as tag to install any package. For instance: |
Trim the comments added by the task-board work down to the ones that explain non-obvious "why" (cryptic ANSI escapes, exit-code-not-parsed, ANSI-aware width, command hoisting, deterministic non-TTY order, the sync collector push). Drop redundant/obvious narration and rationale that already lives in decisions/012-014 or cli/CLAUDE.md. No behaviour change. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Reworks the output of
rr check/lint/format/jsc/tsc/pack/doctorinto a live task board — one spinner row per task (✔/✖), the tool's output flushed below, and a one-line summary. In a monorepo,tscshows one row per package so it's clear which one failed.Highlights
<command> (<tool>) · <package>(e.g.lint (biome) · dx); a fan-out is<command> (<tool>) · <n> packages. Each run shows the underlying$ <command>it executed.rr checkrunsjscthentscas framed sections and closes with one overall verdict (✔ check passed/✖ check failed · <section>) — a passing section can't be the last line of a failed run.cleanstays logger-based (no pass/fail verdict).runTaskBoardlives in@vlandoss/clibuddy(reusable; glyphs mirror@clack/prompts).Plugin SDK (kernel-internal)
Capability verbs plus
Packer.pack()andDoctor.doctor()now returnRunReport;DoctorResult/DoctorOutputare removed. All four official plugins are updated in lockstep.Architecture + rationale recorded in
decisions/012–014.🤖 Generated with Claude Code