Files
worktrunk/.gitignore
Worktrunk Botandworktrunk-bot 3a6e77a0a7 docs: correct comments left stale by recent step, diagnostic and merge changes (#4425)
Corrects internal comments and notes that recent changes left describing
old behavior. No code behavior changes; the one test edit is a rename.

- `src/commands/for_each.rs` — the module's design note listed `step` as
holding only `commit`, `squash`, `rebase`, `push` and `for-each`. It now
also has `diff`, `copy-ignored`, `eval`, `promote`, `prune`, `relocate`
and `tether`, so the note describes the grouping without an inventory
that goes stale again.
- `src/diagnostic.rs` — the module doc's report outline named a "Verbose
log" section; the template's section is "Trace log", and the outline
omitted the "Raw subprocess output" section. `write_diagnostic_file`'s
doc named `write_if_verbose()` as its caller; the direct caller is
`write_diagnostic()`.
- `src/commands/merge.rs` — after #4360 (`wt merge --branch`),
`post-switch` is only planned when the source is the current worktree,
but the comment said it always lands the user in the destination.
- `src/commands/run_pipeline.rs` —
`signal_exit_reports_named_signal_and_shell_exit_code` asserts `killed
by signal 15`; the signal is no longer named since #4352, so the test is
renamed to `signal_exit_reports_signal_and_shell_exit_code`.
- `.config/clawpatch/features/feat_custom_switch_resolve.json` — the
summary called PR/MR fetch "the one place" `gh`/`glab` is shelled out
to. `wt list` CI status (`src/commands/list/ci_status/`) and the
picker's PR rows also use them, and a review tool reading this summary
could flag those as violations.
- `.gitignore` — finishes a sentence in the clawpatch comment that ended
"derived/transient and not."

Comment-only changes have no regression test; the renamed test passes
locally.

Co-authored-by: worktrunk-bot <254187624+worktrunk-bot@users.noreply.github.com>
2026-10-11 01:15:19 -07:00

36 lines
896 B
Plaintext

/target
docs/public/assets/
docs/demos/out/
# Claude Code per-developer local settings (never share these)
.claude/settings.local.json
# Lychee link checker cache
.lycheecache
test-concurrent.sh
# Insta snapshot test artifacts
*.snap.new
*.snap.pending
# Pending *inline* snapshots, named `<source-file>.pending-snap`
*.pending-snap
logo-variant-*.png
test-results/
# Nix build outputs
/result
/result-*
.fonts
# clawpatch state lives in .config/clawpatch/ (run with --state-dir
# .config/clawpatch or CLAWPATCH_STATE_DIR=.config/clawpatch). Track only the
# hand-authored threat models and tuned config; findings, the auto-mapped
# feature, project.json, and per-run state are derived/transient and stay
# untracked.
/.clawpatch/
/.config/clawpatch/*
!/.config/clawpatch/config.json
!/.config/clawpatch/features
/.config/clawpatch/features/*
!/.config/clawpatch/features/feat_custom_*.json