Skip to content

refactor: group headers and specs into sub-domain folders#17

Merged
Yaraslaut merged 1 commit into
masterfrom
feat/header-subdomain-layout
Jul 19, 2026
Merged

refactor: group headers and specs into sub-domain folders#17
Yaraslaut merged 1 commit into
masterfrom
feat/header-subdomain-layout

Conversation

@Yaraslaut

Copy link
Copy Markdown
Member

Reorganises the flat include/morph/ directory into per-sub-domain
subdirectories that mirror the namespaces, and mirrors the same folders under
docs/spec/. Pure file-move + include-path change — no namespace, symbol, or
behaviour change.

Layout

include/morph/{core,journal,offline,session,forms,util}/   # detail/, qt/ unchanged
docs/spec/{core,journal,offline,session,forms,util}/       # cross-cutting specs stay at root
  • core/ — logger, executor, strand, completion, model, registry, backend, remote, bridge, wire
  • journal/ — action_log, journal, file_action_log
  • offline/ — network_monitor, offline_queue, sync_worker, reconnect_coordinator
  • session/ — session, session_auth
  • forms/ — forms, choice
  • util/ — rational, quantity, datetime
  • Cross-cutting specs (security, error_handling, concurrency_and_lifetimes) stay at docs/spec/ root.

What changed

  • git mv of all headers and spec files (history preserved).
  • Every in-repo include rewritten (angle includes across include/, src/,
    tests/, examples/; intra-header relative includes recomputed).
  • CMake FILE_SET, Doxygen @file comments, ARCHITECTURE.md header map, and all
    inter-doc links updated.

Verification (local)

  • Configure + build + ctest: 452/452 pass.
  • Doxygen doc target: clean under FAIL_ON_WARNINGS.
  • Qt config (MORPH_BUILD_QT=ON): morph_qt_impl builds.

The spec-sync gate should pass here (this PR changes headers and specs in the
same sub-domains).

🤖 Generated with Claude Code

Reorganise include/morph/ into per-sub-domain subdirectories (core, journal,
offline, session, forms, util) mirroring the namespaces, and mirror the same
folders under docs/spec/. Pure file-move + include-path change: no namespace,
symbol, or behaviour change. All in-repo includes, CMake header sets, Doxygen
@file comments, ARCHITECTURE.md header map, and inter-doc links updated.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@codecov

codecov Bot commented Jul 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Yaraslaut
Yaraslaut merged commit f0d54f6 into master Jul 19, 2026
33 of 34 checks passed
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