feat: news notifications for the background collection and a collectedNews tool

Each collection target can announce new items at once or in a daily digest
(off by default) in collect.notifyChannel, as titles and links only, with no
LLM; each post is recorded in the activity log. The brain gets a read-only
collectedNews tool (every target's newest items by default, fenced as
untrusted web content), offered with the app's collection file and the
collection feature, and available to scheduled tasks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
javis-bot
2026-11-14 17:22:54 +09:00
parent a5bd25b86f
commit 324fd2ea0a
21 changed files with 653 additions and 28 deletions

View File

@@ -15,7 +15,7 @@ Reminders, timers and scheduled tasks of the person asking. Product rules: `docs
scheduled unless the tool said so (the "5분 타이머" confabulation, `docs/v2/decisions.md`).
- **Tasks only look things up.** A `task` runs at its time with nobody there to ask, so it gets the
read-only tools only (voice worker `TASK_TOOLS`: weather, web search, reading a page, the asker's
meals, the tool search) and no MCP tools. It cannot send, delete, schedule or operate anything.
meals, the collected news, the tool search) and no MCP tools. It cannot send, delete, schedule or operate anything.
- **Raw data.** The tool returns plain text for the reply model; no LLM call inside.
## Schema