Skip to content

fix: count plan as billing only as a pricing plan, not plan-change - #86

Merged
matheusPavaneli merged 2 commits into
mainfrom
WB-60-the-billing-zone-matches-any
Sep 27, 2026
Merged

matheusPavaneli merged 2 commits into
mainfrom
WB-60-the-billing-zone-matches-any

Conversation

@matheusPavaneli

Copy link
Copy Markdown
Owner

What

The billing zone counts plan only as a pricing plan.

Why

WB-60. The pattern matched plan anywhere in a path, so skills/plan-change/SKILL.md, planner.py and explanation.md were held to the billing bar. wb finish sent WB-58 to the standard route for it.

How

  • plan must be a path token of its own: after the start, /, _, . or -, and before /, _, . or the end. So plans/, plan_limits.py, subscription_plan.ts and plan.ts still match, and plan-change, planner and explanation do not.
  • pricing joins the pattern.
  • The change was committed by wb finish WB-60 --commit: suite passed, and the regression test was proven on the base.

Verification

  • test_profile.CriticalZones: the new test fails on 5 cases without the fix and passes with it.
  • The audit, tier, amend, hooks, light and consistency suites: 214 tests OK.

Risk and rollback

A path that held the billing bar only because it contained plan inside another word is no longer held to it. Plans audited with the old zones will see a zone mismatch at their next audit, which is the audit doing its job. Revert to undo.

@matheusPavaneli
matheusPavaneli merged commit ed58420 into main Sep 27, 2026
10 checks passed
@matheusPavaneli
matheusPavaneli deleted the WB-60-the-billing-zone-matches-any branch September 27, 2026 04:11
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