@auracheck-ai/cli 0.2.11 → 0.3.0-next.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.
package/NOTICE CHANGED
@@ -31,3 +31,9 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
31
31
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
32
32
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
33
33
  SOFTWARE.
34
+
35
+ --------------------------------------------------------------------------------
36
+
37
+ The secret-scanning rules of `auracheck review` (src/review/tools/secrets.ts)
38
+ adapt several rule regexes from gitleaks (https://github.com/gitleaks/gitleaks),
39
+ MIT License, Copyright (c) 2019 Zachary Rice.
package/README.md CHANGED
@@ -94,10 +94,19 @@ That's it. Open Claude Code and ask *"list auracheck features"* to confirm.
94
94
  | `auracheck init` | Just the bind step (writes `.sixseven/config.json`) |
95
95
  | `auracheck status` | Show binding + token validity + feature/testcase counts |
96
96
  | `auracheck doctor` | Diagnose config, token, backend reachability, project access |
97
+ | `auracheck review` | Review the current GitLab merge request from its pipeline (see below); `--dry-run` prints instead of posting |
97
98
  | `auracheck mcp` | Start MCP server on stdio (spawned by Claude Code; you don't run this directly). Works outside a bound repo too: project tools then take a `projectId` (see `auracheck.list_projects`); `--project <id>` sets a default |
98
99
 
99
100
  Every command above also works as `sixseven <command>` — same binary, same behavior.
100
101
 
102
+ ## PR review in GitLab CI
103
+
104
+ Add `include: [{ remote: https://space.auracheck.ai.id/ci/gitlab/auracheck-review.yml }]` to `.gitlab-ci.yml` and two masked CI/CD variables: `AURACHECK_TOKEN` (the AuraCheck project CI token, `67ci_…`) and `AURACHECK_GITLAB_TOKEN` (a project access token with `api` scope).
105
+ Every MR pipeline then runs `npx @auracheck-ai/cli review`: one summary note per MR, updated in place on each push, plus inline comments with suggestion blocks for the top findings, never posted twice.
106
+ Comment `@auracheck review`, `@auracheck full review` or `@auracheck help` on the MR to drive it by hand.
107
+ Tune it with `.auracheck.yaml` at the repo root (CodeRabbit key names; JSON schema in `schema/auracheck.schema.json`).
108
+ The job is `allow_failure`, so it never blocks a merge. Full guide: https://www.auracheck.ai.id/docs/pr-agent
109
+
101
110
  ### Advanced: manual MCP registration
102
111
 
103
112
  If you skipped the wizard's MCP step: