The app
What the app core does today
Seven catalog elements have real, tested code behind them in a library. There is still no screen, so nothing here is something a shop can use.
Status
Built (repo) Library code, 100 core tests and 76 Logistics tests passed when we ran them on 2026-10-04. Designed The interface is a plan only (Flutter, nothing scaffolded). No release, installer or download exists.
| Element | Catalog name | What exists in the library |
|---|---|---|
| INV-0001 | Product record | Product records with tax rate; an append-only stock ledger (edits are refused); movements are safe to replay; selling is never blocked by stock. |
| PRC-0001 | Price lists | A default price list with tax-inclusive flat prices; the price is copied onto the sale line. |
| SALE-0001 | Sell screen (register view) | Sale lines, totals, tax split per line, cash completion with coin rounding and change, and void that reverses stock and books, all in one atomic step. |
| TKT-0001 | Open ticket (tab) | Open tickets (tabs) with unique open labels; paying closes, voiding abandons. |
| DLV-0001 | Takeout order flow | Takeout and delivery order states (new, out, delivered, cancel) with history. |
| BK-0001 | Chart of accounts | Double-entry books that refuse an unbalanced entry, are append-only, have a trial balance, and a simplified default chart of accounts (not an accounting-authority mapping). |
| CONNThe catalog module code for the supply network: digital waybilling, routes and truck stock. It is part of Simca; there is no separate product name. Glossary-0001 | Supply-network module root | Waybills (draft, sent, received or disputed) and receiving into stock all-or-nothing, with a "needs mapping" state for unknown products. |
Simca Logistics (LOGI-0001)
Signed jobs, bids, assignment and the waybill handshake; positive-or-neutral attestations with draft reputation math (the math is not final); its own database; an outbox and inbox for the contract with the core; a service that runs as a separate process.
How safe is it supposed to be
- Money is kept in whole minor units, never floating point. Cash rounding is to the 5-centimo step in the customer's favour, only at cash settlement.
- The database uses write-ahead logging with full sync, an integrity check at open and verified backups. A test aborts a child process in the middle of a transaction and checks nothing partial remains.
- Migrations only move forward and are recorded with a checksum; a changed shipped migration is refused.
What it does not do
- No user interface of any kind, and no receipt printing or hardware.
- Only cash payment. No card payment, no Yape or Plin entry, no fiscal documents (no SUNATPeru’s national tax authority. Simca’s first fiscal pack targets its electronic documents (planned, not built). Glossary).
- Quantities are whole units: no weights or decimals yet.
- No encryption at rest (an open decision) and no users or permissions logic yet.
- Power-loss behaviour of real disks is not tested; only an in-process kill test exists.
- No board distribution channel, GPS, fleet, documents or watchdog for Logistics.