Skip to content

Why every AI-written change to your accounting system should wait in an inbox

Agents can draft good workflows. They should not be able to ship the ones that touch the ledger. How Cosbase turns a workflow change into a summary a person approves in a minute, and why small additions go live on their own.

The most productive thing an agent can do for a business is also the most dangerous: change the system. Track something new. Add a lifecycle. Open an account for deposits held. In Cosbase, agents do all of that, and the changes that touch the books do not go live until a person says so.

This post is about what that approval looks like, which changes skip it, and why we think it is the right trade.

A workflow is a definition, not code

When an agent sets up equipment rentals, it does not write software. It drafts a workflow definition: a short document that declares the records the business tracks (machines with a serial number and a day rate; rentals with a customer, dates and a lifecycle from out to returned), which moves between states only a person may make, the saved views people filter by, which records the books are split by, the accounts the workflow needs, such as Rental Deposits Held, the actions people take (check out, check in) as a short list of steps, and the rules that make a run wait for a person, such as a deposit over five thousand.

That is data, read by one engine that is reviewed and tested once for every company. An agent cannot slip a network call or a hand-written journal entry into a definition, because the vocabulary has no words for them. And a definition is something an owner or a CPA can actually read, which is what makes approving it meaningful.

Every version is kept. Nothing is edited in place.

What runs before you see it

Before a change reaches anyone, the system checks it on its own.

Validation. Names, field types, references between types, the key each record is known by, and clashes: a type cannot be named after a built-in one (an agent that tries to define customer is pointed at contacts), and an account the workflow asks for cannot already exist with a different type. Every problem is reported at once, in plain words.

A change plan. The new version is compared with the one that is live, record type by record type and field by field, and against the records that already exist. Each change gets a line: new record type Rental (a ledger dimension), new field branch, field day_rate removed, new account 1210 Rental Deposits Held.

Refusals. Some changes would lose or orphan data: changing a field from text to a number while records hold text, removing a type that has records, adding a required field that existing records do not have, giving states to a type whose records have none. Those are refused with the reason, before anyone is asked.

Three tiers

Approving every change would stall real use, so it is tiered.

Additive changes go live at once for anyone with the builder role: a new record type, a new optional field, a new view, an action that moves no money, a new approval rule. They cannot break what exists, and they are one rollback away.

Changes that remove something or touch the ledger wait for the controller. Removing a field, a state or an action, adding a record type that the books are split by, creating accounts, adding or changing an action that raises invoices or posts entries, dropping an approval rule. The inbox card reads like a sentence, not a JSON diff: workflow rentals v4: equipment: field day_rate removed (hidden; records keep its values). The agent's reasoning and the request you typed are on the card too.

Changes that would lose data are refused, as above. Nobody approves them, because there is nothing safe to approve.

Your rules can ask for more

Workflow changes go through the same approval rules as entries. A rule can match the kind of change, its tier and the workflow's name, so a company that wants every change reviewed adds one line, kind == 'workflow_change', and from then on an agent's additions wait for a person too. There is also a setting that trusts builders with every tier, on the evidence of their own examples, and it is on by default: a version whose examples exist and all pass against the books activates on its own, one without examples waits as before, and one whose examples fail never activates. A company that wants a person on every change switches it off.

Why not let the agent ship it?

Because the cost of the inbox is a minute and the cost of a wrong ledger tag or a stray account is a month end that does not reconcile. Because a definition is drafted by the same agent that will later use it, and it only covers what someone thought to ask for. And because the person approving usually knows something the agent does not: that deposits over five thousand need a signature, that the rental branch in Austin closed, that a vendor was renamed.

The same shape for everything that matters

Workflow changes are one kind of inbox item. Large entries, equity movements, low-confidence posts, posts into a soft-closed month, settings a builder asks to change and access changes an agent proposes all use the same mechanism: staged, visible with their reasoning, decided by a person with the right role, recorded with who decided and when.

The thresholds are yours. The default rules say entries over five thousand, anything touching equity, anything from an untrusted source, anything the agent is less than ninety percent sure about, and workflow changes that remove data, add ledger tags or create accounts. Change them in one screen.

Rollback is a first-class action

Rolling back drafts an earlier version's definition again, as a new version, and proposes it through the same checks, the same tiers and the same inbox. History never rewrites; it moves forward to a version that matches an earlier one. A field a change removed was only hidden, so rolling back brings it back with its values.

That is the whole idea. Let the agent do the building. Keep the parts that touch the books in human hands, and make approving them fast enough that people actually do it. Request a demo to see a workflow land in an inbox.

  • approvals
  • ai agents
  • workflows
  • governance