Skip to content
LOT ZERO

Use LOT ZERO from Kiro

A QA team that already works in Kiro can trace a TLC, list affected locations and draft the FDA sortable spreadsheet from chat, with nothing to build. The tools run on the hosted LOT ZERO engine over the synthetic demo chain.

Install the LOT ZERO power in Kiro · Summon

The power bundles the hosted MCP server, an FSMA 204 glossary (TLC, TLC Source, CTE, KDE, Transformation) and guidance on which tool answers which question. It activates when a prompt mentions a trace, a recall, a TLC or the FDA spreadsheet.

Install command (Kiro CLI)
git clone https://github.com/vj-io/lot-zero.git && kiro-cli powers install lot-zero/powers/lotzero

In the Kiro IDE: Powers panel → Add Custom Power → Import power from a repository URL, then paste https://github.com/vj-io/lot-zero/tree/main/powers/lotzero. Remove it with kiro-cli powers uninstall lotzero.

Headless check (trusts only the power and its tools)
kiro-cli chat --v3 --no-interactive --trust-tools='kiro_powers,@lotzero/*' "Trace TLC-ROM-0412 both ways and list the affected stores."

Prompts to try

Connect any MCP client · Open the line

Any client that speaks MCP over Streamable HTTP can use the same eight tools. No key is needed; every tool reads the synthetic demo tenant, and only the export tools create files.

Remote MCP URL
https://lot-zero.onrender.com/api/mcp
MCP config (for example .kiro/settings/mcp.json)
{
  "mcpServers": {
    "lotzero": {
      "url": "https://lot-zero.onrender.com/api/mcp"
    }
  }
}

Tools

trace_lot
trace a TLC backward, forward or both; affected lots and locations
scope_shrink
lot-level recall against a SKU and date-range recall, in pounds and stores
export_fda_sheet
the FDA sortable spreadsheet as CSV, XLSX or FDA’s template (fda-template)
export_epcis
a GS1 EPCIS 2.0 JSON-LD document of the trace
list_data_gaps
missing KDEs, orphan lots, receipts with no ship record, mass-balance flags
hold_lists
per-store hold lists for every affected DC and store, as CSV or a printable HTML pack
openfda_search
FDA food enforcement reports matched against trading partners
ingest_edi
preview an X12 856 or 850 as CTEs (nothing is stored)

Run the Recall Warden in Kiro Crew · Post the Warden

The Recall Warden is a Kiro Crew app: a weekly mock-recall drill, one worker per supplier for data gaps, and a daily openFDA watch. Its drill has run on a live Kiro Crew gateway against the hosted MCP server; the read-only trace tools run unattended, while exports, worker spawns and memory saves wait for the owner’s approval — with those approved, the full drill (two supplier workers in parallel, the summary saved) ran end to end on 30 Nov. Every outward action is a draft for a person. Source and setup notes: github.com/vj-io/lotzero-crew.

Install the app
kirocrew app install https://github.com/vj-io/lotzero-crew
Enable it (after trusting it in the Crew dashboard)
kirocrew app enable lotzero-crew

How Kiro built LOT ZERO · The ledger

Counted from the raw Kiro CLI and Kiro Web transcripts, the spec folders, the build ledger and the git history when this page was built. Source files: docs/kiro-evidence/SUMMARY.md (written by scripts/kiro-evidence.mjs) and docs/KIRO_LEDGER.md. The first implementation was written with Claude Code; Kiro’s part is counted below.

Kiro surfaces used

Kiro sessions with a transcript
31
49 runs (a resumed session is one session, several runs)
  • Kiro CLI (local)27 sessions · 44 runs
  • Kiro Web (cloud)4 sessions · 5 runs
Credits used in those runs
1,729.12
summed from each transcript’s metering; Kiro Crew’s own turns leave no transcript here
Sub-agent calls, by kind
81
58 ran · 23 failed to start or run
  • spec-writing32
  • spec-task-execution failed22
  • spec-task-execution completed20
  • kirocrew-worker6
  • fda-auditor failed1
Hook fires
1,265
  • guard-golden-fixtures707
  • guard-golden-fixtures-shell231
  • a11y-on-component160
  • pbt-on-parser-save99
  • fsma-vocab-inject29
  • spec-drift-check21
  • writeup-ledger18
Calls a hook refused: PreToolUse 8 · PreTaskExec 1
Calls an agent’s permission rules refused: shell 4 · fs_write 2
MCP tool calls
101
83 answered · 18 returned an error
  • @playwright/playwright/browser_run_code_unsafe26
  • @lotzero/ingest_edi21
  • @lotzero/trace_lot10
  • @playwright/playwright/browser_navigate9
  • @lotzero/scope_shrink6
  • @kirocrew-work/work_brief5
  • @lotzero/list_data_gaps5
  • @playwright/playwright/browser_console_messages5
  • @playwright/playwright/browser_take_screenshot4
  • @lotzero/export_fda_sheet3
  • @lotzero/hold_lists3
  • @playwright/playwright/browser_network_requests3
  • @playwright/playwright/browser_click1
Answered with an error: @kirocrew-work/work_brief 5 · @lotzero/ingest_edi 3 · @playwright/playwright/browser_navigate 3 · @playwright/playwright/browser_run_code_unsafe 3 · @playwright/playwright/browser_take_screenshot 2 · @lotzero/scope_shrink 1 · @lotzero/trace_lot 1
Specs written by Kiro’s spec-workflow sub-agents
8
  • bugfix-auditor-2026-11-3019 / 19 tasks
  • bugfix-core-audit-2026-11-3021 / 21 tasks
  • bugfix-reaudit-2026-11-3019 / 19 tasks
  • bugfix-rescore-2026-11-3068 / 68 tasks
  • chat-intake70 / 70 tasks
  • fda-template-export40 / 40 tasks
  • recall-action-pack47 / 47 tasks
  • visual-redesign-stitched-lab40 / 40 tasks
Build ledger rows (one per spec task Kiro ticked)
232
Rebuilt from the specs’ task lists: Kiro CLI’s after-task hook passes no task, and it does not fire when Kiro edits through the shell, so the ledger says how each row was made.

Kiro’s share of the repository

Commits whose message carries a Built-with: Kiro CLI or Built-with: Kiro Web trailer, against the whole git history.

WhatKiroAllShare
Commits3210929%
Code lines added (.ts .tsx .mjs .js .cjs .css)18,20535,96851%
Property tests added (fc.assert( calls in *.test.ts files)10712387%
SHALL lines in requirements.md (Kiro: the 10 specs with a spec-mode marker or created in a Kiro commit)57868185%

How LOT ZERO works · Open the workspace

Demonstration software with synthetic data. Not legal or regulatory advice.