Pier
Available
Inventory and order management for wholesalers and distributors: track stock, reserve orders, purchase, receive, transfer, fulfil and review counts with an append-only movement history.
Pier is available as MIT-licensed source for self-hosting. See its public source and release documents for setup. Business can also install and run projects for invited accounts; the app shows whether it offers Pier before checkout.
Run Pier on your own computer with one line:
npx -y @runeditrun/rer dev just-every/run-pier
It clones the public source, installs it, sets up a local owner and starts the app; nothing is deployed. To set up without starting, run npx -y @runeditrun/rer setup just-every/run-pier. Without Node 22 or later, run curl -fsSL https://runeditrun.com/install.sh | sh -s -- dev just-every/run-pier.
Or have your agent set it up for a Business: Start a Business with Pier ticked
For HappyToHelp: Assisted is in early access; Managed is in early access.
- Category
- inventory
- Licence
- MIT
- Version
0.1.3- Requirements
- 12 clauses
- Release signature
- Signed by just-every · key
rer-ed25519-5a42fb9c9c4f8acb2b32386e9e40461c· statement - Target release
- v0.1.3 · published
- Publisher’s stage
- in-development
- Instead of
- Cin7 Core, inFlow Inventory, Fishbowl Warehouse
Outside services
The services the project declares it sends data to, each with its reason.
cloudflare- Worker hosting
Scope and limits
What it will not do
- Manufacturing work orders
- Point of sale
- Third-party warehouse client billing
Declared limits
- Status
- unmeasured
Requirements
All 12 clauses of Pier’s CONTRACT.md. They say what the project must do; the handover and verification records say what is built and tested.
PIER 12 clauses
PIER-001Define stock Requirement. An operator creates a SKU, unique barcode, base unit, exact pack conversion and warehouse/bin locations, with sellable and quarantine stock. Archiving a used SKU preserves its history. Once movements, counts, supplier terms, orders or purchase orders reference an item, its unit and pack conversion are immutable; a location’s bin/transit kind is immutable after movements or counts reference it. Acceptance. 1. Journey 1: create fractional-pack stock and bin/transit locations through the UI and authenticated commands, reference them with counts and documents, then attempt unit/pack/kind edits and archive the item. 2. Edits fail atomically and archived history remains readable.PIER-002Maintain counterparties and supplier terms Requirement. Operators link suppliers and customers. Each supplier/item pair has one versioned terms record with supplier code, pack, price, minimum order and lead time. Purchase commitments and receipts retain their exact terms snapshot when the supplier later changes terms. Acceptance. 1. Journey 2: create supplier terms, commit a PO, revise terms and read the original PO/receipt. 2. The commitment retains its original quantities, price and source version; duplicate-pair creation cannot bypass the versioned record.PIER-003Review native opening inventory Requirement. Owners stage native CSV items, locations, counterparties, opening positions and open documents; review mappings, originals and reconciliation; resolve ambiguous rows; and approve one cutover. Optional reservations preserve exact per-line and bin allocations, including explicit zero backorders. Without that file, the six-kind importer reserves available stock. Changed source rows require reviewed revision, and downstream dependencies constrain undo. Safe undo before downstream work restores exact before-images and removes only that import’s created graph and movements; retained immutable originals and import custody explain this narrow exception to append-only operational corrections. Native CSV openings, open documents and counterparty prices carry an ISO 4217 currency per file or row. USD is the default for a US install: a row with no currency is read as USD and the preview shows it as USD, and an unknown currency code is refused with the row named. A non-USD opening, for example an AUD or CAD supplier cost as the supported source inventory systems allow, keeps its source amount and currency and is valued in USD only through a conversion rate the owner reviews and the batch records, never a silent or guessed rate, consistent with COST-001. Acceptance. 1. Journey 3: preview and freeze a native batch, commit once, repeat unchanged input, revise a changed opening and exercise safe versus dependency-blocked undo. 2. Import a wholly backordered and a bin-allocated line with reservations.csv; no duplicate opening or silent reallocation appears. 3. Import a USD native opening batch and read USD unit costs and valuation in COST-001’s ledger. 4. Import a mixed batch with AUD rows and review its USD conversion rate before commit; the committed batch records that rate beside the source amounts and currency. 5. A row with no currency on a US install is read as USD and shown so in the preview. 6. An unknown currency code is refused with the row named.PIER-004Commit sales demand without overselling Requirement. Sales staff enter customer order lines. Pier reserves sellable availability atomically and exposes shortages as backorders. It never creates stock, reserves the same unit twice or permits negative sellable stock. Quarantine, in-transit and expected receipts cannot satisfy a present-stock reservation. Acceptance. 1. Journey 4: submit simultaneous orders for the last fractional units through authenticated HTTP and retry a lost response with the same command. 2. Total reservations never exceed on-hand sellable stock and unmet demand remains visible.PIER-005Approve exact purchase commitments Requirement. A buyer reviews shortages and expected receipts, drafts a supplier PO, approves its exact supplier, quantity, price and promise date, then commits it. Material changes invalidate approval. Ordered quantities remain expected until a real receipt posts. An agent may prepare the PO and its evidence; an agent's commit carries the money class, which the company's policy decides, and an agent never records a person's approval of its own purchase. Acceptance. 1. Journey 5: prepare a PO as an agent, attempt approval with the agent's own credential, obtain the buyer's approval, change a material term and attempt commit. 2. Only a freshly approved version commits and it changes expected supply rather than on-hand stock.PIER-006Receive partial purchases atomically Requirement. Warehouse staff receive some or all of a committed purchase into named bins, recording supplier reference and exact receipt cost. The remainder stays expected. Invalid or over-received lines cannot partially post an otherwise valid multi-line receipt. Acceptance. 1. Journey 6: partially receive a multi-line PO, repeat the command, then submit one invalid line. 2. The first receipt posts once, exact cost is retained, remaining expected quantities reconcile and the invalid receipt leaves every line unchanged.PIER-007Correct receipts with physical evidence Requirement. Warehouse staff can reverse a receipt only when later work does not depend on it. With downstream movements, they capture and approve a physical count for a receipt bin; the receipt correction posts a linked compensating adjustment at that frontier. Originals remain and a stale count cannot overwrite later movement. Acceptance. 1. Journey 7: reverse an unused receipt, attempt reversal after stock is reserved or dispatched, then correct against an approved physical count. 2. Intervening movement invalidates the old count; successful correction retains the original and its compensating link.PIER-008Transfer through visible transit Requirement. Warehouse staff dispatch available units through a real transit location and separately confirm destination receipt. Transit stock is unavailable to sales and transfers conserve quantity. Repeated commands cannot dispatch or receive twice. Acceptance. 1. Journey 8: dispatch a transfer, try to sell its in-transit units, partially receive at the destination and retry. 2. Source plus transit plus destination reconciles throughout and transit cannot be promised as current sellable stock.PIER-009Dispatch only owned reservations Requirement. Warehouse staff partially dispatch an order against that order’s own reservations. Shipment identity links order lines and consumed reservations; undispatched demand remains outstanding. Another order’s allocation cannot be consumed and a retry never decrements stock twice. Acceptance. 1. Journey 9: partially dispatch an order, attempt to use a foreign reservation and retry after response loss. 2. Read the shipment and remaining order: exact consumed allocations and outstanding demand reconcile.PIER-010Cancel and inspect returns Requirement. Staff cancel only unshipped demand and release only its remaining reservations. A return points to an actual dispatch line and cannot exceed dispatched units less prior returns. It enters quarantine and requires separately reviewed restock before becoming sellable. Acceptance. 1. Journey 10: cancel the remainder of a partially shipped order, return shipped units, reject an excess return and review a partial restock. 2. Shipment history survives and quarantined units cannot be sold before restock.PIER-011Count at a captured movement frontier Requirement. Warehouse staff capture a movement frontier, record a physical count, inspect variance and approve an exact adjustment or recount. A movement after capture makes the review stale; a model estimate cannot replace a physical count. Acceptance. 1. Journey 11: capture and count a bin, move stock, then attempt the old approval. 2. It fails without changing stock; a new captured count can produce the exact approved compensating movement.PIER-012Investigate and leave with native data Requirement. People trace balances to movements, source documents, actors, reasons, command identities and reversal/import provenance. They export business records and costs and restore the complete current installation archive into a fresh local installation without posting openings twice. Durable operator and approval identities are historical evidence rather than access grants; operation requires a fresh native session. Acceptance. 1. Journey 12: investigate a corrected receipt and dispatch, export, restore into fresh local D1, compare business records and journal links, replay an unchanged import and execute a new authorized transaction after fresh sign-in.
View as agent
Everything on this page is in these files, copied unmodified from the release. An agent evaluating Pier can read them instead of the page.
seed.json- The manifest: capabilities, outside services, extension points, limits, operating cost and deployment needs.
CONTRACT.md- The requirements on this page, in source form.
AGENTS.md- Instructions for the coding agent that maintains an installation.
README.md- Source setup, available commands and implementation status.
OPERATIONS.md- How the project is set up, operated and deployed.
ACCEPTANCE.md- What the publisher accepts as a finished release.
Every project, with its availability, is in /agents/catalogue.json; the agents page describes the machine-readable files.