Skip to content

chore: correct two FAQ inventory gaps and stale comments in wt list and config show - #4847

Merged
max-sixty merged 1 commit into
mainfrom
nightly/clean-44472208534
Nov 19, 2026
Merged

max-sixty merged 1 commit into
mainfrom
nightly/clean-44472208534

Conversation

@worktrunk-bot

Copy link
Copy Markdown
Collaborator

Two FAQ inventories leave out things Worktrunk does, and two comments no longer describe the code next to them. Each fix is the smallest edit that makes the text true. Rendered CLI output is unchanged.

  • FAQ, temporary files: wt step squash --dry-run also stages into a temporary index (squash.rs), the same way wt step commit --dry-run does, but the list didn't name it. AGENTS.md points to this section as the inventory of files Worktrunk creates.
  • FAQ, commands Worktrunk executes: the forge CLIs run for PR/MR lookups too, not only CI status: pr:N/mr:N resolution in src/git/remote_ref/ and wt switch --prs.
  • wt list collect module doc: it called the commit-details SHA list "deduplicated" and listed only worktree HEADs and branch tips. The list is a plain chain that also includes remote-branch tips under --remotes (collect/mod.rs). git log --no-walk collapses repeated SHAs in its output (checked: three copies of one SHA print one line), so this is a comment fix, not a behavior change. The doc also described the map as (timestamp, subject); it is (short_sha, timestamp, subject), and it feeds the pre-skeleton %h fold as well.
  • config show: one hint used a \ string continuation, which AGENTS.md asks to avoid. It is now a plain literal with the same text, and the config_show_unmatched_candidate_exe_emits_extra_hint snapshot still matches.
  • .typos.toml: removes the ede entry, which existed only for commit hashes in .snap files that are now excluded. The typos pre-commit hook passes without it. The mis entry is still needed, for prose like "mis-keyed", so only its comment changes.

The docs mirrors are regenerated with test_docs_are_in_sync, which passes, and the 237 config_show integration tests pass. There is no regression test because these are doc and comment edits.

Found by the nightly survey.

…nd config show

- FAQ temp-file inventory: wt step squash --dry-run also stages into a
  temporary index (squash.rs, wt.temp_index() under dry_run).
- FAQ command inventory: forge CLIs also run for PR/MR lookups
  (pr:N resolution, wt switch --prs), not only CI status.
- list collect module doc: the commit-details SHA list is not
  deduplicated and also carries remote-branch tips; the map is
  (short_sha, timestamp, subject) and feeds the pre-skeleton %h fold.
- config show: replace a continuation escape with a plain literal
  (AGENTS.md); rendered text is unchanged.
- .typos.toml: drop the ede entry (its hashes lived only in excluded
  snapshots) and reword the mis comment to the reason it's still needed.
@worktrunk-bot worktrunk-bot added the nightly-cleanup Issues found by nightly code quality sweep label Nov 19, 2026
@max-sixty
max-sixty merged commit 8253cb5 into main Nov 19, 2026
36 of 45 checks passed
@max-sixty
max-sixty deleted the nightly/clean-44472208534 branch November 19, 2026 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

nightly-cleanup Issues found by nightly code quality sweep

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants