Skip to main content

Do not confuse client scope with tenant isolation

Status: Ready

Article ID: 068

Truth label: Limited

Audience: Architect and operator

Reader outcome: Avoid confidential multi-client use before every path is enforced.

Related articles: 007, 067, 073

Target week: 27

Last verified: 2026-09-13

Technical reviewer: Codex security source audit

Editorial reviewer: Codex editorial audit

State the intended policy​

A client request should see its own records plus explicitly shared internal methodology. Internal and all-scope access should remain exceptional. Failure to resolve scope should return no records.

Identify current capability​

Scoped CPMI search, scoped learning search, and worker task-scope resolution apply checks on selected paths. Denial evidence helps operators see when those checks reject a request.

Locate the bypasses​

Chat auto-retrieval, some LangGraph tools, direct record reads, and document operations do not all pass through one scope gateway. Chat has no complete scope context. Worker scope resolution is not fully bound to the current run token.

Apply the safe-use rule​

Use one trusted operator and avoid confidential work from two clients in the same deployment. Keep client content out of shared methodology. Review scope metadata before promotion or export, and treat scope audit records as evidence of checked calls only.

Current limits​

Client labels and filtered endpoints are not complete tenant isolation. The gaps are a release blocker before client number two. Isolation requires one gateway, structured scope on every retrieval, run-token binding, negative tests, and operator-only direct collection access.

Next lesson​

Continue with Threat-model an agent worker.

Derivative map​

  • Weekly package: WEEK-27
  • Long video: VIDEO-W27-LONG
  • Shorts: SHORT-W27-PROBLEM, SHORT-W27-MECHANISM, SHORT-W27-WARNING
  • Email: EMAIL-W27
  • LinkedIn: LI-W27-A, LI-W27-B
  • X: X-W27-A, X-W27-B
  • Visual: VISUAL-W27

Review record​

  • Client, operator, worker, retrieval tool, and stored-record actors identified.
  • Implemented scoped paths and bypass paths checked against the security audit.
  • Limited label and second-client release block remain explicit.
  • Scope audit was not presented as proof of no leakage.

Review completed: 2026-08-27

Re-audited against the running product: 2026-09-13