Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12", "3.13", "3.14"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down
3 changes: 2 additions & 1 deletion README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ npm install --save-dev becwright # local al proyecto; el hook lo encuentra

Por npm/pnpm **no hace falta Python** — viene un binario autónomo por plataforma
(`linux-x64`, `linux-arm64`, `darwin-x64`, `darwin-arm64`, `win32-x64`). En
cualquier otra plataforma, usá `pipx install becwright`.
cualquier otra plataforma, usá `pipx install becwright` con Python 3.10 o más
nuevo.
</details>

### Sentilo frenar, en 90 segundos
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ npm install --save-dev becwright # project-local; the hook finds it in node

Via npm/pnpm there's **no Python required** — a self-contained binary ships per
platform (`linux-x64`, `linux-arm64`, `darwin-x64`, `darwin-arm64`, `win32-x64`).
On any other platform, use `pipx install becwright`.
On any other platform, use `pipx install becwright` with Python 3.10 or newer.
</details>

### Feel it block, in 90 seconds
Expand Down
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Packaging for becwright. Target Python 3.12 (current environment has 3.14).
# Packaging for becwright. Target Python 3.10+.
# Minimal dependencies on purpose: only pyyaml (project convention).
[build-system]
requires = ["setuptools>=61"]
Expand All @@ -9,7 +9,7 @@ name = "becwright"
version = "1.0.0"
description = "The enforcement layer for AI coding agents — deterministic, portable constraints (BECs) that block a commit when a rule breaks, for AI-written and human-written code."
readme = "README.md"
requires-python = ">=3.12"
requires-python = ">=3.10"
authors = [{ name = "Alonso David De Leon Rodarte" }]
license = { text = "MIT" }
keywords = [
Expand All @@ -30,6 +30,8 @@ dependencies = ["pyyaml>=6"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Environment :: Console",
Expand Down
3 changes: 2 additions & 1 deletion src/becwright/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,8 @@ def _print_claude_summary(derived: list[tuple[dict, str]]) -> None:
print(_style("From CLAUDE.md:", BOLD),
f"{len(derived)} enforceable rule(s) derived —")
for rule, trigger in derived:
print(f" {_style(rule['id'], GREEN)} {_style(f'(matched: \"{trigger}\")', DIM)}")
matched = f'(matched: "{trigger}")'
print(f" {_style(rule['id'], GREEN)} {_style(matched, DIM)}")
print(_style(" Judgment-based guidance (architecture, naming, style) has no", DIM))
print(_style(" deterministic check — becwright leaves that to CLAUDE.md.", DIM))

Expand Down
Loading