emileriksenkeev turns Mike into a Philippine legal-practice operating system

Syd OS starts by reshaping the underlying platform around Philippine legal work, rather than simply relabelling it.

workflowi18n

The fork establishes Philippine-specific information fields, starter workflows and document-template foundations. It then makes those workflows available in the product, correcting an earlier setup issue that meant they were not actually loading.

The result is a clear statement of intent: this is a practice-specialised branch built to support legal work in the Philippines. Later additions around litigation, organisations, compliance and legal research follow that direction.

It is not a drop-in template for every firm, but it is a useful map of how one team is adapting a general legal-AI platform to a particular jurisdiction and practice context.

So what Philippine firms and legal-product teams should care because this fork shows a deliberate path from generic legal technology to locally grounded workflows.

View this fork on GitHub →

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

Commits in this thread

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

SHA Subject Author Date
6e90bdd6 Syd OS v1: initial fork - rebrand, PH legal context, schema reservations Emil Eriksen 2026-05-20 ↗ GitHub
commit body
Rebrand the Mike OSS upstream to "Syd OS" for RX Ventures' internal legal
deployment. Changes preserve upstream LICENSE (AGPL-3.0) and add NOTICE.md
crediting the original project.

- chatTools.ts SYSTEM_PROMPT rewritten as "You are Syd" with the Philippine
  legal context block from the Syd setup spec §7.2 (PH regulators, contract
  types, drafting defaults, citation rules, prohibitions).
- Frontend brand swap across layout metadata, login, signup, sidebar,
  logo, global error page, workflow list badge, support page, and analysis
  prompt placeholders.
- layout.tsx: title/OG/twitter now Syd OS at legal.rxventures.co;
  added robots: noindex/nofollow.
- signup/page.tsx: replaced demo-service notice with "self-signup disabled"
  text (Supabase signups are off in the Syd OS deployment).
- schema.sql: added metadata jsonb columns on documents and workflows
  (default {"source_system":"syd_os"}). Reserved per Syd spec §8 for v1.1
  Capital integration (cap_event_id binding).
- New stub: backend/src/routes/integrations/capital.ts mounts at
  /api/integrations/capital/webhook and returns 501. Reserves the URL path
  for the v1.1 Rx Capital wire-up.

Co-Authored-By: Claude <noreply@anthropic.com>
758510a2 Syd OS v1: seed PH workflows and document template skeletons Emil Eriksen 2026-05-20 ↗ GitHub
commit body
Add the 5 pre-loaded workflows and 5 document template skeletons per Syd
setup spec §7.3 and §7.4.

- backend/seed/01_workflows.sql: idempotent INSERTs for 5 system workflows
  (Review Supplier/Distributor Agreement PH, PH Data Privacy Act Compliance
  Review, Draft Mutual NDA PH, Contract Summary, Review Incoming SAFE /
  Term Sheet SEA). Visible to all users via is_system = true; upserts on
  title.
- backend/seed/templates/: 5 markdown template drafts (Doctor Independent
  Contractor PH, Distributor/Supplier PH, Mutual NDA PH, Patient Telehealth
  Consent PH, Employment/Contractor PH). Each carries the "AI-assisted draft
  - counsel review required before execution" warning at the top.
- backend/seed/README.md: documents the apply order (schema.sql first,
  then seed) and notes that templates are uploaded via the app UI to a
  "Syd Templates" project rather than inserted directly via SQL.

Co-Authored-By: Claude <noreply@anthropic.com>
004e01da Syd OS v1: surface PH workflows as built-ins; fix dead SQL seed emileriksenkeev 2026-07-11 ↗ GitHub
commit body
The five PH workflows (spec §7.3) were seeded as is_system=true rows in
backend/seed/01_workflows.sql, but nothing in the upstream Mike app reads
is_system=true - the workflow list route returns only own+shared rows, and
the chat workflow store reads the hardcoded builtin arrays. The seeded rows
were therefore invisible, while the generic upstream built-ins (CP checklist,
credit agreement, LPA, England & Wales lease, e-discovery, etc.) still showed.

- Replace both built-in registries with the five PH workflows, matching IDs:
    backend/src/lib/builtinWorkflows.ts (chat-assistant tool store)
    frontend/src/app/components/workflows/builtinWorkflows.ts (Built-in tab)
  Removes the off-jurisdiction / off-domain generic workflows. The tabular
  review feature stays available for user-created workflows; PH tabular
  templates can be added later.
- Mark backend/seed/01_workflows.sql SUPERSEDED (running it would insert
  invisible duplicate rows) and update seed/README.md accordingly.
- README.md: rebrand header Mike -> Syd OS with upstream credit; note that
  production signups are disabled (email+password behind Cloudflare Access).

Both apps build clean (tsc; next build with Supabase env set).

Co-Authored-By: Claude Opus 4.8 <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-907.md from inside the repo you want the changes in.

⬇ Download capture-thread-907.md