Design and implement per-user tenancy #10

Open
opened 2026-04-03 11:12:38 +00:00 by sam · 0 comments
Member

Summary

Add a tenancy model so AMCS can safely separate data by user, tenant, or workspace instead of assuming a single shared memory space.

Why

Per-user tenancy is listed as a deferred feature in the implementation plan. It becomes important if AMCS is used by multiple users, agents, or client applications that should not share the same thought/project namespace.

Scope ideas

  • Define the tenant boundary: user, org, workspace, or account
  • Add tenant-aware schema and indexing strategy
  • Update auth context so requests resolve to a tenant
  • Ensure searches, project lookups, files, skills, and guardrails are tenant-scoped
  • Consider migration strategy for single-tenant installs
  • Document security expectations and isolation guarantees

Acceptance criteria

  • Requests are scoped to a tenant boundary
  • Data access across tenants is prevented by design
  • Core tools behave correctly in a multi-tenant environment
  • Migration and config approach is documented

Source

Deferred feature from llm/plan.md: per-user tenancy.

## Summary Add a tenancy model so AMCS can safely separate data by user, tenant, or workspace instead of assuming a single shared memory space. ## Why Per-user tenancy is listed as a deferred feature in the implementation plan. It becomes important if AMCS is used by multiple users, agents, or client applications that should not share the same thought/project namespace. ## Scope ideas - Define the tenant boundary: user, org, workspace, or account - Add tenant-aware schema and indexing strategy - Update auth context so requests resolve to a tenant - Ensure searches, project lookups, files, skills, and guardrails are tenant-scoped - Consider migration strategy for single-tenant installs - Document security expectations and isolation guarantees ## Acceptance criteria - Requests are scoped to a tenant boundary - Data access across tenants is prevented by design - Core tools behave correctly in a multi-tenant environment - Migration and config approach is documented ## Source Deferred feature from `llm/plan.md`: per-user tenancy.
Sign in to join this conversation.