Repository navigation
docs: require full release documentation review - #4412
Conversation
worktrunk-bot
left a comment
There was a problem hiding this comment.
Shortening Interactive hooks to "A pre-start hook can ask before continuing" drops the only statement of which hooks get a terminal. The extending.md comparison table now sends readers to this section for hook stdin, so the rule has no home. The part that matters most to someone copying the example: adding a second key to that [pre-start] table makes it a concurrent group. Each child then gets Stdio::null() (see the doc comment above the foreground/concurrent split in src/commands/hooks.rs), so gum confirm reads EOF and mise trust is skipped without a prompt. The same thing happens if the hook is moved to post-start. The suggestion below restores the rule in one sentence. The page and skill mirrors regenerate from src/cli/mod.rs via test_docs_are_in_sync.
…wt list (#4358) A rejected `WORKTRUNK_*` env override now warns and falls back in every command, the same way it already did in `wt list` and other tolerant loads. Before this change, commands that load config through `UserConfig::load()` treated it as fatal. These are `wt switch`, `wt merge`, `wt remove`, `wt for-each`, and the `wt step` commands. Each printed `▲ Ignoring env var overrides: …` during the startup prewarm, then exited 1 with `✗ Failed to load config` for the same variable. The two paths shouldn't disagree, so the tolerant behavior now applies to all of them. `load_with_cause` now skips `LoadError::Env`. The rejected setting falls back to the file layers or its default, and other valid overrides still apply. User-file parse errors, `--config-set` failures, and validation failures stay fatal for these commands. In practice, a mistyped override such as `WORKTRUNK__MERGE__REMOVE=flase` or `WORKTRUNK__REMOVE__DELETE_BRANCH=nope` no longer stops `wt merge` or `wt remove`. The command warns once and uses the file or default value instead. Verification: with `WORKTRUNK__LIST__BRANCHES=not-a-bool`, `wt step eval '{{ branch }}'` prints the single startup warning and outputs `main` (exit 0). `test_eval_skips_invalid_env_override` pins this and replaces the test that pinned the old exit 1. The `LoadError` docstrings are updated to match: since #4348, `LoadError::Env` is emitted once per rejected setting, and strict loading no longer treats it as fatal. The public docs no longer describe this case (#4412 removed that sentence), so no doc change is needed. --------- Co-authored-by: worktrunk-bot <[email protected]>
Require an independent review of every documentation change since the previous release, including changes already on main and edits arriving during release preparation. Review purpose and proportion before clarity, accuracy, examples, links, and rendered context; verify corrections and block tagging on unresolved findings.
Apply the 0.81.0 review's source corrections: remove implementation exposition, repair the bare-repo navigation example, clarify merge hook timing and branch-only removal JSON, and include squash backups in the metadata inventory. Canonical help, generated pages, shipped skill mirrors, and help snapshots remain synchronized. Candidate-only release-note edits stay with the release PR.
Validation: independent source, workflow, and rendered-page reviews; project pre-merge gate (5,208 tests, lint, Rustdoc, and doctests); documentation sync, 56 help cases, both site builds, and 16 built-site checks.