refactor(license): retire TierEnterprise + TierTestSuite alias (no grandfathering) - #448
Merged
Merged
Conversation
Pre-v1 no-grandfathering: Enterprise (tier 3 / product code 3001) is not a SKU per LICENSE_STRATEGY (folded into Professional) and was still grandfathering previously-issued tokens to Pro features. Remove it entirely — a token presenting tier 3 or code 3001 is now REJECTED (falls through to 'Invalid license tier' / product-code mismatch), not silently upgraded. Also drop the deprecated TierTestSuite alias (0 internal callers; pre-v1 = no external-compat obligation). - validator.go: remove TierEnterprise, codeEnterprise, TierTestSuite + the String/Validate/productCodeMatchesTier cases for tier 3. - help: drop dead TestSuite/Enterprise tier copy (config.go, errors.go). - ADR-0007: amendment documenting the retirement; valid codes now 1001/2001 only. Keygen must stop minting 3001 (cross-repo follow-up). - tests: Enterprise-validates assertions flipped to assert rejection; TierTestSuite->TierProfessional. Fleet: niac (Free/Pro) + seed (Free/Starter/Pro) already have no Enterprise tier — licenses now aligned to the locked matrix fleet-wide.
krisarmstrong
enabled auto-merge (squash)
June 16, 2026 13:46
Contributor
License Compliance ReportAll dependencies pass license compliance checksGo Dependencies
npm DependenciesSee full report in workflow artifacts Allowed Licenses: MIT, Apache-2.0, BSD-*, ISC, CC0-1.0, MPL-2.0 |
1 similar comment
Contributor
License Compliance ReportAll dependencies pass license compliance checksGo Dependencies
npm DependenciesSee full report in workflow artifacts Allowed Licenses: MIT, Apache-2.0, BSD-*, ISC, CC0-1.0, MPL-2.0 |
Contributor
License Compliance ReportAll dependencies pass license compliance checksGo Dependencies
npm DependenciesSee full report in workflow artifacts Allowed Licenses: MIT, Apache-2.0, BSD-*, ISC, CC0-1.0, MPL-2.0 |
Contributor
License Compliance ReportAll dependencies pass license compliance checksGo Dependencies
npm DependenciesSee full report in workflow artifacts Allowed Licenses: MIT, Apache-2.0, BSD-*, ISC, CC0-1.0, MPL-2.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Retire the Enterprise tier (tier 3 / product code 3001) and the deprecated
TierTestSuitealias entirely. Tokens presenting tier 3 or code 3001 are now REJECTED (no grandfathering), not silently upgraded to Professional. Fleet licenses aligned to the locked matrix (niac/seed already have no Enterprise tier).Linked Issue
Related to #450
Testing Evidence
Security and Release Checklist