@rigour-labs/cli 6.12.2-rc.5 → 6.12.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.
@@ -10,8 +10,10 @@ export interface Checked {
10
10
  uncommitted: boolean;
11
11
  /** The settings read: a path, `<path> at <commit>` for an independent review, or `defaults`. */
12
12
  config: string;
13
- /** Every check the run reached, by id: PASS, FAIL, SKIP or ERROR. */
13
+ /** Every check the run reached, by id: PASS, FAIL, SKIP or ERROR. A check whose findings were all already in the base reads PASS. */
14
14
  checks: Record<string, string>;
15
+ /** By check, how many findings the base already had: left out of the verdict and of `checks`. */
16
+ preexisting: Record<string, number>;
15
17
  }
16
18
  export declare function whatWasChecked(cwd: string, options: {
17
19
  base?: string;
@@ -17,6 +17,7 @@ export function whatWasChecked(cwd, options, trustedRef, result) {
17
17
  uncommitted: git(cwd, ['status', '--porcelain', '--untracked-files=no']) !== '',
18
18
  config: configSource(cwd, options, trustedRef),
19
19
  checks: { ...(result.report?.summary ?? {}) },
20
+ preexisting: { ...result.preexistingByCheck },
20
21
  };
21
22
  }
22
23
  function git(cwd, args) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rigour-labs/cli",
3
- "version": "6.12.2-rc.5",
3
+ "version": "6.12.2",
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.12.2-rc.5"
62
+ "@rigour-labs/core": "6.12.2"
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.12.2-rc.5"
68
+ "@rigour-labs/studio": "6.12.2"
69
69
  },
70
70
  "scripts": {
71
71
  "build": "tsc && pnpm bundle-studio",