Javis OS
Javis OS는 기업가를 돕는 에이전시 AI로, 업무를 지원하고 함께 성장합니다
첫 연락부터 최종 결제까지, 영국 건설 결제 흐름에 맞춘 리드·견적·현장서류·세금 관리
Run the whole job, from the first call to the last payment. Leads, quotes, site paperwork, CIS and VAT, one system built for how UK construction actually gets paid.
비즈니스TypeScript · PLpgSQLGitHub @crewflow1온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗crewflow/webCrewFlow is a multi-tenant operations platform for UK construction SMBs: leads, quotes, jobs, invoicing, CIS, health & safety (RAMS/toolbox talks/permits), stock/fleet, a customer portal, and an internal HQ layer — all in a single Next.js application deployed at crewflow.uk. Live external surfaces today: Resend email, Stripe subscription checkout, Sentry, enterprise SSO/SCIM + outbound webhooks + web push (customer-configurable), and the governed generative-AI estate (all five AI Cost Governor tiers armed). Every other external integration is built dark (code shipped, feature-flag + credential gated, refuses before any network fetch) so activation is a config flip, never an engineering project.
This README describes what is actually deployed. If a doc and the code disagree, the code wins.
__tests__/docs/readme-truth.test.tspins the claims below so they cannot silently rot.
| Concern | Choice |
|---|---|
| Framework | Next.js 15 (App Router) + React 19 + TypeScript |
| Styling | Tailwind CSS v3 + shadcn/ui |
| Database | PostgreSQL (Supabase, single production project, ~311 tables, RLS on tenant data) |
| Migrations | Plain SQL files in supabase/migrations/ (numbered, forward-only) |
| Auth | Supabase Auth — magic link, Google OAuth, email+password, optional TOTP MFA (Microsoft SSO built dark) |
| Hosting | Vercel (deploys from main) |
| Resend (live) + React Email templates | |
| Errors | Sentry (live in production) |
| Tests | Vitest (unit / integration / security tiers) + Playwright (e2e) |
| Package manager | npm (package-lock.json is the lockfile) |
There is one Supabase project — production. There is no second database
environment. Local development runs the Supabase local stack (Docker);
integration/e2e CI does the same. Treat every --linked command as touching
production.
Not in the stack (historical fiction, since removed from docs): no ORM
(queries go through @supabase/supabase-js typed against generated
lib/supabase/types.ts), no third-party background-job service (scheduled
work runs via Vercel cron hitting CRON_SECRET-gated routes).
npm install
npx supabase start # local Postgres + auth (Docker)
npm run dev # http://localhost:3000
Minimal .env.local (no secrets beyond your own local/dev keys):
NEXT_PUBLIC_APP_URL=http://localhost:3000
NEXT_PUBLIC_SUPABASE_URL=<from `npx supabase start` output>
NEXT_PUBLIC_SUPABASE_ANON_KEY=<from `npx supabase start` output>
SUPABASE_SERVICE_ROLE_KEY=<local service role, optional but needed for admin/server paths>
Everything else in lib/env.ts is optional and validated with Zod at boot —
the server fails fast on a malformed variable. Provider keys (Resend, Sentry,
Stripe, Twilio, …) are unnecessary locally; the dark-feature gates refuse
before fetch when credentials are absent.
Four tiers, each its own CI gate so a failure is attributed correctly:
npm run typecheck # tsc --noEmit
npm run lint
npm test # unit — mocked, no DB, no network
npm run test:integration # real local Postgres (supabase start first)
npm run test:security # trust-boundary proofs (real local Postgres)
npm run test:e2e # Playwright against a real build + local stack
CI (.github/workflows/ci.yml + security-scan.yml) runs 6 blocking gates —
typecheck, lint, unit, integration, security, e2e — plus gitleaks secret
scanning.
supabase/migrations/ (currently 389 in
the repo; production tip 20261229000000 at the time of writing, 389/389
repo↔DB parity — the DB itself, supabase_migrations.schema_migrations, is
the only authority).select max(version) from supabase_migrations.schema_migrations; — claim a
prefix above the production tip AND above every in-flight branch slot, and
re-check immediately before merging.Vercel builds and deploys main on push. Rollback is instant re-promotion of
a previous Vercel deployment (code) — database changes are managed separately
and are designed additive so old code runs safely against new schema. Batch
work locally and push at milestones; CI is free, Vercel builds are not.
LIVE = deployed and usable in production today. DARK = fully built and tested, but gated behind a feature flag + missing credential/decision; the code refuses before any external fetch. ARMED = provider-bound and spending real credits under the AI Cost Governor's fail-closed ceiling. FUTURE = not built.
| Capability | Status |
|---|---|
| Leads, quotes (approval-gated), jobs, invoicing (void-capable), customer portal | LIVE |
| CIS: subcontractors, deductions, statements, CIS300 prepare + CSV export | LIVE (filing is DARK — HMRC-gated) |
| Health & safety: RAMS, toolbox talks, permits, sign-off, PDFs | LIVE |
| Stock, fleet, materials, warehouse (quantity-tier) | LIVE |
| Payroll: estimates, CSV export, payslips | LIVE (no RTI filing — DARK) |
| Accounting CSV export (canonical mapper) | LIVE |
| Email (Resend), in-app notifications, offline read + selected offline writes, PWA | LIVE |
Public API v1 (key-auth, org-scoped) + /developers docs portal + SDKs | DARK (flag — CEO queue; docs portal, OpenAPI + SDKs built) |
| SMS / WhatsApp / voice receptionist / missed-call textback (answered-guarded trigger) | DARK (provider creds; engineering complete — not live) |
| Stripe Connect portal payments + self-serve billing | DARK (the platform's own subscription checkout is live separately, approval-gated) |
| Accounting push (Xero/QuickBooks/Sage OAuth) | DARK (vendor creds + token key; CSV export above covers all three) |
| HMRC MTD VAT / CIS300 / RTI submission | DARK (submit orchestrator wired behind a triple dark-gate; prepare + export are live; the CIS statements ledger is structurally unsubmittable) |
| Calendar sync (Google/MS Graph, two-way + renewal cron) | DARK (engineering complete; OAuth creds pending) |
| Open banking, telematics/GPS, merchants cXML (4 real adapters + connect flow), marketplace | DARK (legal/contract gates; adapters complete) |
| Enterprise SSO/SCIM, MFA enforcement, outbound webhooks, web-push | LIVE — customer-configurable (per-org opt-in) |
| PostHog analytics | DARK (key + consent) |
| Weather pipeline (Open-Meteo adapter, EOT integration) | DARK (commercial licence) |
| Generative AI estate (quote writer, OCR, receptionist drafting, HQ narratives, embeddings, transcription) | ARMED — all five governor tiers bound; cheap/mid/high/embedding production-proven, transcription provider-proven (its only producing channel stays dark); £100/org/month fail-closed ceiling; portal-chat auto-reply held off by CEO decision |
The authoritative, evidence-based capability reconciliation is
docs/roadmap/MASTER-ROADMAP-RECONCILIATION.md.
main, merge via PR with all gates
green. Conventional commits.org_id, an index on it, and RLS
policies — and server reads additionally pin .eq("org_id", activeOrg)
(RLS spans every org a user belongs to; the active-org pin is what prevents
cross-org blending).docs/roadmap/MASTER-ROADMAP-RECONCILIATION.md (canonical) + docs/roadmap/STATUS.md (programme history)docs/SECURITY.mddocs/customer-success/ (onboarding + support/incident drills)docs/backup-recovery-runbook.mddocs/ai-quote-writer.md + lib/ai/governor/Production: https://crewflow.uk — © 2026 CrewFlow. Built in Belfast.
| Native mobile apps | FUTURE |