Repository navigation
ci: raise doc-update workflow turn cap from 25 to 100 - #131
Merged
Merged
Conversation
The post-merge documentation check on PR #130 (61 files) legitimately needed 26 turns and failed with error_max_turns and zero permission denials. The 30-minute job timeout remains the cost backstop; 25 turns was sized for small merges and read-the-docs sweeps don't fit it on large ones. Documented the new failure mode in the CI/CD guide's troubleshooting section. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Let62ZbPX5RpB46iwPoboh
Contributor
📚 Documentation freshness — 100 → 100 (+0)
|
| Page | Before → After | Reason |
|---|---|---|
🟢 CONTRIBUTING.md |
100 → 97 | score decreased |
15 pages scored • median 100 → 100 (+0)
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — a one-line CI config bump plus consistent docs/changelog updates, reviewed in full against the surrounding workflow and docs.
.github/workflows/doc-update.yml:--max-turns 25→--max-turns 100to stoperror_max_turnsfailing the doc-update job on legitimately large merges (PR #130's 61-file merge used 26 turns with zero permission denials). The 30-minute job timeout stays the cost backstop.docs/architecture/ci-cd.md: safety-guard table row updated; the "Why not individual patterns" paragraph was de-hardcoded away from the literal25so it won't re-stale on the next cap change; a new troubleshooting section cleanly distinguishespermission_denials_count: 0(cap too low) from the existing> 0(allowedTools misconfiguration) entry.CHANGELOG.md+docs/changelog/CHANGELOG.md: identical### Fixedentries added, matching the repo's dual-changelog convention.
No concerns. freshness.yml's --max-turns 8 is correctly left alone — it's a separate read-only semantic-check workflow, not the merge-driven doc updater. The 4x cap increase is bounded by the 30-minute job timeout, which the author has explicitly retained as the real cost guard.
@v0 or keep the SHA fresh with Dependabot | View workflow run | Using openai-compatible/glm-5.2 | 𝕏
onlydole
marked this pull request as ready for review
August 16, 2026 15:19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Fixes the post-merge documentation check failure on PR #130 (failing run): the doc-update agent hit
--max-turns 25with zero permission denials — it legitimately ran out of turns reading a 61-file merge plus the fulldocs/tree (used 26), and the action treats hitting the cap as a hard failure.Changes
.github/workflows/doc-update.yml:--max-turns 25→--max-turns 100. The existing 30-minute job timeout remains the real runaway-cost backstop; the turn cap only needs to be high enough that a legitimately large merge can finish.docs/architecture/ci-cd.md: updated the safety-guard table, and added a troubleshooting entry distinguishing this failure mode (error_max_turnswithpermission_denials_count: 0— cap too low) from the existing documented one (error_max_turnswith denials — allowedTools misconfiguration).CHANGELOG.md+docs/changelog/CHANGELOG.md: recorded the fix.Freshness verified locally: all pages at 100 except CONTRIBUTING.md at a green-tier 97 (ordinary git age, unrelated).
🤖 Generated with Claude Code
https://claude.ai/code/session_01Let62ZbPX5RpB46iwPoboh
Generated by Claude Code