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>
Spec Layout
The spec virtual library is organized by capability boundary instead of an abstract layer number.
Dependency direction:
core -> domain -> runtime/formatting -> commands -> cli
Rules:
corecontains primitive shared contracts and must not depend on other spec groups.domaincontains Logseq domain model contracts and may depend oncore.runtimecontains external runtime boundaries such as transport, server, and auth state. It may depend oncoreanddomain.formattingcontains presentation and shared formatting contracts. It may depend oncoreanddomain.commandscontains command contracts. It may depend oncore,domain,runtime, andformatting.clicontains top-level CLI assembly contracts. It may depend on lower groups.- Command modules should not depend on each other. Move shared command data to
domainor a clearly named shared contract before adding cross-command dependencies.