Skip to content

Harden analysis pipeline with grounded evidence and evaluation#2

Merged
ChimdumebiNebolisa merged 1 commit into
mainfrom
trust-first-analysis-hardening
Jul 10, 2026
Merged

Harden analysis pipeline with grounded evidence and evaluation#2
ChimdumebiNebolisa merged 1 commit into
mainfrom
trust-first-analysis-hardening

Conversation

@ChimdumebiNebolisa

Copy link
Copy Markdown
Owner

Summary

  • Extract POST /api/analyze into a typed pipeline with input limits, content-safe logging, and v2 responses.
  • Add server-side evidence registry and grounding so material claims hydrate from stable evidence IDs.
  • Add Vitest characterization tests, CI gates, legal-reference verification, and a deterministic evaluation harness.
  • Gate OCR, async jobs, and anonymous recovery behind feature flags (off by default).

Test plan

  • npm test (66 tests)
  • npm run typecheck
  • npm run verify:legal
  • npm run evaluate
  • npm run build

Made with Cursor

…lout.

Extract the analyze route into a typed pipeline with server-side evidence grounding, input limits, and evaluation harness so lease claims are verifiable before adding OCR, async jobs, or persistence.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Jul 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
before-you-sign Ready Ready Preview, Comment Jul 10, 2026 6:14pm

@ChimdumebiNebolisa ChimdumebiNebolisa merged commit fdf658d into main Jul 10, 2026
5 checks passed
@ChimdumebiNebolisa ChimdumebiNebolisa deleted the trust-first-analysis-hardening branch July 10, 2026 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant