Inventory and supply chain ยท Technical guide

Inventory Hub architecture, data flow and operations.

Eight Phoenix plugins with their own schemas, settings and permission keys. Screens read a scoped snapshot; every write is a policy-checked decision with plugin effects, a chained audit event and a KPI refresh.

8plugin modules
21server engines
99screens, 3 shells
366engine test vectors
Architecture

Layers and connectors

CLIENTSEDGEAPPLICATIONDATAAdmin workspaceReact 19 ยท 90 screensTablet kioskoffline write queueVendor portalvendor-scoped shellPhone layoutsexec, CFO, sales viewsReverse proxy ยท one HTTPS port ยท sign-in wallCSP and frame headers ยท same-origin checks on cookie writes ยท session authREST API (.NET 10)/cc/tenant-snapshot/cc/decisions ยท undo/cc/engines/* (21)Decision pipelineKeys ยท approver stepSoD ยท dual controlPlugin effectsAudit and KPIsChained audit events32 live KPI formulasSnapshot cacheAgentCoreRecommendationsAutonomy L0โ€“L4Guardrails ยท AI offPostgreSQLor SQL ServerRediscache and sessionsElasticsearchsearch indexDocument servicePDF renderingCONNECTORSERPService Layer ยท RESTEDI X12AS2 ยท SFTPPayment Hubpay linksCarriersshipping stationsAI modelsmodel profiles
Items and availability. Read model rendered from the ledger snapshot.
Tablet receive. Kiosk shell with scan input and device status.
Inventory Hub ยท Clarity VenturesPage 1 of 12
Architecture deep dive

Modules, schemas and responsibilities

Plugin modules

PluginSchemaOwns
Phoenix.CommandCenterccHomes, inbox, brief, KPIs, approvals runtime, audit chain, settings, roles, vendor links
Phoenix.InventoryinvItems, bins, lots, serials, ledger, balances, recall trace, kits
Phoenix.WarehouseOpswmsTasks, waves, pick and pack, DG checks, counts, returns, putaway, tablet writes
Phoenix.FulfillmentfulTyped holds and releases, sourcing rules, channel buffers, promise
Phoenix.PlanningplanForecasts, policies, recommendations, containers, scenarios, pricing
Phoenix.PurchasingpurVendors, POs, change proposals, messages, negotiations, match, portal
Phoenix.CashFlowcash13-week forecast, landed cost, open-to-buy, FX, working capital
Phoenix.AgentCoreagentAgents, autonomy, recommendations, guardrails, runs, model profiles
INPUTS AND INTERFACESSYSTEMS OF RECORD AND RESULTSOrders and channelsPlatform sales ordersEDI 850 ยท web ยท repsVendor portal/vendor/* ยท signed linksEDI 855 codes ยท ASNTablet kiosk/tablet/* ยท device queuescanners ยท scales ยท printersCarriers and freightShipping stationscut-offs ยท DG eligibilityERP of recordClarity Connect connectorsitems ยท stock ยท POsWarehouses and 3PLsbins, lots, tasks per nodenode-scoped 3PL accessClarity Payment Hubpay links ยท card on filepayment releases holdsMeasured results85 KPIs, 32 recomputed liveSame numbers with AI offInventory Hub8 modules on the Clarity Phoenix platformCommand CenterCommandCenterInventoryInventoryWarehouseWarehouseOpsOrdersFulfillmentPlanningPlanningPurchasingPurchasingFinanceCashFlowAI governanceAgentCoreEngines ยท decision policy ยท audit chainPermission check, effects, audit, KPI refresh
Inventory HubExternal systems and interfacesAPI calls and connector sync (two heads = both ways)

Settings and gates

  • Each module behind Show<Module>Admin, off by default
  • Engine settings are typed classes with an admin UI
Item 360. One SKU across balances, ledger, demand and policy tabs.
Inventory Hub ยท Clarity VenturesPage 2 of 12
Data flow

The life of a decision

1Person actsapprove, pick, releaseon a screen or tablet2POST /cc/decisionsid, status, note;session or signed link3Decision policykeys, approver step,SoD, dual control, scope4Plugin effectsrows change in themodule tables5Audit eventSHA-256 chained tothe previous event6KPIs and snapshotrecomputed; screenssee the changeRefused: 403 and the reasonConnector outbox: ERP posting when enabled

Read side

SnapshotGET /cc/tenant-snapshot returns the tenant read model, cached for a short window
ScopingProjected per caller: vendor, 3PL and operator views drop rows and money fields
BadgesRail counts (open exceptions, holds, approvals) computed on the server

Write side

DecisionsPOST /cc/decisions with id, status and note
PolicyKeys, approver step, SoD, dual control, row scope; 403 otherwise
UndoDELETE /cc/decisions/{id} reverts the effect, audited
Tablet offline queueWrites are held on the device, replayed in order on reconnect and applied once.
Audit chainEach AuditEvent stores PrevHash and Hash (SHA-256); vendor-link actions carry the link actor.
KPI refresh32 KPI formulas recompute from live rows after decisions.
Tablet receive. Scan the PO, ship notice or container to start.
Exception inbox. Server-side counts feed the rail badges.
Hold queues. Typed holds; release decisions are policy-checked.
Inventory Hub ยท Clarity VenturesPage 3 of 12
Integrations and APIs

Endpoints, connectors and documents

Command Center API

MethodPathPurpose
GET/cc/tenant-snapshotScoped read model
GET/cc/meRoles and permission keys of the caller
POST/cc/decisionsRecord a decision; policy-checked
DELETE/cc/decisions/{id}Undo a decision
POST/cc/assignmentsAssign work
POST/cc/agent-controlsSet the autonomy level of an agent
GET/cc/engines/{engine}21 engines
POST/cc/vp/linksIssue signed vendor links
GET/cc/vp/linkOpen a signed vendor link

Connectors

ERPSAP Business One (Service Layer), Epicor P21, QuickBooks Configurable
ERP mappingItems, balances, POs, receipts, landed cost Proposed configuration
EDI X12850, 855, 856, 846, 810, 997/999; AS2 or SFTP Configurable
PaymentsClarity Payment Hub pay links Configurable
Vendor portal PO. Acknowledgement and proposed changes recorded with EDI 855 codes.
Vendor inbox. Threads with acknowledgements and proposed PO changes awaiting the buyer.
Inventory Hub ยท Clarity VenturesPage 4 of 12
Security, privacy and compliance

Enforced on the server and recorded

Authorisation

  • Action-level permission keys per role
  • Every decision id maps to keys; others get 403
  • Approver must hold the current step

Duties

  • SoD rules block conflicting role grants
  • Requesters cannot approve their own requests
  • Dual control: settings and vendor bank changes

Data scoping

  • Vendors: own POs, notices, documents only
  • 3PL users: their node only
  • Operators: no cost, credit or cash data

Audit

  • Every decision and effect writes an event
  • Events chained with SHA-256
  • Re-checkable from the table

Platform

  • CSP and frame headers by default
  • Same-origin checks on cookie writes
  • Endpoint settings: global admins only

Sensitive data

  • Payments through Clarity Payment Hub
  • Signed vendor links carry minimal claims
  • Mail held in a test mailbox until approved
Roles and permissions. Key matrix per role with blocked SoD combinations.
Approval matrix. Tiers and overlays as data, previewed against a sample PO.
Inventory Hub ยท Clarity VenturesPage 5 of 12
Automation and AI

Engines first, governed agents on top

21 server engines (GET /cc/engines/{engine})

ATPFEFO allocationMRSL checkPick planPutawayCartonizeCount toleranceGS1 parseLedger postSourcingSafety stockRecommendationContainer fillForecast healthLead timeInvoice matchApproval routeOffer evaluationLanded costCash roll-forwardAutonomy

Verified by 366 reference test vectors; server engines are switched on by a setting.

Autonomy levels

L0Off: the agent does nothing
L1 InformShows a note or alert
L2 RecommendProposes; a person approves
L3Acts within value and scope limits after probation
L4Acts autonomously within policy; rollback available
Agents and autonomy. Level per recommendation type, limits, probation and the kill switch.
Inventory Hub ยท Clarity VenturesPage 6 of 12
Admin and configuration

Screens administrators use

SettingsVersioned settings; sensitive changes wait for a second admin.
Roles and permissions21 role templates; action keys; SoD checks.
Approval matrixTiers and overlays by document type.
Notification topicsTopics and recipients by role (in-app).
Onboarding13 industry templates with a change preview.
Integrations healthConnector status, sync cursors, posting queue, stock drift.
Audit logChained events with a verify view.
Admin rail on a phone. Grouped navigation filtered by role.
Approval matrix. Tiers, overlays and the route a sample purchase order would take.
Inventory Hub ยท Clarity VenturesPage 7 of 12
Deployment and hosting

Environments, containers and scale

Container stack

Backend.NET 10 API and pipelines
FrontendReact Router 8 server rendering on Node 22
ProxyReverse proxy; one published HTTPS port
DataPostgreSQL 16 or SQL Server; Redis; Elasticsearch
DocumentsPDF rendering service
MailTest mailbox until sending is approved

Environments

  • One stack per instance with its own database and network
  • Builds promoted per instance
  • Mock connectors first, live per environment

Scaling and operations

  • Kubernetes manifests in the platform repository
  • Snapshot cache and server-side badge counts
  • Hosting arrangement agreed per customer
Inbound board. Containers on the water to dock, from receipt rows.
Wave planner. A wave release writes the wave rows.
Purchase orders. Multi-status PO list from purchasing rows.
Inventory Hub ยท Clarity VenturesPage 8 of 12
Feature matrix

Command Center, inventory, warehouse and orders

57 features; category = module

FeatureWhat it doesCategory / benefit
Command Center
Role homes and cockpits
Per-role home; tiles read the scoped tenant snapshotCommandCenter
Morning brief
MorningBrief rows; AI-labelled wording, numbers from rowsCommandCenter
Exception inbox
OpsException rows; server-side badge countsCommandCenter
KPI catalog
KpiDefinition/KpiValue; 32 formulas recomputed liveCommandCenter
Search, alerts, shortcuts
Top bar; search results filtered by role keysCommandCenter
Reports and CSV export
Report library screen; CSV export on data tablesCommandCenter
Inventory
Items and availability
Item 360 and availability via the ATP engineInventory
Layout and bins
BinLocation entity and layout screenInventory
Lots, serials and expiry
Lot and serial rows; MRSL and FEFO enginesInventory
Recall trace
LotTrace read model; holds and notices auditedInventory
Adjustments and transfers
inv.adjustment and inv.transfer decision familiesInventory
Kits and bundles
Kit build effects write build plansInventory
GS1 barcode parsing
GS1 parser engine at /cc/engines/gs1Inventory
Warehouse
Floor dashboard
Floor KPIs from task and wave rowsWarehouseOps
Inbound and receiving
Receipts and lines; vendor ship notices feed the boardWarehouseOps
Wave planner
Wave release decision creates the waveWarehouseOps
Tasks and labour
WarehouseTask rows; /cc/assignments APIWarehouseOps
Cycle counts
Count tolerance engine and count approvalsWarehouseOps
Returns and RMA
Return execute and disposition permission keysWarehouseOps
Dangerous goods desk
DG rules and checks enforced at packWarehouseOps
Slotting advisor
Slotting suggestions recorded as decisionsWarehouseOps
Stations and devices
Reuses shipping-hub stations and edge devicesWarehouseOps
Warehouse tablet app
Kiosk shell; device queue replays on reconnectWarehouseOps
Orders
Order board and backorders
Platform sales orders; holds reference themFulfillment
Typed hold queues
Typed OrderHold and HoldRelease rowsFulfillment
Pay-to-release
Payment Hub pay links; AllowPayToRelease settingFulfillment
Availability and promise
ATP engine at /cc/engines/atpFulfillment
Sourcing and channels
Sourcing pipeline at /cc/engines/sourcingFulfillment
Tablet pack. Units verified by scan; DG marks per line.
Recall trace. LotTrace read model.
Inventory Hub ยท Clarity VenturesPage 9 of 12
Feature matrix

Planning, purchasing, finance, AI and governance

FeatureWhat it doesCategory / benefit
Planning
Forecast workbench
Forecast versions and values; override writesPlanning
Events and new products
Planning event effects write eventsPlanning
Buy list
Accepted lines become POs that route to approvalPlanning
Explain ledger
Engines store each intermediate valuePlanning
Container builder
Container engine at /cc/engines/containerPlanning
Deployment and excess
Deployment and excess recommendationsPlanning
Scenarios and expansion
Scenario sign-off decisions; expansion scenariosPlanning
Inventory policies
InventoryPolicy and PlanningParameter rowsPlanning
Pricing and markdown
PriceRecommendation and MarkdownPlan rowsPlanning
Purchasing
POs and approval routing
Approval-route engine; step approver and SoD enforcedPurchasing
Vendor 360 and lead times
Lead-time statistics enginePurchasing
Vendor inbox
Message threads and PO change proposalsPurchasing
Negotiations and RFQs
Negotiation sessions; offer evaluation enginePurchasing
Three-way match
Invoice match engine at /cc/engines/invoice-matchPurchasing
Vendor portal
Vendor-scoped shell; EDI 855 codes; signed linksPurchasing
Finance
13-week cash forecast
Cash roll-forward engine; weekly forecast rowsCashFlow
Landed cost, FX, open-to-buy
Landed cost engine; open-to-buy feeds approvalsCashFlow
Working capital
Optimizer decisions and working-capital KPIsCashFlow
AI & governance
Governed AI suggestions
Recommendation rows; approver roles enforcedAgentCore
Agents and autonomy
Autonomy engine with probation and rollbackAgentCore
AI Center and run trace
Agent runs, guardrail events, evaluation screensAgentCore
Copilot and AI-off switch
Copilot drawer; server AI-off flagAgentCore
Roles and permissions
Permission catalog; 403 on refusal; SoD rulesCommandCenter
Approval matrix
ApprovalPolicy rows read by the route engineCommandCenter
Settings with dual control
Approval by a different admin requiredCommandCenter
Chained audit log
AuditEvent with SHA-256 PrevHash and HashCommandCenter
Integrations and sync health
Clarity Connect connectors; health screenCommandCenter
Onboarding templates
Template apply recorded and auditedCommandCenter
Row-level scoping
Read model projected per callerCommandCenter
Approval queue. Route engine output per PO.
Landed cost. Allocation and true-up by component.
Inventory Hub ยท Clarity VenturesPage 10 of 12
Implementation, testing and monitoring

How a rollout is run and checked

ConfigureTemplate, roles, approval matrix
Walk-throughWalk every role with example data
ConnectERP and EDI in mock, then live
PilotOne site, one buying team
ExpandSites, roles, AI autonomy

Automated tests (last full run)

Engines366 reference vectors
BackendxUnit suites, about 1,180 tests
FrontendVitest suites, about 1,500 tests
End to endFirefox suites for every role, route and decision
SafetyNotification check before tests and after every deploy

Monitoring

Sync healthCursors, lag versus target, posting queue, stock drift
AuditChain verify from the audit screen
AIRun trace, guardrail events, acceptance and realised value
KPIsCatalog with formulas and targets
COO cockpit. Fill rate, OTIF, backorders and the stock-outs ahead of supply, recomputed from live rows.
Inventory Hub ยท Clarity VenturesPage 11 of 12
Summary

What the architecture gives you

Deterministic core

  • Engines compute every number
  • Intermediates stored and shown

Server-enforced policy

  • Keys, SoD, dual control
  • Row scoping per caller

Provable history

  • Chained audit of every decision
  • Undo is audited too

Connect step by step

  • Mock first, then live connectors
  • ERP stays the system of record

Governed AI

  • Autonomy per agent, limits, kill switch
  • Global AI-off

Container deployment

  • One HTTPS port per instance
  • Hosting agreed per customer
Command Center on a laptop, morning brief on a phone. Example figures.

See Inventory Hub in action

Review the decision API, connector plan and security model with our architects.

Talk to Clarity Ventures about a guided demo
Inventory Hub ยท Clarity VenturesPage 12 of 12