feat(suppressor): add suppress:silent variant visible only with --verbose #111

Closed
opened 2026-06-01 13:34:06 +02:00 by michael · 0 comments
Owner

Problem

All suppressed findings are currently reported as [INFO] in the output,
including permanent architectural decisions that will never need revisiting
(e.g. optional function parameters with empty table defaults).

This creates noise that obscures the suppressions that actually matter --
those that are temporary and pending a future fix.

Goal

Add a silent suppression variant that only appears with --verbose.

Proposed Syntax

-- fragjan: suppress:silent no-silent-fallback -- optional parameter, nil means no options
-- fragjan: suppress no-direct-sys-new -- pending DAW/fragjan#90

suppress = always visible as [INFO] (temporary, needs follow-up)
suppress:silent = only visible with --verbose (permanent architectural decision)

Acceptance Criteria

  • suppress:silent produces no output in normal mode
  • suppress:silent appears as [INFO] with --verbose
  • suppress continues to produce [INFO] output as today
  • Summary counts both variants under "suppressed"
  • Documentation updated

Notes

Existing suppress comments need no immediate migration -- both variants
can coexist. Migration can happen gradually as decisions are confirmed permanent.

## Problem All suppressed findings are currently reported as [INFO] in the output, including permanent architectural decisions that will never need revisiting (e.g. optional function parameters with empty table defaults). This creates noise that obscures the suppressions that actually matter -- those that are temporary and pending a future fix. ## Goal Add a silent suppression variant that only appears with --verbose. ## Proposed Syntax ```lua -- fragjan: suppress:silent no-silent-fallback -- optional parameter, nil means no options -- fragjan: suppress no-direct-sys-new -- pending DAW/fragjan#90 ``` `suppress` = always visible as [INFO] (temporary, needs follow-up) `suppress:silent` = only visible with --verbose (permanent architectural decision) ## Acceptance Criteria - [ ] `suppress:silent` produces no output in normal mode - [ ] `suppress:silent` appears as [INFO] with --verbose - [ ] `suppress` continues to produce [INFO] output as today - [ ] Summary counts both variants under "suppressed" - [ ] Documentation updated ## Notes Existing suppress comments need no immediate migration -- both variants can coexist. Migration can happen gradually as decisions are confirmed permanent.
michael added this to the Basic Version milestone 2026-06-01 13:36:51 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DAW/fragjan#111
No description provided.