Skip to content

Sites: POST /api/v1/sites/records for records a crawler already read (0.57.0) - #265

Merged
sh1pt-actions-fleet[bot] merged 1 commit into
mainfrom
feat/sites-records-ingest
Nov 2, 2026
Merged

sh1pt-actions-fleet[bot] merged 1 commit into
mainfrom
feat/sites-records-ingest

Conversation

@sh1pt-actions-fleet

@sh1pt-actions-fleet sh1pt-actions-fleet Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Adds POST /api/v1/sites/records: an admin API key pushes up to 200 OpenSite records a crawler already read (pit.world's new spider). Records are validated one by one and upserted by canonical address into a new disabled source pit-crawler; enrichment (language, keywords, excerpt, word/link counts, rendered flag) goes to data.enrichment, keywords become topic: tags and the excerpt fills the summary so search finds the body. The crawler's text hash is the content hash, so an unchanged re-crawl writes nothing.

Version 0.57.0. Tests: sites route + opensite adapter (29 pass); full suite green apart from the adapter slug list, updated here.

🤖 Generated with Claude Code

…(0.57.0)

pit.world's crawler reads pages itself (up to 1,000 per site, JavaScript
pages through Obscura) and pushes OpenSite records here in batches of up
to 200. Admin API key only. Each record is validated on its own (public
address, known kind/status, spec size) and upserted by canonical address
into a new disabled source, pit-crawler. Enrichment rides along under
data.enrichment; keywords become topic: tags and the excerpt the summary,
since search is title + summary + tags. The crawler's text hash becomes
the content hash, so a re-crawl of an unchanged page writes nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sh1pt-actions-fleet
sh1pt-actions-fleet Bot merged commit b990165 into main Nov 2, 2026
3 checks passed
@sh1pt-actions-fleet
sh1pt-actions-fleet Bot deleted the feat/sites-records-ingest branch November 2, 2026 04:31
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