Source Directory
This is the root of the application source code.
Structure
The current codebase still contains an older layer-first layout. The preferred direction for new work is the context-first structure described in the docs:
contexts/: first-class bounded contextsworkflows/: top-level cross-context orchestrationshared/: tiny ubiquitous primitives onlytasks/: optional cross-context workflow steps
Legacy folders such as domain/, policies/, adapters/, registries/, and layers/ may still exist during the transition.
Treat them as migration residue rather than the target architecture.
For detailed documentation, see docs/reference/directory-layout.md.