@ccdevkit/ccaudit 0.2.1 → 0.4.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 +10 -5
  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
 
@@ -101,13 +104,15 @@ Settings file: `.ccaudit/settings.json` (project) or `~/.ccaudit/settings.json`
101
104
 
102
105
  ```json
103
106
  {
104
- "claude_command": "claude"
107
+ "claudeCommand": "claude --local",
108
+ "claudeCommandSummary": "~/.local/bin/claude"
105
109
  }
106
110
  ```
107
111
 
108
112
  | Setting | Default | Description |
109
113
  |---------|---------|-------------|
110
- | `claude_command` | `claude` | Command to invoke Claude CLI |
114
+ | `claudeCommand` | `claude` | Command to invoke Claude CLI (supports arguments) |
115
+ | `claudeCommandSummary` | `claude` | Command for internal summary operations (MCP haiku calls) |
111
116
 
112
117
  ## CLI Reference
113
118
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccdevkit/ccaudit",
3
- "version": "0.2.1",
3
+ "version": "0.4.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"