Skip to content

fix(research): preserve markdown report output - #169

Merged
iamjr15 merged 1 commit into
mainfrom
fix/research-markdown-pdf-parity
Aug 5, 2026
Merged

fix(research): preserve markdown report output#169
iamjr15 merged 1 commit into
mainfrom
fix/research-markdown-pdf-parity

Conversation

@iamjr15

@iamjr15 iamjr15 commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Why

Research synthesis required the model to emit hidden provenance bookkeeping before the user-visible report. When provider output was constrained, that bookkeeping could consume the response and leave the report truncated or absent. It also made the generated document pipeline harder to reason about.

What changed

  • make the model-authored synthesis output only the canonical GitHub-flavored Markdown report
  • derive and validate the durable claim map deterministically from already validated research passes
  • derive internal pass summaries instead of asking the model to spend output on them
  • keep the same canonical Markdown as the source rendered into the PDF artifact
  • document the single-source report and provenance boundary

No database schema, migration, environment, vendor, or deployment-topology changes.

Verification

  • pnpm lint
  • pnpm typecheck
  • pnpm turbo build --force
  • pnpm deadcode
  • pnpm architecture:check
  • pnpm turbo skills:build

Production browser acceptance will be run against the merged deployment: natural-language research request, complete chat report, PDF download and text parity, / deliverable picker, console, and Worker logs.

@vercel

vercel Bot commented Aug 5, 2026

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
cheatcode Skipped Skipped Aug 5, 2026 6:18am

@iamjr15
iamjr15 merged commit 086c8db into main Aug 5, 2026
6 checks passed
@iamjr15
iamjr15 deleted the fix/research-markdown-pdf-parity branch August 5, 2026 06:20
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