ration/STRATEGY-2026-10-23.md
caelum0x 353d46c164 docs: commit round-1 planning docs (architecture, deep plan, strategy)
Three real, already-researched planning docs from round 1
(ARCHITECTURE-2026-10-23.md, PLAN-2026-10-23-DEEP.md,
STRATEGY-2026-10-23.md) that were sitting uncommitted in the working
tree. Read in full and confirmed current, not stale scratch — committed
verbatim as a point-in-time record of that round's research (deployment
risk assessment, feature/API backlog, competitive positioning and
growth moves), not rewritten for round 2.
2026-10-28 02:18:41 +03:00

259 lines
16 KiB
Markdown

# Ration — competitive strategy, ICP, journey, growth (2026-10-23)
Context this doc assumes (verified against the repo and live web search
today): Ration is a submission to the **Airwallex Agentic Banking
Hackathon**, Starter Kit 5 ("Platform Spend Controller", Multi-Tenant
Platforms track). Applications closed 2026-10-23, accepted teams notified
2026-10-25, build window to 2026-11-13 submission, finalists 2026-11-15,
demo day 2026-11-19 in SF. Prizes: Founder's Choice $30K, Judges' Choice
$20K, Visa Award $15K, Metal Award $15K, plus credits. The "market" for
this doc is therefore two real, named audiences — hackathon judges/sponsors
first (the only audience that converts in the Nov 13-19 window), and the
production buyer the architecture targets second (a multi-tenant platform's
infra team) — not a generic SaaS funnel. Scope here is competitive
positioning, ICP/user research, and journey — pages/API surface and feature
backlog are owned by the sibling `PLAN-2026-10-23-DEEP.md` workflow (not
present in the repo as of this writing; this doc does not duplicate it).
## 1. Direct competitors
**A. Same-track hackathon submissions (the judges compare these directly)**
- **everyai-com/airwallex-hackathon** — one monorepo implementing all 10
starter kits, kit 5 run via `npm run kit5`. Pricing: N/A (hackathon
entry, free/open-source like all entries). Strongest feature: breadth —
judges can see the team's approach to all 10 tracks in one place, which
reads as higher velocity/ambition. Weakest point: kit 5 is one script
among ten, almost certainly a thin Node/TS implementation with no
dedicated money-safety layer, no crash-safety story, and no evidence of
an invariant the LLM literally cannot violate — breadth traded directly
against depth on the one track Ration is judged on.
- **Divakar-alt/spendsmart-treasury-controller** — Starter Kit #01
(Adaptive Treasury Controller), not kit 5, but a direct mindshare
competitor for the same judges' attention and for "best architecture
overall" style awards (Founder's Choice). Pricing: N/A. Strongest
feature: explicitly states "deterministic code makes financial
decisions... never delegated to an LLM" — the same core design thesis as
Ration, so judges will pattern-match the two. Weakest point: single-
language implementation (reads as a standard app, not infra); no
equivalent of Ration's WAL/ledger-core/gateway separation or formal
verification claim.
- **tizerluo/spendkey-airwallex, Binary-king123/airwallex-portfolio-lending-agent,
Sunrisesoftware-app/as-agreed** — other tracks (card procurement intent-
binding, portfolio lending, invoice-matched payments). Not kit-5
competitors but competing for the same fixed prize pool and judge
attention budget across ~2 weeks of demo review. Weakest point shared by
all of them visible in the hackathon repo list: single-service, single-
language builds with no stated crash-safety or formal-verification
story — Ration's six-service/four-language depth is unmatched in the
public submission list as of 2026-10-23.
**B. Production build-vs-buy alternatives (what a real platform team would
reach for instead of hand-rolling this)**
- **Lithic** (card issuing API) — custom/negotiated production pricing, no
published monthly minimum, per-card + per-auth fees (~$0.05/card cited
publicly), volume discounts quickly. Strongest feature: fastest, most
developer-friendly card issuing integration below ~$10M/mo volume, bank-
flexible (prefund, ACH-pull, credit line). Weakest point: issuing-only —
ships no bridge-funding/reserve-floor policy engine, no agentic decision
layer, no audit trail; a team still has to build everything Ration
builds on top of it.
- **Marqeta** — enterprise custom pricing, minimum-commit contracts,
average deal size up ~90% YoY per Q2 2026 earnings call (moving upmarket).
Strongest feature: battle-tested at massive scale (DoorDash, Cash App
class volume), full BIN sponsorship. Weakest point: requires a dedicated
integration engineer and compliance team to even start; massive overkill
and overhead for the exact "bridge a late deposit safely" problem Ration
targets; no bridge-funding policy logic out of the box either.
- **Parafin** (embedded revenue-based bridge financing, used by DoorDash,
Walmart, Gusto, TikTok Shop) — no published platform fee; revenue-share
model, estimated 10-15% take rate on funded amount, capital cost ~9-10%
per financing period, loans ~$50K-$75K, 6-9mo terms. Strongest feature:
this is the closest real-market analog to Ration's actual feature
(bridging money against future revenue) and is proven at $1B+ embedded
volume. Weakest point: Parafin is a balance-sheet lender a platform
integrates with and gives up a revenue share to forever — not something
a platform owns, audits, or can run its own hard-rule invariant inside
of; underwriting is a black box to the integrating platform; no per-
decision explainability artifact for a judge, auditor, or regulator to
inspect.
- **Pipe / Kanmon** — same embedded-capital category as Parafin, same
pricing opacity (negotiated, quote-based). Pipe's marketplace-of-funders
model adds offer-term flexibility but more integration/disclosure
complexity; Kanmon owns underwriting/compliance as the licensed lender.
Weakest point shared with Parafin: platform never owns the decision
logic or its audit trail, and none of them frame the problem as "ration
against the platform's own reserve floor" — they frame it as "get the
end customer a loan," a different risk posture than Starter Kit 5 asks
for.
- **Modern Treasury** (ledgers/money-movement orchestration) — ~$2,000/mo
entry on annual contract (per third-party pricing-page capture, late
Sept 2026), usage-based on top, minimum commitment. Strongest feature:
production-grade double-entry ledger API, immutable postings, real
money-movement orchestration most platforms would otherwise hand-roll.
Weakest point: it's a generic ledger — no reserve-floor/bridge-cap/
velocity-cap policy semantics, no agent loop, no card issuance; a team
still builds Ration's entire policy and agent layer on top of it, and
it costs real money from day one (Ration's ledger-core is free, OSS,
and purpose-built for this exact invariant).
## 2. Exact differentiation plan (beat each on a named axis)
- **vs. everyai-com kit5 (breadth-over-depth monorepo):** beat it on
*verifiable money-safety depth*, not vibes — Ration's README already
names the artifact judges can check: WAL crash-recovery tests that kill
the process mid-write, `cargo test --release` with 29 passing tests
including idempotency/crash-recovery/reserve-floor suites, and a TLA+
spec of the reserve-floor invariant verified via TLC (per `docs/adr` /
`tla` commit `7085e7a`). Action: put these three artifacts (WAL kill-
test output, the 29-test cargo run, the TLC verification log) directly
in the submission video's first 60 seconds — judges comparing 10+
submissions skim; a monorepo's kit5 script cannot show an equivalent
artifact because it isn't a dedicated system.
- **vs. Divakar-alt (same "deterministic code, not LLM" thesis):** beat it
on *defense-in-depth count* — Ration enforces the same hard rule three
independent times (agent pre-check, card-issuance re-check behind the
gateway, ledger-core's `apply_entry` as the final source of truth) plus
mTLS peer-identity binding on audit records (commit `ecac039`) so even a
compromised service can't forge whose decision it was. Action: the
submission writeup should include one diagram showing the same
invariant checked at three service boundaries with the commit/file
reference for each — a concrete, falsifiable claim a competing single-
layer implementation cannot make.
- **vs. Lithic/Marqeta/Stripe Issuing (issuing-only):** differentiate on
*the policy layer they don't ship* — don't compete on card issuance
(Ration already treats Airwallex/any issuer as a pluggable interface,
see `services/card-issuance/internal/airwallex`); position Ration's
actual IP as the rationing policy + audit engine that would sit in
front of *any* of these issuers. Action: document the `airwallex.Client`
interface boundary explicitly as "swap this for a Lithic/Marqeta client
in under a day" in `docs/ARCHITECTURE.md` — turns a potential weakness
(dependency on one issuer) into a stated differentiator (issuer-
agnostic policy engine) for any judge or future adopter evaluating lock-
in risk.
- **vs. Parafin/Pipe/Kanmon (opaque revenue-share lenders):** differentiate
on *platform-owned, inspectable decisions at zero revenue share* — these
three cost a platform 10-15%+ of every funded amount forever and give it
zero visibility into why an amount was approved; Ration's
`RecordAgentDecision`/`policy_snapshot_json` makes every grant/decline
reconstructable from the exact inputs (headroom, deposit amount,
velocity state) with no ongoing take rate — the platform keeps the
entire bridge-funding economics instead of giving a third party a
perpetual cut. Action: add one page to `docs/SUBMISSION.md` quantifying
this explicitly: "a platform running Ration's bridge-funding logic
itself keeps the ~10-15% Parafin-class take rate it would otherwise
permanently cede" — a concrete dollar argument, not a vague "more
control" claim.
- **vs. Modern Treasury (generic paid ledger):** differentiate on *price
and specificity* — Ration's ledger-core is free/OSS and has the one
invariant (reserve floor under concurrent debits) formally verified via
TLA+/TLC, something Modern Treasury's generic double-entry ledger does
not claim for this specific scenario. Action: nothing further to build;
state this contrast explicitly in `docs/ARCHITECTURE.md`'s existing
comparison-free text so a reader evaluating "why not just use Modern
Treasury" has the answer already written down.
## 3. Primary user persona / ICP
- **Immediate persona (the one that actually converts by Nov 19):**
Airwallex hackathon judges and the two sponsor-award evaluators (Visa,
Metal) reviewing Starter Kit 5 submissions. Job-to-be-done: in a ~5-
minute demo video plus a repo skim, decide which team proved both (a)
the specific Starter Kit 5 tradeoff (bridge safely without breaching a
platform's own reserve) and (b) production-fintech engineering rigor,
not hackathon scaffolding — this is the exact bar `docs/SCALE-EXPANSION.md`
already states as the standing rule.
How they'll actually evaluate: watch the demo video first, skim the
README's "What integration actually found" section (real bugs found/
fixed reads as credibility), then spot-check one or two test-suite runs
if the project stands out. They do **not** have time to read six
services' source line by line — the README and the first 60 seconds of
video are the actual interface being judged.
- **Secondary/longer-horizon persona (who'd adopt this pattern after the
hackathon):** a backend/infra engineer or head of platform risk at a
multi-tenant marketplace, payroll platform, or gig/freight exchange
(the exact three demo-tenant archetypes already seeded by `ration seed`)
who has already issued or is about to issue Airwallex/Lithic/Marqeta
cards to their end customers and is now hitting the late-deposit-vs-
reserve-floor problem in production, not in a demo. Job-to-be-done:
let a customer keep spending against money that's contractually coming
but hasn't landed, without ever risking the platform's own capital, and
be able to show an auditor/regulator exactly why each decision was made.
This persona cares about the formal reserve-floor proof and the audit
chain far more than the judges do — they are the real-world validation
that the hackathon framing is a genuine, not contrived, problem.
## 4. User journey map
Ordered from discovery to "paying/retained" (retained = judges watch the
full demo and shortlist; for the secondary persona, retained = forks/
adopts the architecture):
1. **Discovery** — judge opens the HackerEarth submissions list for
Starter Kit 5, or opens the repo link directly from the submission
form. First impression is the GitHub repo's README render (badges,
architecture diagram, one-line pitch).
2. **Credibility check** — judge reads "Engineering standard" and "What
integration actually found" (the three real bugs). This is the
highest-leverage section in the whole repo for this audience: it's the
only part that proves the team didn't just get it to compile.
3. **Demo video (≤5 min)** — judge watches the submission video. This is
the **single biggest drop-off risk step**: if the first 30-60 seconds
don't show money actually moving (a real bridge grant with a computed
rationale, then a real decline once the velocity cap fires, per
`docs/DEMO-SCRIPT.md`), a time-pressed judge comparing 10+ kit-5-class
submissions across 10 tracks will deprioritize the repo-read entirely.
Risk is amplified because Ration's actual differentiators (WAL crash
tests, TLA+ proof, three-layer invariant enforcement) are invisible in
a UI-less terminal demo unless explicitly called out on screen —
nothing about them is self-evident from watching a TUI scroll.
4. **Repo skim** — only judges who weren't dropped at step 3 go deeper:
`docs/ARCHITECTURE.md`, `docs/AGENT-DESIGN.md`, test output.
5. **Shortlist / Founder's Choice, Judges' Choice, Visa, Metal award
decision** — judges compare shortlisted repos against the specific
award criteria (Visa Award likely weights card-issuance correctness;
Metal Award likely weights the metal/infra-partner angle — verify
exact criteria once published, not assumed here).
6. **(Secondary persona) Production adoption** — a platform engineer finds
the repo post-hackathon (GitHub search, HN "Show HN", or an Airwallex
case-study writeup), reads `docs/AGENT-DESIGN.md`'s hard-rule section,
and forks/adapts the policy layer against their own issuer. Drop-off
risk here: `AIRWALLEX_MODE=live` is blocked on sandbox approval
(`docs/AIRWALLEX-SETUP.md`) — a visiting engineer cannot yet verify the
live-mode path works against a real Airwallex sandbox, only mock mode.
## 5. Three concrete growth moves
1. **Put the money-moving proof in the first 30 seconds of the demo video,
on screen, with on-screen labels.** Not a generic "better demo" note —
specifically: open on the `ration simulate-deposit --late` command,
cut immediately to the TUI's activity feed showing the computed
`AGENT_ACTION_RATION_BRIDGE` decision with its rationale text visible,
then the second request's `AGENT_ACTION_DECLINE` once the 24h velocity
cap fires — this is the exact sequence `docs/DEMO-SCRIPT.md` already
proves works end-to-end without `ANTHROPIC_API_KEY` set, so recording
it costs zero new engineering, only editing. This directly targets the
step-3 drop-off identified above.
2. **File the Airwallex sandbox access request today, not after
acceptance on Oct 25.** `docs/AIRWALLEX-SETUP.md` already flags this as
the one real blocker and notes organizer approval can take "a day or
two" with no firm SLA; the hackathon's own build window only opens
Oct 25 and closes Nov 13, so every day of approval lag directly
shortens the live-mode verification window judges and the secondary
persona will both check for. This is a zero-cost, owner-silent action
item (sandbox request is already queued per the doc) — flagging it
here so it's tracked against the Nov 13 deadline, not lost.
3. **Publish the repo to the two channels where the secondary persona
(platform infra engineers, not hackathon judges) actually looks for
this pattern, post-submission:** a "Show HN" post titled around the
concrete mechanism ("a reserve-floor invariant an LLM can't override,
proved with TLA+") rather than "agentic banking," since HN's fintech-
infra readership responds to a falsifiable engineering claim, not an
AI-hype framing; and a post in the Modern-Treasury/Lithic/Highnote-
adjacent developer communities (their own Slack/Discord communities and
`r/fintech`) framed explicitly as "what we built instead of a Parafin-
style revenue share" — this reaches exactly the build-vs-buy decision-
maker named in section 1B, not a generic developer audience, and costs
nothing but the posting itself.