Skip to content

doc-pr simplify#459

Merged
jth-nw merged 2 commits intomainfrom
dev
Mar 10, 2026
Merged

doc-pr simplify#459
jth-nw merged 2 commits intomainfrom
dev

Conversation

@jth-nw
Copy link
Collaborator

@jth-nw jth-nw commented Mar 10, 2026

No description provided.

jth-nw and others added 2 commits March 10, 2026 12:21
Root cause: Claude spent all its turns invoking skills (doc-pr, dale)
which expanded into many sub-turns reading rule files, leaving no
turns to write the review file or post the comment.

New approach:
- Run Vale in a workflow step, save results to /tmp/vale-results.txt
- Get PR diff in a workflow step, save to /tmp/pr-diff.txt
- Give Claude a focused 4-step task: read results, do editorial
  review, write formatted review, post via gh pr comment
- Remove skill invocations — direct instructions only
- Restrict allowedTools to just Bash, Read, Write (minimal surface)
- Remove debug steps, add verify step instead

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
fix: pre-process Vale and simplify Claude's task for doc-pr review
@jth-nw jth-nw merged commit b15d210 into main Mar 10, 2026
3 of 5 checks passed
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.

1 participant