Task 7 needed no new migration, and top-level orgs must be included

Docskamo-internal
Shipped
August 24, 2026 at 10:46 PM UTC
Author
kamo
Commit
15da223

The app-tree backfill turned out to already exist as **************** restricted to isGated() verticals. Dropping that restriction is the whole change. Records the finding that cost a second KI run: the loop skipped top-level orgs, which was correct when it only granted lending apps but wrong for the app tree, because isAppEffectivelyEnabled requires an OrgFeature row and has no top-level exemption. KamoCRM runs active RETAIL and SUBSCRIPTION markets and would have lost both.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing