Skip to content

Code separation ​

OpenAct has open source parts and proprietary parts. The boundary between them must stay clear. A mistake here can leak paid code, or can pull open source terms into paid code.

The four zones ​

ZoneRepositoryLicenseWhat goes here
Core platformmarketgrowth/openactMPL 2.0Core server, web shell, host, website, plan gate and license keys
SDK and specificationsmarketgrowth/openactMPL 2.0Public entry points of @openact/core and @openact/ui, MCP and agent tools, docs, directory
Starter appsmarketgrowth/openactMPL 2.0Projects, Library, WorkSpent, CMS, examples
Premium and enterprisemarketgrowth/openact-director (private)ProprietaryDocs, Advisory, eSign, later Director and Producer apps, enterprise features

The file REUSE.toml has the exact path for each zone. See Licensing.

Rules ​

  1. Premium code never enters the public repository. This includes copies, snippets and tests of a paid app. test/licensing.test.ts fails when a paid app folder or manifest appears.
  2. Dependencies point one way. The core never imports from an app. Apps import only from @openact/core/server, @openact/core/shared and @openact/ui. A premium app uses only the public SDK, like a third-party app. This keeps the premium code free of MPL 2.0 files that it changed.
  3. A core change that a premium app needs goes to the public repository first. It joins as a public SDK change. The private repository then takes it in with git merge.
  4. Do not change an MPL 2.0 file inside a premium app. If a premium app needs a different behavior, add a hook or a slot to the SDK. If a premium app copies an MPL 2.0 file and changes it, the changed file falls under MPL 2.0, and you must share it.
  5. No copyleft in production dependencies. GPL, AGPL and similar licenses never enter the core or a premium app. See SBOM.
  6. The plan gate stays in the core and stays closed. Never add a way around companyAppState. Never add an MPL notice to a premium file. Never change an app's plan or released field unless MarketGrowth asks.
  7. Mark each new file. Every file that MarketGrowth writes is under MPL 2.0, and a file needs no license line. Only third-party code keeps its own license, and REUSE.toml lists it.
  8. No secrets or keys in the public repository. The private signing key for license keys stays out of the repository. Only public keys are in license-keys.ts.

How the zones fit together ​

marketgrowth/openact  (public)
  Core platform  ........... MPL 2.0   packages/core, packages/ui (shell), src, www
  SDK and specs  ........... MPL 2.0   shared types, app system, MCP tools, docs
  Starter apps   ........... MPL 2.0   apps/*, examples/*
        |
        |  git merge (private takes in public main)
        v
marketgrowth/openact-director  (private)
  Premium apps   ........... Director License 1.0 / proprietary
  Enterprise features ...... proprietary
  Uses only the public SDK

What is open and what is paid, by feature ​

FeatureZone
Sign-in, companies, roles, permissions, live updates, emailCore platform
App system, defineServerApp, defineClientApp, manifestSDK
Agent access (MCP) and AG-UI toolsSDK
Projects, Library, WorkSpent, CMSStarter apps
Plan gate, license keys, billingCore platform (public code, the gate protects paid apps)
Docs, Advisory, eSignPremium apps
Single sign-on, audit export and other Producer-level features, when builtEnterprise features

Review checklist for a pull request ​

  • [ ] Does each new file sit in the folder of its zone?
  • [ ] Is each new path in REUSE.toml?
  • [ ] Does npm test pass, including test/licensing.test.ts?
  • [ ] Does a new dependency pass npm run sbom -- --check?
  • [ ] Does the change leave the plan gate as it was?
  • [ ] Does an outside contributor have a signed CLA?

Open source under the MPL 2.0. Made by MarketGrowth.