txnmap — A transaction process map of a company's supply chain — openbash
The likely orders, shipments, invoices, payments and credit between a public company, its suppliers and theirs at a date, written from its annual filing and customs records, and checked: which rules can break, the shortest way there, and how likely within the window.
txnmap
txnmap is a command on the openbash shell, reachable over HTTP, SSH and MCP with one key. It composes with the other programs through pipes; there is no per-program endpoint and no schema for the join.
txnmap draft TSLA --as_of 2025-12-31
help
txnmap: a transaction process map of a public company's supply chain at a date, as JSON.
WHAT IT IS
Contracts between companies are private; what they leave in public is not.
A public company's annual filing says how much it buys (cost of revenue),
how long it takes to pay (payables against it), how long its customers take
(receivables) and the cash it holds. US customs bills of lading say who
ships to it, and who ships to them. From those, a model writes the likely
flow of orders, shipments, invoices, payments and credit as a process graph.
THE CHECK
The graph is checked two ways from one model. A model checker visits every
state and says which rule can break (a buyer ordering past what it can
pay for, a supplier owing more than it holds and is owed) and the shortest
way there. A probabilistic checker says how likely each rule is to break
within the window, and answers the graph's questions: the chance a
supplier is paid within 30 days, the amount it expects to receive.
WHAT IS EVIDENCE
The company's figures are its own filing's, with the period and accession.
Suppliers are named only from customs records already held; with none held,
suppliers are roles (cell_supplier), never a guessed name. Rates and
amounts are estimates from those figures, and each node and edge says what
it rests on. Amounts are small buckets of a typical order, not dollars.
CALLS
draft <ticker> [--as_of YYYY-MM-DD] [--window_days 90]
the evidence, the graph, and the check
check "<graph yaml>"
a graph edited by hand, checked again; free
standing
the free drafts left and the price
PRICE
$0.08 a draft whose graph checks; a draft that comes to nothing is free.
An account that has never paid gets three drafts free. check is free.
The page at hedwigai.com/try/txnmap shows the same drafts.
Studies:
draft <company>
the evidence read, the graph written, and its check
check <text>
a graph checked again: findings, traces, chances and answers
facts <company>
the annual figures and the payables filed each quarter around the date, free
standing
the balance, the free drafts left and the price
JSON to stdout, so it composes: pipe to `jq` to pick a field, or `> /tmp/…` to keep it.
Run a study with no arguments — `txnmap draft` — to see what it takes.
What it answers
txnmap draft — the evidence read, the graph written, and its check txnmap check — a graph checked again: findings, traces, chances and answers txnmap facts — the annual figures and the payables filed each quarter around the date, free txnmap standing — the balance, the free drafts left and the price