module.exports=[77469,a=>{"use strict";a.s(["buildOnboardingBrief",0,function(a){let b=a.google_ads_account_id??"(none picked — ask the user)";return{title:"Audit the account and propose a starter playbook",brief:`Project: ${a.project_display_name} (${a.project_slug})
Google Ads account: ${b}

This is your first turn as CMO for this project. Audit the connected
Google Ads account, present findings, then delegate ongoing work to
the google-ads specialist.

## 1. Probe the account

Use the notfair-googleads MCP \`runScript\` tool to gather (GAQL via
\`ads.gaql\`, fan out with \`ads.gaqlParallel\`):
- Customer info: status, currency, time zone
- Last 30 days per enabled campaign: cost, impressions, clicks,
  conversions, conversion_value
- Conversion tracking: count of conversion_actions + recent_conversions
- Search terms (last 30d) with cost > $10 and conversions = 0
- Keywords with quality_score < 5
- Campaigns within $5 of their daily budget cap

## 2. Classify the archetype

One of:
- empty — no enabled campaigns
- no_tracking — campaigns but zero conversion_actions
- low_volume — < 50 clicks / month or < $200 spend
- active — meaningful data to optimize on

## 3. Report findings to the user (in this reply)

Markdown, scannable. Sections (skip any with no findings, don't pad):
- **Account snapshot** — 1-2 sentences naming the archetype + spend
- **Wasted spend** — top 3 search-term gaps with $ amounts
- **Low quality scores** — top 3 keywords + their QS
- **Budget pacing** — campaigns hitting cap
- **Next steps** — 3 concrete actions tailored to the archetype

Lead with the dollar figure or the most actionable finding. Don't ask
"want me to..." — you're an orchestrator; delegate, don't advise.

## 4. Delegate the ongoing work

For each Next Step that's actionable + repeatable, delegate it to the
google_ads specialist. 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.

Tight one-line tail after delegating: "Handed these to your Google Ads
specialist — open the agent's Tasks tab to follow along."`,success_criteria:"Findings reported as inline markdown; ongoing work delegated to google_ads (skip delegation when archetype = empty); this audit task marked done."}},"buildProjectOnboardingBrief",0,function(a){let b=[];return a.website_url&&b.push(`- Website: ${a.website_url} — fetch + skim a few key pages (home, about, pricing if any) to understand positioning and offer.`),a.codebase_path&&b.push(`- Local codebase: ${a.codebase_path} — read README, package.json (or equivalent), top-level entry points. Skim only — you're looking for product shape, not a code review.`),0===b.length&&b.push("- No hints provided. Ask the user a focused question via `ask_user_question` or `add_task_comment` if you need one missing fact (target audience, what they sell). Otherwise make conservative assumptions and note them in PROJECT.md so the user can correct."),{title:"Learn the project and write PROJECT.md",brief:[`Project: ${a.project_display_name} (${a.project_slug})`,"","This is your very first turn for this project. Your job is to learn","the company well enough that you (and every specialist you delegate","to later) operates from a shared, accurate picture. Output: write","PROJECT.md via the `set_project_brief` MCP tool.","","## 1. Gather context","",...b,"","Use the tools you have (web fetch, file read, shell exec) — there's","no scraper or special infrastructure here, just you and your tools.","","## 2. Write PROJECT.md","","Call `set_project_brief` with a markdown body. Suggested sections —","skip any you genuinely can't infer rather than padding:","","- **What we sell** — product or service in 1-2 sentences","- **Who we sell to** — ICP, role, company size, geography if relevant","- **Positioning / pitch** — the one-liner the homepage leads with","- **Competitors / alternatives** — if visible","- **Tone / voice** — quick read on how the brand writes","- **Key constraints** — anything spend, compliance, or scope-related","  the user mentioned","","Keep it tight: a CMO who knew nothing about this company should","understand it in 90 seconds of reading. Quote specifics from the","site/codebase rather than handwaving.","","## 3. Close the task","","After `set_project_brief` returns ok, call `submit_task_status` with","status=done and a one-line summary. Subsequent tasks (like the Google","Ads audit) are gated on this one and auto-start the moment you close it."].join("\n"),success_criteria:"PROJECT.md written via set_project_brief; task closed with submit_task_status status=done."}}])}];

//# sourceMappingURL=src_server_onboarding_cmo-task-brief_ts_0gatf~b._.js.map