ADR 0029: Karyo is one Apache-2.0 product; revenue is the managed service
Status: Accepted; superseded in part by ADR 0031 (the Loci integration is no longer queued beyond this phase) and by ADR 0032 (the public-repository and any-reader phrasing; the one Apache-2.0 distribution itself is current).
Context
At the Karyo 2.0.0 release the product becomes one fully open-source distribution. Every capability a warehouse needs, including all ten engine capabilities, ships in the public Apache-2.0 repository, in one build, in one container image. Revenue comes from operating Karyo and standing behind it - hosting, operations, backups, upgrades, observability, support and service commitments - not from withheld source.
The copyright holder has confirmed the required rights for this transition, and transition
obligations toward existing licence arrangements are addressed. Karyo becomes a first-class FOSS
repository: readable, buildable, testable and extendable by anyone, with a standard open-source
trademark policy
(TRADEMARK.md) protecting the Karyo and VoyagerForge names without restricting the code
licence.
This decision replaces the per-module free/commercial split (ADR 0020, superseded) and the signed-entitlement gate that shipped with it (ADR 0021, superseded); their records remain as history. The runtime licence machinery was left in place by this decision and retired by the next one, ADR 0030.
Decision
- The repository is the product. All nine engine
-coremodules - waves, cross-docking, streaming, cartonization, document templates, monitors (including 3PL billing), forecasting, slotting and simulation - are permanent public subprojects of the one build (settings.gradle.kts), licensed Apache-2.0 like every other module. The application image is Apache-2.0 only, with a literalorg.opencontainers.image.licenses=Apache-2.0label and no per-module licence markers. - The equipment adapter SPI moves into the
-apiboundary.com.karyo.tasks.spi.equipmentlives inkaryo-tasks-api(the equipment adapter SPI); the selection logic over its factories stays with the cross-docking engine. The one documented core-to-core ADR 0006 waiver (karyo-monitors-core->karyo-replenishment-core) is unchanged and is now an ordinary intra-repository waiver. - The slotting advisor is preserved for source parity; Loci is the canonical slotting engine.
karyo-slotting-coreremains in the distribution with its behaviour intact while the Loci integration (queued beyond this phase) takes over slotting analysis and recommendations; Karyo keeps warehouse data, hard constraints, authentication, the review/application workflow and the UI. See the engine boundaries and the public source record. - Entitlement authority is retired separately. This decision changed source and build
ownership only; ADR 0030
retires the runtime gate, keeping
GET /api/v1/licenseand the licence settings as a compatibility bridge. - The old licence-distribution boundary is retired. There is no per-customer image path, no commercial-licence staging and no dual image-licence label; one public build produces the one product.
Figure 1. One repository, one deployable, one image: the 53 Apache-2.0 subprojects resolve into the ten engine capabilities and services/karyo-app, and the application becomes the one image whose licence label names Apache-2.0.
Derived from the decision above and services/karyo-app/build.gradle.kts; source
docs/diagrams/06-one-repository-distribution.mmd.
The slotting boundary inside that distribution, as confirmed for Karyo 2.0, is:
Figure 2. The slotting boundary inside the one distribution: Karyo keeps warehouse data, hard constraints, authentication, the review/apply workflow and the UI while transitional karyo-slotting-core keeps source parity, and the analysis lives with Loci, the canonical slotting engine.
Derived from the decision above and the engine boundaries; source
docs/diagrams/07-slotting-boundary-inside.mmd.
Consequences
- One build shape. Project enumeration, tests,
detektand the image are the same for every user; the optional-commercial-overlay machinery, its Gradle property resolution and the test grafting are deleted. - The gate came with the code, and is retired separately. Every capability is available on every installation (ADR 0030).
- The full capability set is inventory-visible. NOTICE, the README, this record and the boundary document all name the ten capabilities, so none is omitted from the 2.0.0 story.
- The public schema and Flyway history are unchanged. The engines' schema was already in the aggregator and applies to every installation; the change adds no migration and no data migration.
- The 1.x licence defects are gone. Entitlement-lapse defects (stranded waves, the unsigned-list fallback) and gating defects went with the gate (ADR 0030).
Alternatives considered
- Keeping the per-module commercial boundary (status quo). Rejected by the captain: the product definition changes to one open distribution with a managed-service revenue model.
- Publishing engines as separate downloadable artifacts under their own licences. Rejected: it preserves a paid-distribution channel for code that is now plain Apache-2.0 and adds release machinery without product value.
- Removing the entitlement machinery in the same change. Rejected: this phase changes source and build ownership, not runtime licensing semantics; retiring the gate, the endpoint and the UI is sequenced follow-up work so that deployments and clients never break in one step.
Evidence
settings.gradle.kts- the nine engine modules as unconditionalinclude(...)entries; no overlayservices/karyo-app/build.gradle.kts- unconditional engine dependencies; the engine test suites in the module's ownsrc/testinfrastructure/docker/Dockerfile.service- the literalApache-2.0licence labelNOTICE- single Apache-2.0 grant naming all ten capabilities; the myWMS clean-room paragraph unchangedTRADEMARK.md- the approved open-source trademark policydocs/architecture/public-source-record.md- the distribution record and the slotting source-parity inventory
Related
- ADR 0032 - the repository is private with invited access; supersedes the public-reader parts of this record
- The engine boundaries - how the engines sit in the one distribution
- ADR 0030 - the licence gate retired, its interfaces kept for compatibility
- Modules and boundaries - the module graph, including the monitors/replenishment waiver
- ADR 0006 - the
-api/-corerule the equipment SPI move follows - ADR 0020 - superseded
- ADR 0021 - superseded