Build versus borrow

What this is

A record of every third-party component the platform runs, or has considered and declined, with the licence, language, sovereignty position and the verdict.

It is held as data in registries/adoption.yaml rather than as a document, so the decisions are queryable, the doctor can check them, and a component that was declined cannot be quietly reintroduced later by someone who did not know why.

The decision rules

In priority order. A component that fails rule 1 or 2 is disqualified before anything else is discussed.

rulethe questiondisqualifying when
1. Licenceis the open edition genuinely open, OSI-approved, and does it permit self-hosted commercial use inside a bank?permission, role or plan-enablement code is carved out of the open grant, or the licence is non-OSI for the edition we would run
2. Languagewhat is it written in, and does that conflict with project law?Python, for anything first-party. A Python upstream may be run as a vendored container, never extended
3. Sovereigntydoes it work offline, on premises, with no paid account or cloud dependency?account-bound or cloud-only, unless the dependency is explicitly accepted and recorded
4. Governance fitcan its governance model be expressed as playbook primitives, or would adopting it replace the registry as the source of truth?it must own the approval or audit record
5. Security posturedoes the open edition carry real access control, audit and a credible patch cadence?RBAC, audit or backup sit behind a paid tier for the edition we would run
6. Strategic valueis this the differentiated product, or commodity infrastructure?commodity should be borrowed. Only the differentiated core is worth building
7. Maintenancewho maintains it, and what is the drift cost if we fork?a fork that drifts silently misses upstream security fixes

The rule that does the most work

Rule 4 is the one that is easy to miss and expensive to get wrong.

If a product's governance model can be expressed as primitives, adopt the product as an execution backend and keep the registry authoritative. If it cannot, and the registry must defer to it, then it is replacing the governance rather than serving it, and that is a much larger decision.

This is what declined Bytebase. On capability it was a strong fit. But its approval workflow and audit log would have become a second source of truth for approval, alongside the primitive properties and the playbook registry that already hold that role.

The verdicts

verdictmeans
BUILDwrite it first-party, in Rust or bun, because it is strategic and nothing adequate exists
BORROWrun it as a pinned upstream dependency, configured but not patched
FORKadopt and maintain a fork, accepting the drift cost, with a named owner and a rebase cadence
SKIPdeclined, with the reason recorded so it is not reconsidered blindly
BUYadopt under a commercial licence, with the cost and the exit path recorded
CANDIDATEpromising, not yet decided, with the open question named

The current position

Decided by licence or language

componentverdictlicencewhy
golang-migrateBORROWMITOSI-approved, Go, fully offline. Adopted as the migration backend
BytebaseSKIPMIT with a proprietary carve-outpermission and plan-enablement code is excluded from the MIT grant; governance features are paid
ClickHouseCANDIDATEApache-2.0genuinely open, RBAC in the open build, held pending four control preconditions
Neo4j CommunitySKIPGPLv3no RBAC, no sub-graph access control, no online backup
Neo4j EnterpriseBUYcommercialthe only edition with RBAC and online backup, which the target requires
Apache AGECANDIDATEApache-2.0graph inside the PostgreSQL already deployed, so it inherits RBAC and backup
LiquibaseSKIPFSL 5.0+the current licence is not OSI-approved
AtlasCANDIDATEApache-2.0Go and permissive; the alternative if declarative schema diffing is wanted
schemachangeSKIPApache-2.0Python, which law forbids, and Snowflake-locked so it cannot target Postgres
pg_lakeCANDIDATEApache-2.0the one snowflake-labs artefact that works offline with no account
GraphAware FrameworkSKIPGPLv3archived in 2021, Neo4j 3.x era
neo4j-config-cliBORROWApache-2.0declarative database reconciliation, same pattern as the registries

Borrowed and running

componentlicencelanguagerole
CaddyApache-2.0Goreverse proxy and TLS
OpenBaoMPL-2.0Gosecrets management
HeadscaleBSD-3-ClauseGoself-hosted mesh control plane
WazuhGPLv2C, Java, JSSIEM and host intrusion detection
LiteLLMMIT plus an enterprise directoryPythonAI gateway, accepted upstream, never extended
PlantUML serverMITJavalocal diagram rendering
FossFLOWMITTypeScriptisometric diagrams
BunMITZig, C++the sanctioned scripting runtime
docker-socket-proxyApache-2.0Goread-only Docker API for the indexer

The platform is overwhelmingly a borrow platform. That is the correct position: it is not differentiating on a reverse proxy or a SIEM.

Anti-patterns this sheet exists to catch

  1. Adopting a component whose open edition lacks the control you need, then discovering at audit that RBAC was a paid tier. Neo4j Community and Bytebase are both this.
  2. Adopting a Python component as first-party code. A Python upstream as a vendored container is fine and recorded; extending one is a law breach.
  3. Forking without an owner or a rebase cadence. A drifted fork silently misses security fixes, and in a bank that is not acceptable.
  4. Letting a product become the governance record. Two sources of truth for approval is worse than one, even when the product is better at it.
  5. Re-deciding something already declined. The SKIP rows carry their reason precisely so the argument does not have to be had twice.

What is missing

The sheet is honest about its own gaps.

  1. Sixty-plus repositories are under evaluation in ten themed groups. Their verdicts will be added as they land.
  2. Python upstreams are recorded per component but there is no estate-wide count. The platform clearly runs several. That register should exist.
  3. No exit cost is recorded for the BUY rows. Neo4j Enterprise has a price and a migration path away from it, and neither is written down.
  4. The doctor checks are specified but not written: adopted_component_missing_licence, adopted_component_python, adopted_component_no_rationale.

How to use it

  1. Before adopting anything, work the seven rules in order and stop at the first disqualification.
  2. Record the verdict in registries/adoption.yaml with its evidence URL, not in a document.
  3. If the verdict is SKIP, write the reason. The reason is the deliverable.
  4. Re-run the collector and the doctor. A component with no licence recorded is a finding.