Separate what AI may read, recommend, approve and execute
Operational authority is enforced outside model reasoning. Identity, role scope, tool permission, action policy, approval and current-state checks form a control chain that a prompt or retrieved note cannot override.
Authenticated user
→
Application RBAC
→
Agent request context
→
Tool authorization
→
Resource scope
→
Action policy
→
Human approval
→
State revalidation
→
Bounded execution
→
Audit verification
Control
Enforcement point
Failure behavior
Least privilege
Service identity + tool policy
Deny tool/action outside assigned scope
Read/write separation
Separate retrieval and action tools
Model cannot write through read tools
Human approval
Approval service / role policy
Protected action remains PREPARED, not executed
Stale-state protection
Version/freshness check immediately before execution
Approval invalidated; investigation refreshed
Prompt/data boundary
System policy + tool contract
Customer/product notes treated as data, never authorization
Auditability
Correlation ID + immutable action event
Protected execution fails if required audit context cannot be recorded
Critical security release gates
Protected action without authenticated authority0 permitted
Approval token accepted after relevant state/version changes0 permitted
Direct model write to order, inventory or shipment tables0 permitted
Protected execution without correlation/audit trace0 permitted
A fluent recommendation never grants permission. Authorization is evaluated by application and action services using authenticated identity, role, resource scope and current state.
Reference artifactSOAI-E02Operating control model
Order-to-fulfilment authority and control matrix
Maps Orders, Inventory, Warehouse, Purchase Orders, customer rules and fulfilment actions to permitted AI assistance and retained human authority.
Read boundary
Role + resource scope
Write boundary
Separate action tools
Approval
Required for protected action
Revalidation
Required before execution
Security qualificationSOAI-E07Security test run
Protected-action adversarial run
150 protected-action tests cover order changes, allocation changes, shipment release and customer-rule boundaries; zero unauthorised writes execute.
Suite size
150 designed cases
Critical gate
0 authorization bypass
Coverage
Role · action · approval · stale state · write boundary
Measured result
Requires reproducible security run
Trace artifactSOAI-E08Observability trace
SOAI-REQ-004817 end-to-end trace
Correlation trace records user role, order, SKUs, warehouses, tools, source versions, rule results, evidence references, recommendations, approval state and action status.
Request
SOAI-REQ-004817
Order
SO-12547
Blocker
ORDER_LINE_SHORTAGE
Shortfall
4
Write action
NONE
Approval
NOT_REQUESTED
Primewayz AI enablement for enterprise operations
Explore a governed AI workflow around your order, inventory, warehouse and fulfilment systems.