Skip to content

Phase 6 (multi-tenancy): CLI/MCP/SDK org support + gated debt retirement #8

Description

@crisner1978

Multi-tenancy arc — phase tracking issue (spans this repo + auto-dot-dev/mcp + drivly/auth.vin cleanup). Map + decisions: drivly/auto.dev (multi-tenancy label).

Real auto orgs list/switch (persisted config — today switch prints success without persisting); org context via the token claim (retire x-org: settable via the SDK org option but nothing consumes it server-side); mcp.auto.dev verifies JWT signatures properly (today: unverified decode — security fix); then gated deletions: auth.vin per-user billing fields, legacy key fallback, dormant Resend Auth.js provider.

Ships: org support everywhere; debt retired. Rollback: code paths flag-revertible; deletions execute only after removal criteria are met + documented export — irreversible thereafter, deliberately.
Blocked by: https://github.com/drivly/apis/issues/496 (Phase 5); deletion criteria: https://github.com/drivly/auto.dev/issues/279

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    multi-tenancyMulti-user org support arc

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions