Context
The workspace is the root of everything: a directory on disk plus its metadata store. Every
kernel operation happens in the context of exactly one workspace.
Deliverables
WorkspaceService.init(path) — creates directory layout (blob store root, sqlite db),
writes format_version.
WorkspaceService.open(path) — validates layout + format_version, fails with a clear
error on unknown/future versions.
- Project-name uniqueness enforced at workspace level.
- Wire
FilesystemBlobStore + SqliteMetadataStore construction here (single composition
point for default adapters).
Acceptance criteria
Context
The workspace is the root of everything: a directory on disk plus its metadata store. Every
kernel operation happens in the context of exactly one workspace.
Deliverables
WorkspaceService.init(path)— creates directory layout (blob store root, sqlite db),writes
format_version.WorkspaceService.open(path)— validates layout +format_version, fails with a clearerror on unknown/future versions.
FilesystemBlobStore+SqliteMetadataStoreconstruction here (single compositionpoint for default adapters).
Acceptance criteria
initon an existing non-empty dir fails safely;openon a non-workspace dir fails clearly