repo-contract 0.3.2 → 0.5.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 (38) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/README.md +123 -968
  3. package/bin/package-json-patch.d.mts +9 -0
  4. package/bin/package-json-patch.mjs +221 -0
  5. package/bin/preset-catalog.d.mts +39 -0
  6. package/bin/preset-catalog.mjs +71 -0
  7. package/bin/repo-contract.mjs +222 -0
  8. package/bin/templates.d.mts +5 -0
  9. package/bin/templates.mjs +74 -0
  10. package/dist/.dts/evidence/build-evidence.d.ts.map +1 -1
  11. package/dist/.dts/helpers/exception-policy.d.ts +199 -0
  12. package/dist/.dts/helpers/exception-policy.d.ts.map +1 -0
  13. package/dist/.dts/helpers/index.d.ts +34 -0
  14. package/dist/.dts/helpers/index.d.ts.map +1 -0
  15. package/dist/.dts/helpers/load-exception-registry.d.ts +41 -0
  16. package/dist/.dts/helpers/load-exception-registry.d.ts.map +1 -0
  17. package/dist/.dts/helpers/reconcile-exceptions.d.ts +91 -0
  18. package/dist/.dts/helpers/reconcile-exceptions.d.ts.map +1 -0
  19. package/dist/.dts/helpers/write-exception-registry.d.ts +45 -0
  20. package/dist/.dts/helpers/write-exception-registry.d.ts.map +1 -0
  21. package/dist/.dts/parsing/parse-output.d.ts.map +1 -1
  22. package/dist/helpers.cjs +306 -0
  23. package/dist/helpers.cjs.map +1 -0
  24. package/dist/helpers.d.cts +1 -0
  25. package/dist/helpers.d.ts +1 -0
  26. package/dist/helpers.js +296 -0
  27. package/dist/helpers.js.map +1 -0
  28. package/dist/index.cjs +1 -7
  29. package/dist/index.cjs.map +1 -1
  30. package/dist/index.js +1 -7
  31. package/dist/index.js.map +1 -1
  32. package/helpers/package.json +5 -0
  33. package/package.json +25 -3
  34. package/src/helpers/exception-policy.ts +421 -0
  35. package/src/helpers/index.ts +57 -0
  36. package/src/helpers/load-exception-registry.ts +136 -0
  37. package/src/helpers/reconcile-exceptions.ts +171 -0
  38. package/src/helpers/write-exception-registry.ts +136 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,46 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.5.0](https://github.com/MaverickCER/repo-contract/compare/repo-contract-v0.4.0...repo-contract-v0.5.0) (2026-09-12)
4
+
5
+ Administrative republish -- 0.4.0 is already published on npm at its current content hash, so a fresh version number is needed to publish again. No functional change beyond the previous release.
6
+
7
+ ## [0.4.0](https://github.com/MaverickCER/repo-contract/compare/repo-contract-v0.3.2...repo-contract-v0.4.0) (2026-09-09)
8
+
9
+
10
+ ### ⚠ BREAKING CHANGES
11
+
12
+ * adds the new Experimental repo-contract/helpers subpath (exception-policy primitive). No existing export's shape changes; classified as minor per VERSIONING.md's "a new preset -> minor" convention for the Experimental tier, not a literal incompatibility.
13
+
14
+ ### Features
15
+
16
+ * add a narrow `repo-contract init` scaffolding command ([#63](https://github.com/MaverickCER/repo-contract/issues/63)) ([a1d4e4a](https://github.com/MaverickCER/repo-contract/commit/a1d4e4a242cb0253e0a62e486e86a475a5c8ddbd))
17
+ * add a verified-exception waiver path to security-network ([94dbf43](https://github.com/MaverickCER/repo-contract/commit/94dbf4321b9288b10c65e7efc3e2596a40f4c628))
18
+ * add security-socket and coderabbitai checks ([cb7d3ca](https://github.com/MaverickCER/repo-contract/commit/cb7d3cad8d8015e85c82731075abe48e12371b15))
19
+ * add security-socket and coderabbitai checks ([31374ee](https://github.com/MaverickCER/repo-contract/commit/31374eebe5c35ff54e3efd37d5ed756cc8b8cdc4))
20
+ * add the checks/shared exception-matching and identity layer ([0d711f5](https://github.com/MaverickCER/repo-contract/commit/0d711f5f17d382af507cfafab4a441d620a8b220))
21
+ * add the generic exception-policy core primitive ([8d8f670](https://github.com/MaverickCER/repo-contract/commit/8d8f6704c20bc2c5a4b07e68dcb8e328ee48b9c7))
22
+ * content-bound verification for suppression-governance ([fb6a838](https://github.com/MaverickCER/repo-contract/commit/fb6a838da76247cc42ab316ad9d420ff174a4124))
23
+ * content-bound verification for suppression-governance (disable-comments.json) ([8da651a](https://github.com/MaverickCER/repo-contract/commit/8da651a0f76ab0464ed3b22ac5113b837ea3ecc1))
24
+ * **helpers:** add the exception-registry lifecycle primitives ([de8e855](https://github.com/MaverickCER/repo-contract/commit/de8e8558a26ca238aafc69d736e576aafddd8fa0))
25
+ * publish the repo-contract/helpers subpath ([35f168c](https://github.com/MaverickCER/repo-contract/commit/35f168ca9fbde4f46d1a29624f112e0d4d3b296d))
26
+ * retrofit security-network onto the exception-policy primitive ([62b8d0a](https://github.com/MaverickCER/repo-contract/commit/62b8d0afae9f3958b60666531d58a25a6f5b796e))
27
+
28
+
29
+ ### Bug Fixes
30
+
31
+ * address CodeRabbit findings on the security-network retrofit ([e53313e](https://github.com/MaverickCER/repo-contract/commit/e53313ecf2973649cc2dca045a220f27f0e205db))
32
+ * address CodeRabbit findings on the two new checks ([255e495](https://github.com/MaverickCER/repo-contract/commit/255e49584a2b6622cee174f560221e731932d840))
33
+ * address CodeRabbit findings on the verification retrofit ([3d91878](https://github.com/MaverickCER/repo-contract/commit/3d91878407dd006f82239d034cb319d3856a0c46))
34
+ * address round-2 CodeRabbit findings on the helpers primitive ([fabb9df](https://github.com/MaverickCER/repo-contract/commit/fabb9df2261051cc35fbe15faf3e6df9317afdf5))
35
+ * backfill verification baseline onto records merged in from main ([286e877](https://github.com/MaverickCER/repo-contract/commit/286e8775ad66d7d727f68c0ba269ad2cfa036d56))
36
+ * harden exception-policy config validation and smoke/license accuracy ([e23c069](https://github.com/MaverickCER/repo-contract/commit/e23c069f422ac8967cf8c3a65605bdfb85c07abc))
37
+ * reject impossible calendar dates in verifiedAt, sync ADR 0013 ([6df0911](https://github.com/MaverickCER/repo-contract/commit/6df0911c8bbbfe99bd97095e811b9d762aeb6438))
38
+ * reject trailing newline in verifiedAt; PATH-aware socket probe in the integration test ([ef01ba6](https://github.com/MaverickCER/repo-contract/commit/ef01ba65950041838a3e43f8d8f440add6c4a97c))
39
+ * remove duplicate StandardSchemaV1 re-export in src/helpers/index.ts ([a0d8ee7](https://github.com/MaverickCER/repo-contract/commit/a0d8ee7a490d05fc99d9cbb7150706f7c1494694))
40
+ * skip the real-source drift test inside a Stryker mutation sandbox ([e9e64f6](https://github.com/MaverickCER/repo-contract/commit/e9e64f6dbe57a9e0612209bb568b584961d130cc))
41
+ * validate exception registries on every run and tighten verification ([8d6993f](https://github.com/MaverickCER/repo-contract/commit/8d6993fb94299a50c7b2589d400e592e43767df5))
42
+ * validate the coderabbit terminal event findings count ([a7acd09](https://github.com/MaverickCER/repo-contract/commit/a7acd0950b54f3bd2dbde3956a697d97d80daf9c))
43
+
3
44
  ## [0.3.2](https://github.com/MaverickCER/repo-contract/compare/repo-contract-v0.3.1...repo-contract-v0.3.2) (2026-09-04)
4
45
 
5
46