Skip to content

(enhance) Improve audit mode developer experience#69

Merged
nknize merged 1 commit intomainfrom
enhance/auditDevUX
Jan 30, 2026
Merged

(enhance) Improve audit mode developer experience#69
nknize merged 1 commit intomainfrom
enhance/auditDevUX

Conversation

@nknize
Copy link
Contributor

@nknize nknize commented Jan 30, 2026

Description

Audit mode improvements:

  • Accumulate all unique denials instead of logging one-by-one
  • Print summary at JVM shutdown: "X unique denial(s) across Y module(s)"
  • Generate copy-paste-ready .jguard policy syntax at shutdown

Gradle plugin:

  • Register build/jguard-policy/ and build/test-policies/ with clean task
  • Prevents stale .bin files from causing conflicts

Documentation:

  • Add Audit Mode section to agent README with workflow guide
  • Update CHANGELOG with new features

These changes dramatically speed up initial policy authoring by discovering all missing entitlements in one run and providing suggested policy output.

Audit mode improvements:
- Accumulate all unique denials instead of logging one-by-one
- Print summary at JVM shutdown: "X unique denial(s) across Y module(s)"
- Generate copy-paste-ready .jguard policy syntax at shutdown

Gradle plugin:
- Register build/jguard-policy/ and build/test-policies/ with clean task
- Prevents stale .bin files from causing conflicts

Documentation:
- Add Audit Mode section to agent README with workflow guide
- Update CHANGELOG with new features

These changes dramatically speed up initial policy authoring by discovering
all missing entitlements in one run and providing suggested policy output.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
@nknize nknize merged commit 0c1ceac into main Jan 30, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant