[claudesquad] update from 'define implement' on 22 Jul 25 11:34 EDT (paused)

This commit is contained in:
2025-07-22 11:34:08 -04:00
parent 6278ed0b65
commit 7e108526e0

View File

@@ -170,7 +170,6 @@ graph TB
- **Purpose**: Orchestrate complete publishing workflows - **Purpose**: Orchestrate complete publishing workflows
- **Technology**: ASP.NET Core + Hangfire - **Technology**: ASP.NET Core + Hangfire
- **Responsibilities**: - **Responsibilities**:
- Package creation from successful builds
- Coordinate document generation - Coordinate document generation
- Manage cloud uploads - Manage cloud uploads
- Update help center articles - Update help center articles
@@ -191,13 +190,15 @@ erDiagram
Packages { Packages {
int Id PK int Id PK
string Name string Title
string Version string Version
string Description string Description
int ProjectId FK
int SourceBuildId FK int SourceBuildId FK
json CloudStorageConfig json CloudStorageConfig
json HelpCenterConfig json HelpCenterArticles
string Status string Status
datetime PublishDate
datetime CreatedAt datetime CreatedAt
datetime UpdatedAt datetime UpdatedAt
} }
@@ -249,14 +250,15 @@ erDiagram
} }
Projects ||--o{ Builds : "produces builds" Projects ||--o{ Builds : "produces builds"
Builds ||--o| Packages : "creates package" Projects ||--o{ Packages : "user creates packages for"
Builds ||--o{ Packages : "can be referenced by"
Packages ||--o{ Publications : "has publications" Packages ||--o{ Publications : "has publications"
``` ```
#### Core Entities #### Core Entities
```sql ```sql
-- Packages: Top-level finalized software releases -- Packages: User-defined software release configurations
Packages (Id, Name, Version, Description, SourceBuildId, CloudStorageConfig, HelpCenterConfig, Status, CreatedAt, UpdatedAt) Packages (Id, Title, Version, Description, ProjectId, SourceBuildId, CloudStorageConfig, HelpCenterArticles, Status, PublishDate, CreatedAt, UpdatedAt)
-- Projects from CruiseControl.NET -- Projects from CruiseControl.NET
Projects (Id, Name, Description, CCNetProjectName, Status, CreatedAt, UpdatedAt) Projects (Id, Name, Description, CCNetProjectName, Status, CreatedAt, UpdatedAt)
@@ -483,12 +485,12 @@ sequenceDiagram
participant HF as Hangfire participant HF as Hangfire
participant SH as SignalR Hub participant SH as SignalR Hub
Note over User,UI: Package Creation Phase Note over User,UI: Package Management Phase
User->>UI: Select Build & Create Package User->>UI: Create/Edit Package Configuration
UI->>GW: POST /api/packages/create-from-build UI->>GW: POST /api/packages
GW->>PUB: Create Package from Build Note over UI: Package List View, Package Details Form
PUB->>SH: Package Created Notification UI->>GW: GET /api/packages (List View)
SH->>UI: Real-time Package Status UI->>GW: GET /api/packages/{id} (Details)
Note over User,UI: Publishing Phase Note over User,UI: Publishing Phase
User->>UI: Select Package & Initiate Publishing User->>UI: Select Package & Initiate Publishing
@@ -529,13 +531,13 @@ flowchart TD
subgraph "Core Data Model" subgraph "Core Data Model"
PROJ[Projects<br/>CC.NET Projects] PROJ[Projects<br/>CC.NET Projects]
BUILDS[Builds<br/>From Projects] BUILDS[Builds<br/>From Projects]
PKG[Packages<br/>Finalized Releases] PKG[Packages<br/>User-Defined Configs]
PUB_DATA[Publications<br/>Publishing History] PUB_DATA[Publications<br/>Publishing History]
end end
subgraph "Processing Layer" subgraph "Processing Layer"
DS[Document Service<br/>PDF Generator] DS[Document Service<br/>PDF Generator]
PUB[Publishing Service<br/>Package Creator & Orchestrator] PUB[Publishing Service<br/>Workflow Orchestrator]
end end
subgraph "Output Channels" subgraph "Output Channels"
@@ -552,10 +554,10 @@ flowchart TD
PS --> PROJ PS --> PROJ
MS --> PROJ MS --> PROJ
PROJ --> BUILDS PROJ --> BUILDS
BUILDS --> PKG
PKG --> PUB_DATA
UI --> PKG UI --> PKG
PKG --> PROJ
PKG --> BUILDS
PKG --> PUB PKG --> PUB
PUB --> DS PUB --> DS
PUB --> STOR PUB --> STOR
@@ -577,6 +579,19 @@ flowchart TD
class UI ui class UI ui
``` ```
## Frontend Views
### Package Management Interface
- **Package List View**: Display all packages with columns for Title, Project, Build, Status, Publish Date
- **Package Details/Create Form**:
- Title (user input)
- Project (dropdown from available projects)
- Build (dropdown from project's successful builds)
- Publish Date (date picker)
- Help Center Articles (multi-select/tags)
- Cloud Storage Configuration
- Status tracking
## Next Steps ## Next Steps
1. Set up development environment with Docker Compose 1. Set up development environment with Docker Compose
@@ -584,5 +599,5 @@ flowchart TD
3. Implement core database models and Entity Framework setup 3. Implement core database models and Entity Framework setup
4. Build API Gateway with authentication 4. Build API Gateway with authentication
5. Develop individual services in parallel 5. Develop individual services in parallel
6. Create React frontend with SignalR integration 6. Create React frontend with Package Management views and SignalR integration
7. Integration testing and deployment scripts 7. Integration testing and deployment scripts