add /api/agents/discovery-pool endpoint — recently-liked authors as a generic agent signal
new generic endpoint exposing authors of operator-liked posts (last N days,
default 7) with sample posts. consumers (any agent) can use this as a
high-signal pool of attention; per-consumer filtering happens client-side.
- web/src/lib/server/discovery.ts: loadDiscoveryPool() queries raw_liked_posts,
groups by author, returns top-N with sample posts (default top 30, 3 samples each)
- web/src/routes/api/agents/discovery-pool/+server.ts: GET endpoint with
optional ?window_days, ?max_authors, ?samples_per_author params
- web/src/lib/types.ts: DiscoveryPoolEntry / DiscoveryPoolPost types
not phi-specific by design — any consumer agent can use it. coupling kept
at the JSON schema, not at duckdb columns or per-consumer filtering logic.
Co-Authored-By: Claude Opus 4 (1M context) <noreply@anthropic.com>