diff --git a/convex/crons.test.ts b/convex/crons.test.ts index eaa1986b21..d06d93c25a 100644 --- a/convex/crons.test.ts +++ b/convex/crons.test.ts @@ -204,14 +204,11 @@ describe("crons", () => { expect(mocks.cron).not.toHaveBeenCalled(); }); - it("checks the Pacific weekly release at the top of each hour and retains bounded delivery history", async () => { + it("does not schedule weekly search digests but retains bounded delivery history", async () => { await import("./crons"); - expect(mocks.cron).toHaveBeenCalledWith( - "search-weekly-digest", - "0 * * * *", - mocks.searchWeeklyTick, - {}, - ); + for (const register of [mocks.cron, mocks.interval]) { + expect(register.mock.calls.map(([, , ref]) => ref)).not.toContain(mocks.searchWeeklyTick); + } expect(mocks.interval).toHaveBeenCalledWith( "search-report-retention-prune", { hours: 1 }, diff --git a/convex/crons.ts b/convex/crons.ts index 642617c01f..61fe0504d5 100644 --- a/convex/crons.ts +++ b/convex/crons.ts @@ -5,8 +5,6 @@ import { RETENTION_STANDARD_BATCH_SIZE } from "./lib/retentionPolicy"; const crons = cronJobs(); if (process.env.CLAWHUB_DISABLE_CRONS !== "1" && process.env.CLAWHUB_PREVIEW !== "1") { - // Hour-aligned UTC ticks let the release gate honor Pacific DST at 09:00. - crons.cron("search-weekly-digest", "0 * * * *", internal.searchWeeklyDigest.tickInternal, {}); crons.interval( "search-report-retention-prune", { hours: 1 }, diff --git a/specs/search-weekly-digest.md b/specs/search-weekly-digest.md index d47b9f5cc5..d0a622ae98 100644 --- a/specs/search-weekly-digest.md +++ b/specs/search-weekly-digest.md @@ -6,11 +6,9 @@ message. Neither side changes official provenance, Featured curation, or Trendin ## Schedule and scope -`searchWeeklyDigest.tickInternal` runs at the top of each UTC hour. Its Pacific -calendar gate releases the completed UTC week on Monday at 09:00 America/Los_Angeles, -including DST. Repeated Monday ticks are harmless; an atomic week claim prevents -overlapping deliveries. Later ticks recover existing due failures, not historical -weeks that were never collected. Preview/disabled-cron deployments register no job. +ClawHub no longer schedules the weekly plugin and skill search digest. No new +weeks are generated or sent to Hermit automatically. The daily retention job +still expires old digest records; search analytics and on-demand reports are unchanged. The producer starts one bounded aggregation batch and retries if continuation is needed. It reads the shared recommendation owner and canonical aggregate API