@rigour-labs/cli 6.12.5-rc.9 → 6.13.0-rc.1
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.
|
@@ -47,10 +47,13 @@ export function printReviewer(result, options = {}) {
|
|
|
47
47
|
const shown = result.advisory.slice(0, options.notes ? undefined : ADVISORY_SHOWN);
|
|
48
48
|
for (const item of shown)
|
|
49
49
|
console.log(chalk.yellow(` should fix (verified, never blocks) ${itemLine(item)}`));
|
|
50
|
+
// Review points: never a block, at most five (the most confident), each with the code it is about.
|
|
51
|
+
for (const item of result.reviewPoints ?? [])
|
|
52
|
+
console.log(chalk.cyan(` review point (never blocks) ${itemLine(item)}`) + (item.suggestion ? chalk.dim(`\n change: ${item.suggestion}`) : ''));
|
|
50
53
|
for (const point of result.answerInReply)
|
|
51
54
|
console.log(chalk.dim(` answer in the reply ${point.point}${point.evidence ? `\n ${point.evidence}` : ''}`));
|
|
52
55
|
const folded = [
|
|
53
|
-
[result.advisory.length - shown.length, 'more should-fix'], [result.notes.length, 'working note'], [result.disputed.length, 'disputed'],
|
|
56
|
+
[result.advisory.length - shown.length, 'more should-fix'], [result.reviewPointsHidden ?? 0, 'more review point'], [result.notes.length, 'working note'], [result.disputed.length, 'disputed'],
|
|
54
57
|
[result.unverified.length, 'unverified'], [result.dismissed.length, 'dismissed earlier'], [result.dropped.length, 'refuted by the other judges'],
|
|
55
58
|
].filter(([n]) => n > 0);
|
|
56
59
|
if (options.notes) {
|
|
@@ -105,6 +108,8 @@ export function reviewerJson(result) {
|
|
|
105
108
|
answer_in_reply: result.answerInReply,
|
|
106
109
|
notes: result.notes,
|
|
107
110
|
advisory: result.advisory,
|
|
111
|
+
review_points: result.reviewPoints ?? [],
|
|
112
|
+
review_points_hidden: result.reviewPointsHidden ?? 0,
|
|
108
113
|
shown: { blocking: result.items.length, should_fix: Math.min(result.advisory.length, ADVISORY_SHOWN), folded: result.advisory.length - Math.min(result.advisory.length, ADVISORY_SHOWN) + result.notes.length + result.disputed.length + result.unverified.length + result.dismissed.length + result.dropped.length },
|
|
109
114
|
disputed: result.disputed,
|
|
110
115
|
dropped: result.dropped,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rigour-labs/cli",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.13.0-rc.1",
|
|
4
4
|
"description": "Code review that happens while your agent writes: deterministic checks on the lines it changed, quiet unless it can prove a defect, and learning from your team's fixes and dismissals. Works with Claude Code, Cursor, Codex, Cline and Windsurf.",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=22.13"
|
|
@@ -59,13 +59,13 @@
|
|
|
59
59
|
"inquirer": "9.2.16",
|
|
60
60
|
"ora": "^8.0.1",
|
|
61
61
|
"yaml": "^2.8.2",
|
|
62
|
-
"@rigour-labs/core": "6.
|
|
62
|
+
"@rigour-labs/core": "6.13.0-rc.1"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@types/fs-extra": "^11.0.4",
|
|
66
66
|
"@types/inquirer": "9.0.7",
|
|
67
67
|
"@types/node": "^25.0.3",
|
|
68
|
-
"@rigour-labs/studio": "6.
|
|
68
|
+
"@rigour-labs/studio": "6.13.0-rc.1"
|
|
69
69
|
},
|
|
70
70
|
"scripts": {
|
|
71
71
|
"build": "tsc && pnpm bundle-studio",
|