Skip to content

Assessment-lens grouping: Harness / Guardrail / Attack vector (0.22.0) - #26

Merged
autonomyproof merged 1 commit into
mainfrom
feat/assessment-categories
Aug 18, 2026
Merged

Assessment-lens grouping: Harness / Guardrail / Attack vector (0.22.0)#26
autonomyproof merged 1 commit into
mainfrom
feat/assessment-categories

Conversation

@autonomyproof

Copy link
Copy Markdown
Owner

Makes AutonomyProof present as a structured security assessment. Every rule + finding is tagged Harness gap / Guardrail gap / Attack vector; rules list groups by lens, JSON/HTML reports show per-lens breakdown.

Presentation only — no detection change. 642 tests, 100% coverage. Bumps 0.21.0 -> 0.22.0.

Make AutonomyProof present as a structured security assessment, not a flat rule list.

- rules/categories.py: central rule_id -> lens mapping (Harness gap / Guardrail gap /
  Attack vector) for all 40 rules; enforced complete + valid by tests.
- Rule.category property; Finding gains a category field (set in make_finding /
  make_project_finding).
- ScanResult.category_counts(); JSON report adds assessmentCounts + per-finding category;
  HTML report shows a per-lens breakdown; 'rules list' groups by lens and 'rules explain'
  prints the lens.

Presentation only — no detection behavior changes (corpus unchanged). 642 tests, 100%
branch coverage, ruff + ruff format + mypy all clean. Bumps 0.21.0 -> 0.22.0.

Signed-off-by: AutonomyProof <info@autonomyproof.io>
@autonomyproof
autonomyproof merged commit fbaddee into main Aug 18, 2026
8 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.

1 participant