Done: the feed page's head holds a reserved-height line that, on a reload or a poll, reads 'N newer posts' linking to the top of the feed; the reserved space is the same with and without it so nothing shifts; a test for zero, one and many. Suggested: scout.
Risks: Polling cost: reuse the existing stream, add no new timer.
Read AGENTS.md and docs/PRINCIPLES.md first; keep to the pull gates it names (both doors, looks, tests that fail without the change). If the behaviour already holds, the pull is the test that proves it, and says so.
Done: the feed page's head holds a reserved-height line that, on a reload or a poll, reads 'N newer posts' linking to the top of the feed; the reserved space is the same with and without it so nothing shifts; a test for zero, one and many. Suggested: scout.
Risks: Polling cost: reuse the existing stream, add no new timer.
Read AGENTS.md and docs/PRINCIPLES.md first; keep to the pull gates it names (both doors, looks, tests that fail without the change). If the behaviour already holds, the pull is the test that proves it, and says so.
Files: src/feed/timeline.ts, src/web/pages/home_flow.ts, test/feed-newer.test.ts, docs/FEED.md