RayVerify platform foundation: schema, engines, dashboard, infrastructure & documentation#1
Merged
Conversation
- Generate Prisma client; backend typecheck/lint/test/build all green (9 tests) - Frontend typecheck + next build green (11 routes); fix Server/Client boundary in DataTable, eslint config, unused imports, tsconfig baseUrl - Enable esModuleInterop, fix CORS default, RLS extension lint - Commit package-lock.json; make frontend CI job blocking
- HANDOFF.md: full onboarding for incoming developer (setup, architecture, verified state, known gaps, first-two-weeks plan) - PrismaService.forRequest(): use batch $transaction so set_config binds to the same connection as the query (Prisma's documented RLS pattern) - AuthService: await Prisma calls inside TenantContext.run scopes - CI: restore npm ci (lockfile is committed)
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
Comment on lines
+15
to
+61
| name: Backend (lint · typecheck · test · build) | ||
| runs-on: ubuntu-latest | ||
| services: | ||
| postgres: | ||
| image: postgres:16-alpine | ||
| env: | ||
| POSTGRES_USER: rayverify | ||
| POSTGRES_PASSWORD: rayverify | ||
| POSTGRES_DB: rayverify_test | ||
| ports: ['5432:5432'] | ||
| options: >- | ||
| --health-cmd "pg_isready -U rayverify" | ||
| --health-interval 5s --health-timeout 5s --health-retries 10 | ||
| redis: | ||
| image: redis:7-alpine | ||
| ports: ['6379:6379'] | ||
| options: >- | ||
| --health-cmd "redis-cli ping" | ||
| --health-interval 5s --health-timeout 5s --health-retries 10 | ||
| env: | ||
| DATABASE_URL: postgresql://rayverify:rayverify@localhost:5432/rayverify_test?schema=public | ||
| REDIS_URL: redis://localhost:6379 | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 20 | ||
| cache: npm | ||
| - run: npm ci | ||
| - name: Generate Prisma client | ||
| run: npm run prisma:generate --workspace @rayverify/backend | ||
| - name: Lint | ||
| run: npm run lint --workspace @rayverify/backend | ||
| - name: Typecheck (shared + backend) | ||
| run: | | ||
| npm run typecheck --workspace @rayverify/shared | ||
| npm run typecheck --workspace @rayverify/backend | ||
| - name: Unit tests | ||
| run: npm run test --workspace @rayverify/backend | ||
| - name: Apply schema (migrations + physical SQL) | ||
| run: | | ||
| npm run prisma:migrate:dev --workspace @rayverify/backend -- --name ci --skip-seed || true | ||
| node packages/backend/scripts/apply-sql.js || true | ||
| - name: Build | ||
| run: npm run build --workspace @rayverify/backend | ||
|
|
||
| frontend: |
Comment on lines
+62
to
+74
| name: Frontend (typecheck · build) | ||
| runs-on: ubuntu-latest | ||
| env: | ||
| NEXT_TELEMETRY_DISABLED: '1' | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 20 | ||
| cache: npm | ||
| - run: npm ci | ||
| - run: npm run typecheck --workspace @rayverify/frontend | ||
| - run: npm run build --workspace @rayverify/frontend |
| - uses: actions/checkout@v4 | ||
| - id: meta | ||
| run: echo "tag=${GITHUB_SHA::12}" >> "$GITHUB_OUTPUT" | ||
| - uses: aws-actions/configure-aws-credentials@v4 |
| with: | ||
| role-to-assume: ${{ secrets.AWS_DEPLOY_ROLE_ARN }} | ||
| aws-region: ${{ vars.AWS_REGION }} | ||
| - uses: aws-actions/amazon-ecr-login@v2 |
| environment: ${{ github.event.inputs.environment || 'staging' }} | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: aws-actions/configure-aws-credentials@v4 |
| steps: | ||
| - uses: actions/checkout@v6 | ||
| - name: Trivy filesystem scan | ||
| uses: aquasecurity/trivy-action@v0.36.0 |
… into Durgas-Mac-mini
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Foundation release for RayVerify™ — a government-grade fraud detection & identity
verification platform for Medicaid, HCBS, and personal-care programs (parent: RayHealthEVV™).
Included
row-level-security tenant isolation, append-only evidence, tamper-evident audit hash chain
verification chain, fraud engine (rule detectors + explainable score fusion), case
management, provider risk scoring, immutable audit center, reports, hardware SDK layer
Verification
✅ TypeScript clean · ✅ ESLint zero warnings · ✅ 9/9 tests · ✅ production builds
Known gaps (HANDOFF.md §8)
Stub identity matcher, 6 of 13 detectors implemented, async workers pending,
Prisma migrations not yet generated, frontend on mock data.