Skip to content

refactor: organize source by architectural layer - #13

Merged
w8385 merged 1 commit into
mainfrom
refactor/layered-source-layout
Nov 17, 2026
Merged

w8385 merged 1 commit into
mainfrom
refactor/layered-source-layout

Conversation

@w8385

@w8385 w8385 commented Nov 17, 2026

Copy link
Copy Markdown
Member

Summary

  • replace the flat src directory with explicit domain, application, HTTP/solved adapter, infrastructure, generated, and composition-root boundaries
  • extract normalized request-target, Bearer, and solved credential values so lower layers do not depend on adapters or configuration
  • keep gateway-handler as the single documented HTTP-to-solved orchestration edge
  • rename tests and production modules by responsibility and update generator/mock-load/runtime entrypoints
  • add ARCHITECTURE.md and an offline layout/dependency-direction regression test

Verification

  • Node 24: 308/308 tests
  • typecheck and deterministic OpenAPI/DTO/manifest checks
  • mock load and Compose validation
  • clean Docker build with image-internal 308/308 tests
  • runtime image content check and non-root/read-only health smoke
  • independent architecture and final diff reviews: clean

@w8385
w8385 enabled auto-merge November 17, 2026 13:17
@w8385
w8385 merged commit 10436c8 into main Nov 17, 2026
1 check passed
@w8385
w8385 deleted the refactor/layered-source-layout branch November 17, 2026 13:18
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.

1 participant