clud-bug 0.6.34 → 0.7.0-rc.2
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/bin/clud-bug.js +10 -1353
- package/dist/cli/agents-md.d.ts +16 -0
- package/dist/cli/agents-md.d.ts.map +1 -0
- package/dist/cli/agents-md.js +226 -0
- package/dist/cli/agents-md.js.map +1 -0
- package/dist/cli/audit.d.ts +13 -0
- package/dist/cli/audit.d.ts.map +1 -0
- package/dist/cli/audit.js +90 -0
- package/dist/cli/audit.js.map +1 -0
- package/dist/cli/branch-protection.d.ts +57 -0
- package/dist/cli/branch-protection.d.ts.map +1 -0
- package/dist/cli/branch-protection.js +118 -0
- package/dist/cli/branch-protection.js.map +1 -0
- package/dist/cli/edit-workflow.d.ts +18 -0
- package/dist/cli/edit-workflow.d.ts.map +1 -0
- package/dist/cli/edit-workflow.js +43 -0
- package/dist/cli/edit-workflow.js.map +1 -0
- package/dist/cli/index.d.ts +8 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +18 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/main.d.ts +3 -0
- package/dist/cli/main.d.ts.map +1 -0
- package/dist/cli/main.js +1336 -0
- package/dist/cli/main.js.map +1 -0
- package/dist/cli/skill-usage.d.ts +109 -0
- package/dist/cli/skill-usage.d.ts.map +1 -0
- package/dist/cli/skill-usage.js +380 -0
- package/dist/cli/skill-usage.js.map +1 -0
- package/dist/cli/skills.d.ts +56 -0
- package/dist/cli/skills.d.ts.map +1 -0
- package/dist/cli/skills.js +292 -0
- package/dist/cli/skills.js.map +1 -0
- package/dist/cli/update.d.ts +29 -0
- package/dist/cli/update.d.ts.map +1 -0
- package/dist/cli/update.js +186 -0
- package/dist/cli/update.js.map +1 -0
- package/dist/cli/usage.d.ts +142 -0
- package/dist/cli/usage.d.ts.map +1 -0
- package/dist/cli/usage.js +348 -0
- package/dist/cli/usage.js.map +1 -0
- package/dist/core/audit.d.ts +8 -0
- package/dist/core/audit.d.ts.map +1 -0
- package/dist/core/audit.js +47 -0
- package/dist/core/audit.js.map +1 -0
- package/dist/core/detect.d.ts +77 -0
- package/dist/core/detect.d.ts.map +1 -0
- package/dist/core/detect.js +262 -0
- package/dist/core/detect.js.map +1 -0
- package/dist/core/index.d.ts +11 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +31 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/prompt-builder.d.ts +164 -0
- package/dist/core/prompt-builder.d.ts.map +1 -0
- package/dist/core/prompt-builder.js +419 -0
- package/dist/core/prompt-builder.js.map +1 -0
- package/dist/core/prompts.d.ts +9 -0
- package/dist/core/prompts.d.ts.map +1 -0
- package/dist/core/prompts.js +401 -0
- package/dist/core/prompts.js.map +1 -0
- package/dist/core/render-review.d.ts +6 -0
- package/dist/core/render-review.d.ts.map +1 -0
- package/dist/core/render-review.js +219 -0
- package/dist/core/render-review.js.map +1 -0
- package/dist/core/render.d.ts +13 -0
- package/dist/core/render.d.ts.map +1 -0
- package/dist/core/render.js +80 -0
- package/dist/core/render.js.map +1 -0
- package/dist/core/review-schema-zod.d.ts +240 -0
- package/dist/core/review-schema-zod.d.ts.map +1 -0
- package/dist/core/review-schema-zod.js +218 -0
- package/dist/core/review-schema-zod.js.map +1 -0
- package/dist/core/review-schema.d.ts +42 -0
- package/dist/core/review-schema.d.ts.map +1 -0
- package/dist/core/review-schema.js +156 -0
- package/dist/core/review-schema.js.map +1 -0
- package/dist/core/review-writeback.d.ts +139 -0
- package/dist/core/review-writeback.d.ts.map +1 -0
- package/dist/core/review-writeback.js +313 -0
- package/dist/core/review-writeback.js.map +1 -0
- package/dist/core/skills.d.ts +122 -0
- package/dist/core/skills.d.ts.map +1 -0
- package/dist/core/skills.js +636 -0
- package/dist/core/skills.js.map +1 -0
- package/package.json +30 -4
- package/{lib/agents-md.js → src/cli/agents-md.ts} +25 -14
- package/{lib/audit.js → src/cli/audit.ts} +37 -44
- package/{lib/branch-protection.js → src/cli/branch-protection.ts} +75 -11
- package/{lib/edit-workflow.js → src/cli/edit-workflow.ts} +32 -11
- package/src/cli/index.ts +101 -0
- package/src/cli/main.ts +1376 -0
- package/{lib/skill-usage.js → src/cli/skill-usage.ts} +168 -94
- package/src/cli/skills.ts +386 -0
- package/{lib/update.js → src/cli/update.ts} +68 -27
- package/{lib/usage.js → src/cli/usage.ts} +167 -76
- package/src/core/audit.ts +53 -0
- package/{lib/detect.js → src/core/detect.ts} +100 -47
- package/src/core/index.ts +155 -0
- package/src/core/prompt-builder.ts +561 -0
- package/{lib/prompts.js → src/core/prompts.ts} +16 -2
- package/{lib/render-review.js → src/core/render-review.ts} +57 -25
- package/{lib/render.js → src/core/render.ts} +36 -10
- package/src/core/review-schema-zod.ts +262 -0
- package/{lib/review-schema.js → src/core/review-schema.ts} +68 -5
- package/src/core/review-writeback.ts +446 -0
- package/{lib/skills.js → src/core/skills.ts} +339 -342
- package/templates/workflow-py.yml.tmpl +2 -2
- package/templates/workflow-ts.yml.tmpl +2 -2
- package/templates/workflow.yml.tmpl +17 -8
|
@@ -222,7 +222,7 @@ jobs:
|
|
|
222
222
|
# HEAD_SHA (v0.6.10+) — see workflow.yml.tmpl for design notes.
|
|
223
223
|
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
|
|
224
224
|
# Per-section byte budgets — see workflow.yml.tmpl for design notes.
|
|
225
|
-
MAX_DIFF_BYTES: '
|
|
225
|
+
MAX_DIFF_BYTES: '5000000'
|
|
226
226
|
MAX_COMMENT_BYTES: '20000'
|
|
227
227
|
MAX_SKILL_BYTES: '4000'
|
|
228
228
|
# Thinking-budget cap (v0.6.8) — see workflow.yml.tmpl for design notes.
|
|
@@ -366,7 +366,7 @@ jobs:
|
|
|
366
366
|
# Strict-mode gate — composite action; see workflow.yml.tmpl for design notes.
|
|
367
367
|
- name: Strict mode — fail check on critical findings
|
|
368
368
|
if: success()
|
|
369
|
-
uses: thrillmade/clud-bug/.github/actions/strict-mode-gate@v0.
|
|
369
|
+
uses: thrillmade/clud-bug/.github/actions/strict-mode-gate@v0.7.0-rc.2
|
|
370
370
|
with:
|
|
371
371
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
372
372
|
# v0.6.22 / 0.0.O: summary now posted by github-actions[bot].
|
|
@@ -222,7 +222,7 @@ jobs:
|
|
|
222
222
|
# HEAD_SHA (v0.6.10+) — see workflow.yml.tmpl for design notes.
|
|
223
223
|
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
|
|
224
224
|
# Per-section byte budgets — see workflow.yml.tmpl for design notes.
|
|
225
|
-
MAX_DIFF_BYTES: '
|
|
225
|
+
MAX_DIFF_BYTES: '5000000'
|
|
226
226
|
MAX_COMMENT_BYTES: '20000'
|
|
227
227
|
MAX_SKILL_BYTES: '4000'
|
|
228
228
|
# Thinking-budget cap (v0.6.8) — see workflow.yml.tmpl for design notes.
|
|
@@ -366,7 +366,7 @@ jobs:
|
|
|
366
366
|
# Strict-mode gate — composite action; see workflow.yml.tmpl for design notes.
|
|
367
367
|
- name: Strict mode — fail check on critical findings
|
|
368
368
|
if: success()
|
|
369
|
-
uses: thrillmade/clud-bug/.github/actions/strict-mode-gate@v0.
|
|
369
|
+
uses: thrillmade/clud-bug/.github/actions/strict-mode-gate@v0.7.0-rc.2
|
|
370
370
|
with:
|
|
371
371
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
372
372
|
# v0.6.22 / 0.0.O: summary now posted by github-actions[bot].
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# clud-bug-template-version:
|
|
1
|
+
# clud-bug-template-version: v13
|
|
2
2
|
name: Clud Bug 🐛 Crawls Your Code
|
|
3
3
|
|
|
4
4
|
on:
|
|
@@ -396,12 +396,21 @@ jobs:
|
|
|
396
396
|
# <prior_sha>..HEAD` (delta) when the SHA is still in HEAD's
|
|
397
397
|
# ancestry. Fix-push reviews ingest only the new bytes.
|
|
398
398
|
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
|
|
399
|
-
# Per-section byte budgets (v0.6.4
|
|
400
|
-
# Claude to cap each per-PR input fetch
|
|
401
|
-
# covers the stable system prefix; capping
|
|
402
|
-
# suffix (diff, comments, skills). Override
|
|
403
|
-
# these env vars in the consuming workflow if
|
|
404
|
-
|
|
399
|
+
# Per-section byte budgets (v0.6.4, MAX_DIFF_BYTES bumped 2026-06-08).
|
|
400
|
+
# The system-prompt instructs Claude to cap each per-PR input fetch
|
|
401
|
+
# with `head -c`. Caching covers the stable system prefix; capping
|
|
402
|
+
# covers the variable suffix (diff, comments, skills). Override
|
|
403
|
+
# per-repo by setting these env vars in the consuming workflow if
|
|
404
|
+
# defaults don't fit.
|
|
405
|
+
#
|
|
406
|
+
# 2026-06-08 CEO directive (v0.6.35): MAX_DIFF_BYTES bumped from
|
|
407
|
+
# 80000 (80KB) → 5000000 (5MB). The old default silently truncated
|
|
408
|
+
# any PR diff > 80KB, leading to half-reviews on real-world PRs.
|
|
409
|
+
# CEO: "a large diff should NEVER be a blocker or guard." 5MB is
|
|
410
|
+
# far above realistic single-PR diff sizes but bounded enough that
|
|
411
|
+
# the runner doesn't OOM. Repos that want stricter discipline can
|
|
412
|
+
# still set lower values per-repo.
|
|
413
|
+
MAX_DIFF_BYTES: '5000000'
|
|
405
414
|
MAX_COMMENT_BYTES: '20000'
|
|
406
415
|
MAX_SKILL_BYTES: '4000'
|
|
407
416
|
# MAX_THINKING_TOKENS caps Claude Code's extended-thinking budget per
|
|
@@ -632,7 +641,7 @@ jobs:
|
|
|
632
641
|
# Letting the action's own failure fail the check is louder and right.
|
|
633
642
|
- name: Strict mode — fail check on critical findings
|
|
634
643
|
if: success()
|
|
635
|
-
uses: thrillmade/clud-bug/.github/actions/strict-mode-gate@v0.
|
|
644
|
+
uses: thrillmade/clud-bug/.github/actions/strict-mode-gate@v0.7.0-rc.2
|
|
636
645
|
with:
|
|
637
646
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
638
647
|
# v0.6.22 / 0.0.O: the summary is now posted by the workflow
|