clud-bug 0.6.7 → 0.6.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clud-bug",
3
- "version": "0.6.7",
3
+ "version": "0.6.8",
4
4
  "description": "Skill-driven Claude PR review. Ship a brand-voice skill, get brand reviews. Each finding cites the skill that motivated it. CLI installs the workflow + a baseline kit; add more from skills.sh.",
5
5
  "homepage": "https://cludbug.dev",
6
6
  "bugs": "https://github.com/thrillmade/clud-bug/issues",
@@ -60,6 +60,8 @@ jobs:
60
60
  MAX_DIFF_BYTES: '80000'
61
61
  MAX_COMMENT_BYTES: '20000'
62
62
  MAX_SKILL_BYTES: '4000'
63
+ # Thinking-budget cap (v0.6.8) — see workflow.yml.tmpl for design notes.
64
+ MAX_THINKING_TOKENS: '8000'
63
65
  # Stable prefix → CLI auto-cached system layer (10% cost on hits).
64
66
  # See workflow.yml.tmpl for design notes.
65
67
  APPEND_SYSTEM_PROMPT: |
@@ -69,6 +71,7 @@ jobs:
69
71
  track_progress: true
70
72
  show_full_output: true
71
73
  claude_args: |
74
+ --max-turns 15
72
75
  --allowedTools "mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh api graphql:*),Bash(gh api repos/:*),Bash(git show:*),Bash(cat .claude/skills/.clud-bug.json),Bash(cat .claude/skills/*/SKILL.md),Bash(head:*)"
73
76
  prompt: |
74
77
  Review this pull request following the discipline in your
@@ -79,6 +82,6 @@ jobs:
79
82
  # Strict-mode gate — composite action; see workflow.yml.tmpl for design notes.
80
83
  - name: Strict mode — fail check on critical findings
81
84
  if: success()
82
- uses: thrillmade/clud-bug/.github/actions/strict-mode-gate@v0.6.7
85
+ uses: thrillmade/clud-bug/.github/actions/strict-mode-gate@v0.6.8
83
86
  with:
84
87
  github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -60,6 +60,8 @@ jobs:
60
60
  MAX_DIFF_BYTES: '80000'
61
61
  MAX_COMMENT_BYTES: '20000'
62
62
  MAX_SKILL_BYTES: '4000'
63
+ # Thinking-budget cap (v0.6.8) — see workflow.yml.tmpl for design notes.
64
+ MAX_THINKING_TOKENS: '8000'
63
65
  # Stable prefix → CLI auto-cached system layer (10% cost on hits).
64
66
  # See workflow.yml.tmpl for design notes.
65
67
  APPEND_SYSTEM_PROMPT: |
@@ -69,6 +71,7 @@ jobs:
69
71
  track_progress: true
70
72
  show_full_output: true
71
73
  claude_args: |
74
+ --max-turns 15
72
75
  --allowedTools "mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh api graphql:*),Bash(gh api repos/:*),Bash(git show:*),Bash(cat .claude/skills/.clud-bug.json),Bash(cat .claude/skills/*/SKILL.md),Bash(head:*)"
73
76
  prompt: |
74
77
  Review this pull request following the discipline in your
@@ -79,6 +82,6 @@ jobs:
79
82
  # Strict-mode gate — composite action; see workflow.yml.tmpl for design notes.
80
83
  - name: Strict mode — fail check on critical findings
81
84
  if: success()
82
- uses: thrillmade/clud-bug/.github/actions/strict-mode-gate@v0.6.7
85
+ uses: thrillmade/clud-bug/.github/actions/strict-mode-gate@v0.6.8
83
86
  with:
84
87
  github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -90,6 +90,13 @@ jobs:
90
90
  MAX_DIFF_BYTES: '80000'
91
91
  MAX_COMMENT_BYTES: '20000'
92
92
  MAX_SKILL_BYTES: '4000'
93
+ # MAX_THINKING_TOKENS caps Claude Code's extended-thinking budget per
94
+ # turn. Anthropic docs (v0.6.8): "For simpler tasks where deep reasoning
95
+ # isn't needed, you can reduce costs by lowering MAX_THINKING_TOKENS=8000."
96
+ # PR review needs some reasoning but not unbounded; default budget is
97
+ # tens of thousands of tokens. 8000 is the Anthropic-recommended cap
98
+ # for review-shaped tasks.
99
+ MAX_THINKING_TOKENS: '8000'
93
100
  # APPEND_SYSTEM_PROMPT lands inside the Claude Code CLI's auto-cached
94
101
  # system layer (system prompt, tools, conversation history). Anthropic
95
102
  # bills cached input tokens at 10% of standard input — within a 5-min
@@ -108,6 +115,7 @@ jobs:
108
115
  # measure caching effectiveness post-rollout (per v0.6.3 plan).
109
116
  show_full_output: true
110
117
  claude_args: |
118
+ --max-turns 15
111
119
  --allowedTools "mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh api graphql:*),Bash(gh api repos/:*),Bash(git show:*),Bash(cat .claude/skills/.clud-bug.json),Bash(cat .claude/skills/*/SKILL.md),Bash(head:*)"
112
120
  prompt: |
113
121
  Review this pull request following the discipline in your
@@ -130,6 +138,6 @@ jobs:
130
138
  # Letting the action's own failure fail the check is louder and right.
131
139
  - name: Strict mode — fail check on critical findings
132
140
  if: success()
133
- uses: thrillmade/clud-bug/.github/actions/strict-mode-gate@v0.6.7
141
+ uses: thrillmade/clud-bug/.github/actions/strict-mode-gate@v0.6.8
134
142
  with:
135
143
  github-token: ${{ secrets.GITHUB_TOKEN }}