feat(edition): Tier 1 ungating - #14
Conversation
What it actually doesRemoves paywalls from the OSS build's UI and API:
Why it exists / what "ungating" means hereUpstream's OSS edition locks two things that have nothing to do with actual capability:
The locking mechanism was that validator, wired only through the OSS init seam ( Reading order
What to scrutiniseThe deleted validator, not the UI. The old code's own comment said it plainly: "Without this lock OSS would accept-and-store
Design decisions worth questioning
Test coverage realityThe two deleted test files ( Reviewer orientation guide — produced by analysing this PR's diff and surrounding code, not the commit messages. Claims about line numbers and behaviour are worth spot-checking as you read; where it says something is untested or risky, that was verified against the tree rather than inferred. |
Reconciliation Stage A. getCurrentPlan() reports enterprise; the OSS policy validator wiring and now-empty policy-flags/policy-oss-locks modules are removed (the coherence bridge was already dropped upstream); lock affordances are edition-neutral (UnavailableBadge, informational ProAppDialog); the OneCLI Cloud promo blocks and cloud_only error string are removed. No agent-group code, no migration.
23d0d00 to
b22b39b
Compare
Removes the upsell/lock gating from features the open edition ships unlocked. 23 files, +73/−442 — almost entirely deletions.
Smallest PR in the stack and the place to start: it establishes the edition model everything above depends on.
team-badge.tsx, addsunavailable-badge.tsxStack
Split out of the original 381-file #8. Upstream catch-up (v1.42.0 → v1.44.0) already landed as #10, so
mainis now v1.44.0 and everything below is our own code.Review and merge in order, top to bottom. Roughly half of each diff is tests.