Skip to content

Reduce audit noise with stack packs and grounded prompts - #7

Merged
TimoKuronen merged 1 commit into
mainfrom
feature/engine-noise-reduction
Sep 28, 2026
Merged

TimoKuronen merged 1 commit into
mainfrom
feature/engine-noise-reduction

Conversation

@TimoKuronen

@TimoKuronen TimoKuronen commented Sep 28, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Move Unity-only guidance into opt-in Rules/Stacks/Unity/ loaded via --stack / -Stack, so default sniff packs stay stack-agnostic
  • Add prompt grounding rules so findings must cite symbols visible in the provided source; unseen wiring belongs under Missing Context
  • Document and prompt Score as a qualitative signal for that run only, not a regression metric; pass/fail remains Status-driven

Test plan

  • dotnet test: 68 passing
  • Default sniff loads only root Rules/*.mdc (no Unity stack packs)
  • --stack Unity prints the stack name and includes Rules/Stacks/Unity/*.mdc
  • Desktop/Avalonia ViewModel sniff without --stack does not report UniTask, ScriptableObject, or gameplay-rejection themes
  • Report contract still fails closed on missing/Status drift; Score is not used for exit codes

Keep default rule packs stack-agnostic, load Unity guidance only via --stack, and instruct the model to cite visible symbols and treat Score as qualitative-only.
@TimoKuronen
TimoKuronen merged commit c3d5557 into main Sep 28, 2026
1 check passed
@TimoKuronen
TimoKuronen deleted the feature/engine-noise-reduction branch September 28, 2026 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant