Commit graph

5 commits

Author SHA1 Message Date
User
56e7fa16dd M2: extraction quality — fallback extractors, thin-content detection, result cache
- extractor: trafilatura (precision) -> trafilatura (recall) -> readability-lxml
  fallback chain; longest result wins; 'thin' flag below 200 chars
- orchestrator: Redis-backed scrape-result cache keyed by URL (cache hit skips
  render entirely); thin/empty results are never cached
- /health reports orchestrator Redis reachability

Verified: HN + synthetic thin/empty/boilerplate pages; cache hit path via fakeredis.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-05 22:05:04 -07:00
User
e2b329b2bb M1: scrape spine — renderer, extractor, orchestrator /scrape, compose, health, render cache
- renderer: Node/Playwright, single browser + pooled contexts with concurrency
  cap and FIFO queue, Redis render cache (graceful no-op without Redis)
- extractor: FastAPI + Trafilatura, HTML -> {title, text, metadata}
- orchestrator: /scrape (render -> extract) with per-stage trace, aggregated
  /health, structured JSON logging on all services
- docker-compose for orchestrator/renderer/extractor/redis with healthchecks

Verified locally: end-to-end scrape of example.com and Wikipedia; error paths
for unreachable hosts and bad schemes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-05 22:02:38 -07:00
User
55317f3f75 PRD v4: MCP-first, no in-stack LLM, mechanical extraction only
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-05 21:57:46 -07:00
User
6d7e401188 Adding MVP section 2026-07-05 21:10:03 -07:00
User
2ca9ad2948 Initial commit: Add product requirements document 2026-07-05 20:31:44 -07:00