@codacy/verity-cli 0.29.4 → 0.30.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.
@@ -711,18 +711,31 @@ to-be-pushed diff before it lands.
711
711
  Add these entries to `.gitignore` (create it if it doesn't exist, append if it does):
712
712
 
713
713
  ```
714
- # Verity
715
- .verity/.cache/
716
- .verity/.logs/
717
- .verity/.last-analysis
718
- .verity/.iteration-count
719
- .verity/.last-pass-hash
720
- .verity/.last-intent
721
- .verity/.memory-sync-state.json
714
+ # Verity — machine-local state. Everything in .verity/ is ignored EXCEPT the
715
+ # shared standard and the knowledge graph, which are meant to be committed.
716
+ .verity/*
717
+ !.verity/standard.yaml
718
+ !.verity/memory/
722
719
  .verity/memory/log.md
723
720
  .claude/settings.local.json
724
721
  ```
725
722
 
723
+ This is a whitelist on purpose: `.verity/` accumulates state files over time
724
+ (`.snapshot/` holds byte-for-byte copies of analyzed files — including any
725
+ secret the gate just flagged — plus `.cache/`, `.logs/`, `.baseline`,
726
+ `.task-context`, session-suffixed `.last-analysis.*` files, and whatever comes
727
+ next). Enumerating them one by one is how `.snapshot/` ended up committed in a
728
+ real repo; ignoring everything and re-including the two shared artifacts means
729
+ a future state file can never repeat that.
730
+
731
+ **If the repo previously committed Verity state** (check with
732
+ `git ls-files .verity`), untrack everything except the shared artifacts once:
733
+
734
+ ```bash
735
+ git rm -r --cached .verity
736
+ git add .verity/standard.yaml .verity/memory
737
+ ```
738
+
726
739
  `.claude/settings.local.json` is machine-local Claude Code config (telemetry endpoint + an
727
740
  `otelHeadersHelper` reference — no token). `verity telemetry install` adds this entry
728
741
  automatically.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codacy/verity-cli",
3
- "version": "0.29.4",
3
+ "version": "0.30.0",
4
4
  "description": "CLI for Verity quality gate service",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "homepage": "https://verity.md",