emileriksenkeev gives Mike a shared legal library

This fork turns common reference material into a workspace-wide resource instead of leaving it scattered across individual matters.

knowledge-managementdrafting

The new shared library is a dedicated home for material the whole organisation may need, with starter folders for templates, corporate documents, policies and compliance material, and signed agreements. It sits outside ordinary project lists, but signed-in users can access it across the workspace.

  • Chat can draw on library documents when preparing grounded drafts.
  • Document selection screens can now browse shared-library and entity records alongside project files.

That makes the library feel like a real working surface, with its own navigation and context, rather than a disguised project folder.

So what Legal teams building repeatable drafting and review workflows should care: the fork makes approved source material easier to find and use across matters.

View this fork on GitHub →

Spotted something wrong? Or know the PR text has fresher detail than the writeup above?

Commits in this thread

5 commits from emileriksenkeev/sydOS, oldest first. Source extracted verbatim from the harvested git log.

SHA Subject Author Date
d25266c7 Syd OS: the Vault - org-wide shared library with cross-project access emileriksenkeev 2026-07-11 ↗ GitHub
commit body
- projects.is_vault flag; Vault project seeded (folders: Templates, Corporate
  Documents, Policies & Compliance, Signed Agreements), shared org-wide via
  access bypass (any authenticated user)
- lib/vault.ts: getVaultProject, listVaultDocuments, copyVaultDocToProject
  (active-version bytes, formatting preserved, auto-embed of the copy)
- Assistant tools in every project chat: list_vault_documents +
  copy_from_vault (copy in, then redline the copy); system-prompt guidance
- GET /projects/vault-info (registered before /:projectId)
- Frontend: Vault in the sidebar (Archive icon), /vault route rendering the
  standard project surface (documents/assistant/reviews/wiki all work)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
58455774 Syd OS: hide the Vault from project lists - it lives solely as the sidebar nav item emileriksenkeev 2026-07-11 ↗ GitHub
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
f64fa799 Syd OS: make the Vault a first-class surface (not a project) emileriksenkeev 2026-07-11 ↗ GitHub
commit body
- Excluded from project lists (is_vault=false filter on own + shared queries)
- ProjectPage: basePath prop so the Vault's tab nav stays on /vault (not
  /projects/<uuid>); header is vault-aware - breadcrumb root is 'Vault', no
  Projects crumb, no rename/CM-number chrome, proper tab labels incl. Wiki
- MikeProject.is_vault type; vault page passes basePath=/vault

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
15dd519c Vault-grounded drafting: reach the Vault from any chat emileriksenkeev 2026-07-12 ↗ GitHub
commit body
Add read-only Vault access to the assistant so drafting grounds in real
templates/precedents and entity particulars instead of placeholders.

- vault.ts: searchVault() (semantic search scoped to the Vault project) and
  readVaultDocument() (full text by id, OCR-aware) - no project copy needed.
- chatTools.ts: new search_vault + read_vault_document tools in a shared
  VAULT_TOOLS array (list_vault_documents moved in); spread into
  PROJECT_EXTRA_TOOLS; dispatch handlers added. Rewrote WHEN DRAFTING to be
  Vault-first (find a precedent, pull real party details, only bracket what
  is genuinely unknown) and softened the answer-from-knowledge default.
- chat.ts: pass VAULT_TOOLS to the global (projectless) chat so the Vault is
  reachable everywhere, not just inside a project.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
8a48e84f feat(picker): browse Vault and entity docs in document pickers emileriksenkeev 2026-07-14 ↗ GitHub
commit body
The Add Documents modal and the new-tabular-review picker only listed
regular projects (GET /projects excludes is_vault/is_entity), so reviews
couldn't select Vault or entity documents through the UI.

- useDirectoryData: extract a shared fetchDirectoryData() that also
  resolves /projects/vault-info and /projects/entities, loads their
  documents best-effort, and appends them after the regular projects.
  GET /projects itself is unchanged.
- AddNewTRModal: reuse fetchDirectoryData() instead of its own
  duplicate directory fetch.
- backend GET /projects/:projectId: allow org-wide read of vault/entity
  projects (aligns with checkProjectAccess) so non-owners can browse
  their documents.
- backend listAccessibleProjectIds: include vault/entity project ids so
  filterAccessibleDocumentIds and review scoping accept their documents
  for every authenticated user, not just the owner.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

Capture this thread into my fork

Download a single Markdown prompt that tells Claude how to port every commit above into your working tree — adapting paths and structure to match your repo. Run it via claude -p < capture-thread-913.md from inside the repo you want the changes in.

⬇ Download capture-thread-913.md