semi implemented and features implemented save checkpoint

This commit is contained in:
master
2026-02-08 18:00:49 +02:00
parent 04360dff63
commit 1bf6bbf395
20895 changed files with 716795 additions and 64 deletions

View File

@@ -0,0 +1,15 @@
# SOLID Review - PlanRuleDto
## Scope
- File: src/Registry/StellaOps.Registry.TokenService/Admin/AdminModels.cs
- Project: src/Registry/StellaOps.Registry.TokenService/StellaOps.Registry.TokenService.csproj
- Date (UTC): 2026-01-31
## Findings
- Single responsibility: file defines multiple types (PlanRuleDto, RepositoryRuleDto, RateLimitDto, CreatePlanRequest, UpdatePlanRequest, ValidatePlanRequest, TestScopeRequest, ValidationResult, ValidationError, TestScopeResult, PlanAuditEntry, PaginatedResponse); responsibilities may be bundled.
## Maintainability Notes
- File length 402 lines; consider splitting for readability.
## Recommendations
- Split types into separate files grouped by responsibility.
- Extract helpers to reduce file size and complexity.

View File

@@ -0,0 +1,14 @@
# SOLID Review - IPlanRuleStore
## Scope
- File: src/Registry/StellaOps.Registry.TokenService/Admin/IPlanRuleStore.cs
- Project: src/Registry/StellaOps.Registry.TokenService/StellaOps.Registry.TokenService.csproj
- Date (UTC): 2026-01-31
## Findings
- Single responsibility: file defines multiple types (IPlanRuleStore, PlanVersionConflictException, PlanNotFoundException, PlanNameConflictException); responsibilities may be bundled.
## Maintainability Notes
- Multiple types in one file can blur ownership boundaries.
## Recommendations
- Split types into separate files grouped by responsibility.

View File

@@ -0,0 +1,14 @@
# SOLID Review - I
## Scope
- File: src/Registry/StellaOps.Registry.TokenService/Admin/InMemoryPlanRuleStore.cs
- Project: src/Registry/StellaOps.Registry.TokenService/StellaOps.Registry.TokenService.csproj
- Date (UTC): 2026-01-31
## Findings
- Single responsibility: single type definition; cohesive.
## Maintainability Notes
- File length 232 lines; consider splitting for readability.
## Recommendations
- Extract helpers to reduce file size and complexity.

View File

@@ -0,0 +1,16 @@
# SOLID Review - P
## Scope
- File: src/Registry/StellaOps.Registry.TokenService/Admin/PlanAdminEndpoints.cs
- Project: src/Registry/StellaOps.Registry.TokenService/StellaOps.Registry.TokenService.csproj
- Date (UTC): 2026-01-31
## Findings
- Single responsibility: single type definition; cohesive.
- Dependency inversion: static utility types limit substitution; consider abstraction if behavior must vary.
## Maintainability Notes
- File length 294 lines; consider splitting for readability.
## Recommendations
- Extract helpers to reduce file size and complexity.
- Consider interface-backed abstraction if alternate implementations are needed.

View File

@@ -0,0 +1,14 @@
# SOLID Review - P
## Scope
- File: src/Registry/StellaOps.Registry.TokenService/Admin/PlanValidator.cs
- Project: src/Registry/StellaOps.Registry.TokenService/StellaOps.Registry.TokenService.csproj
- Date (UTC): 2026-01-31
## Findings
- Single responsibility: single type definition; cohesive.
## Maintainability Notes
- File length 238 lines; consider splitting for readability.
## Recommendations
- Extract helpers to reduce file size and complexity.

View File

@@ -0,0 +1,14 @@
# SOLID Review - R
## Scope
- File: src/Registry/StellaOps.Registry.TokenService/Observability/RegistryTokenMetrics.cs
- Project: src/Registry/StellaOps.Registry.TokenService/StellaOps.Registry.TokenService.csproj
- Date (UTC): 2026-01-31
## Findings
- Single responsibility: single type definition; cohesive.
## Maintainability Notes
- Minimal surface area; easy to reason about.
## Recommendations
- Keep as-is.

View File

@@ -0,0 +1,14 @@
# SOLID Review - PlanRegistry
## Scope
- File: src/Registry/StellaOps.Registry.TokenService/PlanRegistry.cs
- Project: src/Registry/StellaOps.Registry.TokenService/StellaOps.Registry.TokenService.csproj
- Date (UTC): 2026-01-31
## Findings
- Single responsibility: file defines multiple types (PlanRegistry, PlanDescriptor, RepositoryDescriptor); responsibilities may be bundled.
## Maintainability Notes
- Multiple types in one file can blur ownership boundaries.
## Recommendations
- Split types into separate files grouped by responsibility.

View File

@@ -0,0 +1,15 @@
# SOLID Review - Program
## Scope
- File: src/Registry/StellaOps.Registry.TokenService/Program.cs
- Project: src/Registry/StellaOps.Registry.TokenService/StellaOps.Registry.TokenService.csproj
- Date (UTC): 2026-01-31
## Findings
- Single responsibility: no type declarations; file appears to contain top-level statements or metadata.
## Maintainability Notes
- Minimal surface area; easy to reason about.
## Recommendations
- Keep as-is.
- Extract helpers to reduce file size and complexity.

View File

@@ -0,0 +1,14 @@
# SOLID Review - RegistryAccessRequest
## Scope
- File: src/Registry/StellaOps.Registry.TokenService/RegistryAccessModels.cs
- Project: src/Registry/StellaOps.Registry.TokenService/StellaOps.Registry.TokenService.csproj
- Date (UTC): 2026-01-31
## Findings
- Single responsibility: file defines multiple types (RegistryAccessRequest, RegistryAccessDecision); responsibilities may be bundled.
## Maintainability Notes
- Multiple types in one file can blur ownership boundaries.
## Recommendations
- Split types into separate files grouped by responsibility.

View File

@@ -0,0 +1,16 @@
# SOLID Review - RegistryScopeParser
## Scope
- File: src/Registry/StellaOps.Registry.TokenService/RegistryScopeParser.cs
- Project: src/Registry/StellaOps.Registry.TokenService/StellaOps.Registry.TokenService.csproj
- Date (UTC): 2026-01-31
## Findings
- Single responsibility: file defines multiple types (RegistryScopeParser, InvalidScopeException); responsibilities may be bundled.
- Dependency inversion: static utility types limit substitution; consider abstraction if behavior must vary.
## Maintainability Notes
- Multiple types in one file can blur ownership boundaries.
## Recommendations
- Split types into separate files grouped by responsibility.
- Consider interface-backed abstraction if alternate implementations are needed.

View File

@@ -0,0 +1,14 @@
# SOLID Review - RegistryTokenIssuer
## Scope
- File: src/Registry/StellaOps.Registry.TokenService/RegistryTokenIssuer.cs
- Project: src/Registry/StellaOps.Registry.TokenService/StellaOps.Registry.TokenService.csproj
- Date (UTC): 2026-01-31
## Findings
- Single responsibility: file defines multiple types (RegistryTokenIssuer, RegistryTokenResponse, RegistryTokenException); responsibilities may be bundled.
## Maintainability Notes
- Multiple types in one file can blur ownership boundaries.
## Recommendations
- Split types into separate files grouped by responsibility.

View File

@@ -0,0 +1,15 @@
# SOLID Review - RegistryTokenServiceOptions
## Scope
- File: src/Registry/StellaOps.Registry.TokenService/RegistryTokenServiceOptions.cs
- Project: src/Registry/StellaOps.Registry.TokenService/StellaOps.Registry.TokenService.csproj
- Date (UTC): 2026-01-31
## Findings
- Single responsibility: file defines multiple types (RegistryTokenServiceOptions, AuthorityOptions, SigningOptions, RegistryOptions, PlanRule, RepositoryRule); responsibilities may be bundled.
## Maintainability Notes
- File length 322 lines; consider splitting for readability.
## Recommendations
- Split types into separate files grouped by responsibility.
- Extract helpers to reduce file size and complexity.

View File

@@ -0,0 +1,15 @@
# SOLID Review - S
## Scope
- File: src/Registry/StellaOps.Registry.TokenService/Security/SigningKeyLoader.cs
- Project: src/Registry/StellaOps.Registry.TokenService/StellaOps.Registry.TokenService.csproj
- Date (UTC): 2026-01-31
## Findings
- Single responsibility: single type definition; cohesive.
- Dependency inversion: static utility types limit substitution; consider abstraction if behavior must vary.
## Maintainability Notes
- Minimal surface area; easy to reason about.
## Recommendations
- Consider interface-backed abstraction if alternate implementations are needed.

View File

@@ -0,0 +1,14 @@
# SOLID Review - I
## Scope
- File: src/Registry/__Tests/StellaOps.Registry.TokenService.Tests/Admin/InMemoryPlanRuleStoreTests.cs
- Project: src/Registry/__Tests/StellaOps.Registry.TokenService.Tests/StellaOps.Registry.TokenService.Tests.csproj
- Date (UTC): 2026-01-31
## Findings
- Single responsibility: single type definition; cohesive.
## Maintainability Notes
- File length 352 lines; consider splitting for readability.
## Recommendations
- Extract helpers to reduce file size and complexity.

View File

@@ -0,0 +1,15 @@
# SOLID Review - PlanAdminEndpointsTests
## Scope
- File: src/Registry/__Tests/StellaOps.Registry.TokenService.Tests/Admin/PlanAdminEndpointsTests.cs
- Project: src/Registry/__Tests/StellaOps.Registry.TokenService.Tests/StellaOps.Registry.TokenService.Tests.csproj
- Date (UTC): 2026-01-31
## Findings
- Single responsibility: file defines multiple types (PlanAdminEndpointsTests, TestWebApplicationFactory, TestAuthHandler); responsibilities may be bundled.
## Maintainability Notes
- File length 464 lines; consider splitting for readability.
## Recommendations
- Split types into separate files grouped by responsibility.
- Extract helpers to reduce file size and complexity.

View File

@@ -0,0 +1,14 @@
# SOLID Review - P
## Scope
- File: src/Registry/__Tests/StellaOps.Registry.TokenService.Tests/Admin/PlanValidatorTests.cs
- Project: src/Registry/__Tests/StellaOps.Registry.TokenService.Tests/StellaOps.Registry.TokenService.Tests.csproj
- Date (UTC): 2026-01-31
## Findings
- Single responsibility: single type definition; cohesive.
## Maintainability Notes
- File length 343 lines; consider splitting for readability.
## Recommendations
- Extract helpers to reduce file size and complexity.

View File

@@ -0,0 +1,14 @@
# SOLID Review - P
## Scope
- File: src/Registry/__Tests/StellaOps.Registry.TokenService.Tests/PlanRegistryTests.cs
- Project: src/Registry/__Tests/StellaOps.Registry.TokenService.Tests/StellaOps.Registry.TokenService.Tests.csproj
- Date (UTC): 2026-01-31
## Findings
- Single responsibility: single type definition; cohesive.
## Maintainability Notes
- Minimal surface area; easy to reason about.
## Recommendations
- Keep as-is.

View File

@@ -0,0 +1,14 @@
# SOLID Review - R
## Scope
- File: src/Registry/__Tests/StellaOps.Registry.TokenService.Tests/RegistryScopeParserTests.cs
- Project: src/Registry/__Tests/StellaOps.Registry.TokenService.Tests/StellaOps.Registry.TokenService.Tests.csproj
- Date (UTC): 2026-01-31
## Findings
- Single responsibility: single type definition; cohesive.
## Maintainability Notes
- Minimal surface area; easy to reason about.
## Recommendations
- Keep as-is.

View File

@@ -0,0 +1,14 @@
# SOLID Review - R
## Scope
- File: src/Registry/__Tests/StellaOps.Registry.TokenService.Tests/RegistryTokenIssuerTests.cs
- Project: src/Registry/__Tests/StellaOps.Registry.TokenService.Tests/StellaOps.Registry.TokenService.Tests.csproj
- Date (UTC): 2026-01-31
## Findings
- Single responsibility: single type definition; cohesive.
## Maintainability Notes
- Minimal surface area; easy to reason about.
## Recommendations
- Keep as-is.

View File

@@ -0,0 +1,14 @@
# SOLID Review - U
## Scope
- File: src/Registry/__Tests/StellaOps.Registry.TokenService.Tests/UnitTest1.cs
- Project: src/Registry/__Tests/StellaOps.Registry.TokenService.Tests/StellaOps.Registry.TokenService.Tests.csproj
- Date (UTC): 2026-01-31
## Findings
- Single responsibility: single type definition; cohesive.
## Maintainability Notes
- Minimal surface area; easy to reason about.
## Recommendations
- Keep as-is.