Skip to content

docs(tend): lead bug-triage asks with wt -vv diagnostic#2415

Merged
max-sixty merged 1 commit intomainfrom
skills/diagnostic-vv-triage
Apr 25, 2026
Merged

docs(tend): lead bug-triage asks with wt -vv diagnostic#2415
max-sixty merged 1 commit intomainfrom
skills/diagnostic-vv-triage

Conversation

@worktrunk-bot
Copy link
Copy Markdown
Collaborator

Summary

Per maintainer feedback in #2410, reframe the Issue Triage section so the primary ask is wt -vv <command>. The diagnostic report covers wt/git/OS versions, shell integration, wt config show, git worktree list --porcelain, and a full git trace in one file, plus a gh gist create --web … hint, so a single gist URL replaces what was previously chained across multiple round-trips. wt --version and wt config show remain as narrower asks for the cases where the full diagnostic is overkill.

Test plan

  • Maintainer confirms framing matches the intent in #2410.

Per #2410: the diagnostic report covers version, OS, git, shell
integration, `wt config show`, `git worktree list --porcelain`, and
a full git trace in one file. Asking for that gist URL up front is
faster than chaining version/config/repro questions.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@max-sixty max-sixty merged commit d510174 into main Apr 25, 2026
24 checks passed
@max-sixty max-sixty deleted the skills/diagnostic-vv-triage branch April 25, 2026 15:43
max-sixty pushed a commit to max-sixty/tend that referenced this pull request Apr 25, 2026
)

## Summary

Update the `running-in-ci` "How to propose" recipe so a bot updating
`.claude/skills/` can actually write to disk. The current recipe (`cd
.claude && mv /tmp/... SKILL.md`) satisfies the Claude Code harness
write-guard
([anthropics/claude-code#37157](anthropics/claude-code#37157))
but fails the read-only bind-mount the sandbox places on `.claude/`.
Mirror the pattern `review-runs` already documents: do the edit, commit,
and push from a git worktree under `$TMPDIR`. Both restrictions are now
explained inline so a future reader knows why the worktree is mandatory.

## Why

`worktrunk-bot` hit this in worktrunk run
[24926120125](https://github.com/max-sixty/worktrunk/actions/runs/24926120125)
(a `tend-mention` session triggered by an explicit maintainer
instruction to update repo skill guidance). The bot followed the bundled
recipe, hit `mv: ... Read-only file system`, retried with `cp` (same
error), retried with `touch` (same error), then ad-libbed `git
hash-object -w` plus `git update-index --cacheinfo` to write the blob
and stage it directly to the index — a workaround that left the working
tree showing the file as modified after the fact. ~7 wasted bash cycles
before producing [worktrunk PR
#2415](max-sixty/worktrunk#2415).

`worktrunk-bot` followed the new bundled-skill-defect flow (introduced
in #324 yesterday) and opened permission-request issue
[max-sixty/worktrunk#2416](max-sixty/worktrunk#2416)
on the consumer side. This PR is the corresponding tend-side fix
surfaced by `review-reviewers` rather than waiting on the permission
round-trip — the diagnosis is unambiguous and the fix is small.

## What changes

The "Draft a minimal edit" step (step 3 of "How to propose"):

- Drops the `cd .claude && mv /tmp/... SKILL.md` recipe that fails on
the read-only mount.
- Adds the same prose `review-runs` already carries explaining (a) the
read-only bind-mount of `.claude/` and (b) the harness write-guard from
claude-code#37157, so a reader sees both barriers and why a worktree
clears both.
- Replaces the recipe with the `git worktree add "$TMPDIR/skill-fix"`
pattern, parameterised on `<topic>-$GITHUB_RUN_ID` for the branch name.
- Keeps the existing TODO referencing claude-code#37157.

The frontmatter snippet is moved up so the recipe sits at the bottom of
step 3 with no interleaving.

## Test plan

- [x] Eaten own dogfood: this PR's branch was authored from a worktree
at `$TMPDIR/skill-fix` using exactly the recipe being landed; commit and
push worked end-to-end. Worktree under `$TMPDIR` is writable, no
`Read-only file system` errors.
- [ ] CI on this PR passes (actionlint, ruff, typos, uv-lock).
- [ ] Visual diff vs `review-runs` SKILL.md prose to confirm the two
skills now agree on the recipe shape.

Independent of [#327](#327)
(different concern in the same file: external-tool verification, lines
~498 — no overlap with this edit at lines ~568).

---------

Co-authored-by: continuous-bot <269947486+continuous-bot@users.noreply.github.com>
Co-authored-by: tend-agent <270458913+tend-agent@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
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