close: webfetch local reader markdown

This commit is contained in:
Keisuke Hirata 2026-05-31 07:22:17 +09:00
parent d5d7292bf7
commit 164941f373
No known key found for this signature in database
4 changed files with 28 additions and 2 deletions

View File

@ -2,12 +2,12 @@
id: 20260530-215928-webfetch-local-reader-markdown
slug: webfetch-local-reader-markdown
title: WebFetch: replace readability dependency with Markdown-preserving local reader
status: open
status: closed
kind: task
priority: P2
labels: [web, tools, html]
created_at: 2026-05-30T21:59:28Z
updated_at: 2026-05-30T22:20:54Z
updated_at: 2026-05-30T22:21:39Z
assignee: null
legacy_ticket: null
---

View File

@ -0,0 +1 @@
Replaced the `readability-rs` WebFetch HTML extraction path with a local pure-Rust DOM reader that renders Markdown-ish main content and preserves inline links as absolute Markdown links. Added optional `include_navigation`, default navigation omission notices, bounded navigation inclusion, readable/fallback metadata, and regression coverage. External review approved after blocker fixes; validation passed including focused tools tests and Nix build.

View File

@ -75,4 +75,29 @@ Follow-up commit `44262c42365cbba1dad87629c06ce539cbd25105` resolved both:
Reviewer found no new blocker. Reported validation is adequate.
---
<!-- event: implementation_report author: hare at: 2026-05-30T22:21:39Z -->
## Implementation report
Main workspace validation after merge:
- `cargo fmt --check` passed
- `cargo test -p tools web` passed (14 passed)
- `cargo check -p tools` passed with existing `llm-worker` dead_code warning
- `./tickets.sh doctor` passed
- `git diff --check` passed
- `nix build .#insomnia` passed (with dirty tree warning due to existing `.insomnia/workflow/multi-agent-workflow.md` local modification and open ticket lifecycle files)
---
<!-- event: close author: hare at: 2026-05-30T22:21:39Z status: closed -->
## Closed
Replaced the `readability-rs` WebFetch HTML extraction path with a local pure-Rust DOM reader that renders Markdown-ish main content and preserves inline links as absolute Markdown links. Added optional `include_navigation`, default navigation omission notices, bounded navigation inclusion, readable/fallback metadata, and regression coverage. External review approved after blocker fixes; validation passed including focused tools tests and Nix build.
---