P8-015: Gateway Phase 7 — WorkspaceService, ProjectBootstrapService, Teams project ownership #168
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Create WorkspaceService with path resolution (solo: users///, team: teams///). Create ProjectBootstrapService orchestrating: DB record, workspace mkdir, git init/clone, agent config, docs structure, Discord channel (if configured). Wire sandboxDir in AgentService to workspace path. Implement teams CRUD API (create team, add/remove members, list teams). Wire canAccessProject() RBAC check.
Ref: docs/plans/2026-03-15-agent-platform-architecture.md (Workspaces section, Teams Architecture section)
Wave 6 — depends on P8-007.