@biffo/cli 0.301.15 → 0.301.17
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/package.json +1 -1
- package/scripts/verify.sh +42 -0
package/package.json
CHANGED
package/scripts/verify.sh
CHANGED
|
@@ -1399,10 +1399,52 @@ if [ -f scripts/biffo.sh ]; then
|
|
|
1399
1399
|
run_check plugin-tf sh scripts/biffo.sh check plugin-terraform
|
|
1400
1400
|
run_check plugin-names sh scripts/biffo.sh check plugin-collisions
|
|
1401
1401
|
run_check adr-numbering sh scripts/biffo.sh check adr-numbering
|
|
1402
|
+
# The rest of #1363's five-guard baseline plus everything wired onto the
|
|
1403
|
+
# same dispatcher since -- all offline, all sub-second here (biffo-template
|
|
1404
|
+
# #1773), and all invisible to the parity test's kind-based comparison
|
|
1405
|
+
# because `kindOf()` has no case for `check <name>` beyond the three above.
|
|
1406
|
+
# `core-direct-paths` and `orphan-ratchet` run in their SELF-CHECK mode
|
|
1407
|
+
# (no --instance-dir), which by construction can only ever report zero --
|
|
1408
|
+
# see each command's own --help. That is exactly what CI runs too, so
|
|
1409
|
+
# mirroring it here is still correct parity even though neither can catch
|
|
1410
|
+
# anything in this repo; a real instance checkout is where either earns
|
|
1411
|
+
# its keep.
|
|
1412
|
+
run_check eventbridge-log sh scripts/biffo.sh check eventbridge-log-permissions
|
|
1413
|
+
run_check plugin-tool-supply sh scripts/biffo.sh check plugin-tool-supply
|
|
1414
|
+
run_check core-direct-paths sh scripts/biffo.sh check core-direct-paths
|
|
1415
|
+
run_check orphan-ratchet sh scripts/biffo.sh check orphan-ratchet
|
|
1416
|
+
run_check cognito-invite sh scripts/biffo.sh check cognito-invite-template
|
|
1417
|
+
run_check lambda-output sh scripts/biffo.sh check lambda-output
|
|
1418
|
+
run_check pipe-trap sh scripts/biffo.sh check pipe-trap
|
|
1419
|
+
run_check codeql-suppression sh scripts/biffo.sh check codeql-suppression
|
|
1420
|
+
run_check skeleton-drift sh scripts/biffo.sh check skeleton-drift
|
|
1421
|
+
run_check claim-invocation sh scripts/biffo.sh check claim-invocation
|
|
1422
|
+
run_check terraform-input sh scripts/biffo.sh check terraform-input
|
|
1423
|
+
run_check plugin-allowlist sh scripts/biffo.sh check plugin-allowlist-convention
|
|
1402
1424
|
else
|
|
1403
1425
|
skip biffo-guards "no scripts/biffo.sh in this repo"
|
|
1404
1426
|
fi
|
|
1405
1427
|
|
|
1428
|
+
# Static workflow/script audits (biffo-template#1773) -- both read the repo's
|
|
1429
|
+
# own tree (workflow YAML, script shebangs), need no network, no PR context
|
|
1430
|
+
# and no container, and were only ever invisible to the parity test because
|
|
1431
|
+
# `kindOf()` has no case for a bare `bash scripts/...` invocation. Measured
|
|
1432
|
+
# here: interpreter-audit.sh 1.3s, ci-wiring-audit.sh 0.3s.
|
|
1433
|
+
[ -f scripts/interpreter-audit.sh ] && run_check interpreter-audit bash scripts/interpreter-audit.sh
|
|
1434
|
+
[ -f scripts/ci-wiring-audit.sh ] && run_check ci-wiring-audit bash scripts/ci-wiring-audit.sh
|
|
1435
|
+
|
|
1436
|
+
# Guard self-tests that stub their own dependencies (curl/aws/gh) and need
|
|
1437
|
+
# neither network nor a live deployment (biffo-template#1773). Measured here:
|
|
1438
|
+
# core-revision-preflight.test.sh 0.2s, verify-deployed.test.sh 0.4s,
|
|
1439
|
+
# branch-health-plan-only-detection.test.sh 0.1s -- all well under budget,
|
|
1440
|
+
# unlike wait-for-checks-deadline.test.sh and guard-self-test-wiring.sh
|
|
1441
|
+
# (EXCLUDED in cli/src/lib/verify-parity.test.ts, with why).
|
|
1442
|
+
[ -f scripts/core-revision-preflight.test.sh ] &&
|
|
1443
|
+
run_check core-revision-preflight sh scripts/core-revision-preflight.test.sh
|
|
1444
|
+
[ -f scripts/verify-deployed.test.sh ] && run_check verify-deployed sh scripts/verify-deployed.test.sh
|
|
1445
|
+
[ -f scripts/branch-health-plan-only-detection.test.sh ] &&
|
|
1446
|
+
run_check branch-health-plan-only sh scripts/branch-health-plan-only-detection.test.sh
|
|
1447
|
+
|
|
1406
1448
|
# The append-only corpus guard (#778). CI runs it in Release Guards, and it was
|
|
1407
1449
|
# invisible to the parity test until #897 widened the harvester -- it is neither
|
|
1408
1450
|
# `pnpm`, `uv`, `terraform` nor `sh scripts/`, so the guard whose property is
|