fabbr@site:~/projects/burl$

burl

// ~/projects/burl.ts
const burl = {
  status: "prototype",
  started: "2026-10-01",
  tags: ["typescript", "node", "aws", "opentofu"],
};

Burl mission patch: an embroidered burl, the knotted cross-section of a tree, crossed by lines that meet at a balance scale, ringed by “Payment reconciliation ledger”

Between late 2024 and 2025, at the startup, I built a boleto integration with Sicoob from scratch. Its APIs were poorly documented at the time, and have only improved since; there was no code anywhere showing how to connect to them, and AI agents weren’t yet something I could lean on, so I worked it out by hand, by trial and error. We acted as a payment gateway between Sicoob and the client, without ever moving the money ourselves, and once I understood that, it eased my worries and let me build better software. Reconciling back worked well once I’d found how: Sicoob’s webhooks, and a daily JSON dump of events fetched with a dedicated API query. The hard part was the discovery.

Burl takes that further, to see the broader market: providers like Cielo, Mercado Pago and Asaas have far better developer experience, and I want to work with that. It’s also how I exercise distributed systems and the banking domain together, on AWS. AWS came from a boot.dev course and video, and from wanting to know the platform well enough to architect a system on it.

The domain

The merchant is a scenario I chose because it fits the project; no real product integrates with burl. In it, a tenant is a merchant with several units and channels: over the counter, online, and through platforms that settle on their own calendars. Fees change at the next negotiation, and money arrives days or months after the sale. Each provider holds its own record of that money, and they can disagree.

Burl is meant to observe that money across providers, never moving it, and to reconcile the records into one ledger, sorting the disagreements, its divergences, into a fee, a partial refund, a timing gap or a real loss. Most of them are ambiguous rather than wrong, so what it should produce is a judgement with a lifecycle that still holds up months later. So far the ledger is built, and the reconciliation is designed but not yet written.

It’s headless. The merchant’s software would integrate through a versioned API, and a command-line client is the reference integrator.

How it got here

Burl’s first prototype came before Magellan, my sensor pipeline, and started from what I knew of Terraform and AWS. Then I moved to Magellan. Back on burl, as with Magellan, I cut its scope and went backend first: on 2026-10-01 it became headless and API-first, with its infrastructure split into a repository of its own. By 2026-10-03 it was at v0.4.0, with the deployment path and the store, a ledger behind its first API routes, where every transaction’s entries sum to zero at commit, and counters for what it records, refuses and faults on. Then I went back to Magellan until Magellan was ready as an MVP, and burl has had only small tweaks since.

Infrastructure

burl-infra puts the released service on AWS with OpenTofu, the open-source fork of Terraform: a state backend, the functions, and a network holding a Postgres store with no public address, reached only from a function or from a bastion that holds no key. It deploys published releases, never a build, and everything comes up and goes down by command, because I fear AWS more than my own mother. Jokes aside, burl is a side project, so I made it cheap to park: a month parked cost $0.10, against about $3 while I was developing it.

What’s next

When I pick it back up, the first step is bringing over what Magellan taught me, mainly its improved TigerStyle guide. Then the dashboard and fault alarms that finish the ops view, the maintainer’s picture of what the system is doing. After that comes ingestion: the first provider’s claims arriving as an uploaded file, and the merchant’s records through the API. That’s where the event-driven patterns I want to practise come in, an outbox, idempotent consumers and sagas. Reconciliation and the divergence lifecycle follow.