@productbrain/cli 0.1.0-beta.6722 → 0.1.0-beta.6724
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/dist/commands/audit.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* pb audit <BET-ID> [BET-ID...] — automated
|
|
2
|
+
* pb audit <BET-ID> [BET-ID...] — automated RULE-384 hygiene checker.
|
|
3
3
|
* BET-182 Slice 2: CLI command + auto-fix.
|
|
4
4
|
*
|
|
5
5
|
* Calls chain.auditBet via MCP, formats result for TTY or JSON,
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* --fix — auto-execute "exact" fixType fixes via pb update
|
|
13
13
|
* --verbose — show all gates including PASS detail
|
|
14
14
|
*
|
|
15
|
-
* Chain: BET-182,
|
|
15
|
+
* Chain: BET-182, RULE-384, STD-65 (structured output), STD-101
|
|
16
16
|
*/
|
|
17
17
|
export interface AuditOptions {
|
|
18
18
|
entryIds: string[];
|
package/dist/commands/audit.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* pb audit <BET-ID> [BET-ID...] — automated
|
|
2
|
+
* pb audit <BET-ID> [BET-ID...] — automated RULE-384 hygiene checker.
|
|
3
3
|
* BET-182 Slice 2: CLI command + auto-fix.
|
|
4
4
|
*
|
|
5
5
|
* Calls chain.auditBet via MCP, formats result for TTY or JSON,
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* --fix — auto-execute "exact" fixType fixes via pb update
|
|
13
13
|
* --verbose — show all gates including PASS detail
|
|
14
14
|
*
|
|
15
|
-
* Chain: BET-182,
|
|
15
|
+
* Chain: BET-182, RULE-384, STD-65 (structured output), STD-101
|
|
16
16
|
*/
|
|
17
17
|
import { getConfigOrGuide } from '../lib/config.js';
|
|
18
18
|
import { kernelCall, kernelCallWithSession } from '../lib/client.js';
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* - FAIL/WARN gates are expanded with detail + fix suggestions
|
|
8
8
|
* - --verbose shows all gates including PASS detail
|
|
9
9
|
*
|
|
10
|
-
* Chain: BET-182, STD-65 (structured, parseable, minimal),
|
|
10
|
+
* Chain: BET-182, STD-65 (structured, parseable, minimal), RULE-384
|
|
11
11
|
*/
|
|
12
12
|
export interface GateResult {
|
|
13
13
|
gate: string;
|
package/dist/formatters/audit.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* - FAIL/WARN gates are expanded with detail + fix suggestions
|
|
8
8
|
* - --verbose shows all gates including PASS detail
|
|
9
9
|
*
|
|
10
|
-
* Chain: BET-182, STD-65 (structured, parseable, minimal),
|
|
10
|
+
* Chain: BET-182, STD-65 (structured, parseable, minimal), RULE-384
|
|
11
11
|
*/
|
|
12
12
|
export function formatAudit(result, options = {}) {
|
|
13
13
|
const { verbose = false, gateFilter } = options;
|