Memory · Local workspace

Library catalogue

Maintain a searchable local catalogue and bounded working state without becoming the source of truth for every file.

Workflow

  1. Open workspace catalogueResolve the configured local workspace without treating missing storage as empty.
  2. Load catalogue stateValidate the database, data-root pointer and bounded caches.
  3. Query stable recordsReturn records tied to a catalogue revision and explicit availability.
  4. Return unavailableThe workflow returns an explicit unavailable or refused outcome without inventing content or mutating unrelated records.
  5. Return catalogue pageThe consumer receives stable IDs and honest missing/offline state.

Failure boundaries

  • Database missingUnavailable: Do not create silently
  • Drive offlineRecords unavailable: Do not erase
  • Revision changedStale page: Refresh

memory.workspace.catalogue