You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Gitignore claude-code-action's .claude-pr/ scratch dir
PR #759 got a bad "Add upstream-release-docs content for toolhive
v0.23.1" commit carrying 17 files of leakage from
.claude-pr/.claude/* + .claude-pr/CLAUDE.md + .claude-pr/.husky/.
That directory is created by anthropics/claude-code-action@v1 as
scratch workspace during skill runs — it clones our own .claude/
skill configs into a sibling dir for its own use. None of it
belongs on the repo's main branch.
Our workflow's "Commit and push" step runs `git add -A` after the
skill, which scooped up the scratch dir alongside any legitimate
content.
Ignoring /.claude-pr at the root so it never gets staged. The legit
content from the skill (guide updates, v1alpha1 → v1beta1 migration
docs) lands as intended via claude-code-action's own auto-commit.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* Switch skill to Opus and split generation from editorial review
Two changes to the claude-code-action invocation:
1. Switch to Opus 4.7 via `claude_args: --model claude-opus-4-7`.
Generation benefits from the stronger model on long multi-file
edits and source verification, and docs-review benefits from the
same quality. The default is Sonnet.
2. Split the single "multi-pass" skill step into two separate
claude-code-action invocations:
- `skill_gen`: runs /upstream-release-docs end-to-end (all 6
phases, including the skill's own internal docs-review in
Phase 5).
- `skill_review`: runs /docs-review over the files the previous
commit changed, in a fresh context with no exposure to the
generation session's internal reasoning.
Dan's hypothesis: fresh context for the editorial pass tends to
catch style and structure issues the generation pass rationalized
away. This was previously a same-session Pass 2 after the skill.
The removed Pass 3 (Phase 5 re-verification) was redundant with the
skill's own Phase 5 and is dropped.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments