Skip to content

Group API service registration by concern - #303

Merged
mforce merged 1 commit into
mainfrom
chore/291-service-registration
Jul 30, 2026
Merged

mforce merged 1 commit into
mainfrom
chore/291-service-registration

Conversation

@mforce

@mforce mforce commented Jul 30, 2026

Copy link
Copy Markdown
Owner

Closes #291

Summary

  • extract the inline Program.cs service-registration block into concern-focused AddCluckwork* extensions
  • separate telemetry, persistence, identity, rate limiting, edge security, features, health checks, and durable jobs while preserving registrations and lifetimes
  • keep eager startup validation and pass validated values back to Program.cs for TLS warning logging, OTLP status logging, and the Production proxy-trust guard
  • reduce Program.cs from 914 lines to 388 lines
  • refresh the graphify knowledge graph

Verification

  • dotnet build Cluckwork.sln --no-restore
  • dotnet test Cluckwork.sln --no-build --no-restore — 908/908 passed
  • git diff --check

Independent review

  • Claude CLI: identified concern-boundary cleanup for timezone validation, edge security, and durable jobs; addressed before final verification
  • Pi v0.83.0 / DeepSeek V4 Flash DSpark: no findings after checking registration parity, lifetimes, startup guards, and concern boundaries

@mforce
mforce merged commit 7a3c4d6 into main Jul 30, 2026
8 checks passed
@mforce
mforce deleted the chore/291-service-registration branch July 30, 2026 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Group Program.cs DI/service registration into extension methods

1 participant