Screver Market Access IQ · docs
Engineering

Engineering

How the system is built — repos, the Payload data layer, the bridge, and the deployment doctrine.

The three repos

RepoStackCloud Run service
screver-ma-appNext.js 15 + Payload 3.77 + Postgres 17screver-ma-app[-staging]
screver-ma-aiExpress + Anthropic SDKscrever-ma-ai[-staging] (internal)
screver-ma-docsFumadocs (Next.js)screver-ma-docs[-staging]

Each repo has its own git, its own .github/workflows/ci-deploy.yml, and deploys independently.

How v1 is wired

The full clickable prototype is ported into screver-ma-app as a single client bundle (see the three repos). The core is wired to Payload:

  • A reviewer's Accept / Modify / Reject writes a real evidence-grade Parameter (with supersede) and an append-only AuditEvent, signed by the logged-in Payload user.
  • This runs through a best-effort bridge (window.SCREVER): if Payload is unreachable, the UI falls back to a fixtures-only demo so the showcase never breaks.

The Wizard chat calls the screver-ma-ai service (real claude-sonnet-4-6, grounded on a bundled corpus) via the app's /wizard-api proxy, keeping the Anthropic key server-side.