Skip to content

Commit e2d3dc7

Browse files
authored
Update architecture diagram and agents docs to reflect current codebase (#254)
1 parent a543afe commit e2d3dc7

4 files changed

Lines changed: 272 additions & 343 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,4 @@ dotnet test
9494

9595
## Architecture Diagram
9696

97-
For a detailed architecture diagram and explanation, see `current-architecture-diagram.md` in the root of the repository.
97+
For a detailed architecture diagram and explanation, see [`docs/architecture-diagram.md`](docs/architecture-diagram.md).

agents.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,18 @@ This is a modern Sudoku game built with .NET, Blazor, and C# following Clean Arc
1010

1111
```
1212
Sudoku.sln
13-
├── Sudoku.Api/ # REST API presentation layer
14-
├── Sudoku.AppHost/ # Application orchestration
15-
├── Sudoku.Application/ # Application use cases and orchestration
16-
├── Sudoku.Blazor/ # Blazor Server presentation layer
17-
├── Sudoku.Domain/ # Core domain entities and business rules
18-
├── Sudoku.Infrastructure/ # External concerns (storage, external APIs)
19-
├── Sudoku.McpServer # MPC server for AI tooling
20-
├── Sudoku.ServiceDefaults/ # Default service configurations
21-
└── Tests/ # Unit and integration tests
13+
├── src/backend/
14+
│ ├── Sudoku.Api/ # REST API presentation layer
15+
│ ├── Sudoku.AppHost/ # Application orchestration
16+
│ ├── Sudoku.Application/ # Application use cases and orchestration
17+
│ ├── Sudoku.Domain/ # Core domain entities and business rules
18+
│ ├── Sudoku.Infrastructure/ # External concerns (storage, external APIs)
19+
│ ├── Sudoku.McpServer/ # MCP server for AI tooling
20+
│ ├── Sudoku.ServiceDefaults/ # Default service configurations
21+
│ └── Tests/ # Unit and integration tests
22+
└── src/frontend/
23+
├── Sudoku.Blazor/ # Blazor Server presentation layer
24+
└── Sudoku.React/ # React/Vite SPA (TypeScript)
2225
```
2326

2427
### Key Architectural Principles
@@ -242,7 +245,7 @@ public static class ServiceCollectionExtensions
242245
public static IServiceCollection AddSudokuServices(this IServiceCollection services)
243246
{
244247
// Register domain services
245-
services.AddScoped<IGameRepository, AzureBlobGameRepository>();
248+
services.AddScoped<IGameRepository, CosmosDbGameRepository>();
246249
services.AddScoped<ICommandHandler<CreateGameCommand>, CreateGameCommandHandler>();
247250

248251
// Register application services

architecture-diagram.md

Lines changed: 0 additions & 332 deletions
This file was deleted.

0 commit comments

Comments
 (0)