From 783cec796d60c5eb769fe22713ed777647d3fe62 Mon Sep 17 00:00:00 2001 From: nyx-cell <204169437+nyx-cell@users.noreply.github.com> Date: Wed, 18 Nov 2026 22:34:17 +0800 Subject: [PATCH 1/2] chore(feeds): add claude.dev Blog subscription claude.dev publishes a first-party blog for the Claude Code team (Addy Osmani and others) and exposes a native RSS 2.0 feed at /rss.xml that the article pages advertise through rel=alternate. Adding it to the personal subscription registry means the 09:00 digest reads it without any page-source adapter or packaging change. --- feeds.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/feeds.json b/feeds.json index 209a835..50406bd 100644 --- a/feeds.json +++ b/feeds.json @@ -390,5 +390,14 @@ "Articles", "News" ] + }, + { + "name": "claude.dev Blog", + "url": "https://claude.dev/rss.xml", + "tags": [ + "Articles", + "Blog", + "claude" + ] } ] From 7b2ddf26e189ff28691368bf05478f27e773f7de Mon Sep 17 00:00:00 2001 From: nyx-cell <204169437+nyx-cell@users.noreply.github.com> Date: Wed, 18 Nov 2026 23:01:09 +0800 Subject: [PATCH 2/2] fix(config): fail loudly when an explicit feed file is missing A configured `RSS_FEEDS_FILE` or `--file` that does not exist silently returned no subscriptions, so a broken deployment path produced an empty digest that is indistinguishable from "nothing was published today". The industry registry already threw in the same situation; this makes the personal registry match it. The implicit default (`feeds.json` in the working directory) still resolves to an empty list, so running from a directory without a registry keeps working. --- src/app/config/env.test.ts | 13 +++++++++++++ src/app/config/env.ts | 5 +++++ 2 files changed, 18 insertions(+) diff --git a/src/app/config/env.test.ts b/src/app/config/env.test.ts index 5f6f4b3..4b6089f 100644 --- a/src/app/config/env.test.ts +++ b/src/app/config/env.test.ts @@ -92,6 +92,19 @@ describe("app/config/env", () => { } }); + it("rejects an explicit feed subscription file that does not exist", async () => { + const temporaryDirectory = mkdtempSync(join(tmpdir(), "rss-summary-config-")); + const missingFile = join(temporaryDirectory, "missing-feeds.json"); + + try { + await expect(Effect.runPromise(loadEnvConfig({ RSS_FEEDS_FILE: missingFile }))).rejects.toThrow( + `Feed subscription file does not exist: ${missingFile}` + ); + } finally { + rmSync(temporaryDirectory, { force: true, recursive: true }); + } + }); + it("allows RSS feed subscriptions from env", async () => { const config = await resolveConfig( { diff --git a/src/app/config/env.ts b/src/app/config/env.ts index d86948a..8a4e14f 100644 --- a/src/app/config/env.ts +++ b/src/app/config/env.ts @@ -138,6 +138,11 @@ function loadFeedSubscriptions( const feedsFile = configuredFile ?? "feeds.json"; if (!existsSync(feedsFile)) { + // A configured path that is missing means the deployment lost its registry; silently returning + // no subscriptions would turn that into an empty digest that looks like "nothing was published". + if (configuredFile) { + throw new Error(`Feed subscription file does not exist: ${feedsFile}`); + } return []; } return decodeFeedsJson(readFileSync(feedsFile, "utf8"));