@veda-hq/pariksha 0.5.10 → 0.5.11

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/README.md CHANGED
@@ -4,8 +4,8 @@
4
4
  test-quality ratchets. Part of [Veda](https://github.com/veda-hq/veda).
5
5
 
6
6
  ```sh
7
- npx @veda-hq/pariksha@0.5.10 <check> [flags]
8
- npx @veda-hq/pariksha@0.5.10 --version
7
+ npx @veda-hq/pariksha@0.5.11 <check> [flags]
8
+ npx @veda-hq/pariksha@0.5.11 --version
9
9
  ```
10
10
 
11
11
  Every check exits 0 when the repository passes, 1 when it refuses something
@@ -477,7 +477,11 @@ is the permission baseline every repository agents work in keeps:
477
477
  - deny: `Bash(*--no-verify*)`;
478
478
  - ask: every push that rewrites or deletes published history (`--force`,
479
479
  `-f`, `--mirror`, `--delete`, `-d`, `--prune`, a `+` or empty-source `:`
480
- refspec, and the abbreviations git accepts), `git branch -D`, and the
480
+ refspec, and the abbreviations git accepts), a forced branch delete
481
+ (`git branch -D`, `-df`, `-fd`, and any `-d`/`--delete` with
482
+ `-f`/`--force` in either order: the two globs `*-d*-f*` and `*-f*-d*`
483
+ also ask for a plain `-d` of a branch whose name holds `-f`, which errs
484
+ on the side of asking), and the
481
485
  dependency commands `pnpm add`, `remove`, `update`, `npm install`,
482
486
  `uninstall`, `update`, `yarn add` and `remove`. Ask beats allow, so these
483
487
  hold inside the allowed `git push -u origin` and `git branch`. An edit of a
@@ -46,6 +46,10 @@
46
46
  "Bash(*git push* +*)",
47
47
  "Bash(*git push* :*)",
48
48
  "Bash(*git branch* -D*)",
49
+ "Bash(*git branch*-d*-f*)",
50
+ "Bash(*git branch*-f*-d*)",
51
+ "Bash(*git branch* -df*)",
52
+ "Bash(*git branch* -fd*)",
49
53
  "Bash(pnpm add:*)",
50
54
  "Bash(pnpm remove:*)",
51
55
  "Bash(pnpm update:*)",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veda-hq/pariksha",
3
- "version": "0.5.10",
3
+ "version": "0.5.11",
4
4
  "description": "Repository checks: doc drift, rule enforcement, test-quality ratchets. Checks: authority-citations, boundary, codec-registry, coverage-by-type, coverage-exemptions, doc-budgets, env-gate-switches, export-deletions, fault-injection-registry, required-settings. Also markdownlint rules for Markdown that renders mangled: @veda-hq/pariksha/markdownlint.",
5
5
  "keywords": [
6
6
  "repository checks",