Files
Synapse/cli/spec/README.md
Dasemu 40631362b3 Initial import of LogDarioSeq baseline
Establishes version control for the personal Logseq DB fork before
starting the server-client architecture migration and domain features
described in docs/agent-guide and the approved implementation plan.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-25 15:32:15 +02:00

27 lines
979 B
Markdown

# Spec Layout
The spec virtual library is organized by capability boundary instead of an
abstract layer number.
Dependency direction:
```text
core -> domain -> runtime/formatting -> commands -> cli
```
Rules:
- `core` contains primitive shared contracts and must not depend on other spec
groups.
- `domain` contains Logseq domain model contracts and may depend on `core`.
- `runtime` contains external runtime boundaries such as transport, server, and
auth state. It may depend on `core` and `domain`.
- `formatting` contains presentation and shared formatting contracts. It may
depend on `core` and `domain`.
- `commands` contains command contracts. It may depend on `core`, `domain`,
`runtime`, and `formatting`.
- `cli` contains top-level CLI assembly contracts. It may depend on lower groups.
- Command modules should not depend on each other. Move shared command data to
`domain` or a clearly named shared contract before adding cross-command
dependencies.