pdombkins turns rose_lawyer into a fast follower with a private knowledge layer

This fork is deliberately pulling in useful legal-work features from both upstream and a neighbouring fork, while keeping the changes traceable and reversible.

knowledge-managementworkflow

The July update is a practical example of how to adopt outside innovation without turning a product into an untraceable patchwork. The team has brought in a set of discrete improvements and recorded where each came from.

  • A refreshed chat workspace with spreadsheet and presentation support, plus workflows for repeatable tasks.
  • Stronger document review, including quoted citations, tracked changes, and a cleaner review surface.
  • A dedicated library area for organising material in one place.
  • A private knowledge base using pgvector, a database tool for searching information by meaning, alongside reusable playbooks.

The fork also adds its own process for tracking adopted work before future updates are taken in.

So what Legal teams exploring AI that must fit existing knowledge and review practices should look closely at this fork's blend of document workflow and private retrieval.

View this fork on GitHub →

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

Commits in this thread

8 commits from pdombkins/rose_lawyer, oldest first. Source extracted verbatim from the harvested git log.

SHA Subject Author Date
4d10420d adopt F005: chat engine restructure, Excel/PPT support, workflows (upstream a5fe6d6) Peter Dombkins 2026-07-19 ↗ GitHub
commit body
Harmonised for Mike (Australia):
- Jade + citation-verification tools registered in new toolDispatcher (CourtListener excluded from model tools and system prompt)
- AUD cost tracking (query_costs + SSE cost event) ported into chat/streaming.ts
- cost badge and CitationVerificationCard preserved in AssistantMessage alongside new ask_inputs UI
42bd24e1 adopt F004: citation quotes UI, DocPanel, tracked changes, MCP modal (upstream 82dcaef) Peter Dombkins 2026-07-19 ↗ GitHub
Harmonised for Mike (Australia):
- user_profile_email migration excluded (schema.sql already carries the email column + indexes)
- AppSidebar rebuilt on upstream version with AU branding, research/education tagline and Admin nav preserved
3188cff8 adopt F003: Library section, /library route, sidebar refresh (upstream f0b90ab) Peter Dombkins 2026-07-19 ↗ GitHub
5f564493 adopt F002: liquid surfaces + document review panel polish (upstream f5abbac) Peter Dombkins 2026-07-19 ↗ GitHub
02feb185 adopt F211: private RAG knowledge base (pgvector) + playbooks (jmclark-lab/mike 90e7af2) Peter Dombkins 2026-07-19 ↗ GitHub
commit body
Harmonised for Mike (Australia):
- embeddings rewritten from OpenAI to Gemini gemini-embedding-001 (1536 dims, existing GEMINI_API_KEY)
- KB unified with the Library: ingest via POST /library/:documentId/index (source='library'); no separate document store
- embedding spend recorded in query_costs (source 'kb_embedding', estimated tokens) and priced in pricing.ts
- tools registered in the new toolDispatcher; search_knowledge gated on embeddings key
- tool descriptions genericised (bioaccess branding removed)
7349a69f fix: typecheck repairs after adoption (mikeApi brace, UserProfileContext path + isAdmin fallback) Peter Dombkins 2026-07-19 ↗ GitHub
ce74405e chore: restore pinned SheetJS CDN dependency (registry swap was sandbox-only) Peter Dombkins 2026-07-19 ↗ GitHub
06cd16bb chore: fork-scan tooling on branch (launcher hook, pre-fork commit filter, CLAUDE.md adoption record) Peter Dombkins 2026-07-19 ↗ GitHub

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-933.md from inside the repo you want the changes in.

⬇ Download capture-thread-933.md