Repository navigation
Add a skill for chaptered CLI recordings - #14475
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Dependency provenance, transport backpressure, final inspection fidelity, and contribution eligibility remain unresolved.
Get a fresh assessment by requesting another Copilot review.
Review effort: Balanced
Findings: 2
Open (5)
Enforce bounded output buffering under write backpressure · New Verify executable module bytes, not only the version string · New Honor inspection-all mode in final session assembly · New Record and verify auto-loaded font companion files · New Contribution eligibility and maintainer authorization are unverified · New
What changed in this PR
Adds the cli-exercise skill for isolated CLI workflow capture, verification, and chaptered media rendering.
Changes:
- Adds Go-based execution, policy, evidence, and rendering tooling.
- Adds a Tuistory adapter with pinned dependencies.
- Adds skill guidance, references, fixtures, and tests.
| File | Description |
|---|---|
.github/skills/cli-exercise/SKILL.md |
Defines the skill workflow. |
.github/skills/cli-exercise/.gitignore |
Excludes generated dependencies and binaries. |
.github/skills/cli-exercise/tests/skill-evaluations.json |
Defines agent behavior evaluations. |
.github/skills/cli-exercise/scripts/package.json |
Pins Tuistory. |
.github/skills/cli-exercise/scripts/package-lock.json |
Locks Node dependencies. |
.github/skills/cli-exercise/scripts/terminal.mjs |
Bridges Go and Tuistory. |
.github/skills/cli-exercise/references/controllers.md |
Documents controllers. |
.github/skills/cli-exercise/references/examples.md |
Provides routing examples. |
.github/skills/cli-exercise/references/maintenance.md |
Documents maintenance and testing. |
.github/skills/cli-exercise/references/prerequisites.md |
Documents prerequisite handling. |
.github/skills/cli-exercise/references/recording-sessions.md |
Documents session assembly. |
.github/skills/cli-exercise/references/run-contract.md |
Defines recording contracts. |
.github/skills/cli-exercise/references/runtime-interface.md |
Documents helper interfaces. |
.github/skills/cli-exercise/internal/cli-exercise-evidence/SKILL.md |
Defines evidence handling. |
.github/skills/cli-exercise/internal/cli-exercise-exact/SKILL.md |
Defines exact-case execution. |
.github/skills/cli-exercise/internal/cli-exercise-explore/SKILL.md |
Defines exploratory execution. |
.github/skills/cli-exercise/internal/cli-exercise-preflight/SKILL.md |
Defines readiness checks. |
.github/skills/cli-exercise/internal/cli-exercise-run/SKILL.md |
Defines shared execution flow. |
.github/skills/cli-exercise/tool/go.mod |
Declares the helper module. |
.github/skills/cli-exercise/tool/go.sum |
Locks Go dependencies. |
.github/skills/cli-exercise/tool/main.go |
Dispatches helper commands. |
.github/skills/cli-exercise/tool/main_test.go |
Tests command dispatch. |
.github/skills/cli-exercise/tool/skill_test.go |
Validates skill resources. |
.github/skills/cli-exercise/tool/internal/cliutil/environment.go |
Creates isolated environments. |
.github/skills/cli-exercise/tool/internal/cliutil/environment_test.go |
Tests environment isolation. |
.github/skills/cli-exercise/tool/internal/cliutil/files.go |
Provides path confinement helpers. |
.github/skills/cli-exercise/tool/internal/cliutil/io.go |
Provides bounded JSON I/O. |
.github/skills/cli-exercise/tool/internal/cliutil/io_test.go |
Tests JSON I/O. |
.github/skills/cli-exercise/tool/internal/cliutil/process_other.go |
Rejects unsupported process management. |
.github/skills/cli-exercise/tool/internal/cliutil/process_unix.go |
Manages Unix process groups. |
.github/skills/cli-exercise/tool/internal/engine/actions.go |
Enforces runtime actions. |
.github/skills/cli-exercise/tool/internal/engine/actions_test.go |
Tests action policy. |
.github/skills/cli-exercise/tool/internal/engine/assertions.go |
Evaluates expectations. |
.github/skills/cli-exercise/tool/internal/engine/assertions_test.go |
Tests assertion outcomes. |
.github/skills/cli-exercise/tool/internal/engine/contract.go |
Validates run contracts. |
.github/skills/cli-exercise/tool/internal/engine/options.go |
Defines runtime dependencies. |
.github/skills/cli-exercise/tool/internal/engine/runtime.go |
Captures and manages executions. |
.github/skills/cli-exercise/tool/internal/engine/runtime_test.go |
Tests runtime behavior. |
.github/skills/cli-exercise/tool/internal/engine/screen.go |
Interprets screens and privacy rules. |
.github/skills/cli-exercise/tool/internal/evidence/evidence_test.go |
Tests evidence commands. |
.github/skills/cli-exercise/tool/internal/evidence/inspection.go |
Deduplicates inspection images. |
.github/skills/cli-exercise/tool/internal/evidence/main.go |
Builds evidence reports. |
.github/skills/cli-exercise/tool/internal/evidence/model.go |
Defines evidence models and timelines. |
.github/skills/cli-exercise/tool/internal/evidence/overview.go |
Renders session summaries. |
.github/skills/cli-exercise/tool/internal/evidence/presentation_test.go |
Tests session presentation. |
.github/skills/cli-exercise/tool/internal/evidence/raster.go |
Rasterizes terminal states. |
.github/skills/cli-exercise/tool/internal/evidence/render.go |
Encodes and inspects media. |
.github/skills/cli-exercise/tool/internal/evidence/session.go |
Coordinates session rendering. |
.github/skills/cli-exercise/tool/internal/evidence/session_media.go |
Assembles chaptered media. |
.github/skills/cli-exercise/tool/internal/evidence/session_media_test.go |
Tests media assembly. |
.github/skills/cli-exercise/tool/internal/evidence/session_model.go |
Defines session structures. |
.github/skills/cli-exercise/tool/internal/evidence/session_order.go |
Validates execution chronology. |
.github/skills/cli-exercise/tool/internal/evidence/session_order_test.go |
Tests chronology validation. |
.github/skills/cli-exercise/tool/internal/evidence/session_test.go |
Tests session reporting. |
.github/skills/cli-exercise/tool/internal/execution/cli.go |
Implements run/client commands. |
.github/skills/cli-exercise/tool/internal/execution/cli_test.go |
Tests helper IPC workflows. |
.github/skills/cli-exercise/tool/internal/execution/fixture_test.go |
Provides interactive fixtures. |
.github/skills/cli-exercise/tool/internal/fontutil/font.go |
Loads and renders fonts. |
.github/skills/cli-exercise/tool/internal/fontutil/font_test.go |
Tests font handling. |
.github/skills/cli-exercise/tool/internal/preflight/check.go |
Probes required capabilities. |
.github/skills/cli-exercise/tool/internal/preflight/main.go |
Implements preflight CLI handling. |
.github/skills/cli-exercise/tool/internal/preflight/preflight_test.go |
Tests readiness checks. |
.github/skills/cli-exercise/tool/internal/preflight/probe.go |
Exercises the terminal adapter. |
.github/skills/cli-exercise/tool/internal/preflight/probe_test.go |
Tests terminal probing. |
.github/skills/cli-exercise/tool/internal/recording/models.go |
Defines shared recording data. |
.github/skills/cli-exercise/tool/internal/recording/models_test.go |
Tests recording models. |
.github/skills/cli-exercise/tool/internal/terminal/adapter.go |
Owns the Node adapter process. |
.github/skills/cli-exercise/tool/internal/terminal/adapter_test.go |
Tests adapter transport. |
.github/skills/cli-exercise/tool/internal/terminal/cleanup_other_test.go |
Skips unsupported cleanup tests. |
.github/skills/cli-exercise/tool/internal/terminal/cleanup_unix_test.go |
Tests Unix descendant cleanup. |
.github/skills/cli-exercise/tool/internal/terminal/fixture_test.go |
Provides terminal fixtures. |
.github/skills/cli-exercise/tool/internal/terminal/session.go |
Defines the terminal interface. |
Files not reviewed (1)
- .github/skills/cli-exercise/scripts/package-lock.json: Generated file
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…#2) * fix(bin): judge only the checks a PR's base branch requires The merge guard refused every pull request carrying a non-green check, so any repository running an advisory tier - checks that fail on purpose to surface real debt - became permanently unmergeable. GitHub reports required status per check through the rollup's isRequired, which resolves classic branch protection and rulesets together and needs only ordinary repository read access. The branch-protection and rules endpoints do not: a private repository on a free plan answers both with a plan-gated 403, which this script already handles for the merge-queue read. That field only resolves when the query supplies pullRequestNumber, which gh's canned --json statusCheckRollup omits, so this issues its own GraphQL document rather than reusing the rollup already fetched beside it. Verified against cli/cli#14475, where the canned query reports null for all eleven checks while the explicit one reports three required and eight not. A declared required set now narrows what is judged to exactly those checks. A base branch that requires nothing and a read that failed both leave every check judged, because neither establishes what gates and a failed read must never shrink the judged set the way an empty one would. Four answers count as unreadable rather than as a short required set: a failed or unparsable read, an answer describing another head, a truncated context page, and a context carrying no isRequired boolean. Keeping "requires nothing" and "could not read" apart is what stops a field that stops resolving from quietly looking like a branch that gates nothing. Required status is never inferred from a check's name; the name is only the join key back to the rollup, which GitHub itself keys required checks by. Narrowing cross-checks itself against mergeStateStatus, which the forge computes from the same requirements, so a pull request it still reports BLOCKED is refused even when every narrowed check was green. That check is applied only when narrowing, so a base branch that requires nothing keeps exactly the behaviour it has today. Every run now reports which checks it judged and which it ignored, and the verified line no longer claims "every required check green" when it judged every check indiscriminately. Run supersession, the single-name --allow-red waiver and its away-posture refusal, pending-is-not-green, the head binding, and the GitLab path are unchanged. * no-mistakes(review): skip BLOCKED cross-check under attended waiver or override * no-mistakes(review): narrow required-set notices, dedupe names, qualify policy text * no-mistakes(document): point stale merge-green prose at narrowed required-check owner * no-mistakes(review): use raw-string gh flags for required-set GraphQL vars * no-mistakes(document): comment why required-set read uses raw-string gh flags * no-mistakes(ci): CI "Lint" failure was real and caused by this PR. ShellCheck 0.11.0 in CI mode (--norc --external-sources, full dataflow over the whole canonical set) flagged SC2178/SC2128 four times in the new github_read_required_checks in bin/fm-pr-merge.sh, on the local variable `names`. Root cause: ShellCheck tracks array-ness by variable NAME across sourced files, and bin/fm-classify-lib.sh:1899 declares `local -a names=()`. That file is reachable only when --external-sources is on, which is why the local no-mistakes lint step (changed-file mode, no --external-sources) passed while CI failed. Fix: renamed the local from `names` to `required_names` at bin/fm-pr-merge.sh:618, 668, 682, 683. 4 lines changed, one file, no behavior change and no new code paths. Verified locally: - shellcheck --norc --external-sources -- bin/fm-pr-merge.sh => exit 0 (reproduced the exact 4 CI warnings before the change). - CI=true bin/fm-lint.sh (full CI parity: whole canonical set + actionlint) => exit 0, "3 workflow files valid". - bash tests/fm-pr-merge.test.sh => exit 0, all cases pass, including the narrowing, BLOCKED cross-check, allow-red waiver, attended-override, supersession, and numeric-owner regression cases. No settled decision was revisited: the BLOCKED cross-check, waiver skip, policy wording, notice arms, and strict all-green for repos declaring nothing required are all untouched
williammartin
left a comment
There was a problem hiding this comment.
Lots of thoughts and potential changes. It's a bit rough that just loading the skills take 10% of the context window, not sure what we can do about that right now.
I created a PR stacked on this.
Did enjoy using it a lot to create some exploratory videos, like this banger!
session.mp4
| @@ -0,0 +1,194 @@ | |||
| import { createInterface } from "node:readline"; | |||
There was a problem hiding this comment.
Nothing to do here now but it does sort of feel like if we're going to vibe code this massive skill, maybe there are some simplifications if we vibe coded a port of tuistory into Go.
| 2. Ask the caller to approve those commands before downloading or installing. | ||
| 3. Execute the approved setup, then rerun `preflight check` with the actual paths. | ||
|
|
||
| For Tuistory, use the bundled `scripts/package.json` and `package-lock.json`. |
There was a problem hiding this comment.
What seems to be happening here is that the package and tuistory get installed into every session workspace that uses this. Seems like it would be sufficient to have tuistory installed globally as a pre-req?
There was a problem hiding this comment.
Gonna do this in a separate PR just to get this wrapped up.
| } | ||
| lines := []string{""} | ||
| used := 0.0 | ||
| for _, r := range "$ " + command { |
There was a problem hiding this comment.
This is a bit weird to me for two reasons:
- It seemed like commands were hanging because they didn't proceed to the next prompt
- If we wanted to run a series of commands in a shell and show that as evidence, we're going to see multiple shell prompt
Is there a reason we don't create a shell and run the commands in there?
There was a problem hiding this comment.
No specific reason it is like this, initially the agent implemented it very sloppily and this is just what I was able to get it improved to so far
| @@ -0,0 +1,530 @@ | |||
| package evidence | |||
There was a problem hiding this comment.
Not blocking. I can't quite put the pieces together now but it does seem excessive to build a whole render pipeline when many of these pieces come out of the box for asciinema. I wonder whether an alternative might be to record everything into asciicast and then use avt to replay.
There was a problem hiding this comment.
@BagToad I kicked off an agent to go explore this route earlier, nothing to report back yet, just don't want you to burn the tokens or time unnecessarily.
…onflict markers, and pin skill contracts (#94) Fixes two pr-kit skill defects from the 2026-09-17 audit and adds pr-kit's first tests. Every command claim below was measured in scratch repos or against live PRs. ## Changes - **`get-pr-comments` keeps open threads (cpl-0ye).** It skipped every outdated thread, but outdated means only that a later push changed the code the comment was left on. Outdated but unresolved threads now appear under **Possibly stale — verify**, located by `originalLine` (`line` is null on them — measured on vitejs/vite#15000, #11228, #2432 and cli/cli#14475). - **`get-pr-comments` pages for real (cpl-0ye).** The thread query declares `$endCursor`, which `gh api --paginate` requires; `--slurp` returns every page. A `node(id)` follow-up re-reads a thread with more than 50 comments. Measured with `first:2`: 5 pages, 9 threads; `--paginate` follows the thread cursor even when a nested comments page has more. - **`fix-merge-conflicts` checks the whole tree (cpl-r73).** `git diff --cached --check` missed a conflicted file left unstaged and failed on trailing whitespace. It is replaced by `git diff --name-only --diff-filter=U` plus two `git grep` marker searches with `-- ':/'`: one over the working tree, one over the index (`--cached`). The pattern covers diff3 `|||||||` and markers longer than 7; exit 128 is a failed search. - **`fix-merge-conflicts` states that a rebase swaps sides (cpl-r73).** A table and sentence: during `git rebase`, `ours` is the upstream and `theirs` is your commit; check `git status` for `rebase in progress` first. - **`fix-merge-conflicts` handles conflicts that leave no markers.** Binaries, symlinks, and paths one side deleted or both sides renamed pass every marker check once staged, with `git add` silently keeping the working-tree copy (the upstream, during a rebase). The skill now has the agent keep a side or `git rm` the path explicitly and report it. Submodule conflicts are out of scope: `git checkout --ours/--theirs` exits 0 on them and changes nothing. - **pr-kit prose-anchor tests (cpl-k3s).** `plugins/pr-kit/tests/skill-contracts.spec.ts`, 16 vitest tests, pinning the fixes above plus the earlier audit's contracts: the `make-pr-easy-to-review` tree guard, the `fix-ci` round cap, no skill invoking a model-disabled skill, every gh field a skill fills in being fetched, and the README's `gh` requirement matching the skills that call `gh`. Each of 42 literal mutations fails its own test. - **Release note:** `.changeset/pr-kit-audit-findings.md` (pr-kit patch). cpl-121 (README `gh` claim) was already fixed on main by #54 and is closed with no code change. ## Review `/review-cycle:review` converged in 5 iterations (Codex, code-reviewer, pr-test-analyzer, silent-failure-hunter; then spec conformance and a maintainability audit). Spec conformance found no missing or wrong requirements. ## Follow-ups - cpl-yxo — deferred anchor and marker-check gaps (CRLF `=======`, slashless skill references, `True` in frontmatter, a submodule cue, nine test-tightening suggestions). - cpl-crj — share anchor helpers across plugins and run the model-disabled-reference check repo-wide (3 unchecked references in review-cycle today). ## Test plan - `pnpm test` — 727 passed - `pnpm lint`, `pnpm format:check`, markdownlint — clean - `claude plugin validate ./plugins/pr-kit --strict` — passed - `pnpm exec oakum check --strict` — exit 0
…ent on Authored by me GitHub's `latestReviews` gives a reviewer's latest review of any kind, so a comment after an approval or a change request hid the verdict. Each reviewer's verdict now comes from `latestOpinionatedReviews`, and they read as commented only when they gave none. That list leaves dismissed reviews out, so a push dismissal is read from its event, by reviewer, and holds until they give a newer verdict. Checked read-only on public PRs: cli/cli#14475 shows COMMENTED in `latestReviews` and APPROVED in `latestOpinionatedReviews`, and nodejs/node#66651 shows a dismissed review in the first and nothing in the second. Refs #143 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor(guided-review): keep the review list's preferences and check-offs per tab The preferences file and the check-offs file each hold an `assigned` and an `authored` key, so the Authored by me tab can have its own filters, sort, columns and check-offs. A file in the old flat shape reads as `assigned`, so upgrading keeps every filter and check-off the reviewer has now. `authored` starts at its own defaults: the six review statuses with all but `approved` shown, and the columns check-off, change, title, reviewers, updated, CI, state and local. Each field still falls back to its default on its own, per tab. The Assigned tab reads and writes the `assigned` key and behaves as before; authored check-offs are kept untouched until that tab lists anything. Refs #150 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(guided-review): name the forge's inbox listing for change requests, not review requests The listing is about to hold the change requests the viewer authored beside those they review, so `listReviewRequests` becomes `listChangeRequests` and `ReviewRequestHost` becomes `ListedHost`. Nothing it lists changes. Refs #146 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(guided-review): list the viewer's own open GitHub PRs beside their review requests The inbox listing searches `is:pr is:open author:@me archived:false` on GitHub as a third search, of the same size and in the same call as the other two, so one Refresh lists both and a host that fails says so once. Each host now answers its review requests and the change requests the viewer authored, with whether each list was cut off, so a tab's total and its check-offs can tell a partial list from a full one. The inbox lists the authored change requests beside the review requests, each joined with the review started here by the same ID, so a change request on both tabs shares one review, its guide and its drafts. An authored change request is a review request's fields without the reviewer's own state, team and changed-since-review, which later tickets extend with the review status and reviewers. GitLab answers no authored change requests yet. Refs #146 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(guided-review): show the viewer's own change requests on an Authored by me tab The start tab's review section switches between `Assigned to me · n` and `Authored by me · n`, opening on Assigned. A tab's total is what it lists before any filter, with a `+` when a host listed only part of it, and no number until the list is in. Authored rows start, open and continue a review as Assigned rows do, with the guide's state, a moved head and the drafts in the Here column. Each tab keeps its own forge filter, Hide drafts, sort, columns and search; New review and Refresh serve both from the section header. The search on Authored looks in the title, project and number, since the author is always the viewer. Authored offers no States, Needs my attention, check-off filter or the state, reviewers and check-off columns until it lists review statuses and check-offs. A host's truncation note shows on the tab it cut short, and its error on both. The sidebar count still counts only Assigned. Refs #146 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(guided-review): list the viewer's own open GitLab MRs beside their review requests The GitLab inbox query asks for the viewer's opened `authoredMergeRequests` beside the MRs they review, one page of 100 each, so a host behind the version gate or not logged in fails for both lists with one error. An authored MR carries the same listed fields as a review request, drafts included, and its own page's `hasNextPage` marks the Authored list truncated. The query scores 131 of gitlab.com's 250 complexity points. Refs #147 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * perf(guided-review): count a GitLab MR's drafts once when it is on both tabs An MR the viewer authored and reviews is listed on both tabs, and each row asked GitLab for its drafts. One listing now counts each review's drafts once and shares the count between the rows. Refs #147 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(guided-review): show where reviewers stand on Authored by me Both adapters report each authored change request's combined review status, its reviewers with their latest state, whether a review arrived since the last push, and when the newest review arrived. A change request beats any approval, an approval still standing beats one taken back, and the rule is the same on both forges rather than either's merge verdict. On GitHub, latestReviews keeps a DISMISSED review, and a ReviewDismissedEvent that names a pullRequestCommit tells a push dismissal from a manual one, which names none; this was checked read-only against public grafana/grafana and nodejs/node PRs. A reviewer asked again reads as requested, as GitLab resets their state when asked again. On GitLab, a push reset and a reviewer revoking their approval both give UNAPPROVED, checked read-only against gitlab-org/gitlab MRs, so both read as an approval reset. GitLab's reviewed-since-push compares the review time to the head commit's date, as the Assigned tab already does. The GitLab query now scores 159 of 250 on gitlab.com. The Authored tab gains the State and Reviewers columns, the States filter over the six statuses, Needs my attention, and reviewer names in its search. The sidebar count still counts Assigned only. Refs #148 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(guided-review): check off change requests on Authored by me Authored rows get the check-off box and the tab gets the check-off filter, as on Assigned. An authored check-off records the review status and the newest review's time, and comes back when either differs, never on a push alone. The newest review's time is compared by inequality, since a GitLab approval reset can lower it or clear it. Following a listing drops authored check-offs by the same rule as assigned ones, reading the Authored list's own truncation. The check-off RPC and the client's held rows and optimistic marks are now per tab, so a check-off on one tab leaves the same MR on the other alone. The test that read the check-offs file to show tabs apart now asserts through the inbox in both directions. Refs #149 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(guided-review): keep a re-requested reviewer's change request on Authored by me Asking a reviewer again on GitHub no longer hides a change request they left, since a blocking review is never hidden behind an approval. Their review on the head then counts as one since the last push, like any other standing review. Refs #143 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(guided-review): read GitHub reviewers' verdicts past a later comment on Authored by me GitHub's `latestReviews` gives a reviewer's latest review of any kind, so a comment after an approval or a change request hid the verdict. Each reviewer's verdict now comes from `latestOpinionatedReviews`, and they read as commented only when they gave none. That list leaves dismissed reviews out, so a push dismissal is read from its event, by reviewer, and holds until they give a newer verdict. Checked read-only on public PRs: cli/cli#14475 shows COMMENTED in `latestReviews` and APPROVED in `latestOpinionatedReviews`, and nodejs/node#66651 shows a dismissed review in the first and nothing in the second. Refs #143 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(guided-review): time a GitLab review against the head's push on Authored by me A review now counts as one since the last push only when it came after GitLab's newest diff version of the MR, which is when the head was pushed, rather than after the head commit's own date. A review between committing and pushing no longer reads as feedback on the push. Measured read-only on gitlab.com, the listing query scores 165 of the 250 allowed with `mergeRequestDiffs(first: 1)`, up from 159. Refs #143 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(guided-review): put an Assigned card's tinted line back in its old order On a narrow screen an Assigned card shows its review state, what is kept here and CI in that order again, as it did before the tabs. Each tab now names its card's tinted order, and Authored follows the same one with its reviewers after the state. Refs #143 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(guided-review): key the review list's lists by tab A listed host and the inbox now hold their lists under `assigned` and `authored`, the same keys as `truncated` and the tabs, so a tab reads its list by name instead of through a switch. Both forge adapters report a host they could not list through one `unlistedHost`, the inbox joins both tabs' lists through one helper, and the names that shadowed or read as slang are plain again. Refs #143 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(guided-review): drop the review list's options no tab uses Every tab has states, an attention filter and a spec for each of its columns, so the nulls, the partial column specs and the Toolbar's `attention` switch that stood for a tab without them are gone. TabSection takes the preferences hook's own `InboxPreferencesControl`, the state names share one `capitalised`, and a check-off rule is one function whose change names its tab once. Refs #143 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(guided-review): say what an approval reset means the same way everywhere The status schema, the States hint and the README now all read an approval reset as an approval taken back by a push, with a GitLab reviewer revoking their own approval reading the same. The README no longer repeats the tab totals the tabs already show, and says what the review status combines instead of what the row shows. Refs #143 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(guided-review): put each sentence of the listing comments on its own line The comments the Authored tab touched hold one sentence per line, the GitLab listing names its complexity limit without a score that goes stale, and none names an alternative it does not take. Refs #143 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>



Description
Adds
cli-exercise, an agent skill for recording real CLI workflows for review.Callers can supply exact steps or a goal. Each case covers one behavior and
finishes its preparation, exercise, and validation before the next case starts.
The video opens with a brief outcome summary, shown for 10 seconds per page.
Its title distinguishes an exact run from exploration or a mixture of both.
Preparation is purple, running is blue, and validation is green or red according
to its result. Text labels make those states clear without relying on color.
Commands appear above their captured output. A separate panel explains each step
in plain language, and a thin progress line spans the whole video.
How did you test this change?
I recorded 13 commands across four cases using a locally built
ghon macOS.Each case used its own isolated profile and ran preparation, exercise, and
validation in order.
gh config get promptreturneddisabledafter the change.gh alias listshowed the savedprotocol-checkdefinition.gh protocol-checkreturnedhttps, matching the direct configuration readback.enabledafter disabling prompts. The readback returneddisabled.The last case demonstrates failed validation, not a
ghregression. Its commandexited successfully, but the recorded expectation did not match.
cli-exercise.mp4
Key points
holds remain in metadata, without repeated timing labels. Real-time playback
and HTML reports are optional.
Older captures without timestamps carry an explicit unverified-order warning.
drives Tuistory, and FFmpeg encodes the media. This does not add runtime dependencies to
gh.the agent in the same terminal. Exact input requirements still apply.
Notes for reviewers
Start with the skill's entry instructions, then the recording-session reference
and shared execution and evidence flows. Existing
ghcommands and recordingskills are unchanged.
Recording currently requires Unix process-group support. I exercised the native
tooling on macOS, not other platforms. This demo covers local configuration and
aliases, not live GitHub service interactions or every interactive command.
Authorship and follow-up
Who wrote this:
Who answers review comments: