Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Changelog

All notable changes to OpenPolicyKit will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.3.0] - 2026-06-09

### Added
- Python ecosystem support (`requirements.txt`, `pyproject.toml`) for OPK-004.
- Severity filtering via the `--min-severity` CLI option.
- File/path exclusion support using regex patterns via `opk.config.json` (`exclude` field).
- Comprehensive end-to-end integration test suite for the CLI.

### Changed
- Performance optimization: File discovery and disk I/O are now batched/chunked and cached to prevent redundant reads when multiple rules scan the same large repositories.

## [0.2.0] - 2026-06-09

### Added
- Rule **OPK-004**: Wildcard/unpinned dependency versions.
- Rule **OPK-005**: Risky CI/CD workflow changes.
- Rule **OPK-006**: Hallucinated dependencies (validates packages against npm registry).
- Rule **OPK-007**: Large generated files.
- Local configuration support via `opk.config.json`. Rules can now be explicitly enabled or disabled using the `rules` object.

### Changed
- Improved CLI text output formatting for readability.

## [0.1.0] - 2026-06-09

### Added
- Initial core architecture for the OpenPolicyKit (OPK) scanner.
- Basic CLI functionality: `opk scan [path]` and `--json` flag.
- Built-in Exit Codes mapping to scanning results (0 = clean, 1 = findings, 2 = error).
- Rule **OPK-001**: Hardcoded AI credentials.
- Rule **OPK-002**: AI prompt artifacts.
- Rule **OPK-003**: Placeholder implementation code.
- Test scaffolding and GitHub Actions CI integrations.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "openpolicykit",
"version": "0.1.0",
"version": "0.3.0",
"description": "Scan your repository for risks introduced by AI coding agents that generic linters miss.",
"main": "dist/src/cli/index.js",
"bin": {
Expand Down
Loading