Identity and tenancy
Propagate the authenticated user, organisation, role, purpose, and policy; enforce access at the source or trusted service rather than in prompts.
Keep systems of record authoritative. Place AI behind explicit identity, data, tool, and policy boundaries; separate retrieval from action; expose narrow versioned interfaces; verify resulting state after writes; and design observability, fallback, and revocation before expanding authority.
By Onyx Devs Lab · Published · Updated
The model should receive only the context required for the current authorised task.
Propagate the authenticated user, organisation, role, purpose, and policy; enforce access at the source or trusted service rather than in prompts.
Define object identities, fields, meaning, freshness, provenance, permissions, citation, missing-data behaviour, and version compatibility for every source.
Use adapters or services to normalise legacy APIs, databases, files, events, and vendor systems while preserving rate limits, ownership, audit, and change isolation.
A model suggestion is not proof that a business action was valid or completed.
Expose typed, purpose-specific operations with validation, least privilege, limits, dry-run support, and deterministic policy checks.
Bind confirmation to the exact target and payload, prevent stale or duplicate actions, serialise conflicts, and record actor, reason, request, result, and policy version.
Read back the system of record, detect partial failure, reconcile uncertain outcomes, retry idempotently, alert owners, revoke authority, and preserve manual fallback.
Inventory sources, owners, identities, interfaces, data classes, network zones, read and write paths, rates, failure modes, and systems of record.
Version the entities, events, tools, permissions, errors, freshness, provenance, and compatibility rules used by the AI layer.
Prove identity, retrieval, citations, latency, monitoring, and business usefulness before enabling consequential actions.
For each action, add validation, confirmation, idempotency, audit, state verification, rollback or compensation, limits, and revocation.
Usually expose a controlled read or service layer. Direct access can bypass business rules, tenant controls, audit, rate limits, and safe schema evolution.
No. Retrieval supplies context; integration also includes identity, contracts, workflows, tools, events, write control, resulting-state verification, monitoring, and recovery.
Use supported APIs, replicas, exports, queues, gateways, or narrow adapters according to risk. Record ownership and failure behaviour instead of hiding legacy constraints.
We will first clarify the workflow, evidence, data boundary, and outcome standard before recommending the next step.
Contact Onyx