operating-code/
procure-to-pay/
po_approval
v1.1 · approved

The company,in versioncontrol.

Operating Code is a versioned, approved specification of how your company runs: every process, rule, exception, approval and dependency, with the evidence behind each line. People read it. Agents run it. Operators change it.

AnatomyOne rule, line by line

Every line has a source. Every change has an owner.

procure-to-pay / po_approvalv1.1 approved
  1. rule po_approval
  2. when order.amount > 50_000[1]
  3. require approval(central_finance)[1]
  4. except order.category in regional[2][3]
  5. require approval(regional_lead)[2]
  6. within local_limits[4]
  7. approved v1.1 by finance_ops, controller
  • ProcessProcure-to-pay, the approval step.
  • ConditionInferred from 41 past purchase orders in SAP. [1]
  • ApprovalWho signs off by default.
  • ExceptionFound in a #finance-ops thread and a Controller email. [2][3]
  • DelegationWho owns the exception.
  • LimitKept by hand in finance_limits.xlsx. Now on record. [4]
  • SignatureSigned by Finance Ops and the Controller. Nothing ran before this line existed.
HistoryDiff, review, roll back

Change the company the way you change code.

Every version keeps its diff, its evidence and its signatures. Compare any two. Roll back to any one.

v1.1 · approvedFinance Ops, Controller
  1. - Purchase orders above $50,000 require central finance approval.
  2. + Purchase orders above $50,000 require central finance approval,
  3. + except for approved regional categories.
Evidence41 orders in SAP, a Controller email, #finance-ops
GovernanceSigned by Finance Ops and the Controller
GovernanceWho decides

An inference is never an approval.

Kiwi proposes

Rules, exceptions and changes, each with the evidence behind it.

Operators decide

The accountable owner signs. Nothing becomes policy before that.

Everything is recorded

Who proposed, who approved, what changed and why.

Before productionReplay and simulate

Test the change on the past.

Before v1.2 touches a live order, Kiwi re-runs it on the orders you already processed. Variants compete on the same history. The best one ships when an operator approves it.

replay · po_approval v1.2● waiting
Orders re-decided1,204
Same outcome1,096
Routed differently86
Need review22

Variants on the same history · orders cleared without rework

A · central only52
B · regional limit71
C · limit + category88
D · two approvers60
ExecutionWrite once, run anywhere

Write it once. Anything can run it.

Agents

OpenAI, Claude, Gemini or your own. They execute the approved version, not a guess.

Any model

People

Operators, teams and leadership read the same Operating Code in plain language.

One source of truth

Applications

Any system can call it, through an API or MCP.

API · MCP

Read your company like code.