Skip to content

Declare Beta maturity and start the path to 1.0.0#59

Merged
DataDave-Dev merged 3 commits into
mainfrom
toward-1.0
Jul 2, 2026
Merged

Declare Beta maturity and start the path to 1.0.0#59
DataDave-Dev merged 3 commits into
mainfrom
toward-1.0

Conversation

@DataDave-Dev

@DataDave-Dev DataDave-Dev commented Jul 2, 2026

Copy link
Copy Markdown
Owner

What & why

Answers "are our releases stable?" honestly: they are functionally solid (green suite, published on npm+PyPI, dogfooded) but we never declared maturity or committed to a stability contract. This PR declares Beta, publishes a concrete path to 1.0.0, and knocks out the first substantive items on that path.

Changes

Declare Beta + publish the plan (chore)

  • pyproject.toml: add the Development Status :: 4 - Beta classifier.
  • README.md / README.es.md: new Stability & versioning section — what the 1.0.0 contract covers and the exit criteria to get there.
  • CHANGELOG.md: [Unreleased] entries.

Version the .bec/rules.yaml format (feat)

  • Discovered the .bec.yaml export bundle was already versioned (becwright_bec); the real unversioned format was .bec/rules.yaml. Corrected the checklist accordingly.
  • Add an optional top-level schema_version (absent means 1, so existing files keep working).
  • becwright init stamps it; load_rules refuses a file stamped newer than the engine understands with a clear "upgrade becwright" error. No migration code yet (YAGNI until a v2 exists).

Document + lock the stable CLI contract (docs)

  • documentation/usage.md (+ .es): the exit codes (0 pass / 1 a blocking rule failed / 2 config or usage problem), the check --json output shape, and the schema_version key.
  • Contract tests lock the exit-code-2 paths and the JSON key sets (payload + rule_record), so any shape change is a deliberate, reviewed break rather than a silent drift.

Path to 1.0.0 (checklist state after this PR)

  • Version both on-disk formats so a newer file fails loudly instead of misparsing.
  • Freeze the rules.yaml field set.
  • Document and stabilize CLI exit codes and the check --json shape.
  • State a deprecation policy.
  • Validate on real repositories beyond this one.

Test plan

  • pytest — 251 passing (+10 new across schema_version, init stamping, exit codes, JSON key contracts).
  • E2E: becwright init writes schema_version: 1; a file stamped 99 is rejected with the upgrade error.
  • Backward compatible: files without schema_version load unchanged.
  • becwright's own pre-commit hook passes on every commit in this PR.

Add the Development Status :: 4 - Beta classifier and a public
Stability & versioning section (README + README.es) that states what the
1.0.0 contract covers (rules.yaml schema, .bec.yaml bundle format, check
names, CLI commands and exit codes, check --json shape, MCP signatures)
and the exit criteria to reach it.
Add an optional top-level schema_version to .bec/rules.yaml. Absent means
1, so every existing file keeps loading unchanged. becwright init stamps
the current version, and load_rules refuses a file stamped newer than the
engine understands with a clear 'upgrade becwright' error instead of
risking a silent misparse. No migration code yet — that is added when a v2
format actually exists.

This closes the on-disk-format half of the path to 1.0.0: the .bec.yaml
export bundle was already versioned via becwright_bec; rules.yaml was the
remaining unversioned format.
Document the exit codes (0 pass / 1 a blocking rule failed / 2 config or
usage problem) and the check --json output shape in documentation/usage.md
(and .es), plus the optional schema_version top-level key. Lock both the
exit-code-2 paths (unknown built-in check, malformed rules.yaml) and the
JSON key sets (payload + rule_record) with contract tests, so any change to
the shape is a deliberate, reviewed break instead of a silent drift.

Advances the path to 1.0.0: exit codes and check --json are now a stated,
test-enforced contract.
@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@DataDave-Dev, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 54 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: b92cbe31-2f18-4093-ad56-4f8f9f09746a

📥 Commits

Reviewing files that changed from the base of the PR and between c43b64c and 7dd519d.

📒 Files selected for processing (11)
  • CHANGELOG.md
  • README.es.md
  • README.md
  • documentation/usage.es.md
  • documentation/usage.md
  • pyproject.toml
  • src/becwright/cli.py
  • src/becwright/rules.py
  • tests/test_init.py
  • tests/test_report_and_json.py
  • tests/test_rules.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch toward-1.0

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@DataDave-Dev DataDave-Dev merged commit 56359a5 into main Jul 2, 2026
4 of 5 checks passed
@DataDave-Dev DataDave-Dev deleted the toward-1.0 branch July 2, 2026 16:53
@DataDave-Dev DataDave-Dev mentioned this pull request Jul 2, 2026
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant