@humanbased/crosscheck 0.16.0-beta.8 → 0.16.0

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.
Files changed (61) hide show
  1. package/README.md +45 -11
  2. package/crosscheck.config.example.yml +6 -0
  3. package/dist/__tests__/clone.test.d.ts +2 -0
  4. package/dist/__tests__/clone.test.d.ts.map +1 -0
  5. package/dist/__tests__/clone.test.js +9 -0
  6. package/dist/__tests__/clone.test.js.map +1 -0
  7. package/dist/__tests__/comment-bodies.test.js +89 -0
  8. package/dist/__tests__/comment-bodies.test.js.map +1 -1
  9. package/dist/__tests__/fix.test.js +4 -2
  10. package/dist/__tests__/fix.test.js.map +1 -1
  11. package/dist/__tests__/optimize.test.js +1 -0
  12. package/dist/__tests__/optimize.test.js.map +1 -1
  13. package/dist/cli.js +2 -0
  14. package/dist/cli.js.map +1 -1
  15. package/dist/commands/diagnose.d.ts +1 -0
  16. package/dist/commands/diagnose.d.ts.map +1 -1
  17. package/dist/commands/diagnose.js +327 -0
  18. package/dist/commands/diagnose.js.map +1 -1
  19. package/dist/commands/issue.d.ts +6 -0
  20. package/dist/commands/issue.d.ts.map +1 -1
  21. package/dist/commands/issue.js +223 -0
  22. package/dist/commands/issue.js.map +1 -1
  23. package/dist/commands/run.d.ts.map +1 -1
  24. package/dist/commands/run.js +58 -11
  25. package/dist/commands/run.js.map +1 -1
  26. package/dist/commands/watch.d.ts.map +1 -1
  27. package/dist/commands/watch.js +37 -0
  28. package/dist/commands/watch.js.map +1 -1
  29. package/dist/config/schema.d.ts +67 -0
  30. package/dist/config/schema.d.ts.map +1 -1
  31. package/dist/config/schema.js +10 -0
  32. package/dist/config/schema.js.map +1 -1
  33. package/dist/lib/clone.d.ts +1 -0
  34. package/dist/lib/clone.d.ts.map +1 -1
  35. package/dist/lib/clone.js +21 -5
  36. package/dist/lib/clone.js.map +1 -1
  37. package/dist/lib/comment-bodies.d.ts +6 -0
  38. package/dist/lib/comment-bodies.d.ts.map +1 -1
  39. package/dist/lib/comment-bodies.js +52 -8
  40. package/dist/lib/comment-bodies.js.map +1 -1
  41. package/dist/lib/issue-queue.d.ts +18 -0
  42. package/dist/lib/issue-queue.d.ts.map +1 -0
  43. package/dist/lib/issue-queue.js +35 -0
  44. package/dist/lib/issue-queue.js.map +1 -0
  45. package/dist/lib/runner.d.ts +1 -0
  46. package/dist/lib/runner.d.ts.map +1 -1
  47. package/dist/lib/runner.js +46 -27
  48. package/dist/lib/runner.js.map +1 -1
  49. package/dist/reviewers/codex.d.ts.map +1 -1
  50. package/dist/reviewers/codex.js +4 -2
  51. package/dist/reviewers/codex.js.map +1 -1
  52. package/dist/reviewers/fix.d.ts +2 -0
  53. package/dist/reviewers/fix.d.ts.map +1 -1
  54. package/dist/reviewers/fix.js +6 -3
  55. package/dist/reviewers/fix.js.map +1 -1
  56. package/docs/growth/agent-execution.md +144 -0
  57. package/docs/growth/cycle-01-assets.md +198 -0
  58. package/docs/growth/cycle-2026-06-03.md +170 -0
  59. package/docs/proof-demo.md +12 -0
  60. package/get-started.md +10 -4
  61. package/package.json +2 -3
package/get-started.md CHANGED
@@ -159,16 +159,16 @@ crosscheck init
159
159
 
160
160
  ## Step 2 — Get one useful review
161
161
 
162
- Before running continuously, verify end-to-end with one low-risk PR:
162
+ Before using a production PR, run the public fixture from the Humanbased field report:
163
163
 
164
164
  ```bash
165
- crosscheck review https://github.com/owner/repo/pull/123 --reviewer codex
165
+ crosscheck review https://github.com/humanbased-ai/crosscheck-proof-fixture/pull/1 --reviewer codex
166
166
  ```
167
167
 
168
- This clones the PR branch, runs Codex review against the base branch, and posts a comment to the PR. If Claude Code is your authenticated reviewer, use:
168
+ This clones the PR branch, runs Codex review against the base branch, and posts a comment to the PR. Use `--reviewer claude` if Claude Code is your authenticated reviewer. Once the fixture produces a useful verdict, run the same command against one low-risk PR from your own repo:
169
169
 
170
170
  ```bash
171
- crosscheck review https://github.com/owner/repo/pull/123 --reviewer claude
171
+ crosscheck review https://github.com/owner/repo/pull/123 --reviewer codex
172
172
  ```
173
173
 
174
174
  If this step fails, fix the specific auth, clone, reviewer, or comment-posting error before enabling `watch` or `serve`.
@@ -1070,6 +1070,12 @@ post_review:
1070
1070
  pr_title: "fix: address CR issues in #{original_pr_title}"
1071
1071
  label: cr-autofix # GitHub label applied to the fix PR
1072
1072
 
1073
+ # ── Watch ─────────────────────────────────────────────────────────────────────
1074
+ # watch:
1075
+ # idle_issue:
1076
+ # enabled: false # opt-in: set to true to prompt when watch is idle for timeout_min minutes
1077
+ # timeout_min: 30 # minutes of no PR activity before the idle prompt fires (min: 5)
1078
+
1073
1079
  # ── Backtrace ─────────────────────────────────────────────────────────────────
1074
1080
  # On startup, scan all open PRs in the monitored scope and review any that
1075
1081
  # haven't received a [crosscheck] comment yet. Off by default.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@humanbased/crosscheck",
3
- "version": "0.16.0-beta.8",
3
+ "version": "0.16.0",
4
4
  "description": "AI code review pipeline that turns agent-written PRs into merge-ready patches",
5
5
  "bin": {
6
6
  "crosscheck": "dist/cli.js",
@@ -16,8 +16,7 @@
16
16
  "README.zh.md",
17
17
  "get-started.md",
18
18
  "get-started.zh.md",
19
- "docs/fixture-pr.md",
20
- "docs/proof-demo.md",
19
+ "docs",
21
20
  "assets"
22
21
  ],
23
22
  "engines": {