Skip to content

refactor(app): establish domain boundaries - #12

Merged
mzner merged 3 commits into
mainfrom
refactor/app-domain-boundaries
Aug 14, 2026
Merged

refactor(app): establish domain boundaries#12
mzner merged 3 commits into
mainfrom
refactor/app-domain-boundaries

Conversation

@mzner

@mzner mzner commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • extract admin, archive, filesystem, share, Spaces, and sync application policy into compiler-enforced domain packages
  • keep runtime construction and profile persistence in the parent facade and expose narrow Graph, OCS, WebDAV, and persistence ports
  • reduce the root application package from 14,213 to 5,772 production lines and from 52 to 31 production files
  • split authentication dispatch into focused operation handlers
  • enforce domain dependency direction and merged application coverage
  • add live coverage for archive downloads containing a non-empty Space folder

Validation

  • make check
  • make integration against disposable oCIS 8.1.0 after each extraction stage
  • merged internal/app/... coverage: 77.0%
  • git diff --check

Both commits are SSH-signed and verified.

mzner added 3 commits August 14, 2026 09:23
- isolate admin, archive, share, and sync policy behind narrow ports
- add compiler-enforced dependency guards and merged app coverage
- verify non-empty Space archive downloads in the live integration suite
- split authentication dispatch into focused operation handlers
- move filesystem, batch, and metadata policy behind a narrow client port
- isolate project Space lifecycle, details, and membership policy
- move focused tests into their owning domain packages
- enforce the new dependency boundaries and preserve output contracts
- use the patched standard library in builds and scans\n- resolve the reachable govulncheck findings

Signed-off-by: Matteo <mzner@pm.me>
@mzner
mzner merged commit 8d36161 into main Aug 14, 2026
14 checks passed
@mzner
mzner deleted the refactor/app-domain-boundaries branch August 14, 2026 09:16
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