From 5187a77dcd6316bdc09b38ca05472c71a163beba Mon Sep 17 00:00:00 2001 From: Hare Date: Sun, 31 May 2026 05:55:56 +0900 Subject: [PATCH] close: webfetch readable extraction --- .../artifacts/.gitkeep | 0 .../item.md | 4 +-- .../resolution.md | 1 + .../thread.md | 25 +++++++++++++++++++ 4 files changed, 28 insertions(+), 2 deletions(-) rename work-items/{open => closed}/20260530-204045-webfetch-readable-extraction/artifacts/.gitkeep (100%) rename work-items/{open => closed}/20260530-204045-webfetch-readable-extraction/item.md (98%) create mode 100644 work-items/closed/20260530-204045-webfetch-readable-extraction/resolution.md rename work-items/{open => closed}/20260530-204045-webfetch-readable-extraction/thread.md (77%) diff --git a/work-items/open/20260530-204045-webfetch-readable-extraction/artifacts/.gitkeep b/work-items/closed/20260530-204045-webfetch-readable-extraction/artifacts/.gitkeep similarity index 100% rename from work-items/open/20260530-204045-webfetch-readable-extraction/artifacts/.gitkeep rename to work-items/closed/20260530-204045-webfetch-readable-extraction/artifacts/.gitkeep diff --git a/work-items/open/20260530-204045-webfetch-readable-extraction/item.md b/work-items/closed/20260530-204045-webfetch-readable-extraction/item.md similarity index 98% rename from work-items/open/20260530-204045-webfetch-readable-extraction/item.md rename to work-items/closed/20260530-204045-webfetch-readable-extraction/item.md index 3e77217c..5bc3d91d 100644 --- a/work-items/open/20260530-204045-webfetch-readable-extraction/item.md +++ b/work-items/closed/20260530-204045-webfetch-readable-extraction/item.md @@ -2,12 +2,12 @@ id: 20260530-204045-webfetch-readable-extraction slug: webfetch-readable-extraction title: WebFetch: extract main HTML content with lightweight readability -status: open +status: closed kind: task priority: P2 labels: [web, tools, html] created_at: 2026-05-30T20:40:45Z -updated_at: 2026-05-30T20:54:26Z +updated_at: 2026-05-30T20:55:13Z assignee: null legacy_ticket: null --- diff --git a/work-items/closed/20260530-204045-webfetch-readable-extraction/resolution.md b/work-items/closed/20260530-204045-webfetch-readable-extraction/resolution.md new file mode 100644 index 00000000..9c52ebbd --- /dev/null +++ b/work-items/closed/20260530-204045-webfetch-readable-extraction/resolution.md @@ -0,0 +1 @@ +Implemented `WebFetch` HTML reader-mode extraction with pure-Rust `readability-rs`, preserving existing safety checks and fallback to local `html_to_text`. Output now reports `html_extraction` metadata and bounded main text without exposing extracted HTML by default. Reviewed externally and approved; validation passed including focused tools tests and `nix build .#insomnia`. diff --git a/work-items/open/20260530-204045-webfetch-readable-extraction/thread.md b/work-items/closed/20260530-204045-webfetch-readable-extraction/thread.md similarity index 77% rename from work-items/open/20260530-204045-webfetch-readable-extraction/thread.md rename to work-items/closed/20260530-204045-webfetch-readable-extraction/thread.md index 16f7d90d..5ce1cdfc 100644 --- a/work-items/open/20260530-204045-webfetch-readable-extraction/thread.md +++ b/work-items/closed/20260530-204045-webfetch-readable-extraction/thread.md @@ -75,4 +75,29 @@ Non-blocking follow-up: - Optional future direct test for a stable readability error path; current fallback coverage is sufficient for this ticket. +--- + + + +## Implementation report + +Main workspace validation after merge: + +- `cargo fmt --check` passed +- `cargo test -p tools web` passed (10 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 unrelated `.insomnia/workflow/multi-agent-workflow.md` local modification) + + +--- + + + +## Closed + +Implemented `WebFetch` HTML reader-mode extraction with pure-Rust `readability-rs`, preserving existing safety checks and fallback to local `html_to_text`. Output now reports `html_extraction` metadata and bounded main text without exposing extracted HTML by default. Reviewed externally and approved; validation passed including focused tools tests and `nix build .#insomnia`. + + ---