slopbrick 0.17.1 → 0.17.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.
package/dist/index.cjs CHANGED
@@ -45366,26 +45366,26 @@ function formatBriefReport(report) {
45366
45366
  lines.push(formatVerdict(report));
45367
45367
  lines.push("");
45368
45368
  const scoreLines = [
45369
- { name: "aiQuality", value: report.aiQuality },
45370
- { name: "engineeringHygiene", value: report.engineeringHygiene },
45371
- { name: "security", value: report.security },
45372
- { name: "repositoryHealth", value: report.repositoryHealth }
45369
+ { label: "AI Quality", field: "aiQuality", value: report.aiQuality },
45370
+ { label: "Engineering Hygiene", field: "engineeringHygiene", value: report.engineeringHygiene },
45371
+ { label: "Security", field: "security", value: report.security },
45372
+ { label: "Repository Health", field: "repositoryHealth", value: report.repositoryHealth }
45373
45373
  ];
45374
45374
  const deltaSuffix = formatDeltaSuffix(report);
45375
- scoreLines.forEach(({ name, value }, idx) => {
45375
+ scoreLines.forEach(({ label, field, value }, idx) => {
45376
45376
  const band = scoreBand(value);
45377
- const paddedName = name.padEnd(20, " ");
45377
+ const paddedLabel = label.padEnd(20, " ");
45378
45378
  const valueStr = value.toFixed(0).padStart(3, " ");
45379
45379
  const delta = idx === 0 ? deltaSuffix : "";
45380
45380
  lines.push(
45381
- ` ${paddedName} ${band.color(valueStr)} ${import_chalk.default.dim(band.label)}${delta}`
45381
+ ` ${paddedLabel} ${band.color(valueStr)} ${import_chalk.default.dim(band.label)} ${import_chalk.default.dim.italic(`(${field})`)}${delta}`
45382
45382
  );
45383
45383
  });
45384
45384
  const passed = report.aiQuality >= 70;
45385
45385
  lines.push("");
45386
45386
  lines.push(
45387
45387
  import_chalk.default.dim(
45388
- ` CI gate: aiQuality >= 70 -> ${passed ? import_chalk.default.green("pass") : import_chalk.default.red("fail")}`
45388
+ ` CI gate: AI Quality >= 70 -> ${passed ? import_chalk.default.green("pass") : import_chalk.default.red("fail")}`
45389
45389
  )
45390
45390
  );
45391
45391
  const suppressed = report.defaultOffSuppressedCount ?? 0;
package/dist/index.js CHANGED
@@ -45359,26 +45359,26 @@ function formatBriefReport(report) {
45359
45359
  lines.push(formatVerdict(report));
45360
45360
  lines.push("");
45361
45361
  const scoreLines = [
45362
- { name: "aiQuality", value: report.aiQuality },
45363
- { name: "engineeringHygiene", value: report.engineeringHygiene },
45364
- { name: "security", value: report.security },
45365
- { name: "repositoryHealth", value: report.repositoryHealth }
45362
+ { label: "AI Quality", field: "aiQuality", value: report.aiQuality },
45363
+ { label: "Engineering Hygiene", field: "engineeringHygiene", value: report.engineeringHygiene },
45364
+ { label: "Security", field: "security", value: report.security },
45365
+ { label: "Repository Health", field: "repositoryHealth", value: report.repositoryHealth }
45366
45366
  ];
45367
45367
  const deltaSuffix = formatDeltaSuffix(report);
45368
- scoreLines.forEach(({ name, value }, idx) => {
45368
+ scoreLines.forEach(({ label, field, value }, idx) => {
45369
45369
  const band = scoreBand(value);
45370
- const paddedName = name.padEnd(20, " ");
45370
+ const paddedLabel = label.padEnd(20, " ");
45371
45371
  const valueStr = value.toFixed(0).padStart(3, " ");
45372
45372
  const delta = idx === 0 ? deltaSuffix : "";
45373
45373
  lines.push(
45374
- ` ${paddedName} ${band.color(valueStr)} ${chalk.dim(band.label)}${delta}`
45374
+ ` ${paddedLabel} ${band.color(valueStr)} ${chalk.dim(band.label)} ${chalk.dim.italic(`(${field})`)}${delta}`
45375
45375
  );
45376
45376
  });
45377
45377
  const passed = report.aiQuality >= 70;
45378
45378
  lines.push("");
45379
45379
  lines.push(
45380
45380
  chalk.dim(
45381
- ` CI gate: aiQuality >= 70 -> ${passed ? chalk.green("pass") : chalk.red("fail")}`
45381
+ ` CI gate: AI Quality >= 70 -> ${passed ? chalk.green("pass") : chalk.red("fail")}`
45382
45382
  )
45383
45383
  );
45384
45384
  const suppressed = report.defaultOffSuppressedCount ?? 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slopbrick",
3
- "version": "0.17.1",
3
+ "version": "0.17.2",
4
4
  "description": "Discovered, modeled, and governed repository structure. SlopBrick scans source code, classifies it against 95 rules in 15 categories, computes 4 scores (aiQuality, engineeringHygiene, security, repositoryHealth), and persists the structure for AI agents and CI.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -54,7 +54,7 @@
54
54
  "minimatch": "^9.0.5",
55
55
  "pgsql-parser": "^17.9.15"
56
56
  },
57
- "//_usebrick_note": "@usebrick/core and @usebrick/engine are private workspace packages. They are listed in devDependencies to keep pnpm-lock.yaml in sync; tsup.config.ts noExternal bundles them into dist/; the prepack-guard.mjs allowlist includes both. Neither ends up in the published tarball's runtime deps. See https://github.com/usebrick/platform/blob/main/docs/repository-structure.md",
57
+ "//_usebrick_note": "@usebrick/core and @usebrick/engine are private workspace packages. They are listed in devDependencies to keep pnpm-lock.yaml in sync; tsup.config.ts \u2192 noExternal bundles them into dist/; the prepack-guard.mjs allowlist includes both. Neither ends up in the published tarball's runtime deps. See https://github.com/usebrick/platform/blob/main/docs/repository-structure.md",
58
58
  "devDependencies": {
59
59
  "@types/node": "^20.14.0",
60
60
  "@usebrick/core": "workspace:*",
@@ -111,4 +111,4 @@
111
111
  "url": "https://github.com/usebrick/platform/issues"
112
112
  },
113
113
  "homepage": "https://github.com/usebrick/platform#readme"
114
- }
114
+ }