Miguel Ángel
2c71a3a112
fix(catalog): registry set-delta check accepts intentional additions ( #4287 )
...
check-registry-set-delta.mjs only recognized removals: an added name in
registry.json had no matching allowance, so any pure-addition PR failed
with "unexpected in registry.json: <name>" even though the item's own
registry-item.json was added in the same diff. Mirror the deletion rule
for additions: a name is expected when its own registry-item.json was
added or deleted in the same diff, same condition either side already
required.
CI's audit tool flagged the CLI entry itself (high-crap-score rule,
scripts/check-registry-set-delta.mjs:30 main, CRAP 42.0 threshold 30.0,
cyclomatic 6): main() shelled to git and parsed JSON inline. The git/fs
boundary is now injected as runRegistrySetDeltaCheck(base, { run,
readRegistryJson }), covered directly by a test with a fake run/read, so
main() is a thin print-and-exit wrapper.
2026-09-22 11:24:51 -04:00
..
2026-09-21 18:35:47 -04:00
2026-09-19 16:53:29 -04:00
2026-09-17 02:49:34 +00:00
2026-08-16 14:01:38 -04:00
2026-08-09 22:07:57 -07:00
2026-09-18 15:10:35 -04:00
2026-09-20 19:40:06 -07:00
2026-09-19 16:53:29 -04:00
2026-09-19 16:53:29 -04:00
2026-09-19 16:53:29 -04:00
2026-09-19 16:53:29 -04:00
2026-09-10 08:21:49 -04:00
2026-09-10 08:21:49 -04:00
2026-09-19 16:53:29 -04:00
2026-09-19 16:53:29 -04:00
2026-08-10 18:46:03 -04:00
2026-08-14 11:20:37 -07:00
2026-09-19 16:53:29 -04:00
2026-09-19 16:53:29 -04:00
2026-08-04 03:08:04 -07:00
2026-08-09 22:07:57 -07:00
2026-08-01 17:21:41 -07:00
2026-07-20 11:59:57 -07:00
2026-07-20 09:04:03 -07:00
2026-09-22 07:04:54 -04:00
2026-08-04 00:37:48 -07:00
2026-08-05 11:47:59 -07:00
2026-08-24 20:07:03 -04:00
2026-08-24 20:07:03 -04:00
2026-09-21 18:35:47 -04:00
2026-09-22 07:04:54 -04:00
2026-08-11 01:33:52 -04:00
2026-07-18 13:24:57 -04:00
2026-07-18 13:24:57 -04:00
2026-09-19 12:45:17 -04:00
2026-09-19 12:45:17 -04:00
2026-09-22 11:24:51 -04:00
2026-09-22 11:24:51 -04:00
2026-07-16 17:29:19 -04:00
2026-09-22 01:30:24 -04:00
2026-09-22 01:30:24 -04:00
2026-07-11 01:20:22 -07:00
2026-07-11 01:20:22 -07:00
2026-07-11 21:57:45 -07:00
2026-07-11 21:57:45 -07:00
2026-06-25 11:20:11 -04:00
2026-08-09 22:07:57 -07:00
2026-09-22 08:58:21 -04:00
2026-09-22 08:58:21 -04:00
2026-09-21 21:35:23 -04:00
2026-09-21 21:35:23 -04:00
2026-09-22 00:54:41 -04:00
2026-09-19 09:07:32 -04:00
2026-09-19 16:53:29 -04:00
2026-09-19 17:14:51 -07:00
2026-09-19 17:14:51 -07:00
2026-08-18 01:37:46 -04:00
2026-09-19 16:53:29 -04:00
2026-09-19 16:53:29 -04:00
2026-09-18 13:06:09 -04:00
2026-09-19 16:53:29 -04:00
2026-08-10 18:46:03 -04:00
2026-09-19 16:53:29 -04:00
2026-08-10 18:46:03 -04:00
2026-08-14 11:20:37 -07:00
2026-09-10 04:28:58 -04:00
2026-09-10 04:28:58 -04:00
2026-08-04 23:13:19 +00:00
2026-08-03 10:14:37 +02:00
2026-09-10 03:21:33 +00:00
2026-09-10 03:21:33 +00:00
2026-07-22 00:41:40 +08:00
2026-07-18 15:58:23 -04:00
2026-07-18 15:58:23 -04:00
2026-09-19 16:53:29 -04:00
2026-09-19 16:53:29 -04:00
2026-08-02 21:32:08 -07:00
2026-09-09 00:47:31 -04:00
2026-08-10 18:46:03 -04:00
2026-09-19 16:53:29 -04:00
2026-08-04 03:06:32 -07:00
2026-08-04 03:06:32 -07:00
2026-06-19 00:34:58 -07:00
2026-09-19 17:14:51 -07:00
2026-09-18 23:47:12 -04:00
2026-07-27 23:55:06 -07:00
2026-09-19 16:53:29 -04:00
2026-09-22 00:54:41 -04:00
2026-09-21 21:14:49 -04:00
2026-07-15 21:19:14 +08:00
2026-08-09 22:07:57 -07:00
2026-08-07 15:17:30 -07:00
2026-08-02 21:32:08 -07:00
2026-08-02 21:32:08 -07:00
2026-09-19 16:53:29 -04:00
2026-09-19 16:53:29 -04:00
2026-07-18 20:17:01 -04:00
2026-07-18 18:27:44 -04:00