MarketWire is Nigeria's real-time market price wire. One append-only log of commodity prices, readable and writable through three interfaces: a live web app, a telnet BBS on port 2323, and MCP tools for AI agents. Every interface reads and writes the same JSONL log; the board is derived only by deriveBoard() and validation lives only in validate(), so the three doors can never disagree — 54 tests, including a 300-operation differential fuzz across all three adapters, prove it.
It covers 12 markets (Mile 12 Lagos, Onitsha Main, Dawanau Kano, Bodija, Ogbete Enugu, Mile 1 Port Harcourt, Wuse Abuja, Terminus Jos, Ariaria Aba, New Benin, Central Kaduna, Monday Market Maiduguri) and 24 commodities, with live USD/NGN and fuel signals and instant SSE push: post from the terminal and the website already knows. Invalid prices are refused by name (unknown market, unknown commodity, bad price, missing unit) identically on every door.
How Kiro was used
Kiro implemented the entire MarketWire system from spec to running code in one session. The .kiro/specs/ directory held the requirements, technical design and task list; .kiro/steering/ enforced the product invariants (one log, named refusals, no adapter-local state) and the technical constraints (Node.js modules only, no framework, @modelcontextprotocol/sdk as the only dependency). Kiro read all spec files before writing a single line, implemented every task in dependency order, ran the test suite to exit 0, then performed a live smoke test of REST, telnet and MCP before finishing. Later iterations (design v2/v3, real-time streaming, live signals) were also built by Kiro CLI from manager-written briefs against the same specs and steering. Disclosed exceptions, after Kiro's free-tier monthly usage limit was reached on 3 Dec 2026: fuel-signal maintenance, the seed-data generator expanding the board from 4 to 12 markets, the frontend design layer, and an MCP session fix (fresh server per request) — all disclosed in the README.
Built With
- kiro
- mcp
- node.js
- sse
- telnet