@biffo/cli 0.302.0 → 0.302.1

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 (2) hide show
  1. package/package.json +1 -1
  2. package/scripts/verify.sh +22 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biffo/cli",
3
- "version": "0.302.0",
3
+ "version": "0.302.1",
4
4
  "description": "Biffo project scaffolding CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/scripts/verify.sh CHANGED
@@ -1413,6 +1413,16 @@ if [ -f scripts/biffo.sh ]; then
1413
1413
  run_check plugin-tool-supply sh scripts/biffo.sh check plugin-tool-supply
1414
1414
  run_check core-direct-paths sh scripts/biffo.sh check core-direct-paths
1415
1415
  run_check orphan-ratchet sh scripts/biffo.sh check orphan-ratchet
1416
+ # #1714 second remediation: the INSTANCE-mode caller, distinct from the
1417
+ # self-check above. It clones a real template tree pinned to
1418
+ # biffo.core.json's own version and compares against it -- but this repo
1419
+ # never carries biffo.core.json (it is the template, not an instance), so
1420
+ # the script itself detects that and exits 0 as a genuine skip (see its own
1421
+ # doc comment) rather than attempting a comparison it has no tree for. Kept
1422
+ # unconditional, exactly like the line above, for the same reason: ci.yml's
1423
+ # exact command text must appear in `verify.sh --list`'s output or the
1424
+ # parity test (verify-parity.test.ts, #1773) reports it uncategorised.
1425
+ run_check orphan-ratchet-instance sh scripts/check-orphan-ratchet-instance.sh
1416
1426
  run_check cognito-invite sh scripts/biffo.sh check cognito-invite-template
1417
1427
  run_check lambda-output sh scripts/biffo.sh check lambda-output
1418
1428
  run_check pipe-trap sh scripts/biffo.sh check pipe-trap
@@ -1453,6 +1463,18 @@ fi
1453
1463
  [ -f scripts/allocate-module-number.test.sh ] &&
1454
1464
  run_check allocate-module-number sh scripts/allocate-module-number.test.sh
1455
1465
 
1466
+ # check-orphan-ratchet-instance.sh's own self-test (#1714, second
1467
+ # remediation): real throwaway git fixtures standing in for "the template at
1468
+ # a pinned version" and "a live instance", exercising the wrapper end to end
1469
+ # via THIS repo's own already-built local CLI through tsx (no mocking of
1470
+ # planCoreUpgrade/classify()). Needs cli/node_modules/.bin/tsx -- present
1471
+ # once `pnpm install` has run in this checkout, same as every other
1472
+ # JS-backed check above; the test itself fails with a clear "run pnpm
1473
+ # install" message rather than a cryptic tsx-not-found if it hasn't.
1474
+ # Measured here: ~1.6s.
1475
+ [ -f scripts/check-orphan-ratchet-instance.test.sh ] &&
1476
+ run_check orphan-ratchet-instance-selftest sh scripts/check-orphan-ratchet-instance.test.sh
1477
+
1456
1478
  # The append-only corpus guard (#778). CI runs it in Release Guards, and it was
1457
1479
  # invisible to the parity test until #897 widened the harvester -- it is neither
1458
1480
  # `pnpm`, `uv`, `terraform` nor `sh scripts/`, so the guard whose property is