refactor(ee): move every enterprise feature's server code under ee/<feature>/lib - #7574
Closed
waleedlatif1 wants to merge 1 commit into
Closed
refactor(ee): move every enterprise feature's server code under ee/<feature>/lib#7574waleedlatif1 wants to merge 1 commit into
waleedlatif1 wants to merge 1 commit into
Conversation
…eature>/lib Everything the enterprise feature flags turn on now lives with its UI in apps/sim/ee, following the layout workspace forking already used: - access control lib/permission-groups → ee/access-control/lib - audit logs lib/audit-logs → ee/audit-logs/lib - data drains lib/data-drains → ee/data-drains/lib - data retention lib/billing/retention → ee/data-retention/lib - session policies lib/auth/session-policy → ee/session-policy/lib - SSO lib/auth/sso → ee/sso/lib - custom blocks lib/workflows/custom-blocks → ee/custom-blocks/lib - usage monitoring lib/billing/application/organization-usage → ee/organization-usage/lib Pure move: git renames plus import rewrites, with the graph, capability, enforcement, and registry-boundary checks repointed. Contracts stay in lib/api/contracts and routes under app/api; the README documents the layout. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DGXcwsHzYGp6pUDWRtJKpz
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
Too many files changed for review (334 files, 100 file limit). Bypass the limit by tagging |
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
Everything the enterprise feature flags turn on now lives with its UI under
apps/sim/ee/<feature>/, following the layout workspace forking already used (ee/workspace-forking/lib). This is a pure move: git renames plus import rewrites. No logic changed.lib/permission-groupsee/access-control/liblib/audit-logsee/audit-logs/liblib/data-drainsee/data-drains/liblib/billing/retention.tsee/data-retention/lib/retention.tslib/auth/session-policy.tsee/session-policy/lib/session-policy.tslib/auth/ssoee/sso/liblib/workflows/custom-blocksee/custom-blocks/liblib/billing/application/organization-usageee/organization-usage/libContracts stay in
lib/api/contractsand routes underapp/api, soee/is imported by the rest of the app rather than importing it. Theee/README.mdnow lists every feature and documents thelib/hooks/componentslayout.Not moved, deliberately:
lib/execution/sandbox(the function runtime is core; thesandboxesflag gates a product surface, not this code),lib/branding(the open-source default branding that whitelabeling overrides),lib/credential-groups(not an enterprise-flagged feature), and theinboxandorganizationsflags, which gate core code.Path pins updated
scripts/check-application-graph.ts(+ test),scripts/check-capability-subject.ts(+ test),scripts/check-permission-group-enforcement.ts,scripts/generate-block-successors.ts,scripts/check-tool-registry-boundary.baseline.json,packages/testing/src/mocks/permission-group-scope.mock.ts.Verification
bunx turbo run type-check— all 26 workspacesbun run check:audits— all 45 pass (graph, capability-subject, enforcement, and registry-boundary checks re-pointed)bun run docs-manifest:check— passSequencing
#7567 (SCIM) edits two files this PR moves (
lib/auth/sso/application/admit-sso-user.ts,lib/billing/organizations/membership.ts) and adds one under a moved directory (lib/permission-groups/application/group-membership.ts). Merge #7567 first, then this branch gets a mechanical rebase (rerun of the same rename and import rewrite) before merging.🤖 Generated with Claude Code
https://claude.ai/code/session_01DGXcwsHzYGp6pUDWRtJKpz