Files
headquarter/openspec/changes/project-management/tasks.md
T

1.5 KiB

1. Backend project API and ownership enforcement

  • 1.1 Add/extend project API routes for create, list, update, delete, and default-ssh-key set operations.
  • 1.2 Implement project service layer ownership checks using authenticated user identity.
  • 1.3 Implement/verify cascade semantics for project deletion with repository cleanup behavior.
  • 1.4 Add backend tests for authenticated CRUD, ownership-denied scenarios, and default-key validation.

2. Frontend project management flows

  • 2.1 Add project API client methods for list/create/update/delete/default-key operations.
  • 2.2 Implement projects page with list and empty/loading/error states.
  • 2.3 Implement project create/edit form interactions and validation messaging.
  • 2.4 Implement delete flow and UI refresh behavior after mutations.
  • 2.5 Add frontend tests for protected project routes and mutation flows.

3. Verification and OpenSpec tracking

  • 3.1 Run backend checks (pytest, ruff check src tests, mypy src) and fix findings.
  • 3.2 Run frontend checks (npm test, npm run typecheck, npm run lint, npm run build) and fix findings.
  • 3.3 Update this tasks file with completed checkboxes and document blockers/follow-ups.

Blockers / Follow-ups

  • No blocking issues remain for this change.
  • Frontend test run shows non-blocking Vite deprecation warnings related to esbuild options from vite:react-babel; behavior is unaffected and can be handled in a later tooling cleanup change.