Skip to content

fix: restore original API parse for skeleton demo documents - #312

Merged
suguanYang merged 1 commit into
mainfrom
fix/wangbinqi/restore-original-demo-parse
Aug 20, 2026
Merged

fix: restore original API parse for skeleton demo documents#312
suguanYang merged 1 commit into
mainfrom
fix/wangbinqi/restore-original-demo-parse

Conversation

@suguanYang

Copy link
Copy Markdown
Contributor

Summary

  • Restore GOOG 10-K, Meta Q1 earnings-call, and SpaceX S-1 Official Library artifacts to the unmodified API parse (Root / speaker sections), undoing the local per-page split.
  • Point catalog citations and chunk counts back at those original chunks (GOOG 1, Meta call 3, SpaceX 227).

Demo chunks.json / doc_nav.json / manifest.json stay as the API returned them. Do not invent p1pN cards.

Test plan

  • GOOG demo has 1 page chunk at …/Root
  • Meta earnings-call demo has 3 speaker page chunks (Kenneth / Zuckerberg / Susan Li)
  • SpaceX demo has 227 chunks with one …/Root page chunk
  • uv run pytest apps/api/tests/contract/test_demo_documents_contract.py::test_should_keep_demo_catalog_metadata_light_for_sources_without_examples

Made with Cursor

Keep GOOG, Meta earnings-call, and SpaceX Official Library artifacts as the API returned them instead of locally splitting skeleton jobs into per-page cards.

Co-authored-by: Cursor <cursoragent@cursor.com>
@suguanYang
suguanYang merged commit 7a6d122 into main Aug 20, 2026
6 checks passed
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