@dotzen/dotzen 0.0.3 → 0.0.4

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.
@@ -63,7 +63,15 @@ function renderTerminal(report, opts = {}) {
63
63
  }
64
64
  lines.push('');
65
65
  if (report.violations.length === 0) {
66
- lines.push(`${paint('✓ passed', ANSI.green)} (${report.passed} checks, ${paint(`${cne} could not be evaluated`, ANSI.magenta)})`);
66
+ if (cne === 0) {
67
+ // Reserve the unqualified green check for a truly complete pass.
68
+ lines.push(`${paint('✓ passed', ANSI.green)} (${report.passed} checks)`);
69
+ }
70
+ else {
71
+ // No violations, but some checks couldn't be evaluated — those are
72
+ // gaps to review, not successes, so don't show a clean green ✓.
73
+ lines.push(`${paint('⚠ no violations', ANSI.magenta)}, but ${paint(`${cne} could not be evaluated`, ANSI.magenta)} — review the section above (${report.passed} passed)`);
74
+ }
67
75
  }
68
76
  else {
69
77
  const count = `${report.violations.length} violation(s)`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotzen/dotzen",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Prose as Code — governance for AI-generated Terraform (AWS, Azure, GCP).",
5
5
  "license": "MIT",
6
6
  "keywords": [