Skip to content

Specify the workspace catalog and CRDT shard boundary #112

Description

@brylie

Problem

#13 contains the architectural decision, persistence model, routing rules, migration concerns, and implementation work needed for multi-space. That is too large to execute or review as one issue. Compendium needs an approved shard model before the implementation and migration slices can begin.

Scope

  • Record the measured baseline produced by CRDT capacity benchmark and resource observability #31 and identify the constraints it places on the design.
  • Define the smallest durable workspace catalog: Spaces, hierarchy/title metadata, permissions/scopes, and view metadata.
  • Decide the ownership and partitioning of Document content, Collection data, catalog data, Awareness, agent holds, and audit/provenance data.
  • Specify trusted routing from UI, WebSocket, and MCP boundaries to a workspace and shard; client-provided selectors are never authority.
  • Define lazy load, flush, idle unload, recovery, compaction, and horizontal-scaling responsibilities.
  • Define lossless migration from the current single-space workspace into one default Space, preserving stable IDs, links, attribution, and access grants.
  • Update the relevant architecture, data-model, persistence, collaboration, and MCP specifications with the approved decision.

Non-goals

Dependencies

Blocked by #31. This is a child decomposition of #13 and supplies the approved design consumed by the implementation and migration slices.

Done when

The repository contains an approved, testable workspace/catalog/shard design with explicit routing, persistence, migration, isolation, and operational rules; implementation issues can proceed without reopening those decisions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status
    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions