@ccdevkit/ccaudit 0.2.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +6 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -82,10 +82,10 @@ Checks run sequentially and stop at first failure.
82
82
 
83
83
  ## audit.yaml
84
84
 
85
- The `audit.yaml` file defines which checks an audit includes:
85
+ The `audit.yaml` file can optionally specify which checks to run:
86
86
 
87
87
  ```yaml
88
- includes:
88
+ checks:
89
89
  - ../shared/* # All checks from shared/ directory
90
90
  - ../other-audit # All checks from another audit (recursively)
91
91
  - ./check-custom.sh # Specific check file
@@ -93,7 +93,10 @@ includes:
93
93
 
94
94
  Paths are relative to the audit directory. Wildcards (`*`, `?`, `[...]`) are supported.
95
95
 
96
- An audit with no `includes` runs all `.sh` and `.md` files in its own directory.
96
+ **Check discovery behavior:**
97
+ - **No `checks:` field**: All `.sh` and `.md` files in the audit directory are loaded (default)
98
+ - **`checks:` with items**: Only the specified items are loaded (exclusive mode)
99
+ - **`checks: []` (empty)**: No checks are loaded (audit runs nothing)
97
100
 
98
101
  ## Configuration
99
102
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccdevkit/ccaudit",
3
- "version": "0.2.1",
3
+ "version": "0.3.0",
4
4
  "description": "Audit tool for Claude Code projects - runs compliance checks on code and agent actions",
5
5
  "bin": {
6
6
  "ccaudit": "bin/ccaudit"