Skip to content
Clone
8cc1265
18 lines 1.8 KB Markdown

Domain convergence checkpoint

Goal: remove auth RPC, reorganize auth following 8fefadc, move SSH keys to user, unify identity HTTP, narrow domain capabilities, consolidate space access and cross-domain APIs, and centralize outbound delivery.

Constraints: Git RPC implementation must not change. User authorized unlimited compilation and parallel agents. Preserve existing staged changes. No tests requested.

IDRequirementPriorityStatusEvidence
Aauth organization, RPC removal, SSH migrationP0COMPLETERPC implementations removed; Accounts replaces AuthApi; SSH lives in user; auth has no tonic/RPC references
BSingle identity HTTP boundaryP0COMPLETEShared Router/State/ApiError; assets and middleware in webapi; Retry-After preserved through shared Envelope metadata
CNarrow services, concrete adapters, one read routerP1COMPLETENo AppState in seven domain crates; Database/BlobStore/AuthApi traits removed; AppDatabase delegates DbConn; capabilities extracted
DDeep space policy, opaque handleP1COMPLETEAccess/Space + Capability; shared permission kernel/cache; no domain access to space tables/errors
EOwner APIs across domainsP1COMPLETEIssue label read API; repo ownership in Access; UserDto from export; chat-room-store owns room writes; Git facade uses concrete backend
FDeep outbound deliveryP1COMPLETEevents::emit; transactional Notifications; email helper; database-only Realtime

Latest check: cargo check --workspace --target-dir target/auth-refactor passed with 0 warnings. Targeted rustfmt check passed for auth/user/chat/issues/pulls/space/git/webapi/export/models. git diff --check passed. Git RPC files remain unchanged. No tests were run.

Next: optional focused runtime/smoke verification in an environment with its dependencies.