尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Demo compliance deadline tracker for small businesses: rule-based seeding, scoring, reminders (Next.js, Supabase).
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗Live: https://operatoros-sigma.vercel.app
Landing page from a production build run locally with placeholder Supabase values, captured 2026-10-24 in Firefox.
A Next.js and Supabase app that seeds the federal and state compliance deadlines a small business (1–50 employees) is likely to face from its industry, state, entity type and employee count, then tracks a compliance score, sends reminders and gives accountants a portfolio view. It is a demo-stage solo project. Its deadline content is informational, not legal, tax or accounting advice.
src/lib/regulatory-graph.ts. The user reviews and edits the list; nothing is filed automatically. Eight states (CA, TX, NY, DE, FL, IL, PA, GA) have curated rules; other states use a template fallback (EXPLICITLY_HANDLED_STATES in the same file).computeComplianceScore in src/lib/deadline-utils.ts weights each deadline by status; a risk-weighted variant (computeRiskWeightedScore) adds severity tiers.src/app/api/ai/compliance-insights/route.ts sends the business profile and tracked deadlines to Anthropic Claude Haiku and returns 2–3 suggested obligations. Results without an agency and a source URL are dropped, and each carries a "verify with your accountant" line. These are suggestions, not the source of the seeded deadlines.src/app/api/documents/[id]/extract-expiry/route.ts reads an uploaded document with Claude..env.example and src/app/(app)/billing/page.tsx; a Lite tier is reserved but not purchasable).| Status | Points | Source |
|---|---|---|
| Compliant | +10 | STATUS_WEIGHTS in src/lib/deadline-utils.ts |
| Upcoming (due in more than 30 days) | +5 | same |
| In progress (due within 30 days) | 0 | same |
| Overdue | −20 | same |
Score = clamp(sum of points ÷ (deadline count × 10) × 100, 0, 100), rounded. For example, with 10 deadlines of which 9 are compliant and 1 is overdue, the score is 70.
Next.js 16 App Router pages and API routes in src/app/, Supabase (Postgres, Auth, Storage, row-level security) for data, with schema in supabase/migrations/ (49 files). Shared logic lives in src/lib/: rules (regulatory-graph.ts, seed-deadlines.ts), scoring (deadline-utils.ts), auth and token gates (security/), billing, email and entitlements (entitlements.ts). src/proxy.ts is the Next 16 proxy.
Prerequisites: Node.js 22.12 or newer (Node 20 reached end of life on 2026-04-30) and npm. The lockfile is package-lock.json.
Offline check, no keys or accounts needed:
npm ci
npm run type-check
npm run lint
npm test # 378 tests in 39 files passed on 2026-10-28
npm run build # compiled without any environment variables set
Full app, which needs your own services:
cp .env.example .env.local # then fill in values
supabase db push # or run supabase/migrations/ in order
npm run dev # http://localhost:3000
| Needed for | Variables |
|---|---|
| Database and auth (required) | NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY, SUPABASE_SERVICE_ROLE_KEY |
| AI follow-ups, expiry extraction | ANTHROPIC_API_KEY |
| Billing | STRIPE_SECRET_KEY, STRIPE_*_PRICE_ID, STRIPE_WEBHOOK_SECRET |
| Email reminders | RESEND_API_KEY, EMAIL_FROM |
| Cron endpoints | CRON_SECRET |
Also create a private Supabase Storage bucket named documents, and point a Stripe webhook at the /api/billing/webhook path of your deployed domain. See docs/billing/SETUP.md. Optional integrations (Twilio SMS, PostHog, QuickBooks, filing providers) are listed in .env.example. End-to-end tests use Playwright (npm run test:e2e) and need a configured environment; they were not run for this README.
src/app/ routes: app, auth, onboarding, accountant portal, admin, share pages, APIsrc/components/ UI componentssrc/lib/ rules, scoring, security, billing, emailsupabase/migrations/ database schema and policiesdocs/ security notes, runbooks, roadmap and historical planningscripts/ Stripe subscription backfill.agents/skills/ design-assistant files used while building (not part of the app)AGENTS.md, CLAUDE.md: agent workflow files used while building (not part of the app)docs/vercel/DEPLOYMENT.md: deployment checklist and cron jobs.docs/billing/SETUP.md: Stripe test-mode setup.docs/MIGRATION_RUNBOOK.md: applying database migrations.docs/security/: RLS matrix, API route matrix, threat models, CI verification.docs/roadmap/WORLD_CLASS.md, docs/vc-review/, docs/feedback/: planning and simulated review notes.docs/historical/: early pitch and plan. These are not current claims.Rule entries cite the responsible agency and a source URL in src/lib/regulatory-graph.ts. They were authored for this project and have not been reviewed by a lawyer, CPA or the agencies. Rule dates and penalty figures can be out of date.
src/__tests__/lib/starter-deadline-range.test.ts). An earlier "47 obligations" figure was removed because the code does not support it. Other landing-page figures (penalty examples, pricing) are not reproduced by tests.npm audit reports 0 vulnerabilities on 2026-10-24. The baseline is Node 22 because Node 20 is end of life and Vitest 5 requires Node 22.12 or newer./, /sign-in and /sign-up, React never hydrated and sign-in could not work. It is fixed on this branch (nonce-bearing CSP on the request headers, all routes rendered per request) and is pending deploy; the live site still has the bug until then. The live deployment also lacks the Supabase environment variables (its health endpoint reports supabase.public=false), so sign-in would fail there even after the fix.MIT, see LICENSE.
Part of Rahil Bhavan's projects.