{"content":"Dev journal — fix/studio-context-p0 (3/4): browser tab state becomes a pull tool.\n\nForensics from the 2026-11-18 Studio session: the block rode every user message with the FULL open-tab list — 17 snapshots (10-63K chars each, ~90% duplicated content) accumulated to 243K chars, ~63% of one day's entire context growth, and the kernel history kept every copy forever.\n\nFix (owner ruling 2026-11-19: demote to on-demand):\n• Split the block: the byte-stable browser guide (page-reading manual, app/people discovery, link-format rules) stays in the volatile tail — now under the content-dedup gate, so it enters history once per session instead of every turn.\n• Live state (active tab + open tabs, incl. renderer/source_dir resolution) moved behind a new browser_tabs host tool; the guide redirects the model to call it first when the owner mentions \"当前页面/this tab\" or before acting on a tab.\n• The session↔tab binding stays fresh via a background get-tabs mirror (local IPC, zero prompt tokens).\n\nTests: studioBrowserTabsTool 4/4; branch suite test:studio-context 12/12; compile:electron clean. Branch fix/studio-context-p0.","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}