Web reading was the biggest gap — the old web_fetch flattened every page into a single whitespace-collapsed line, destroying exactly what docs pages are made of. New html-to-text.ts converts HTML into structured markdown: headings become #/##, <pre> blocks are protected before tag-stripping and restored as fenced code, lists become - items, tables degrade to readable rows, entities decode, and nav/header/footer/script/style are stripped like a readability tool. web_fetch uses it, pretty-prints JSON, and — for client-rendered SPAs where there's no static text — falls back to the site's /llms.txt docs index (the LLM-docs convention) or tells the model to use the browser.
Search now appends the current year to time-sensitive queries automatically ("latest react docs" → "…2026"), which kills the classic failure where a model's training biases it toward a stale year. DuckDuckGo results carry snippets (previously empty), and all engines decode HTML entities in titles/snippets — verified live: a real "bun test runner" search returned three hits with clean snippets.
Docs knowledge got a dedicated tool, lookup_package_docs, that reads the installed dependency rather than the web: node_modules README + metadata (walking up the tree for monorepo hoisting, scoped packages supported), with a pip show fallback. It's version-accurate, offline, and free — verified live reading the real three@0.185.1 README and its exports. Large READMEs return a heading outline with a section parameter to pull one chapter. The system prompt now steers the model to prefer it over web search for library usage.
Browser use gained two actions on browser_navigate: extract (renders the DOM, then runs it through the structured converter — the right reader for JS-only docs sites that web_fetch can't see) and links (a deduped anchor list for navigating a site).
Up-to-date awareness: today's date is injected into the system prompt with an explicit "your training is stale" note.
Everything is registered read-only, deduped, and routed correctly, with 41 new tests (HTML conversion, JS-shell detection, llms.txt fallback, year augmentation, entity decoding, markdown outline/section extraction, and package resolution including monorepo hoisting). Docs are in docs/naxil/web-research.md and AGENTS.md.