Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .jules/palette.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2024-05-19 - Init Command UX Improvement
**Learning:** CLI outputs with inline repetitive warnings (e.g. `already contains rules โ€” skipping`) can clutter terminal visibility and diminish developer experience.
**Action:** Group skipped/unchanged files separately from modified ones (e.g., in a single `Skipped (already configured):` section) to create clean, scannable terminal output.

## 2024-05-19 - Separating Deploy Blockers from Informational Warnings
**Learning:** Grouping non-blocking severity levels (WARNING, INFO) under a "Deploy blockers:" prefix creates user confusion, implying these low-priority items will fail CI pipelines or deployments.
**Action:** When summarizing severity counts, always separate critical/high issues from warnings/infos with clear labels (e.g. `| Other:` or `| Warnings & Info:`) to reinforce their non-blocking nature.
8 changes: 3 additions & 5 deletions scanner/cli/appguardrail.py
Original file line number Diff line number Diff line change
Expand Up @@ -2621,11 +2621,9 @@ def _print_scan_results(findings, files_scanned):
info_word = "info issue" if counts["INFO"] == 1 else "info issues"

print(
f"Scanned {files_scanned} {files_word} | Deploy blockers: "
f"๐Ÿ”ด {counts['CRITICAL']} {critical_word} "
f"๐ŸŸ  {counts['HIGH']} {high_word} "
f"๐ŸŸก {counts['WARNING']} {warnings_word} "
f"๐Ÿ”ต {counts['INFO']} {info_word}"
f"Scanned {files_scanned} {files_word} | "
f"Deploy blockers: ๐Ÿ”ด {counts['CRITICAL']} {critical_word} ๐ŸŸ  {counts['HIGH']} {high_word} | "
f"Other: ๐ŸŸก {counts['WARNING']} {warnings_word} ๐Ÿ”ต {counts['INFO']} {info_word}"
)
if non_blocking:
finding_word = "finding" if non_blocking == 1 else "findings"
Expand Down