chore: archive project-management and scaffold user-profile change

This commit is contained in:
2026-05-17 20:26:30 +00:00
parent 71d9fe6406
commit 56f440db1b
14 changed files with 96 additions and 34 deletions
+6 -9
View File
@@ -3,9 +3,7 @@
## Purpose
Manage git repositories as bare repos on disk with metadata in database.
## Requirements
### Requirement: Repository Creation
The system SHALL allow creating new bare git repositories.
@@ -36,14 +34,13 @@ The system SHALL list all user repositories.
- THEN all their repos are listed with name, path, and last push date
### Requirement: Repository Deletion
The system SHALL remove repository records when their owning project is deleted through authorized project deletion flow.
The system SHALL support repository deletion.
#### Scenario: Delete repository
- GIVEN an authenticated user
- WHEN they delete a repository
- THEN it's removed from disk
- AND the database record is deleted
#### Scenario: Cascade repository cleanup
- GIVEN a project with associated repositories
- WHEN the project owner deletes the project
- THEN repository records for that project are removed
- AND repository listing no longer includes removed records
### Requirement: Duplicate Prevention