Skip to content

fix: drop companion log paths from the -vv end-of-run message - #3521

Merged
max-sixty merged 1 commit into
mainfrom
check-vv-gutter-msg
Jul 19, 2026
Merged

fix: drop companion log paths from the -vv end-of-run message#3521
max-sixty merged 1 commit into
mainfrom
check-vv-gutter-msg

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

The -vv end-of-run block printed trace.jsonl and subprocess.log as bare gutter lines under a headline that named only diagnostic.md — an unannounced list whose relationship to the headline lived in a code comment, and the third and fourth prints of the same directory in one run. The start-of-run pointer already names the log directory, and the report body already routes readers to the raw companions (subprocess_log_path in the template; the profile heading names trace.jsonl as its source), so the end block now announces only the one human-facing file:

○ Diagnostics and performance profile saved @ ~/…/.git/wt/logs/diagnostic.md
↳ To report a bug, open an issue (https://github.com/max-sixty/worktrunk/issues/new) and attach a secret gist: gh gist create --web ~/…/diagnostic.md

The headline drops "Logs," (the raw logs were precisely what wasn't at that path), and the hint now ends with the copyable gist command, linking the plain /issues/new URL instead of the ~150-char prefilled-body URL.

This was written by Claude Code on behalf of max

The end block named diagnostic.md in the headline, then printed trace.jsonl
and subprocess.log as unannounced gutter lines — an orphaned list whose
relationship to the headline lived only in a code comment. The start-of-run
pointer already names the log directory and the report body already routes
readers to the raw companions, so the end block now announces only
diagnostic.md. The gh hint also now ends with the copyable gist command and
links the plain /issues/new URL instead of a ~150-char prefilled body URL.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@max-sixty
max-sixty merged commit 17add1f into main Jul 19, 2026
39 checks passed
@max-sixty
max-sixty deleted the check-vv-gutter-msg branch July 19, 2026 18:39
max-sixty added a commit that referenced this pull request Jul 22, 2026
The \`-vv\` startup pointer (\`announce_trace_destination\` in
\`src/logging.rs\`) printed "Verbose logging to \<dir\>/", using "to"
before the path. The codebase convention (see the
\`writing-user-outputs\` skill) is \`@\` before paths in user-facing
output — #3521 already applied this to the \`-vv\` end-of-run block but
left this start-of-run pointer as the one remaining inconsistency.

Changes "Verbose logging to \<dir\>/" to "Verbose logging @ \<dir\>/"
and updates the matching test assertions/doc comment in
\`tests/integration_tests/diagnostic.rs\`. The historical wording quoted
in \`CHANGELOG.md\` is left as-is since it documents a past release.

> _This was written by Claude Code on behalf of max_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants