Open questions
These items could not be settled from the code that was read on 2026-10-01 (backend commit b5bd463f). Do not turn them into requirements.
Product intent
- What a wallet token costs, and when it is refunded if a label or a sync fails.
- Whether an inactive subscription blocks HTTP or only the sync scheduler.
- Whether
CUSTOMchannels are a supported selling mode or a seed placeholder. - Whether coupons are enforced on order create. Models exist. No coupon controller was found.
- Which order transitions operators may click, versus system-only edges such as
DISPUTEDback toPENDING. - Restock rules on return completion versus
ReturnItemGrade. - Whether GST e-invoice IRN is in scope.
EInvoiceStatusexists. No GSTN client was found. - Settlement match tolerance, and what reconciled means financially. Code today: gateway lines match an order payment within ₹0.50, bank credits match within ₹1.00. Whether finance agrees with those numbers is not recorded.
- COD remittance ownership versus marketplace settlement.
- Amazon AFN is
CHANNEL_FULFILLEDwhen the channel descriptor isafnorfba(and the other partner descriptors infulfillment-mode.util.ts). That mode does not reserve owned stock. Whether the warehouse UI still shows a worksheet for it is a product question. The code path is What an order status does to fulfillment. - Commercial meaning of
StockOwnership. - Why
CANCELLEDcan go toREFUNDEDwhile several earlier statuses cannot.
Operations
- Node version in CI and production (
>=24engines versus README20+). - How
DEADoutbox rows are replayed. - How a
SUSPENDEDchannel returns toACTIVE, and who may do it. - Partitioned tables and retention inside
PartitionMaintenanceService. - Production replica counts, and whether deploy enforces a single scheduler.
- Whether pgBackRest and WAL backups are live.
migrate:laravelsafety.- Release and tag process for the three apps.
- Swagger JSON path. The code does not override
jsonDocumentUrl. ConfirmGET /docs-jsonon a running API.
Bull Board path is known: /admin/queues.
Security
- Password hash algorithm per flow.
argon2andbcryptjsare both dependencies. - Which courier webhooks verify signatures. WhatsApp and the Shopify path were specifically noted.
- Where the Stripe secret for WhatsApp is stored in deployed config.
- Whether every raw SQL statement filters
tenantId. MCP websocket authentication on port 3002.Resolved: the websocket server was removed./mcpnow requires OAuth bearer tokens (see integrations/platform-services.md#mcp).- Network policy for unauthenticated
/metrics. - Whether the permissions default-allow is accepted, or some controllers are missing decorators by mistake.
Code ambiguities
WalletListenercomment says do not rethrow. The code rethrows.- Two order state machine files. They match today and can drift.
isValidOrderTransitionand the return helper return true when the current status is null.return.status.changedandreturn.stock.restoredhave no listener.MidNightScheduleWorkeronly logs.- Courier codes
NIP,PIK,SHYP,ARMX,AMZhave no strategy class. StockMovementunique key includescreatedAt.- Inventory quantity formula in
stock-sync.service.tsis not written up at line level. - Order create idempotency key.
- Whether shipment webhooks and the 3-hour poller dedupe the same scan.
- Cashfree, PayU and Paytm settlement field mappings were written from public API docs and have not been checked against a live merchant account. PayU's
Txn_detailsand Paytm's list key are read tolerantly from several candidate names. See Payment gateway settlements. - Resolved by the 2026-10-04 database reset: the old order-line reconciliation table no longer exists; receivables are opened per payer.
- Orders shipped outside PointNXT (Easy Ship from Seller Central, FBA) get no shipment and no stock deduction. Whether PointNXT should deduct stock for seller-shipped orders it did not ship is not decided.
- FBA Inventory Adjustments and Customer Returns reports are uploaded as files. Fetching them through the SP-API Reports API is not built.
- A receivable opened for a payout line whose order PointNXT never had (
ORDER_CHARGE) is retired asNOT_EXPECTEDwhen the order arrives, and the order gets its own receivables. Whether finance wants the stand-in kept as the order's receivable instead is not recorded. - Short payments do not open a case automatically (fee overcharges do). Whether they should, and above what amount, is not recorded.
Payout.legalEntityIdandReceivable.legalEntityIdare filled from the channel's seller when one is set, else left null. Multi-entity tenants need the seller mapped for period locks and journals to split per entity.- FBA reimbursement receivables are valued at the SKU's recent selling price. Amazon reimburses at its own estimate; whether finance wants cost price or Amazon's figure as the expectation is not recorded.
- Multiple legal entities per tenant: the admin shows one legal entity and offers no picker, so accounting systems are created without one. The API supports
legalEntityIdrouting. - Packaging the Tally connector agent (installer or Windows service) for customers. Today it is a Node.js script downloaded from the Tally system's Connector agent tab.
- Zoho Books OAuth redirect flow. Credentials are pasted once today.
- Order state machine header comment omits statuses the map allows. The map wins.
- Which address validation statuses block fulfillment.
- Ledger uniqueness for one wallet token debit.
Archive docs under docs/archive/ and AI_CONTEXT.md are not a complete description of worker.module.ts. The agent context file does not mention webhook processors, webhook health, or the WhatsApp catalog queue.