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>
This commit is contained in:
2026-08-25 15:32:15 +02:00
commit 40631362b3
2016 changed files with 543898 additions and 0 deletions

26
cli/spec/README.md Normal file
View File

@@ -0,0 +1,26 @@
# 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.