Skip to content

feat(agent): atlas crawl --keep-pages (RFC 0163) - #98

Draft
0x19 wants to merge 4 commits into
feat/crawl-ratefrom
feat/crawl-keep-pages
Draft

0x19 wants to merge 4 commits into
feat/crawl-ratefrom
feat/crawl-keep-pages

Conversation

@0x19

@0x19 0x19 commented Nov 8, 2026

Copy link
Copy Markdown
Member

Stacked on #97 (feat/crawl-rate); retarget to main when #97 merges.

The crawler already holds each page's HTML. With --keep-pages (needs --out) it writes it to pages/<sha16(url)>.html beside the --out file, so iohr's local knowledge base (sdk #477) reads the text instead of fetching every page a second time. A page the render fallback read is kept as the rendered DOM. Files stay on the machine; crawl.json is unchanged.

Tests: crawl_rate (14 passed) incl. kept_pages_are_the_html_read_under_a_name_from_the_url; clippy -D warnings clean; fmt clean (run on a build server).
Docs: docs/docs-connectors.md, 'Keep the pages'.
Release: an agent release is needed before iohr uses it; older agents refuse the flag and iohr falls back to fetching.

Implements: RFC 0163
Monitors: none (a local CLI flag on the crawler; no route, service or screen)

This branch has not been deployed

No deployments
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