@humanbased/crosscheck 0.16.0-beta.6 → 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.
- package/README.md +45 -11
- package/crosscheck.config.example.yml +6 -0
- package/dist/__tests__/clone.test.d.ts +2 -0
- package/dist/__tests__/clone.test.d.ts.map +1 -0
- package/dist/__tests__/clone.test.js +9 -0
- package/dist/__tests__/clone.test.js.map +1 -0
- package/dist/__tests__/comment-bodies.test.js +89 -0
- package/dist/__tests__/comment-bodies.test.js.map +1 -1
- package/dist/__tests__/fix.test.js +49 -2
- package/dist/__tests__/fix.test.js.map +1 -1
- package/dist/__tests__/optimize.test.js +1 -0
- package/dist/__tests__/optimize.test.js.map +1 -1
- package/dist/cli.js +2 -0
- package/dist/cli.js.map +1 -1
- package/dist/commands/diagnose.d.ts +1 -0
- package/dist/commands/diagnose.d.ts.map +1 -1
- package/dist/commands/diagnose.js +327 -0
- package/dist/commands/diagnose.js.map +1 -1
- package/dist/commands/issue.d.ts +6 -0
- package/dist/commands/issue.d.ts.map +1 -1
- package/dist/commands/issue.js +223 -0
- package/dist/commands/issue.js.map +1 -1
- package/dist/commands/run.d.ts.map +1 -1
- package/dist/commands/run.js +58 -11
- package/dist/commands/run.js.map +1 -1
- package/dist/commands/watch.d.ts.map +1 -1
- package/dist/commands/watch.js +37 -0
- package/dist/commands/watch.js.map +1 -1
- package/dist/config/schema.d.ts +67 -0
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config/schema.js +10 -0
- package/dist/config/schema.js.map +1 -1
- package/dist/lib/clone.d.ts +1 -0
- package/dist/lib/clone.d.ts.map +1 -1
- package/dist/lib/clone.js +21 -5
- package/dist/lib/clone.js.map +1 -1
- package/dist/lib/comment-bodies.d.ts +6 -0
- package/dist/lib/comment-bodies.d.ts.map +1 -1
- package/dist/lib/comment-bodies.js +52 -8
- package/dist/lib/comment-bodies.js.map +1 -1
- package/dist/lib/issue-queue.d.ts +18 -0
- package/dist/lib/issue-queue.d.ts.map +1 -0
- package/dist/lib/issue-queue.js +35 -0
- package/dist/lib/issue-queue.js.map +1 -0
- package/dist/lib/runner.d.ts +1 -0
- package/dist/lib/runner.d.ts.map +1 -1
- package/dist/lib/runner.js +51 -29
- package/dist/lib/runner.js.map +1 -1
- package/dist/reviewers/codex.d.ts.map +1 -1
- package/dist/reviewers/codex.js +4 -2
- package/dist/reviewers/codex.js.map +1 -1
- package/dist/reviewers/fix.d.ts +2 -0
- package/dist/reviewers/fix.d.ts.map +1 -1
- package/dist/reviewers/fix.js +8 -4
- package/dist/reviewers/fix.js.map +1 -1
- package/docs/growth/agent-execution.md +144 -0
- package/docs/growth/cycle-01-assets.md +198 -0
- package/docs/growth/cycle-2026-06-03.md +170 -0
- package/docs/proof-demo.md +12 -0
- package/get-started.md +10 -4
- package/package.json +2 -3
package/docs/proof-demo.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
The first public proof asset should be a real GitHub PR timeline plus a 60-90 second narrated screen recording. The video creates attention, but the public PR is the evidence.
|
|
4
4
|
|
|
5
|
+
Use the Humanbased field report as the proof-led top of funnel:
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
Blog -> README quick start -> fixture PR review -> first useful verdict -> optional fix/recheck -> onboarding/watch
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Field report:
|
|
12
|
+
|
|
13
|
+
```text
|
|
14
|
+
https://blog.humanbased.ai/posts/agentic-pr-quality-crosscheck/
|
|
15
|
+
```
|
|
16
|
+
|
|
5
17
|
The intended chain is:
|
|
6
18
|
|
|
7
19
|
```text
|
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
|
|
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/
|
|
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.
|
|
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
|
|
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
|
|
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
|
|
20
|
-
"docs/proof-demo.md",
|
|
19
|
+
"docs",
|
|
21
20
|
"assets"
|
|
22
21
|
],
|
|
23
22
|
"engines": {
|