Part of #25 (one language per PR). No code required — a catalog BEC is a single YAML file using the generic forbid check.
Task
Add a ready-to-import Shell BEC under src/becwright/becs/:
no-set-x-left-in.bec.yaml — forbid set -x tracing left enabled in **/*.sh (it leaks env values — including secrets — into logs).
How
- Copy the format from
src/becwright/becs/no-debug-go.bec.yaml.
- Write a real
intent and why_it_matters (the log-leak angle is the why).
- Use
check: "becwright run forbid --pattern '...'" with paths **/*.sh.
- Add the entry to
src/becwright/becs/README.md.
Acceptance criteria
pytest green (test_catalog_bundles_are_valid covers bundle parsing).
becwright add no-set-x-left-in installs it in a scratch repo.
See CONTRIBUTING.md → "Adding a catalog BEC".
Part of #25 (one language per PR). No code required — a catalog BEC is a single YAML file using the generic
forbidcheck.Task
Add a ready-to-import Shell BEC under
src/becwright/becs/:no-set-x-left-in.bec.yaml— forbidset -xtracing left enabled in**/*.sh(it leaks env values — including secrets — into logs).How
src/becwright/becs/no-debug-go.bec.yaml.intentandwhy_it_matters(the log-leak angle is the why).check: "becwright run forbid --pattern '...'"with paths**/*.sh.src/becwright/becs/README.md.Acceptance criteria
pytestgreen (test_catalog_bundles_are_validcovers bundle parsing).becwright add no-set-x-left-ininstalls it in a scratch repo.See
CONTRIBUTING.md→ "Adding a catalog BEC".