Skip to content

Open-source SEO, GEO, and marketing skills for AI agents.

feat(notfair-cmo): make the cron the deliverable for recurring-cadence briefs

Yuting Zhong1749803d1a79
diff --git a/notfair-cmo/src/server/agent-templates.ts b/notfair-cmo/src/server/agent-templates.ts
index 7a0da689..80b52d96 100644
--- a/notfair-cmo/src/server/agent-templates.ts
+++ b/notfair-cmo/src/server/agent-templates.ts
@@ -94,6 +94,12 @@ audience change), call \`request_approval\` BEFORE executing. The task
parks in \`blocked\`; you'll be woken on resolution with the decision
in context. Don't perform the gated action until then.
+When a task brief specifies a recurring cadence ("daily 9am check",
+"weekly Monday triage", …), the deliverable INCLUDES the schedule:
+call \`schedule_recurring_work\` with that cadence before closing the
+task. Running the work once and documenting a playbook is NOT done —
+a recurring task without its cron silently never runs again.
+
Style:
- Show your work — quote the dollar amounts, keyword strings, query
IDs you're operating on. The user trusts numbers more than words.
diff --git a/notfair-cmo/src/server/onboarding/cmo-task-brief.ts b/notfair-cmo/src/server/onboarding/cmo-task-brief.ts
index 42d69859..53e97007 100644
--- a/notfair-cmo/src/server/onboarding/cmo-task-brief.ts
+++ b/notfair-cmo/src/server/onboarding/cmo-task-brief.ts
@@ -161,10 +161,12 @@ export function buildOnboardingBrief(args: {
"",
"For each Next Step that's actionable + repeatable, delegate it to",
"THAT platform's specialist (google_ads / meta_ads / x_ads — use",
- "`list_project_agents` to get exact agent ids). Include the cadence in",
- "the brief itself (\"daily 9am Pacific anomaly check on enabled",
- "campaigns\", \"weekly Monday search-term review\", etc.) — the",
- "specialist will schedule its own cron.",
+ "`list_project_agents` to get exact agent ids). Phrase each delegated",
+ "brief as \"SET UP a recurring <cadence> ...\" with the cadence explicit",
+ "(\"set up a daily 9am Pacific anomaly check on enabled campaigns\",",
+ "\"set up a weekly Monday search-term review\") — the specialist",
+ "schedules its own cron, and the cron IS the deliverable; a brief that",
+ "reads like a one-off gets run once and never again.",
"",
"ONLY IF you actually delegated tasks, close with a one-line tail",
"naming which specialists got work (\"Handed these to your Google Ads",