Skip to content

feat: add incremental scan baselines - #3

Merged
hlinor-systems merged 1 commit into
mainfrom
agent/adversarial-regression-harness
Aug 17, 2026
Merged

feat: add incremental scan baselines#3
hlinor-systems merged 1 commit into
mainfrom
agent/adversarial-regression-harness

Conversation

@hlinor-systems

Copy link
Copy Markdown
Collaborator

What changed

  • Add root and subcommand help for the supported agentctl CLI surface.
  • Add JSON baseline filtering by stable finding ID for incremental CI gates.
  • Replace the working-directory-only output restriction with an explicit output-path policy.
  • Reject final output symlinks and write reports atomically with mode 0600.
  • Add regression coverage and document the new workflow.

Why

CI needs to distinguish newly introduced findings from findings already accepted in a reviewed baseline. Report output also needs a predictable, explicit, and private file policy for local and CI use.

Validation

  • go test ./...
  • go vet ./...
  • git diff --check
  • Real CLI run with an absolute output path, threshold failure, and symlink rejection.
  • Local staged secret guard passed.

Scope

This change does not alter scanner rule semantics or execute scanned content. It remains read-only and metadata-only.

@hlinor-systems
hlinor-systems marked this pull request as ready for review August 17, 2026 08:54
@hlinor-systems
hlinor-systems merged commit 1a38628 into main Aug 17, 2026
7 checks passed
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.

2 participants