---
package: "@webjsdev/cli"
version: 0.10.1
date: 2026-06-01T12:00:00+05:30
commit_count: 1
---
## Features

- **Scaffolded apps ship a test-coverage gate** ([#164](https://github.com/webjsdev/webjs/pull/164)) [`72e4af8`](https://github.com/webjsdev/webjs/commit/72e4af8)
  `webjs create` now wires a commit-time gate into every new app so a change
  cannot ship with the wrong test layers. The scaffold carries a
  `.claude/hooks/require-tests-with-src.sh` PreToolUse hook (registered in
  `.claude/settings.json`) that blocks a `git commit` staging source with no
  accompanying test, and blocks a commit that net-removes test lines, with
  `WEBJS_NO_TEST_GATE` / `WEBJS_ALLOW_TEST_REMOVAL` escape hatches. The same
  floor is enforced for non-Claude agents through the universal
  `.hooks/pre-commit`, and the scaffold `AGENTS.md` / `CONVENTIONS.md` spell
  out unit / browser / e2e / smoke as a per-layer Definition of done. Most
  webjs apps are built with an AI agent, so the gate reaches end-user
  projects, not just the framework repo.
