This page compares the documented Ibnu Sina workflow with repository commit 67c2c3a on development, reviewed on 30 September 2026. The independent Ops repository was also checked for its Ibnu Sina slice.
Status meanings:
| Count | What |
|---|---|
| 14 | Aligned — substantial domain implementation exists |
| 8 | Partial — usable foundations with unfinished controls or integration |
| 1 | Gap — approved shared access capability absent |
| 2 | Unverified — requires production evidence |
| Area | Expected behaviour | Position at 67c2c3a |
Status |
|---|---|---|---|
| Authentication and membership | Shared Hub identity plus explicit local membership | OAuth/session/JWT, local users and invitation-based Ops provision exist | Aligned |
| PBAC and branch access | Backend modules and allowed branches control every sensitive action | Roles, permission middleware, branch access and overrides exist | Aligned |
| Team/all record scope | Restrict records to own team where configured | Explicitly documented as not built | Gap |
| Customers | One shared customer by phone with multiple addresses | Customer lookup, CRUD, address and geo support exist | Aligned |
| Quotations | Create, send, expire and convert medical-equipment offers | Models, routes, services, lines and screens exist | Aligned |
| Order intake and numbering | Draft safely; mint permanent number only at confirmation | Intake flow, Confirm Gate, product-type codes and counter migrations exist | Aligned |
| Orders and lifecycle | Draft → Confirmed → Delivered → Closed/Cancelled | Service transitions and first-Hantar delivery trigger exist | Aligned |
| Trips and fulfilment | Seven Trip types, assignment, proof, serial rules and exceptions | Portal and backend flows exist with completion gates and audits | Aligned |
| Driver Ops | Driver list/detail/proof/serial/Trip Done, field cash and pairing | Dedicated slice and backend contract exist; offline proof/payment queue and several driver outcomes remain incomplete | Partial |
| Warehouse Ops | Loading, returns, unit lookup, movements, checking and inbound | Dedicated screens and endpoints exist; PBAC plus work-list double gate is deferred | Partial |
| One-off payments | Capture, evidence, verify, bank submission and external export | Capture and verification state machine exists; final AutoCount posting is stubbed | Partial |
| Recurring rental | Cycles, recurring receipts, verification and voiding | Database, services, routes and screens exist | Aligned |
| Refunds | Independent request/approve/process/pay flow | State machine, evidence, routes and screens exist | Aligned |
| Itemize/account line verification | Verify, flag, unlock and post lines | State machine exists; “post” is only an AutoCount marker/outbox event | Partial |
| Collections/default | Follow overdue cycles and support repossession/cure | Collections, default records and lifecycle hooks exist | Aligned |
| Inventory | Serial/batch item master, ledger, locations, condition and lifecycle | Core inventory, locations, movements, checking and detailed screens exist | Aligned |
| Procurement | Suppliers, PO, partial receipt and inventory inbound | Full models, services, routes and screens exist | Aligned |
| Transfers, repairs and warranty | Controlled stock transfer, repair and warranty registration | Implemented with migrations, services and screens | Aligned |
| Service requests and sleep tests | Domain-specific post-sale/service records | Controllers, services, routes and screens exist | Aligned |
| Legacy AppSheet sync | Idempotent ingestion, projection, health and issue tracking | Mirror, run/state/queue/mapping/issue schema and projection functions exist; production scheduler/credentials unverified | Partial |
| OE integration | Broker assignment and Ops traffic with scoped machine token | Backend /oe//ops contract and client slice exist |
Partial |
| Ops production enablement | Ibnu Sina available in the deployed production Ops build | Registry contains Ibnu Sina, but repository README records production disabled; Vercel/OE variables were not independently confirmed here | Unverified |
| AutoCount | Real accepted posting and reconciliation | Internal export statuses, mappings and outbox exist; external writer is explicitly a stub | Partial |
| PayEx | Live payment-gateway transaction and reconciliation | PayEx is a payment method/value; a complete gateway flow was not found | Partial |
| Deployment and recovery | Repeatable frontend/backend release, rollback, backup and restore | Frontend production workflow exists; backend production release and recovery evidence are not complete in-repo | Unverified |
EXPO_PUBLIC_ENABLED_BUS and OE BU_IB_* configuration.ibnusina.utopiagroup.com.my and its backend API.BU_IB_BASE_URL, BU_IB_TOKEN and unit registration.