ai-employees 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +160 -0
- package/TRADEMARKS.md +45 -0
- package/docs/COST.md +59 -0
- package/docs/FAQ.md +39 -0
- package/docs/GUARDRAILS.md +17 -0
- package/docs/HARNESSES.md +38 -0
- package/docs/HOW-EMPLOYEES-WORK.md +86 -0
- package/docs/INSTALL.md +148 -0
- package/docs/PREREQUISITES.md +91 -0
- package/docs/STANDARD.md +194 -0
- package/docs/UPGRADING.md +74 -0
- package/docs/WHAT-SETS-THEM-APART.md +10 -0
- package/employees/ad-manager-employee/AGENTS.md +46 -0
- package/employees/ad-manager-employee/CAPABILITIES.md +1002 -0
- package/employees/ad-manager-employee/CHANGELOG.md +99 -0
- package/employees/ad-manager-employee/CONTRACT.md +977 -0
- package/employees/ad-manager-employee/INSTALL-PROMPT.md +263 -0
- package/employees/ad-manager-employee/README.md +357 -0
- package/employees/ad-manager-employee/RELEASES.md +25 -0
- package/employees/ad-manager-employee/ROLE.md +617 -0
- package/employees/ad-manager-employee/SCHEDULE.md +275 -0
- package/employees/ad-manager-employee/VERSION +1 -0
- package/employees/ad-manager-employee/employee.json +185 -0
- package/employees/ad-manager-employee/examples/README.md +21 -0
- package/employees/ad-manager-employee/examples/board/LAUNCH-BOARD.md +19 -0
- package/employees/ad-manager-employee/examples/board/board.json +51 -0
- package/employees/ad-manager-employee/examples/brief-latest.md +20 -0
- package/employees/ad-manager-employee/examples/build/campaign-storm-repair.md +51 -0
- package/employees/ad-manager-employee/examples/creative/set-2026-03-04-fast-estimate/set.md +31 -0
- package/employees/ad-manager-employee/examples/metrics/daily.jsonl +2 -0
- package/employees/ad-manager-employee/examples/runlog.jsonl +3 -0
- package/employees/ad-manager-employee/recipes/BROWSER-RECIPES.md +558 -0
- package/employees/ad-manager-employee/recipes/META-ADS-RECIPES.md +100 -0
- package/employees/ad-manager-employee/routines/ads-account-intake/SKILL.md +929 -0
- package/employees/ad-manager-employee/routines/ads-account-read/SKILL.md +780 -0
- package/employees/ad-manager-employee/routines/ads-build-desk/SKILL.md +915 -0
- package/employees/ad-manager-employee/routines/ads-change-list/SKILL.md +818 -0
- package/employees/ad-manager-employee/routines/ads-creative-retro/SKILL.md +807 -0
- package/employees/ad-manager-employee/routines/ads-creative-studio/SKILL.md +802 -0
- package/employees/ad-manager-employee/routines/ads-desk-standup/SKILL.md +822 -0
- package/employees/ad-manager-employee/run/ads-account-intake.cmd.example +11 -0
- package/employees/ad-manager-employee/run/ads-account-read.cmd.example +11 -0
- package/employees/ad-manager-employee/run/ads-build-desk.cmd.example +11 -0
- package/employees/ad-manager-employee/run/ads-change-list.cmd.example +11 -0
- package/employees/ad-manager-employee/run/ads-creative-retro.cmd.example +11 -0
- package/employees/ad-manager-employee/run/ads-creative-studio.cmd.example +11 -0
- package/employees/ad-manager-employee/run/ads-desk-standup.cmd.example +11 -0
- package/employees/ad-manager-employee/scripts/copy-check.mjs +815 -0
- package/employees/ad-manager-employee/scripts/guard.mjs +447 -0
- package/employees/ad-manager-employee/scripts/review.mjs +443 -0
- package/employees/ad-manager-employee/scripts/runlog.mjs +785 -0
- package/employees/chief-of-staff/AGENTS.md +46 -0
- package/employees/chief-of-staff/CAPABILITIES.md +875 -0
- package/employees/chief-of-staff/CHANGELOG.md +91 -0
- package/employees/chief-of-staff/CONTRACT.md +1039 -0
- package/employees/chief-of-staff/INSTALL-PROMPT.md +206 -0
- package/employees/chief-of-staff/README.md +382 -0
- package/employees/chief-of-staff/RELEASES.md +22 -0
- package/employees/chief-of-staff/ROLE.md +425 -0
- package/employees/chief-of-staff/SCHEDULE.md +288 -0
- package/employees/chief-of-staff/VERSION +1 -0
- package/employees/chief-of-staff/employee.json +214 -0
- package/employees/chief-of-staff/examples/README.md +15 -0
- package/employees/chief-of-staff/examples/brief-latest.md +20 -0
- package/employees/chief-of-staff/examples/decisions/REGISTER.md +22 -0
- package/employees/chief-of-staff/examples/dossiers/dossier-seo-employee--seo-publish-run--silent-stop.md +43 -0
- package/employees/chief-of-staff/examples/fleet/fleet.json +119 -0
- package/employees/chief-of-staff/examples/runlog.jsonl +3 -0
- package/employees/chief-of-staff/recipes/BROWSER-RECIPES.md +512 -0
- package/employees/chief-of-staff/routines/cos-charter-and-fleet-audit/SKILL.md +1008 -0
- package/employees/chief-of-staff/routines/cos-decision-brief/SKILL.md +639 -0
- package/employees/chief-of-staff/routines/cos-decision-review/SKILL.md +644 -0
- package/employees/chief-of-staff/routines/cos-fault-dossier/SKILL.md +656 -0
- package/employees/chief-of-staff/routines/cos-fleet-reconcile/SKILL.md +942 -0
- package/employees/chief-of-staff/routines/cos-market-sweep/SKILL.md +655 -0
- package/employees/chief-of-staff/routines/cos-metrics-review/SKILL.md +746 -0
- package/employees/chief-of-staff/run/cos-charter-and-fleet-audit.cmd.example +11 -0
- package/employees/chief-of-staff/run/cos-decision-brief.cmd.example +11 -0
- package/employees/chief-of-staff/run/cos-decision-review.cmd.example +11 -0
- package/employees/chief-of-staff/run/cos-fault-dossier.cmd.example +11 -0
- package/employees/chief-of-staff/run/cos-fleet-reconcile.cmd.example +11 -0
- package/employees/chief-of-staff/run/cos-market-sweep.cmd.example +11 -0
- package/employees/chief-of-staff/run/cos-metrics-review.cmd.example +11 -0
- package/employees/chief-of-staff/scripts/copy-check.mjs +812 -0
- package/employees/chief-of-staff/scripts/guard.mjs +447 -0
- package/employees/chief-of-staff/scripts/runlog.mjs +766 -0
- package/employees/customer-satisfaction-employee/AGENTS.md +47 -0
- package/employees/customer-satisfaction-employee/CAPABILITIES.md +910 -0
- package/employees/customer-satisfaction-employee/CHANGELOG.md +91 -0
- package/employees/customer-satisfaction-employee/CONTRACT.md +1121 -0
- package/employees/customer-satisfaction-employee/INSTALL-PROMPT.md +290 -0
- package/employees/customer-satisfaction-employee/README.md +378 -0
- package/employees/customer-satisfaction-employee/RELEASES.md +22 -0
- package/employees/customer-satisfaction-employee/ROLE.md +393 -0
- package/employees/customer-satisfaction-employee/SCHEDULE.md +283 -0
- package/employees/customer-satisfaction-employee/VERSION +1 -0
- package/employees/customer-satisfaction-employee/employee.json +231 -0
- package/employees/customer-satisfaction-employee/examples/README.md +15 -0
- package/employees/customer-satisfaction-employee/examples/brief-latest.md +17 -0
- package/employees/customer-satisfaction-employee/examples/desk/DESK-BOARD.md +18 -0
- package/employees/customer-satisfaction-employee/examples/queue/2026-03-05-reply.md +36 -0
- package/employees/customer-satisfaction-employee/examples/runlog.jsonl +3 -0
- package/employees/customer-satisfaction-employee/examples/tickets/tickets.jsonl +2 -0
- package/employees/customer-satisfaction-employee/recipes/BROWSER-RECIPES.md +549 -0
- package/employees/customer-satisfaction-employee/routines/csat-churn-watch/SKILL.md +709 -0
- package/employees/customer-satisfaction-employee/routines/csat-deflection-desk/SKILL.md +671 -0
- package/employees/customer-satisfaction-employee/routines/csat-desk-intake/SKILL.md +1115 -0
- package/employees/customer-satisfaction-employee/routines/csat-desk-standup/SKILL.md +831 -0
- package/employees/customer-satisfaction-employee/routines/csat-inbox-sweep/SKILL.md +673 -0
- package/employees/customer-satisfaction-employee/routines/csat-reply-desk/SKILL.md +755 -0
- package/employees/customer-satisfaction-employee/routines/csat-satisfaction-report/SKILL.md +844 -0
- package/employees/customer-satisfaction-employee/routines/csat-taxonomy-refresh/SKILL.md +798 -0
- package/employees/customer-satisfaction-employee/run/csat-churn-watch.cmd.example +11 -0
- package/employees/customer-satisfaction-employee/run/csat-deflection-desk.cmd.example +11 -0
- package/employees/customer-satisfaction-employee/run/csat-desk-intake.cmd.example +11 -0
- package/employees/customer-satisfaction-employee/run/csat-desk-standup.cmd.example +11 -0
- package/employees/customer-satisfaction-employee/run/csat-inbox-sweep.cmd.example +11 -0
- package/employees/customer-satisfaction-employee/run/csat-reply-desk.cmd.example +11 -0
- package/employees/customer-satisfaction-employee/run/csat-satisfaction-report.cmd.example +11 -0
- package/employees/customer-satisfaction-employee/run/csat-taxonomy-refresh.cmd.example +11 -0
- package/employees/customer-satisfaction-employee/scripts/copy-check.mjs +888 -0
- package/employees/customer-satisfaction-employee/scripts/guard.mjs +447 -0
- package/employees/customer-satisfaction-employee/scripts/runlog.mjs +778 -0
- package/employees/gtm-engineer/AGENTS.md +47 -0
- package/employees/gtm-engineer/CAPABILITIES.md +929 -0
- package/employees/gtm-engineer/CHANGELOG.md +93 -0
- package/employees/gtm-engineer/CONTRACT.md +977 -0
- package/employees/gtm-engineer/INSTALL-PROMPT.md +237 -0
- package/employees/gtm-engineer/README.md +355 -0
- package/employees/gtm-engineer/RELEASES.md +22 -0
- package/employees/gtm-engineer/ROLE.md +551 -0
- package/employees/gtm-engineer/SCHEDULE.md +265 -0
- package/employees/gtm-engineer/VERSION +1 -0
- package/employees/gtm-engineer/employee.json +230 -0
- package/employees/gtm-engineer/examples/README.md +15 -0
- package/employees/gtm-engineer/examples/board/LAUNCH-BOARD.md +12 -0
- package/employees/gtm-engineer/examples/brief-latest.md +19 -0
- package/employees/gtm-engineer/examples/crm/contacts.csv +4 -0
- package/employees/gtm-engineer/examples/queue/2026-03-05-email.md +26 -0
- package/employees/gtm-engineer/examples/runlog.jsonl +3 -0
- package/employees/gtm-engineer/recipes/BROWSER-RECIPES.md +582 -0
- package/employees/gtm-engineer/routines/gtm-board-standup/SKILL.md +745 -0
- package/employees/gtm-engineer/routines/gtm-icp-refresh/SKILL.md +647 -0
- package/employees/gtm-engineer/routines/gtm-intake-and-dashboard/SKILL.md +1046 -0
- package/employees/gtm-engineer/routines/gtm-launch-step-runner/SKILL.md +802 -0
- package/employees/gtm-engineer/routines/gtm-outreach-queue/SKILL.md +708 -0
- package/employees/gtm-engineer/routines/gtm-paid-and-tracking-guard/SKILL.md +970 -0
- package/employees/gtm-engineer/routines/gtm-scoreboard/SKILL.md +740 -0
- package/employees/gtm-engineer/routines/gtm-signal-sweep/SKILL.md +648 -0
- package/employees/gtm-engineer/run/gtm-board-standup.cmd.example +11 -0
- package/employees/gtm-engineer/run/gtm-icp-refresh.cmd.example +11 -0
- package/employees/gtm-engineer/run/gtm-intake-and-dashboard.cmd.example +11 -0
- package/employees/gtm-engineer/run/gtm-launch-step-runner.cmd.example +11 -0
- package/employees/gtm-engineer/run/gtm-outreach-queue.cmd.example +11 -0
- package/employees/gtm-engineer/run/gtm-paid-and-tracking-guard.cmd.example +11 -0
- package/employees/gtm-engineer/run/gtm-scoreboard.cmd.example +11 -0
- package/employees/gtm-engineer/run/gtm-signal-sweep.cmd.example +11 -0
- package/employees/gtm-engineer/scripts/copy-check.mjs +815 -0
- package/employees/gtm-engineer/scripts/guard.mjs +447 -0
- package/employees/gtm-engineer/scripts/runlog.mjs +772 -0
- package/employees/sales-employee/AGENTS.md +46 -0
- package/employees/sales-employee/CAPABILITIES.md +880 -0
- package/employees/sales-employee/CHANGELOG.md +92 -0
- package/employees/sales-employee/CONTRACT.md +1161 -0
- package/employees/sales-employee/INSTALL-PROMPT.md +256 -0
- package/employees/sales-employee/README.md +372 -0
- package/employees/sales-employee/RELEASES.md +22 -0
- package/employees/sales-employee/ROLE.md +319 -0
- package/employees/sales-employee/SCHEDULE.md +263 -0
- package/employees/sales-employee/VERSION +1 -0
- package/employees/sales-employee/employee.json +202 -0
- package/employees/sales-employee/examples/README.md +16 -0
- package/employees/sales-employee/examples/brief-latest.md +17 -0
- package/employees/sales-employee/examples/crm/contacts.csv +4 -0
- package/employees/sales-employee/examples/crm/prospects.jsonl +2 -0
- package/employees/sales-employee/examples/pipeline/PIPELINE.md +18 -0
- package/employees/sales-employee/examples/queue/2026-03-05-first-touch.md +29 -0
- package/employees/sales-employee/examples/runlog.jsonl +3 -0
- package/employees/sales-employee/recipes/BROWSER-RECIPES.md +535 -0
- package/employees/sales-employee/routines/sales-desk-setup/SKILL.md +896 -0
- package/employees/sales-employee/routines/sales-desk-standup/SKILL.md +818 -0
- package/employees/sales-employee/routines/sales-first-touch-drafts/SKILL.md +681 -0
- package/employees/sales-employee/routines/sales-followup-sweep/SKILL.md +736 -0
- package/employees/sales-employee/routines/sales-pipeline-review/SKILL.md +765 -0
- package/employees/sales-employee/routines/sales-prospect-sweep/SKILL.md +696 -0
- package/employees/sales-employee/routines/sales-qualification-refresh/SKILL.md +743 -0
- package/employees/sales-employee/run/sales-desk-setup.cmd.example +11 -0
- package/employees/sales-employee/run/sales-desk-standup.cmd.example +11 -0
- package/employees/sales-employee/run/sales-first-touch-drafts.cmd.example +11 -0
- package/employees/sales-employee/run/sales-followup-sweep.cmd.example +11 -0
- package/employees/sales-employee/run/sales-pipeline-review.cmd.example +11 -0
- package/employees/sales-employee/run/sales-prospect-sweep.cmd.example +11 -0
- package/employees/sales-employee/run/sales-qualification-refresh.cmd.example +11 -0
- package/employees/sales-employee/scripts/copy-check.mjs +815 -0
- package/employees/sales-employee/scripts/guard.mjs +447 -0
- package/employees/sales-employee/scripts/runlog.mjs +773 -0
- package/employees/seo-employee/AEO-PLAYBOOK.md +51 -0
- package/employees/seo-employee/AGENTS.md +47 -0
- package/employees/seo-employee/CAPABILITIES.md +1006 -0
- package/employees/seo-employee/CHANGELOG.md +95 -0
- package/employees/seo-employee/CONTRACT.md +1020 -0
- package/employees/seo-employee/INSTALL-PROMPT.md +233 -0
- package/employees/seo-employee/README.md +368 -0
- package/employees/seo-employee/RELEASES.md +22 -0
- package/employees/seo-employee/ROLE.md +331 -0
- package/employees/seo-employee/SCHEDULE.md +267 -0
- package/employees/seo-employee/VERSION +1 -0
- package/employees/seo-employee/employee.json +233 -0
- package/employees/seo-employee/examples/README.md +14 -0
- package/employees/seo-employee/examples/board/WORK-BOARD.md +16 -0
- package/employees/seo-employee/examples/brief-latest.md +16 -0
- package/employees/seo-employee/examples/content/drafts.jsonl +2 -0
- package/employees/seo-employee/examples/content/published.jsonl +2 -0
- package/employees/seo-employee/examples/drafts/roof-lifespan-by-material/body.md +39 -0
- package/employees/seo-employee/examples/drafts/roof-lifespan-by-material/meta.json +16 -0
- package/employees/seo-employee/examples/runlog.jsonl +3 -0
- package/employees/seo-employee/recipes/BROWSER-RECIPES.md +576 -0
- package/employees/seo-employee/routines/seo-answer-visibility/SKILL.md +55 -0
- package/employees/seo-employee/routines/seo-calendar-refill/SKILL.md +614 -0
- package/employees/seo-employee/routines/seo-draft-run/SKILL.md +722 -0
- package/employees/seo-employee/routines/seo-index-sweep/SKILL.md +629 -0
- package/employees/seo-employee/routines/seo-intake-and-map/SKILL.md +916 -0
- package/employees/seo-employee/routines/seo-publish-run/SKILL.md +713 -0
- package/employees/seo-employee/routines/seo-rank-review/SKILL.md +795 -0
- package/employees/seo-employee/routines/seo-standup/SKILL.md +792 -0
- package/employees/seo-employee/run/seo-answer-visibility.cmd.example +11 -0
- package/employees/seo-employee/run/seo-calendar-refill.cmd.example +11 -0
- package/employees/seo-employee/run/seo-draft-run.cmd.example +11 -0
- package/employees/seo-employee/run/seo-index-sweep.cmd.example +11 -0
- package/employees/seo-employee/run/seo-intake-and-map.cmd.example +11 -0
- package/employees/seo-employee/run/seo-publish-run.cmd.example +11 -0
- package/employees/seo-employee/run/seo-rank-review.cmd.example +11 -0
- package/employees/seo-employee/run/seo-standup.cmd.example +11 -0
- package/employees/seo-employee/scripts/answer-audit.mjs +63 -0
- package/employees/seo-employee/scripts/copy-check.mjs +843 -0
- package/employees/seo-employee/scripts/guard.mjs +447 -0
- package/employees/seo-employee/scripts/runlog.mjs +864 -0
- package/employees/seo-employee/standards/PUBLISH-STANDARD.md +229 -0
- package/employees/social-media-employee/AGENTS.md +46 -0
- package/employees/social-media-employee/CAPABILITIES.md +1015 -0
- package/employees/social-media-employee/CHANGELOG.md +91 -0
- package/employees/social-media-employee/CONTRACT.md +1036 -0
- package/employees/social-media-employee/INSTALL-PROMPT.md +234 -0
- package/employees/social-media-employee/README.md +386 -0
- package/employees/social-media-employee/RELEASES.md +22 -0
- package/employees/social-media-employee/ROLE.md +376 -0
- package/employees/social-media-employee/SCHEDULE.md +278 -0
- package/employees/social-media-employee/VERSION +1 -0
- package/employees/social-media-employee/employee.json +195 -0
- package/employees/social-media-employee/examples/README.md +20 -0
- package/employees/social-media-employee/examples/brief-latest.md +19 -0
- package/employees/social-media-employee/examples/calendar/CALENDAR.md +23 -0
- package/employees/social-media-employee/examples/calendar/calendar.json +30 -0
- package/employees/social-media-employee/examples/posts/posts.jsonl +2 -0
- package/employees/social-media-employee/examples/queue/2026-03-05-business-network.md +28 -0
- package/employees/social-media-employee/examples/runlog.jsonl +3 -0
- package/employees/social-media-employee/recipes/BROWSER-RECIPES.md +550 -0
- package/employees/social-media-employee/routines/soc-calendar-standup/SKILL.md +783 -0
- package/employees/social-media-employee/routines/soc-draft-queue/SKILL.md +683 -0
- package/employees/social-media-employee/routines/soc-engagement-sweep/SKILL.md +636 -0
- package/employees/social-media-employee/routines/soc-intake-and-voice/SKILL.md +909 -0
- package/employees/social-media-employee/routines/soc-material-sweep/SKILL.md +658 -0
- package/employees/social-media-employee/routines/soc-performance-review/SKILL.md +795 -0
- package/employees/social-media-employee/routines/soc-publish-run/SKILL.md +643 -0
- package/employees/social-media-employee/run/soc-calendar-standup.cmd.example +11 -0
- package/employees/social-media-employee/run/soc-draft-queue.cmd.example +11 -0
- package/employees/social-media-employee/run/soc-engagement-sweep.cmd.example +11 -0
- package/employees/social-media-employee/run/soc-intake-and-voice.cmd.example +11 -0
- package/employees/social-media-employee/run/soc-material-sweep.cmd.example +11 -0
- package/employees/social-media-employee/run/soc-performance-review.cmd.example +11 -0
- package/employees/social-media-employee/run/soc-publish-run.cmd.example +11 -0
- package/employees/social-media-employee/scripts/copy-check.mjs +950 -0
- package/employees/social-media-employee/scripts/guard.mjs +447 -0
- package/employees/social-media-employee/scripts/runlog.mjs +786 -0
- package/employees/web-dev-employee/AGENTS.md +47 -0
- package/employees/web-dev-employee/CAPABILITIES.md +950 -0
- package/employees/web-dev-employee/CHANGELOG.md +91 -0
- package/employees/web-dev-employee/CONTRACT.md +1052 -0
- package/employees/web-dev-employee/INSTALL-PROMPT.md +210 -0
- package/employees/web-dev-employee/README.md +352 -0
- package/employees/web-dev-employee/RELEASES.md +22 -0
- package/employees/web-dev-employee/ROLE.md +383 -0
- package/employees/web-dev-employee/SCHEDULE.md +280 -0
- package/employees/web-dev-employee/VERSION +1 -0
- package/employees/web-dev-employee/employee.json +228 -0
- package/employees/web-dev-employee/examples/README.md +13 -0
- package/employees/web-dev-employee/examples/board/REVIEW-BOARD.md +20 -0
- package/employees/web-dev-employee/examples/brief-latest.md +14 -0
- package/employees/web-dev-employee/examples/changes/2026-03-05-fix-C-005.md +30 -0
- package/employees/web-dev-employee/examples/changes/changes.jsonl +2 -0
- package/employees/web-dev-employee/examples/health/incidents.jsonl +2 -0
- package/employees/web-dev-employee/examples/runlog.jsonl +3 -0
- package/employees/web-dev-employee/recipes/BROWSER-RECIPES.md +477 -0
- package/employees/web-dev-employee/routines/web-dependency-run/SKILL.md +634 -0
- package/employees/web-dev-employee/routines/web-fix-runner/SKILL.md +754 -0
- package/employees/web-dev-employee/routines/web-guardrail-review/SKILL.md +613 -0
- package/employees/web-dev-employee/routines/web-inventory-refresh/SKILL.md +700 -0
- package/employees/web-dev-employee/routines/web-platform-guard/SKILL.md +707 -0
- package/employees/web-dev-employee/routines/web-site-sweep/SKILL.md +732 -0
- package/employees/web-dev-employee/routines/web-standup/SKILL.md +738 -0
- package/employees/web-dev-employee/routines/web-weekly-report/SKILL.md +623 -0
- package/employees/web-dev-employee/run/web-dependency-run.cmd.example +11 -0
- package/employees/web-dev-employee/run/web-fix-runner.cmd.example +11 -0
- package/employees/web-dev-employee/run/web-guardrail-review.cmd.example +11 -0
- package/employees/web-dev-employee/run/web-inventory-refresh.cmd.example +11 -0
- package/employees/web-dev-employee/run/web-platform-guard.cmd.example +11 -0
- package/employees/web-dev-employee/run/web-site-sweep.cmd.example +11 -0
- package/employees/web-dev-employee/run/web-standup.cmd.example +11 -0
- package/employees/web-dev-employee/run/web-weekly-report.cmd.example +11 -0
- package/employees/web-dev-employee/scripts/copy-check.mjs +872 -0
- package/employees/web-dev-employee/scripts/guard.mjs +447 -0
- package/employees/web-dev-employee/scripts/runlog.mjs +792 -0
- package/installer/cli.mjs +250 -0
- package/installer/upgrade.mjs +255 -0
- package/package.json +43 -0
- package/skills/hire/SKILL.md +72 -0
|
@@ -0,0 +1,1002 @@
|
|
|
1
|
+
# Ad Manager: capabilities
|
|
2
|
+
|
|
3
|
+
This is the only file in the kit that maps a capability to a concrete route on a concrete harness.
|
|
4
|
+
|
|
5
|
+
Routines never name a tool. They name a capability, and they name it in plain words: read the page, generate the image, append the run record. When a routine says `page.read`, it means "read this page as a structure I can click into," and it is this file's job to say what that is called on the harness you actually run.
|
|
6
|
+
|
|
7
|
+
That split is what makes the kit portable. It also means one thing for you as the owner of it: **if you ever find a tool name, an extension name, a model name, or a vendor selector inside a routine body, that is a defect in the routine, not a feature.** The fix is to put the capability name in the routine and the route in this file. You do not have to do that by hand. Tell your agent, and it does it.
|
|
8
|
+
|
|
9
|
+
**Two capabilities in this kit are the ones people most want to write a vendor name into**, and they are the reason that rule is worth stating twice. `image.generate` and `image.compress` are named as capabilities everywhere in the routines, and the name of whatever produces or shrinks an image for you appears in exactly one place: the two tables in section 5 of this file. Which generator you use is your choice. The routine's instruction is identical either way.
|
|
10
|
+
|
|
11
|
+
**Who writes this file.** You do. No routine rewrites it. Every routine reads it at the top of every run, along with the `## Corrections` section at the bottom, which is where you write anything this file got wrong about your machine. A correction there outranks the tables above it.
|
|
12
|
+
|
|
13
|
+
**What this file will not do.** It will not tell you a harness supports something I could not confirm. There are eleven harnesses in section 2 and section 9, seven of them route by route in the capability tables, and I have run this kit on one of them. Everything else is marked for what it is. A row that says `unknown` is worth more to you than a row that says yes and is wrong at 06:45 on a Tuesday when nobody is awake to notice.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## 1. How to check what your harness supports
|
|
18
|
+
|
|
19
|
+
### 1.1 The four checks that decide everything
|
|
20
|
+
|
|
21
|
+
Do these before you install anything else. The first three are pass or fail for the whole kit. The fourth decides how much of the kit runs.
|
|
22
|
+
|
|
23
|
+
**1. Can it read and write files in `«ADS_ROOT»`?**
|
|
24
|
+
Ask it to write a file called `state/probe.txt` and read it back. If your harness sandboxes file access, `«ADS_ROOT»` has to be inside the allowed set, and a sandbox usually fails quietly rather than loudly. Also confirm `«ADS_ROOT»` is a local path that is not inside OneDrive, Dropbox, Google Drive, or iCloud. The routines write state and a run log mid run, and a sync client corrupts exactly the file that tells tomorrow's run what already happened. **It matters twice over in this kit**, because `creative/set-*` folders are written as a burst of image files and a sync client mangles those too.
|
|
25
|
+
|
|
26
|
+
**2. Can it read the machine clock and the timezone id?**
|
|
27
|
+
Ask it for the current local time and the timezone id, then check both against your own clock. Every routine's first act after the pause switch is a window check, and a routine that cannot read a clock records `failed` and stops. It will never assume a timezone and it will never trust one remembered from a previous run, because you might have moved.
|
|
28
|
+
|
|
29
|
+
**3. Can it run a local command?**
|
|
30
|
+
Ask it to run `node --version`. You need Node 18 or newer for the two scripts inside the kit, `scripts/runlog.mjs` and `scripts/copy-check.mjs`. Both are dependency free. There is no install step and no package file.
|
|
31
|
+
|
|
32
|
+
**4. Can it drive a browser that carries your own logged in sessions?**
|
|
33
|
+
This is the one people get wrong, and it is the difference between a browser routine that works and one that stares at a sign in page every morning.
|
|
34
|
+
|
|
35
|
+
The kit never logs in. It never creates an account, never types a password, never completes a captcha. It inherits a browser you are already signed in to. So a harness that launches a clean automated browser for you has given you a browser with no session, and every read of your own ad account lands on a sign in wall. The routine will do the correct thing, which is to record `blocked-login`, change nothing, and tell you. It will do that every single day.
|
|
36
|
+
|
|
37
|
+
Ask your harness this exact question: **does your browser control attach to the browser profile I am already signed in to, or does it start a fresh one?** If the answer is fresh, either point it at your profile, or accept that `ads-account-read` cannot read your account and plan around section 7.
|
|
38
|
+
|
|
39
|
+
### 1.2 The probe
|
|
40
|
+
|
|
41
|
+
Paste this into your agent, in `«ADS_ROOT»`, once, before you register anything.
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
Read CAPABILITIES.md in this folder.
|
|
45
|
+
|
|
46
|
+
For each of the 27 capabilities in sections 3, 4, 4a, 5 and 6, tell me three things:
|
|
47
|
+
1. can you do this right now, on this machine
|
|
48
|
+
2. with what, named exactly as your harness names it
|
|
49
|
+
3. if you cannot, what would I have to install or turn on
|
|
50
|
+
|
|
51
|
+
Rules for your answer:
|
|
52
|
+
Try the cheap ones rather than reasoning about them. Reading the clock,
|
|
53
|
+
listing a folder, and fetching one public URL are all cheap.
|
|
54
|
+
For image.generate, try one throwaway prompt rather than reasoning about it.
|
|
55
|
+
For the browser, confirm whether you attach to my signed in profile
|
|
56
|
+
or start a clean one. Say which.
|
|
57
|
+
Where you do not know, write "unknown". Never guess and never assume
|
|
58
|
+
a capability exists because it usually does.
|
|
59
|
+
Change no files. Open no account screen. Create nothing anywhere.
|
|
60
|
+
|
|
61
|
+
Give me one table and nothing else.
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Read the result next to section 2. Where it disagrees with a table here, your machine is right and the table is wrong, and the disagreement goes in `## Corrections` at the bottom of this file in one line.
|
|
65
|
+
|
|
66
|
+
### 1.3 What the confidence column means
|
|
67
|
+
|
|
68
|
+
| Value | Means |
|
|
69
|
+
|---|---|
|
|
70
|
+
| `confirmed` | Verified working. Claude Code is the harness this kit was built and run on, so it is the only column where this appears |
|
|
71
|
+
| `expected` | The harness has this class of capability and the route is the one named. The exact name will differ, and may have changed since this file was written |
|
|
72
|
+
| `unknown` | I could not confirm anything about this. Probe it before you rely on it. Do not read a blank as a no, and do not read it as a yes |
|
|
73
|
+
|
|
74
|
+
### 1.4 Probe live, never cache
|
|
75
|
+
|
|
76
|
+
Capability detection happens at the top of every run, every time. No routine stores a capability result and reuses it tomorrow.
|
|
77
|
+
|
|
78
|
+
The reason is the failure it prevents. You connect a browser on Thursday. A routine that cached Wednesday's answer keeps writing file only output for a month and records a blocker you already fixed. Cheap check, expensive cache.
|
|
79
|
+
|
|
80
|
+
The one durable record is the run log. A capability that was missing shows up in `blockers[]` in that run's record, verbatim, and in your morning brief the next day. If the same blocker sits there for a week, that is the file telling you something on this machine needs turning on.
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## 2. The eleven harnesses, honestly
|
|
85
|
+
|
|
86
|
+
One row each. The browser column is the one that changes how much of the kit runs.
|
|
87
|
+
|
|
88
|
+
| Harness | Files and shell | Browser control | Your signed in session | Scheduler | Confidence overall |
|
|
89
|
+
|---|---|---|---|---|---|
|
|
90
|
+
| **Claude Code** | Built in | Chrome extension bridge | Yes, attaches to your Chrome | Desktop app: built in. CLI: none, use the operating system's | `confirmed` |
|
|
91
|
+
| **OpenClaw** | Expected, core to it | Unconfirmed. Probe | Probe this specifically | Built in cron, `openclaw automations create` | `expected` on files, `unknown` on browser |
|
|
92
|
+
| **Hermes** | Expected | Probe | Probe this specifically | Built in cron | `expected` on files, `unknown` on browser |
|
|
93
|
+
| **OpenCode** | Expected, core to it | Add a browser automation server | Depends on that server's config | None of its own, use the operating system's | `expected` on files |
|
|
94
|
+
| **Grok Bot** | Expected, on its own cloud computer | Its own browser, on that computer | Check first; it runs elsewhere | Built in recurring tasks | `expected` on files, `unknown` on your sessions |
|
|
95
|
+
| **Codex** | Expected, core to it | Add a browser automation server | Depends on that server's config | Scheduled runs | `expected` on files |
|
|
96
|
+
| **Antigravity** | Expected, core to it | Part of the product | Probe this specifically | The `agy` job runner | `expected` |
|
|
97
|
+
| **Pi** | Expected, core to it | Probe | Probe this specifically | None of its own, use the operating system's | `expected` on files |
|
|
98
|
+
| **Cline** | Expected, core to it | Probe | Probe this specifically | Built in cron, `cline schedule create` | `expected` on files |
|
|
99
|
+
| **Qwen Code** | Expected, core to it | Probe | Probe this specifically | Built in scheduled tasks, or the operating system's | `expected` on files |
|
|
100
|
+
| **DeepSeek** | Expected, core to it | Part of the product | Probe this specifically | Its scheduling plugin | `expected` on files |
|
|
101
|
+
|
|
102
|
+
The capability tables in sections 3 to 6 carry one row for each of the first seven. For Pi, Cline and Qwen Code, read the OpenCode row: a terminal agent with files and shell built in, and a browser automation server to add for the browser lane. For DeepSeek, read the Antigravity row: browser control is part of the product, and the profile it drives is the question. Whatever you find on one of those four, one line in `## Corrections` at the foot of this file is where it goes.
|
|
103
|
+
|
|
104
|
+
**Claude Code.** Anthropic's CLI. This is the harness the kit was built on and the only one I can speak about from having watched it run. It reads and writes files, runs shell commands, searches and fetches the web, drives a Chrome you are already signed in to through a browser extension, and, in the Desktop app, schedules its own recurring jobs, which is where these routines belong. **Two shapes, and the difference decides how you register the schedule.** The Claude Desktop app has a local scheduler of its own, with a permission mode per task, and it is the route this kit has run on in production. The Claude Code CLI has no local scheduler: pair it with the operating system's scheduler in section 9, using the launchers in `run/`. Its scheduled tasks and its global skills are different directories, and these are scheduled tasks. The routines ship in its skill format, a `SKILL.md` with `name` and `description` frontmatter plus one `metadata` key that marks it internal, so a skills registry never offers a scheduled routine as an on demand skill, which is a plain enough format that any harness reading markdown instructions can run them.
|
|
105
|
+
|
|
106
|
+
**OpenClaw.** An agent harness that runs local sessions. Files and shell are the part I would expect to work without ceremony. I could not confirm how it drives a browser, so treat every browser row as unknown until your probe says otherwise. If it accepts MCP servers, adding a browser automation server gives the kit the whole browser table in one move, and that is the route I would try first.
|
|
107
|
+
|
|
108
|
+
**Hermes.** An agent harness with a built in cron that delivers to any platform, so the scheduler is its own. Files and shell are the part to confirm first; once they hold, the file side of the kit works, and section 7 says exactly what that gets you. Browser control is the open question: run the probe in 1.2 before you rely on any browser routine.
|
|
109
|
+
|
|
110
|
+
**OpenCode.** An open source terminal coding agent. Reading files, writing files, and running commands are core to what it is for, so the whole environment table should hold. It supports MCP servers, which is the route to browser control: add a browser automation server and the browser table becomes available under different names. I know of no built in scheduler, so use the operating system's, per section 9.
|
|
111
|
+
|
|
112
|
+
**Grok Bot.** Its bots already run routines on a schedule from their own cloud computer, so the scheduler is built in and the invocation is the routine file handed over as the run prompt. The thing to settle first is whether it can reach your own signed in accounts at all, because it runs somewhere else; if it cannot, section 7 says what the file side of the kit still produces.
|
|
113
|
+
|
|
114
|
+
**Codex.** OpenAI's coding agent. Files and commands are core. The specific thing to check here is the sandbox: confirm it can write inside `«ADS_ROOT»` and confirm whether it can reach the network, because a sandbox that blocks outbound requests turns off `web.fetch` and `web.search` without announcing it, and a routine will report a documentation page as unreachable when the page is fine. Browser control comes from adding a browser automation server. Codex has scheduled runs; register one per routine.
|
|
115
|
+
|
|
116
|
+
**Antigravity.** Google's agentic development environment, with a command line. Files and shell are core, and browser control is part of the product rather than an add on. The question to settle before you trust `ads-account-read` on it is the one from 1.1: does it drive the browser profile you are signed in to, or a clean automated one. The kit never signs in, so that answer decides whether your own account screens are readable or not. Schedule with the `agy` job runner, one job per routine, pointed at the routine folder.
|
|
117
|
+
|
|
118
|
+
**Pi.** Reads skills folders directly and runs headless with a print flag. Files and shell are core. No scheduler of its own: mirror `SCHEDULE.md` into the operating system's scheduler per section 9, with «ADS_ROOT» as the working directory. Confirm the print flag against `pi --help`, then settle the browser question with the probe in 1.2.
|
|
119
|
+
|
|
120
|
+
**Cline.** The Cline CLI ships its own cron, so each routine registers as one scheduled job with auto approve on, which section 10 asks for anyway. Files and shell are core. Check that a scheduled run starts in «ADS_ROOT», then probe the browser.
|
|
121
|
+
|
|
122
|
+
**Qwen Code.** Reads the skill format and ships scheduled tasks. Files and shell are core; confirm it can write inside «ADS_ROOT» and reach the network. Probe the browser before you rely on a browser routine.
|
|
123
|
+
|
|
124
|
+
**DeepSeek.** `dsh` runs a local server with a web interface and schedules through one of its plugins. Files and shell are core. The question is the one from 1.1: does it drive the browser profile you are signed in to, or a clean one.
|
|
125
|
+
|
|
126
|
+
---
|
|
127
|
+
|
|
128
|
+
## 3. Environment and files
|
|
129
|
+
|
|
130
|
+
Five capabilities. The first four are not optional. The kit does not run without them, and nothing here degrades into a workaround, because a kit that cannot read a file has nothing to degrade to.
|
|
131
|
+
|
|
132
|
+
### `clock.local`
|
|
133
|
+
Read the machine timezone id and the local wall clock time.
|
|
134
|
+
|
|
135
|
+
| Harness | Route | Confidence |
|
|
136
|
+
|---|---|---|
|
|
137
|
+
| Claude Code | Its own clock, or a shell command | `confirmed` |
|
|
138
|
+
| OpenClaw | Its own clock, or a shell command | `expected` |
|
|
139
|
+
| Hermes | Unknown. A shell command is the fallback if it has one | `unknown` |
|
|
140
|
+
| OpenCode | Its own clock, or a shell command | `expected` |
|
|
141
|
+
| Grok Bot | Unknown. A shell command is the fallback if it has one | `unknown` |
|
|
142
|
+
| Codex | Its own clock, or a shell command | `expected` |
|
|
143
|
+
| Antigravity | Its own clock, or a shell command | `expected` |
|
|
144
|
+
|
|
145
|
+
**Absent:** the routine records `failed` with the blocker `no local clock capability` and stops. There is no fallback and there is deliberately no default. Never assume a timezone, and never trust one remembered from a previous run.
|
|
146
|
+
|
|
147
|
+
### `file.read`
|
|
148
|
+
Read a file as text.
|
|
149
|
+
|
|
150
|
+
| Harness | Route | Confidence |
|
|
151
|
+
|---|---|---|
|
|
152
|
+
| Claude Code | Its file read, or a shell command | `confirmed` |
|
|
153
|
+
| OpenClaw | Its file read, or a shell command | `expected` |
|
|
154
|
+
| Hermes | Unknown | `unknown` |
|
|
155
|
+
| OpenCode | Its file read, or a shell command | `expected` |
|
|
156
|
+
| Grok Bot | Unknown | `unknown` |
|
|
157
|
+
| Codex | Its file read. Confirm the sandbox includes `«ADS_ROOT»` | `expected` |
|
|
158
|
+
| Antigravity | Its file read, or a shell command | `expected` |
|
|
159
|
+
|
|
160
|
+
**Absent:** the kit does not run. Nothing else in this file matters.
|
|
161
|
+
|
|
162
|
+
### `file.write`
|
|
163
|
+
Write a file. Anything a crash could truncate is written to a temp path and renamed over the original.
|
|
164
|
+
|
|
165
|
+
| Harness | Route | Confidence |
|
|
166
|
+
|---|---|---|
|
|
167
|
+
| Claude Code | Its file write, or a shell command | `confirmed` |
|
|
168
|
+
| OpenClaw | Its file write, or a shell command | `expected` |
|
|
169
|
+
| Hermes | Unknown | `unknown` |
|
|
170
|
+
| OpenCode | Its file write, or a shell command | `expected` |
|
|
171
|
+
| Grok Bot | Unknown | `unknown` |
|
|
172
|
+
| Codex | Its file write. Confirm the sandbox allows writes, not just reads | `expected` |
|
|
173
|
+
| Antigravity | Its file write, or a shell command | `expected` |
|
|
174
|
+
|
|
175
|
+
**Absent:** the kit does not run.
|
|
176
|
+
|
|
177
|
+
**One portability note that costs a whole file when it is missed.** Ledger files are UTF-8 with no byte order mark. On Windows, several shell append idioms prepend a mark by default, and that mark corrupts the first line for every reader afterwards. This is why run records go through `runlog.append` and never through a shell redirect. If your harness writes files through a shell on Windows, confirm the encoding once, on day one, with a file you can throw away.
|
|
178
|
+
|
|
179
|
+
### `file.list`
|
|
180
|
+
List paths under a folder.
|
|
181
|
+
|
|
182
|
+
| Harness | Route | Confidence |
|
|
183
|
+
|---|---|---|
|
|
184
|
+
| Claude Code | Its glob or search | `confirmed` |
|
|
185
|
+
| OpenClaw | Its glob, or a shell command | `expected` |
|
|
186
|
+
| Hermes | Unknown | `unknown` |
|
|
187
|
+
| OpenCode | Its glob, or a shell command | `expected` |
|
|
188
|
+
| Grok Bot | Unknown | `unknown` |
|
|
189
|
+
| Codex | Its glob, or a shell command | `expected` |
|
|
190
|
+
| Antigravity | Its glob, or a shell command | `expected` |
|
|
191
|
+
|
|
192
|
+
**Absent:** the routine enumerates from the known paths in the contract's file map and notes the degradation in its run record. This works, and it misses a half written `creative/set-*` folder that the map does not know the name of, which is the one case where the degradation actually costs something.
|
|
193
|
+
|
|
194
|
+
### `shell.run`
|
|
195
|
+
Run a local command and read its output.
|
|
196
|
+
|
|
197
|
+
| Harness | Route | Confidence |
|
|
198
|
+
|---|---|---|
|
|
199
|
+
| Claude Code | Its shell | `confirmed` |
|
|
200
|
+
| OpenClaw | Its shell | `expected` |
|
|
201
|
+
| Hermes | Unknown | `unknown` |
|
|
202
|
+
| OpenCode | Its shell | `expected` |
|
|
203
|
+
| Grok Bot | Unknown | `unknown` |
|
|
204
|
+
| Codex | Its shell, inside the sandbox | `expected` |
|
|
205
|
+
| Antigravity | Its shell | `expected` |
|
|
206
|
+
|
|
207
|
+
**Absent:** `runlog.append` and `copy.check` take their in agent routes instead, described in section 6. Both still happen. Neither is skipped. The run record says which route it took. The dashboard build also falls back to an in agent concatenation, and the built file is identical either way.
|
|
208
|
+
|
|
209
|
+
---
|
|
210
|
+
|
|
211
|
+
## 4. Browser
|
|
212
|
+
|
|
213
|
+
Eleven capabilities, all reached through one thing: whatever your harness uses to drive a browser. If that one thing is missing, all eleven are missing together, and the degradation is the same for every one of them.
|
|
214
|
+
|
|
215
|
+
**The shared degradation.** The routine does its file only work, records `partial`, and puts `no browser control capability configured` in `blockers[]`. A routine whose entire job is in the browser records `failed` with the same blocker. **A missing browser never fails the day for the other six routines**, and section 7 has the routine by routine detail.
|
|
216
|
+
|
|
217
|
+
**There is no ninth status for this.** Missing browser control maps onto `partial` or `failed` and nothing else. If you see a routine invent a status for it, that is a defect.
|
|
218
|
+
|
|
219
|
+
**One rule sits above every row in this section and it is the whole design of this Employee.** Inside an account that can spend, three things are permitted and nothing else: navigate, read, and type into a search box, a filter box, or a date range on a report view. No routine opens a create flow, a campaign wizard, a conversion action form, an audience builder, an asset library, or any screen in edit mode, even to look, even to read a field limit. A field limit comes off the platform's own published documentation, and where that cannot be reached the value is `n/a (cap not confirmed)`.
|
|
220
|
+
|
|
221
|
+
### `browser.session`
|
|
222
|
+
Confirm browser control is attached to a browser holding your own logged in session.
|
|
223
|
+
|
|
224
|
+
| Harness | Route | Confidence |
|
|
225
|
+
|---|---|---|
|
|
226
|
+
| Claude Code | The Chrome extension bridge, attached to your own Chrome | `confirmed` |
|
|
227
|
+
| OpenClaw | Its own browser control if it has one, otherwise a browser automation server | `unknown` |
|
|
228
|
+
| Hermes | Unknown. Probe before relying on any browser routine | `unknown` |
|
|
229
|
+
| OpenCode | A browser automation server added to the harness | `expected` |
|
|
230
|
+
| Grok Bot | Unknown. Probe before relying on any browser routine | `unknown` |
|
|
231
|
+
| Codex | A browser automation server added to the harness | `expected` |
|
|
232
|
+
| Antigravity | Its built in browser control. Confirm it drives your signed in profile | `expected` |
|
|
233
|
+
|
|
234
|
+
**The rule that never changes on any harness:** the agent never authenticates. It inherits a session or it stops. On a login wall, a checkpoint, or a captcha, it stops that phase immediately, changes nothing, enters nothing, records `blocked-login` with the platform named, and carries on with the phases that do not need it. It never retries a refused action a different way. A blocked attempt does not consume the run's quota either, because a run of five sign in pages is not five units of work.
|
|
235
|
+
|
|
236
|
+
**Whether a reported failure means the action did not happen is a property of the transport.** On some transports a failure arrives after the action already ran, which makes a blind retry a second click on a control that already fired. **In this kit that is the most dangerous move available**, because every page in a browser phase sits inside an account where the member's money lives. So the kit re reads the page before deciding anything, on every harness. What differs is how often you meet it.
|
|
237
|
+
|
|
238
|
+
| Harness | The transport, and what it does on a failed call |
|
|
239
|
+
|---|---|
|
|
240
|
+
| Claude Code | An extension bridge. A batch can report a disconnect after every one of its actions already ran. This is a serialisation artefact of the bridge and it is common enough to plan for |
|
|
241
|
+
| OpenClaw | Unknown |
|
|
242
|
+
| Hermes | Unknown |
|
|
243
|
+
| OpenCode | A browser automation server over a local protocol. A failed call is expected to mean a failed action, though a timeout still leaves the action's fate unknown |
|
|
244
|
+
| Grok Bot | Unknown |
|
|
245
|
+
| Codex | As OpenCode |
|
|
246
|
+
| Antigravity | Unknown |
|
|
247
|
+
|
|
248
|
+
The instruction is the same in every row and it is cheap: after any failed browser call, re read where the page actually is before you decide what happened. A read costs one call. A control pressed twice inside an ad account cannot be taken back.
|
|
249
|
+
|
|
250
|
+
### `browser.tab.open` and `browser.tab.close`
|
|
251
|
+
Create a tab for this run and close it at the end.
|
|
252
|
+
|
|
253
|
+
| Harness | Route | Confidence |
|
|
254
|
+
|---|---|---|
|
|
255
|
+
| Claude Code | Its tab management | `confirmed` |
|
|
256
|
+
| OpenClaw | Its browser control, if present | `unknown` |
|
|
257
|
+
| Hermes | Unknown | `unknown` |
|
|
258
|
+
| OpenCode | The browser automation server's page or context handling | `expected` |
|
|
259
|
+
| Grok Bot | Unknown | `unknown` |
|
|
260
|
+
| Codex | The browser automation server's page or context handling | `expected` |
|
|
261
|
+
| Antigravity | Its browser control | `expected` |
|
|
262
|
+
|
|
263
|
+
**Tab hygiene, on every harness, with no exception in this kit.** Create your own tab, close it when you are done, and never touch a tab you did not open. **No tab in this kit ever holds a deliverable**, because every deliverable is a file on disk. That differs from an Employee that fills forms, and it means a tab left open here is simply a tab left open.
|
|
264
|
+
|
|
265
|
+
### `browser.navigate`
|
|
266
|
+
Go to a URL.
|
|
267
|
+
|
|
268
|
+
| Harness | Route | Confidence |
|
|
269
|
+
|---|---|---|
|
|
270
|
+
| Claude Code | Its navigate | `confirmed` |
|
|
271
|
+
| OpenClaw | Its browser control, if present | `unknown` |
|
|
272
|
+
| Hermes | Unknown | `unknown` |
|
|
273
|
+
| OpenCode | The browser automation server's navigation | `expected` |
|
|
274
|
+
| Grok Bot | Unknown | `unknown` |
|
|
275
|
+
| Codex | The browser automation server's navigation | `expected` |
|
|
276
|
+
| Antigravity | Its browser control | `expected` |
|
|
277
|
+
|
|
278
|
+
**Two things that are true everywhere.** A deep link can return a not found page while the same destination reached by clicking through the app works fine, so a 404 on a deep link is worth one attempt through the app before it is recorded as a blocker. And a single overlong URL can wedge a page permanently, so one target per search.
|
|
279
|
+
|
|
280
|
+
**And one specific to this kit.** Navigating away by address is how a routine leaves a screen it should not be on. If a link lands you on a create flow or an edit mode screen, navigate away by address rather than clicking a cancel, a discard, or a leave control, because on some create flows those are themselves controls that write.
|
|
281
|
+
|
|
282
|
+
### `page.read`
|
|
283
|
+
Read the page as a structured tree where each interactive element carries a stable reference you can act on.
|
|
284
|
+
|
|
285
|
+
| Harness | Route | Confidence |
|
|
286
|
+
|---|---|---|
|
|
287
|
+
| Claude Code | Its accessibility tree read, which returns a reference per element | `confirmed` |
|
|
288
|
+
| OpenClaw | Its page read, if present | `unknown` |
|
|
289
|
+
| Hermes | Unknown | `unknown` |
|
|
290
|
+
| OpenCode | The browser automation server's accessibility snapshot | `expected` |
|
|
291
|
+
| Grok Bot | Unknown | `unknown` |
|
|
292
|
+
| Codex | The browser automation server's accessibility snapshot | `expected` |
|
|
293
|
+
| Antigravity | Its page read | `expected` |
|
|
294
|
+
|
|
295
|
+
**Absent, but the browser works:** fall back to `page.text`. Read only phases still run, which in this kit is most of the work. Click phases do not, because a click needs a reference and there is no coordinate fallback here. See `element.click` for why.
|
|
296
|
+
|
|
297
|
+
**References go stale, and how they go stale is a property of your page read.** The principle holds everywhere: an app that swaps views leaves detached copies of the old one behind, so a reference taken before a view change can resolve to nothing while looking perfectly valid. What differs is the shape of the fix.
|
|
298
|
+
|
|
299
|
+
| Harness | How references behave | What to do |
|
|
300
|
+
|---|---|---|
|
|
301
|
+
| Claude Code | References accumulate across reads and the detached copies keep theirs, so both the ghost and the live element are in the tree at once. Numbering rises | Take the highest numbered reference. The lower one is the ghost |
|
|
302
|
+
| OpenClaw | Unknown | Re read after any view change and use what the fresh read returns |
|
|
303
|
+
| Hermes | Unknown | Same |
|
|
304
|
+
| OpenCode | The browser automation server's snapshot is expected to re number on every read, with detached nodes absent | Take a fresh read after any view change. Highest numbered means nothing here and would pick an arbitrary element |
|
|
305
|
+
| Grok Bot | Unknown | Re read after any view change |
|
|
306
|
+
| Codex | As OpenCode | As OpenCode |
|
|
307
|
+
| Antigravity | Unknown | Re read after any view change |
|
|
308
|
+
|
|
309
|
+
**The rule that holds on all seven:** never act on a reference taken before the last view change. Where your read keeps the stale ones alongside the live ones, prefer the most recently assigned. Where it re snapshots, read again and use what it gives you.
|
|
310
|
+
|
|
311
|
+
### `page.text`
|
|
312
|
+
Read the visible text.
|
|
313
|
+
|
|
314
|
+
| Harness | Route | Confidence |
|
|
315
|
+
|---|---|---|
|
|
316
|
+
| Claude Code | Its text extraction | `confirmed` |
|
|
317
|
+
| OpenClaw | Its text extraction, if present | `unknown` |
|
|
318
|
+
| Hermes | Unknown | `unknown` |
|
|
319
|
+
| OpenCode | The browser automation server's text or content read | `expected` |
|
|
320
|
+
| Grok Bot | Unknown | `unknown` |
|
|
321
|
+
| Codex | The browser automation server's text or content read | `expected` |
|
|
322
|
+
| Antigravity | Its text extraction | `expected` |
|
|
323
|
+
|
|
324
|
+
**Absent:** read from `page.capture` instead.
|
|
325
|
+
|
|
326
|
+
**Never trust page text straight after a navigation in a single page application.** It can return the previous view, with no error and nothing that looks wrong. Every reporting screen this kit reads is one of those. Figures get read off a capture, not off text, whenever the answer decides something, and in this kit the answer always decides something.
|
|
327
|
+
|
|
328
|
+
### `page.capture`
|
|
329
|
+
Capture the screen, or a region of it.
|
|
330
|
+
|
|
331
|
+
| Harness | Route | Confidence |
|
|
332
|
+
|---|---|---|
|
|
333
|
+
| Claude Code | Its screenshot, including a region zoom | `confirmed` |
|
|
334
|
+
| OpenClaw | Its screenshot, if present | `unknown` |
|
|
335
|
+
| Hermes | Unknown | `unknown` |
|
|
336
|
+
| OpenCode | The browser automation server's screenshot | `expected` |
|
|
337
|
+
| Grok Bot | Unknown | `unknown` |
|
|
338
|
+
| Codex | The browser automation server's screenshot | `expected` |
|
|
339
|
+
| Antigravity | Its screenshot | `expected` |
|
|
340
|
+
|
|
341
|
+
**Absent:** verify from `page.text` and record in the run record that verification was weaker on this run. **In this kit that degradation is worth naming in the brief**, because a figure read off text after a navigation can be last month's number with nothing that looks wrong.
|
|
342
|
+
|
|
343
|
+
**Two things worth carrying wherever this runs.** A capture of a small region focuses the tab exactly as well as a full screen capture and costs a fraction as much. And never make a capture the last action in a batch: if the batch times out, every image it already captured is discarded with it.
|
|
344
|
+
|
|
345
|
+
### `element.click`
|
|
346
|
+
Click one element by its reference from `page.read`.
|
|
347
|
+
|
|
348
|
+
| Harness | Route | Confidence |
|
|
349
|
+
|---|---|---|
|
|
350
|
+
| Claude Code | Its click by reference | `confirmed` |
|
|
351
|
+
| OpenClaw | Its click, if present | `unknown` |
|
|
352
|
+
| Hermes | Unknown | `unknown` |
|
|
353
|
+
| OpenCode | The browser automation server's click on a snapshot reference | `expected` |
|
|
354
|
+
| Grok Bot | Unknown | `unknown` |
|
|
355
|
+
| Codex | The browser automation server's click on a snapshot reference | `expected` |
|
|
356
|
+
| Antigravity | Its click | `expected` |
|
|
357
|
+
|
|
358
|
+
**Absent:** the phase is skipped and named. **There is no coordinate fallback and that is deliberate.** A coordinate click silently does nothing when the page renders at a device pixel ratio that does not match the capture frame. Nothing errors. The run continues believing it clicked. **Inside an ad account that is the worst available failure mode**, because a click that landed somewhere unintended is exactly as silent as a click that landed nowhere. A skipped phase you can see beats either.
|
|
359
|
+
|
|
360
|
+
**What this kit clicks, exhaustively:** a link, a tab, a report, a date range, a column picker, a pagination control. That is the list. Nothing that writes to an account, and nothing on the barred label list in `ROLE.md` section 1.
|
|
361
|
+
|
|
362
|
+
**The first click after a context switch is often swallowed.** Click, wait, click again, then verify.
|
|
363
|
+
|
|
364
|
+
**Some browser control refuses an action rather than performing it, and where that lives differs.** A refusal is not a transient error and is never retried a different way, which is `retry` class 2 in `BROWSER-RECIPES.md`. What you need to know is which layer on your harness can produce one.
|
|
365
|
+
|
|
366
|
+
| Harness | Where a refusal can come from |
|
|
367
|
+
|---|---|
|
|
368
|
+
| Claude Code | Its own safety classifier sits between the agent and the page and can decline an action outright, on top of the harness permission layer |
|
|
369
|
+
| OpenClaw | Unknown. Assume the harness permission layer at minimum |
|
|
370
|
+
| Hermes | Unknown. Same |
|
|
371
|
+
| OpenCode | The harness permission layer. A browser automation server has no classifier of its own and does not refuse |
|
|
372
|
+
| Grok Bot | Unknown. Same |
|
|
373
|
+
| Codex | The harness permission layer plus its sandbox, which can decline network access without saying so |
|
|
374
|
+
| Antigravity | Unknown. Assume the harness permission layer |
|
|
375
|
+
|
|
376
|
+
Every harness has a permission layer that can decline, so the routine's behaviour is written against the refusal and not against whatever produced it: skip that phase, name it, carry on.
|
|
377
|
+
|
|
378
|
+
### `field.set`
|
|
379
|
+
Set a form field's value by reference.
|
|
380
|
+
|
|
381
|
+
| Harness | Route | Confidence |
|
|
382
|
+
|---|---|---|
|
|
383
|
+
| Claude Code | Its form input on a reference | `confirmed` |
|
|
384
|
+
| OpenClaw | Its form input, if present | `unknown` |
|
|
385
|
+
| Hermes | Unknown | `unknown` |
|
|
386
|
+
| OpenCode | The browser automation server's fill or type | `expected` |
|
|
387
|
+
| Grok Bot | Unknown | `unknown` |
|
|
388
|
+
| Codex | The browser automation server's fill or type | `expected` |
|
|
389
|
+
| Antigravity | Its form input | `expected` |
|
|
390
|
+
|
|
391
|
+
**No shipped routine in this kit calls this. See section 8.** It is documented here because `recipes/BROWSER-RECIPES.md` describes it, and it describes it because six routines name that recipe as the boundary they do not cross.
|
|
392
|
+
|
|
393
|
+
The only typing any routine does on any account screen is a search box, a filter box, or a date range on a report view, and `element.click` plus a plain value set on a report control covers those. **If a routine ever finds itself filling a form field, that is a defect and the run record says which control it was about to reach for.**
|
|
394
|
+
|
|
395
|
+
**Absent:** skip the field and name it. No routine loses anything, because none of them fills a form.
|
|
396
|
+
|
|
397
|
+
### `page.script`
|
|
398
|
+
Evaluate a script in the page context and get a JSON result back.
|
|
399
|
+
|
|
400
|
+
| Harness | Route | Confidence |
|
|
401
|
+
|---|---|---|
|
|
402
|
+
| Claude Code | Its script evaluation, through the bridge | `confirmed` |
|
|
403
|
+
| OpenClaw | Its script evaluation, if present | `unknown` |
|
|
404
|
+
| Hermes | Unknown | `unknown` |
|
|
405
|
+
| OpenCode | The browser automation server's evaluate | `expected` |
|
|
406
|
+
| Grok Bot | Unknown | `unknown` |
|
|
407
|
+
| Codex | The browser automation server's evaluate | `expected` |
|
|
408
|
+
| Antigravity | Its script evaluation | `expected` |
|
|
409
|
+
|
|
410
|
+
**Absent:** fall back to `page.read` plus `element.click`. If none of those is available either, skip the phase and name it.
|
|
411
|
+
|
|
412
|
+
**In this kit a script is a read, never a write.** Use it to confirm a date control holds the range you set, to read a figure the capture rendered ambiguously, or to count rows. **Never to press a control a click could not reach.** Routing around a control the browser would not operate is the single behaviour that turns a safe kit into an unsafe one, and inside an ad account it is the one that costs money.
|
|
413
|
+
|
|
414
|
+
**Keep one heavy script per round trip.** Every route in this table has a call timeout and a compound script is the thing that trips it. Assume a ceiling in the tens of seconds rather than discovering yours in production.
|
|
415
|
+
|
|
416
|
+
**This file carries the measured figure, and `BROWSER-RECIPES.md` deliberately does not.** Claude Code's bridge times out at around 45 seconds. The others are below, and a browser automation server usually exposes a configurable default that you can raise or turn off.
|
|
417
|
+
|
|
418
|
+
| Harness | Call timeout |
|
|
419
|
+
|---|---|
|
|
420
|
+
| Claude Code | Around 45 seconds |
|
|
421
|
+
| OpenClaw | Unknown |
|
|
422
|
+
| Hermes | Unknown |
|
|
423
|
+
| OpenCode | The browser automation server's own default, commonly 30 seconds and usually configurable |
|
|
424
|
+
| Grok Bot | Unknown |
|
|
425
|
+
| Codex | As OpenCode |
|
|
426
|
+
| Antigravity | Unknown |
|
|
427
|
+
|
|
428
|
+
If yours is not in that table, measure it once with a deliberately slow script and put the number in `## Corrections` at the bottom of this file. That is one measurement that saves a phase every time a reporting screen is slow, and reporting screens are slow.
|
|
429
|
+
|
|
430
|
+
### `page.wait`
|
|
431
|
+
Wait for a condition, polling rather than sleeping long.
|
|
432
|
+
|
|
433
|
+
| Harness | Route | Confidence |
|
|
434
|
+
|---|---|---|
|
|
435
|
+
| Claude Code | Its wait, or polling `page.text` | `confirmed` |
|
|
436
|
+
| OpenClaw | Its wait, if present, or polling | `unknown` |
|
|
437
|
+
| Hermes | Unknown | `unknown` |
|
|
438
|
+
| OpenCode | The browser automation server's wait for selector or load state | `expected` |
|
|
439
|
+
| Grok Bot | Unknown | `unknown` |
|
|
440
|
+
| Codex | The browser automation server's wait for selector or load state | `expected` |
|
|
441
|
+
| Antigravity | Its wait | `expected` |
|
|
442
|
+
|
|
443
|
+
**Absent:** fixed waits, which are slower and less reliable, and the run record says so.
|
|
444
|
+
|
|
445
|
+
Fixed waits are not a failure mode though, they are the shipped behaviour on several surfaces where a load state lies. A reporting screen that has finished loading and has not finished recomputing is the common case in this kit, and it is why `verify-the-query` exists. The numbers that clear a specific surface live in `human-pace`, and a number specific to one account's own screens lives in the routine that owns that screen.
|
|
446
|
+
|
|
447
|
+
---
|
|
448
|
+
|
|
449
|
+
## 4a. Notification
|
|
450
|
+
|
|
451
|
+
### `notify.push`
|
|
452
|
+
Send one short notification to your own device.
|
|
453
|
+
|
|
454
|
+
| Harness | Route | Confidence |
|
|
455
|
+
|---|---|---|
|
|
456
|
+
| Claude Code | Its push notification route | `confirmed` |
|
|
457
|
+
| OpenClaw | Its own notifier if it has one, then a hosted club notifier | `unknown` |
|
|
458
|
+
| Hermes | Unknown | `unknown` |
|
|
459
|
+
| OpenCode | A hosted club notifier, then none | `unknown` |
|
|
460
|
+
| Grok Bot | Unknown | `unknown` |
|
|
461
|
+
| Codex | A hosted club notifier, then none | `unknown` |
|
|
462
|
+
| Antigravity | Its own notifier if it has one, then a hosted club notifier | `unknown` |
|
|
463
|
+
|
|
464
|
+
**Absence is not a failure and is never a blocker.** The routine puts `push: not available` in the run record `notes` and carries on. Every push in this kit is a shortcut to a line that is already in the brief, so you lose speed and never information.
|
|
465
|
+
|
|
466
|
+
**Four things earn a push and there is no fifth.** `CONTRACT.md` section 9 is the full statement. The one worth knowing about before you install: **the primary conversion event has stopped firing while spend is live.** Money is leaving the account against no measurement, every figure downstream of it is guesswork presented as data, and it is urgent by the hour. `ads-account-read` detects it at its first check, before it trusts any other figure, and it is the case this kit exists to catch.
|
|
467
|
+
|
|
468
|
+
---
|
|
469
|
+
|
|
470
|
+
## 4b. Connected sources
|
|
471
|
+
|
|
472
|
+
A connected source is a route the member connected once in their own harness that reads an account this Employee works in: a connector from the harness's own directory, the vendor's own server added by its URL, or the vendor's command line tool. The rule is the one in section 8: the kit detects a connection, uses it, degrades without it, and never installs one. A routine names the capability in the left column; this table says what it resolves to on this machine, and `docs/HARNESSES.md` says how each harness adds one.
|
|
473
|
+
|
|
474
|
+
**Prefer a connected route over the browser lane wherever both exist.** It reads the same figures the account screen shows with no tab, no mutex, no login wall, and no learned flow that drifts. The browser lane in section 4 is the fallback for every row that resolves to nothing, and section 7 says what that costs.
|
|
475
|
+
|
|
476
|
+
**Read only, scoped, and never more than this Employee reads.** Where a vendor offers a read only form of a route, that form is the only one named here. Where it offers none, the two guardrails still hold: no routine calls a tool that creates, sends, spends, deploys or deletes unless `RELEASES.md` names that channel. Every connected server loads its tool descriptions into every run on most harnesses, so connect the rows a routine in this kit reads and nothing for the sake of having it.
|
|
477
|
+
|
|
478
|
+
| Capability | What it reads | Routes, in order of preference | Read only form | Confidence |
|
|
479
|
+
|---|---|---|---|---|
|
|
480
|
+
| `ads.account.read` | Yesterday's spend, delivery and results at four levels; the object tree once a month | Meta accounts: the Ads MCP server (`https://mcp.facebook.com/ads`, connected from Business Suite under Settings, Integrations, or through a developer app) or the Ads CLI. Google accounts: the Google Ads MCP server (official, `pipx run google-ads-mcp`, a Google Cloud project with at least Explorer access on the Ads API). Several platforms at once: the Supermetrics or Windsor.ai connector | The Google server is read only by design. The Meta server carries write tools and this kit never calls one | `expected` |
|
|
481
|
+
| `ads.signal.check` | Whether the primary conversion event fired inside the read window | Meta: the Ads MCP server's signals and datasets tools. Web analytics: the Google Analytics MCP server (official, `pipx run analytics-mcp`), or the host's own analytics connector where the landing page runs there | Read only by design | `expected` |
|
|
482
|
+
| `ads.creative.export` | A finished design pulled from the member's design tool into a set folder | The Canva connector (`https://mcp.canva.com/mcp`) export tools | Export only; this kit uploads nothing anywhere | `expected` |
|
|
483
|
+
| `ads.account.write` | Uploading approved media, creating a campaign, ad set, creative and ad, reading a preview back, and activating, all on one approved package | Meta accounts: the Ads MCP server's upload, create, preview and activate tools. Google accounts: `n/a (no write route in this release)` | **Held.** Called by `ads-build-desk` Step 6a only, and only where `RELEASES.md` names the account with `prepare` or `publish`. Every call lands in `build/publication-receipts.jsonl` | `expected` |
|
|
484
|
+
|
|
485
|
+
TikTok for Business and Microsoft Advertising ship official servers for their own accounts. Name one in `plan/measurement.md` by its human readable name only where the intake found that account.
|
|
486
|
+
|
|
487
|
+
`confirmed` appears in this table only after you have watched a row work on this machine; write it into `## Corrections` with the date. **Absent:** the browser lane route in section 4 for the same read, or `n/a (no connected route)` where section 7 says the read needs your session. The probe in 1.2 answers each row in one line: present, under what name, read only or not.
|
|
488
|
+
|
|
489
|
+
**A row confirmed in a chat session is not a row confirmed on the schedule.** The scheduled process may not inherit the session's secret store, its environment or its working directory, and the observed failure was an account read that worked in the session that connected it and a scheduled build desk that could not decrypt the same saved token. Every row gets two marks in `## Corrections`: one from the session that connected it and one from the first scheduled run that read through it. `recipes/META-ADS-RECIPES.md` section 4 says what to do when the two disagree, and it never involves printing the token.
|
|
490
|
+
|
|
491
|
+
---
|
|
492
|
+
|
|
493
|
+
## 5. Content
|
|
494
|
+
|
|
495
|
+
Seven capabilities. Two of them decide whether a creative set arrives finished or arrives as text with a note. Two are research. Three are documented and unused, and section 8 says why.
|
|
496
|
+
|
|
497
|
+
This is also where the club dashboard's hosted tools slot in. Where a hosted tool exists for a capability, it is the preferred route, because it is the one route that behaves identically on every harness in this table. When one appears, it becomes another row in the preference order and no routine changes by one word.
|
|
498
|
+
|
|
499
|
+
### `image.generate`
|
|
500
|
+
Produce one image from a prompt.
|
|
501
|
+
|
|
502
|
+
| Harness | Route | Confidence |
|
|
503
|
+
|---|---|---|
|
|
504
|
+
| Claude Code | Hosted club generator when available, then whichever image generation helper you have installed, detected by name | `confirmed` |
|
|
505
|
+
| OpenClaw | Hosted club generator when available, then an installed image helper | `unknown` |
|
|
506
|
+
| Hermes | Unknown | `unknown` |
|
|
507
|
+
| OpenCode | Hosted club generator when available, then an installed image helper | `unknown` |
|
|
508
|
+
| Grok Bot | Unknown | `unknown` |
|
|
509
|
+
| Codex | Hosted club generator when available, then an installed image helper | `unknown` |
|
|
510
|
+
| Antigravity | Hosted club generator when available, then an installed image helper | `unknown` |
|
|
511
|
+
|
|
512
|
+
**Absent:** `ads-creative-studio` produces a **text only set** and says so. The manifest carries every slot with its exact string and its character count, `## Images` reads `n/a (no image generation capability configured)`, and one line under `## Read this before you upload` tells you what to supply. **This is not a failure and it is not a blocker.** A set of strings you can paste is most of the value, and the routine files its card either way.
|
|
513
|
+
|
|
514
|
+
**This is the capability people most want to write a vendor name into a routine, and it is the one where doing so would cost the most**, because a member who changes generator next month should not have to edit seven routines. The routine says `image.generate`. This table says what that is on your machine. **Name it here and nowhere else.**
|
|
515
|
+
|
|
516
|
+
**Three rules govern the prompt, and they live in the routine rather than here because they are about content rather than route.** No claim, figure, price, or testimonial goes into an image, because text inside an image is text no checker can read and it bypasses `copy.check` entirely. No person is depicted in a way that implies a customer or a result unless the proof inventory carries that claim verbatim. No logo, brand mark, or recognisable third party asset is reproduced.
|
|
517
|
+
|
|
518
|
+
**One attempt per image, then move on.** A second prompt for the same slot is a second attempt wearing a costume, and it is how a run spends its whole budget on artwork.
|
|
519
|
+
|
|
520
|
+
### `image.compress`
|
|
521
|
+
Resize and re encode an image below the injection ceiling while keeping it presentable.
|
|
522
|
+
|
|
523
|
+
| Harness | Route | Confidence |
|
|
524
|
+
|---|---|---|
|
|
525
|
+
| Claude Code | Hosted club compressor when available, then a local image tool through `shell.run` | `confirmed` |
|
|
526
|
+
| OpenClaw | Hosted club compressor when available, then `shell.run` | `expected` |
|
|
527
|
+
| Hermes | Hosted club compressor when available, then `shell.run` if it has one | `unknown` |
|
|
528
|
+
| OpenCode | Hosted club compressor when available, then `shell.run` | `expected` |
|
|
529
|
+
| Grok Bot | Hosted club compressor when available, then `shell.run` if it has one | `unknown` |
|
|
530
|
+
| Codex | Hosted club compressor when available, then `shell.run` | `expected` |
|
|
531
|
+
| Antigravity | Hosted club compressor when available, then `shell.run` | `expected` |
|
|
532
|
+
|
|
533
|
+
**Absent:** ship the images uncompressed, record their byte sizes in the manifest, and put one line under `## Read this before you upload` naming the sizes. Not a failure and not a blocker.
|
|
534
|
+
|
|
535
|
+
**The ceiling is hard and it is the part people miss.** Base64 runs roughly 1.4 characters per image byte. The budget is 24,000 base64 characters, which is about a 17 KB file. Over 30,000, do not proceed. An oversized image does not fail loudly. **It wedges the call, and you lose the whole step rather than the picture.**
|
|
536
|
+
|
|
537
|
+
**One question worth answering before you shrug at that ceiling in a kit that uploads nothing.** The ceiling is about what moves through a capability route, not about what a form accepts. An image that cannot come under it is an image the compress route cannot hand back, so the studio records `n/a (image over the injection ceiling)` against that slot and ships the set without it. **A set delivered on time missing one image is finished. A run that stalls on artwork is not.**
|
|
538
|
+
|
|
539
|
+
**Never emit the base64 as text.** It moves through the route, not through the transcript. A call that seems slow is not stuck.
|
|
540
|
+
|
|
541
|
+
### `image.inject`
|
|
542
|
+
Put a compressed image into exactly one file input and dispatch a bubbling change event.
|
|
543
|
+
|
|
544
|
+
| Harness | Route | Confidence |
|
|
545
|
+
|---|---|---|
|
|
546
|
+
| Claude Code | `page.script`, then `file.upload` | `confirmed` |
|
|
547
|
+
| OpenClaw | `page.script`, then `file.upload` | `unknown` |
|
|
548
|
+
| Hermes | Unknown | `unknown` |
|
|
549
|
+
| OpenCode | The server's file chooser handling, then `page.script` | `expected` |
|
|
550
|
+
| Grok Bot | Unknown | `unknown` |
|
|
551
|
+
| Codex | The server's file chooser handling, then `page.script` | `expected` |
|
|
552
|
+
| Antigravity | `page.script`, then `file.upload` | `expected` |
|
|
553
|
+
|
|
554
|
+
**No shipped routine in this kit calls this. See section 8.** The compression in `ads-creative-studio` is for the file you upload, not for a form the kit fills. **The kit injects nothing into anything.**
|
|
555
|
+
|
|
556
|
+
It is documented because `image-into-a-form` is in `recipes/BROWSER-RECIPES.md`, and that recipe is in the file because the studio names it explicitly as the recipe it does not reach for. Keeping the row here is what lets the routine say that without a reader having to guess what it means.
|
|
557
|
+
|
|
558
|
+
### `file.upload`
|
|
559
|
+
Hand a local file to a page's file input.
|
|
560
|
+
|
|
561
|
+
| Harness | Route | Confidence |
|
|
562
|
+
|---|---|---|
|
|
563
|
+
| Claude Code | Its file upload, path inside the session working directory only | `confirmed` |
|
|
564
|
+
| OpenClaw | Its file upload, if present | `unknown` |
|
|
565
|
+
| Hermes | Unknown | `unknown` |
|
|
566
|
+
| OpenCode | The browser automation server's set input files | `expected` |
|
|
567
|
+
| Grok Bot | Unknown | `unknown` |
|
|
568
|
+
| Codex | The browser automation server's set input files | `expected` |
|
|
569
|
+
| Antigravity | Its file upload | `expected` |
|
|
570
|
+
|
|
571
|
+
**No shipped routine in this kit calls this. See section 8.** An asset library inside an ad account is an object inside an account that can spend, and an asset saved there is one click from an ad. **You upload the set. The kit writes it.**
|
|
572
|
+
|
|
573
|
+
### `richtext.paste`
|
|
574
|
+
Put formatted copy into a rich text editor.
|
|
575
|
+
|
|
576
|
+
| Harness | Route | Confidence |
|
|
577
|
+
|---|---|---|
|
|
578
|
+
| Claude Code | Hosted club converter when available, then a synthetic paste through `page.script` | `confirmed` |
|
|
579
|
+
| OpenClaw | Hosted club converter when available, then a synthetic paste | `unknown` |
|
|
580
|
+
| Hermes | Unknown | `unknown` |
|
|
581
|
+
| OpenCode | Hosted club converter when available, then a synthetic paste through evaluate | `expected` |
|
|
582
|
+
| Grok Bot | Unknown | `unknown` |
|
|
583
|
+
| Codex | Hosted club converter when available, then a synthetic paste through evaluate | `expected` |
|
|
584
|
+
| Antigravity | Hosted club converter when available, then a synthetic paste | `expected` |
|
|
585
|
+
|
|
586
|
+
**No shipped routine in this kit calls this. See section 8.** Nothing in this kit goes into an editor. Every string it writes is a plain string in a manifest or a build sheet, with its character count beside it.
|
|
587
|
+
|
|
588
|
+
### `web.search`
|
|
589
|
+
Get search results for a query.
|
|
590
|
+
|
|
591
|
+
| Harness | Route | Confidence |
|
|
592
|
+
|---|---|---|
|
|
593
|
+
| Claude Code | Your own search endpoint named in `plan/measurement.md`, then its web search | `confirmed` |
|
|
594
|
+
| OpenClaw | Your own search endpoint, then its web search if present | `unknown` |
|
|
595
|
+
| Hermes | Unknown | `unknown` |
|
|
596
|
+
| OpenCode | Your own search endpoint, then a search server if you added one | `expected` |
|
|
597
|
+
| Grok Bot | Unknown | `unknown` |
|
|
598
|
+
| Codex | Your own search endpoint. Confirm the sandbox allows outbound requests | `expected` |
|
|
599
|
+
| Antigravity | Your own search endpoint, then its web search | `expected` |
|
|
600
|
+
|
|
601
|
+
**Absent:** write the exact queries it would have run into the run record so you can run them yourself, and mark every finding that needed one `n/a (no search capability)`. It does not estimate and it does not fill the gap from memory.
|
|
602
|
+
|
|
603
|
+
Only `ads-account-intake` uses this, and only during its market scan. **Nothing from that scan ever becomes a claim about your business.** A competitor's number is a competitor's number and it never enters the proof inventory in any form under any heading.
|
|
604
|
+
|
|
605
|
+
If you have your own search endpoint, name it in `plan/measurement.md` by its human readable name only. No key, no token, and no URL with a credential in it goes into that file or any other file in this kit.
|
|
606
|
+
|
|
607
|
+
### `web.fetch`
|
|
608
|
+
Read a URL's text without opening a browser.
|
|
609
|
+
|
|
610
|
+
| Harness | Route | Confidence |
|
|
611
|
+
|---|---|---|
|
|
612
|
+
| Claude Code | Its fetch, then `browser.navigate` plus `page.text` | `confirmed` |
|
|
613
|
+
| OpenClaw | Its fetch, then `shell.run` with a fetch command, then the browser | `expected` |
|
|
614
|
+
| Hermes | Unknown. `shell.run` with a fetch command if it has a shell | `unknown` |
|
|
615
|
+
| OpenCode | Its fetch, then `shell.run` with a fetch command, then the browser | `expected` |
|
|
616
|
+
| Grok Bot | Unknown. `shell.run` with a fetch command if it has a shell | `unknown` |
|
|
617
|
+
| Codex | Its fetch or `shell.run`. Confirm the sandbox allows outbound requests | `expected` |
|
|
618
|
+
| Antigravity | Its fetch, then the browser | `expected` |
|
|
619
|
+
|
|
620
|
+
**Absent:** mark the finding `n/a (page not reachable)`.
|
|
621
|
+
|
|
622
|
+
**This is the most useful capability in the kit after the file ones, and it is easy to underrate.** Four routines prefer it over a browser for their whole browser phase, because it needs no browser, takes no mutex, and costs no lane time. It reaches the two page kinds this kit reads outside an account: **a platform's own published documentation page carrying a field limit, and your own landing page.** Both are public. Neither needs a session.
|
|
623
|
+
|
|
624
|
+
That is why `ads-creative-studio`, `ads-build-desk`, `ads-change-list`, and `ads-creative-retro` all carry a `conditional` or `light` lane and still open a browser on almost no runs.
|
|
625
|
+
|
|
626
|
+
It cannot reach anything behind your own login, which is where your ad account lives. Section 7 has the honest arithmetic on that.
|
|
627
|
+
|
|
628
|
+
### 5.1 Four capabilities no shipped routine calls, stated plainly
|
|
629
|
+
|
|
630
|
+
`field.set`, `image.inject`, `file.upload`, and `richtext.paste` are in the tables above because `recipes/BROWSER-RECIPES.md` describes them, and it describes them because six routines name those recipes explicitly as the boundary they do not cross. `CONTRACT.md` section 3.5 is the same statement from the contract's side.
|
|
631
|
+
|
|
632
|
+
**No routine in this kit types into a form on any website, uploads a file anywhere, or pastes into an editor.** The only typing any routine does on any account screen is a search box, a filter box, or a date range on a report view. An image you need is written into a set folder and named by its path. A build sheet is a file you paste from.
|
|
633
|
+
|
|
634
|
+
**If a routine ever finds itself calling one of those four, that is a defect and the run record says which control it was about to reach for.**
|
|
635
|
+
|
|
636
|
+
Keeping the rows here rather than deleting them is deliberate. A routine that says "I never reach for `image-into-a-form`" is only readable if a reader can find out what that recipe would have done. Four documented and unused rows cost nothing. A routine referring to something a reader cannot look up costs a member their confidence in the whole file.
|
|
637
|
+
|
|
638
|
+
---
|
|
639
|
+
|
|
640
|
+
## 6. Kit capabilities
|
|
641
|
+
|
|
642
|
+
Four. These are the kit's own, and three of them ship as scripts inside it.
|
|
643
|
+
|
|
644
|
+
### `runlog.append`
|
|
645
|
+
Append exactly one validated run record to `runlog.jsonl`.
|
|
646
|
+
|
|
647
|
+
| Harness | Route | Confidence |
|
|
648
|
+
|---|---|---|
|
|
649
|
+
| Claude Code | `shell.run` on `scripts/runlog.mjs`, then a direct append doing the same validation | `confirmed` |
|
|
650
|
+
| OpenClaw | `shell.run` on `scripts/runlog.mjs`, then a direct append | `expected` |
|
|
651
|
+
| Hermes | `shell.run` if present, then a direct append through `file.write` | `unknown` |
|
|
652
|
+
| OpenCode | `shell.run` on `scripts/runlog.mjs`, then a direct append | `expected` |
|
|
653
|
+
| Grok Bot | `shell.run` if present, then a direct append through `file.write` | `unknown` |
|
|
654
|
+
| Codex | `shell.run` on `scripts/runlog.mjs`, then a direct append | `expected` |
|
|
655
|
+
| Antigravity | `shell.run` on `scripts/runlog.mjs`, then a direct append | `expected` |
|
|
656
|
+
|
|
657
|
+
**Absent both routes:** write the record as the last line of `brief-latest.md` under a heading `UNRECORDED RUN` and stop. **That is the one file in this kit written by a routine that does not own it**, it is an append under its own heading rather than a rewrite, and it exists because a run with no record is a run that gets repeated.
|
|
658
|
+
|
|
659
|
+
The script validates the record's shape, checks `status` against the closed list of eight, **refuses a stale routine id by name**, refuses anything that looks like a secret, refuses draft text and personal data, writes UTF-8 with no byte order mark, and repairs a stray mark at the head of the file. The in agent route does the same checks. It is a different route, not a lighter one.
|
|
660
|
+
|
|
661
|
+
One interface, used verbatim at every call site:
|
|
662
|
+
|
|
663
|
+
```
|
|
664
|
+
node "«ADS_ROOT»/scripts/runlog.mjs" --file "«scratch path»/run-record.json"
|
|
665
|
+
```
|
|
666
|
+
|
|
667
|
+
`--stdin` is the equivalent where a pipe is easier, and `--selftest` takes no other flag.
|
|
668
|
+
|
|
669
|
+
**Write the record to a scratch file first and hand the script the path. Do not pass the JSON object as a bare quoted argument.** A common shell strips the double quotes out of a native command's arguments on the way through, so the object arrives unparseable and the run appears to have no record at all.
|
|
670
|
+
|
|
671
|
+
**Never append a run record through a shell redirect or an append cmdlet.** Several of them prepend a byte order mark by default and that corrupts the first line of the file for every reader that comes after.
|
|
672
|
+
|
|
673
|
+
### `copy.check`
|
|
674
|
+
The scripted judge for any text about to be written into a creative set, a build sheet, a change list, a plan file, or a dashboard partial.
|
|
675
|
+
|
|
676
|
+
| Harness | Route | Confidence |
|
|
677
|
+
|---|---|---|
|
|
678
|
+
| Claude Code | `shell.run` on `scripts/copy-check.mjs`, then the same rule set applied in agent | `confirmed` |
|
|
679
|
+
| OpenClaw | `shell.run` on `scripts/copy-check.mjs`, then in agent | `expected` |
|
|
680
|
+
| Hermes | `shell.run` if present, then in agent | `unknown` |
|
|
681
|
+
| OpenCode | `shell.run` on `scripts/copy-check.mjs`, then in agent | `expected` |
|
|
682
|
+
| Grok Bot | `shell.run` if present, then in agent | `unknown` |
|
|
683
|
+
| Codex | `shell.run` on `scripts/copy-check.mjs`, then in agent | `expected` |
|
|
684
|
+
| Antigravity | `shell.run` on `scripts/copy-check.mjs`, then in agent | `expected` |
|
|
685
|
+
|
|
686
|
+
**Absent the script:** the in agent route runs and the run record says `copy-check: in-agent`. **It is never skipped.** The in agent route is a degradation, not an exemption, and there is no third option where a string goes into a set unchecked.
|
|
687
|
+
|
|
688
|
+
One interface, used verbatim at every call site:
|
|
689
|
+
|
|
690
|
+
```
|
|
691
|
+
node "«ADS_ROOT»/scripts/copy-check.mjs" --file <path> --dest <destination> [--json]
|
|
692
|
+
```
|
|
693
|
+
|
|
694
|
+
`--dest` is one of `email`, `dm`, `form`, `strategy`, `dashboard`, `plain`. **This kit uses four of them:** `form` for anything you will paste into a field, which is every creative string and every build sheet asset; `strategy` for a plan file and the doctrine; `dashboard` for a dashboard partial; and `plain` for the brief, the board, the digest, and the change list. `--selftest` takes no other flag and confirms the script runs, which is worth doing once on install so you find out on day one rather than at 08:15 on a Tuesday. **There is no `--profile`, no `--destination`, and no bare positional path.**
|
|
695
|
+
|
|
696
|
+
The rules it applies, in order, are in `CONTRACT.md` section 3.4. **Do not eyeball any of them. The script is the judge**, including on the dashes, and a stated preference has never been enough.
|
|
697
|
+
|
|
698
|
+
### `review.catalog`
|
|
699
|
+
Derive every creative set's review, publication and delivery state from the three files that hold them, and serve the member's review page.
|
|
700
|
+
|
|
701
|
+
| Harness | Route | Confidence |
|
|
702
|
+
|---|---|---|
|
|
703
|
+
| Claude Code | `shell.run` on `scripts/review.mjs --catalog --json`, then the same derivation in agent | `confirmed` |
|
|
704
|
+
| OpenClaw | `shell.run` on `scripts/review.mjs`, then in agent | `expected` |
|
|
705
|
+
| Hermes | `shell.run` if present, then in agent | `unknown` |
|
|
706
|
+
| OpenCode | `shell.run` on `scripts/review.mjs`, then in agent | `expected` |
|
|
707
|
+
| Grok Bot | `shell.run` if present, then in agent | `unknown` |
|
|
708
|
+
| Codex | `shell.run` on `scripts/review.mjs`, then in agent | `confirmed` |
|
|
709
|
+
| Antigravity | `shell.run` on `scripts/review.mjs`, then in agent | `expected` |
|
|
710
|
+
|
|
711
|
+
**Absent the script:** derive in agent by the same rule, the latest `member` row in `creative/approvals.jsonl` naming a set's current revision decides, and put `review: in-agent` in `notes`. **No routine ever appends a row to that file**, and the in agent route is a derivation, not a permission to approve anything.
|
|
712
|
+
|
|
713
|
+
One interface, used verbatim at every call site:
|
|
714
|
+
|
|
715
|
+
```
|
|
716
|
+
node "«ADS_ROOT»/scripts/review.mjs" --catalog --json
|
|
717
|
+
```
|
|
718
|
+
|
|
719
|
+
The member runs `node "«ADS_ROOT»/scripts/review.mjs" --serve` to open the page on the loopback address, and `--record` to review from a terminal. The page makes no network call, calls no platform, and writes one file.
|
|
720
|
+
|
|
721
|
+
### `schedule.register`
|
|
722
|
+
Register, inspect, or change a recurring job named after a routine id.
|
|
723
|
+
|
|
724
|
+
| Harness | Route | Confidence |
|
|
725
|
+
|---|---|---|
|
|
726
|
+
| Claude Code | Its own scheduler | `confirmed` |
|
|
727
|
+
| OpenClaw | Its built in cron, `openclaw automations create`, through `shell.run` | `expected` |
|
|
728
|
+
| Hermes | Its built in cron | `expected` |
|
|
729
|
+
| OpenCode | Not available in the harness. The operating system's scheduler | `expected` |
|
|
730
|
+
| Grok Bot | Its recurring tasks, on its own cloud computer | `expected` |
|
|
731
|
+
| Codex | Its scheduled runs | `expected` |
|
|
732
|
+
| Antigravity | Its `agy` job runner, through `shell.run` | `expected` |
|
|
733
|
+
| Pi | Not available in the harness. The operating system's scheduler | `expected` |
|
|
734
|
+
| Cline | Its built in cron, `cline schedule create`, through `shell.run` | `expected` |
|
|
735
|
+
| Qwen Code | Its built in scheduled tasks | `expected` |
|
|
736
|
+
| DeepSeek | Its scheduling plugin | `expected` |
|
|
737
|
+
|
|
738
|
+
**Absent all routes:** write the exact commands to `«ADS_ROOT»/schedule-commands.txt` and name that file in the report and in the brief. You run them yourself, once, and the kit is scheduled.
|
|
739
|
+
|
|
740
|
+
**Nothing about a routine's behaviour depends on which of the three registered it.** The routine reads the clock, reads its row in `SCHEDULE.md`, and decides for itself whether to work. A job that fires at the wrong time gets caught by the window guard. A job that fires twice gets caught by the period guard. The scheduler is a starter motor, not a controller.
|
|
741
|
+
|
|
742
|
+
---
|
|
743
|
+
|
|
744
|
+
## 7. What you lose with no browser at all
|
|
745
|
+
|
|
746
|
+
The honest headline first.
|
|
747
|
+
|
|
748
|
+
**The morning brief never needs a browser. Neither does the creative set, the build sheet, the weekly change list, or the monthly doctrine rewrite.** On a machine with no browser control at all, you still get a plan every morning, a set of creative every weekday, a sheet whenever a card asks for one, a ranked change list every Friday, and a doctrine tested against evidence every month.
|
|
749
|
+
|
|
750
|
+
**What you lose is the evidence all five of them are built on.**
|
|
751
|
+
|
|
752
|
+
`ads-account-read` is the only routine in this kit that opens an account screen on any recurring basis, and it is the only source of a figure about your account anywhere in the kit. Without a browser it cannot reach a reporting screen at all, `metrics/daily.jsonl` gains no rows, and every routine downstream honestly reports `n/a` rather than guessing. The change list writes the dead week headline. The retrospective writes `not tested` against every category and changes nothing. The studio produces against the doctrine's angle list with no decay signal to rank against.
|
|
753
|
+
|
|
754
|
+
**That is a correct and honest degradation and it is also not much of a product.** Unlike the other Employees in this club, this one genuinely needs the browser, because the thing it manages lives behind your login and there is no public page that carries yesterday's cost per result.
|
|
755
|
+
|
|
756
|
+
There is no paste your own data workaround here, and I would rather say so than invent one. **If your harness cannot drive a browser holding your own ad account session, this is not the Employee to buy yet.** Fix the browser first, or run `ads-account-read` by hand at the machine and let the other six schedule normally.
|
|
757
|
+
|
|
758
|
+
| Routine | With browser control | With none | Recorded |
|
|
759
|
+
|---|---|---|---|
|
|
760
|
+
| `ads-account-read` | Confirms the conversion event, reads four levels, appends the metrics ledger | Nothing. Every figure in this kit comes from here | `failed`, with `no browser control capability configured` |
|
|
761
|
+
| `ads-desk-standup` | Never uses one | Identical. Full function. The brief says the ledger has no row for the day | `ok` |
|
|
762
|
+
| `ads-creative-studio` | May read one documentation page for a field limit | Produces the whole set. Unconfirmed caps read `n/a (cap not confirmed)` | `ok` |
|
|
763
|
+
| `ads-build-desk` | May read one documentation page and check the landing page resolves | Writes the whole sheet. Unconfirmed caps and unchecked URLs are named on the sheet | `ok` |
|
|
764
|
+
| `ads-change-list` | May check the landing page still resolves | Writes the whole list from the ledger. The page check reads `not checked this week` | `ok` |
|
|
765
|
+
| `ads-account-intake` | Crawls your site, reads the account structure once, opens the built dashboard | Crawl narrows to what `web.fetch` reaches, the account read is skipped and carded, the dashboard is verified off disk | `partial` |
|
|
766
|
+
| `ads-creative-retro` | May check the landing page still says what a framing rule assumes | Folds the whole month and rewrites the doctrine. Framing checks read `not checked this month` | `ok` |
|
|
767
|
+
|
|
768
|
+
Six of the seven produce their main deliverable with no browser at all. **The seventh is the one that makes the other six worth reading.**
|
|
769
|
+
|
|
770
|
+
---
|
|
771
|
+
|
|
772
|
+
## 8. Optional named helpers
|
|
773
|
+
|
|
774
|
+
Some harnesses let you install named helpers of your own: skills, plugins, extensions, whatever yours calls them. The kit's relationship to those is fixed and short.
|
|
775
|
+
|
|
776
|
+
**It detects. It uses. It degrades. It never installs.**
|
|
777
|
+
|
|
778
|
+
Connected sources in section 4b are named helpers under exactly this rule: detect, use, degrade, never install. A routine that resolves a capability through one never calls a tool on it that creates, sends, spends, deploys or deletes unless `RELEASES.md` names that channel, and it takes the read only form of the route wherever the vendor offers one.
|
|
779
|
+
|
|
780
|
+
A routine may name an optional helper as a dependency, check whether it is present, use it when it is, and fall back to a stated route when it is not. **No routine in this kit ever creates, authors, or installs a helper in your global directory.** Your global setup is yours. You add helpers from the library when you decide to, and nothing here reaches into it.
|
|
781
|
+
|
|
782
|
+
**The one that matters here is image generation.** If you have an image helper installed, `image.generate` resolves through it and your sets ship with artwork. If you do not, your sets ship as text only, the manifest says so in one line, and the card is filed either way. Nothing waits, nothing asks, and nothing is installed on your behalf.
|
|
783
|
+
|
|
784
|
+
Self repair means the same thing. When `ads-account-read` needs a browser flow that has no file yet, it drives the flow once and writes what it verified into the kit's own `recipes/` folder. When a selector later drifts, it reads the live page, finds the element that now carries that role, and writes the replacement into the same file. Both are a file inside `«ADS_ROOT»`. It is never a new helper installed somewhere global, and it is never silent: it goes in the run record as one line naming the step it repaired.
|
|
785
|
+
|
|
786
|
+
**Forbidden, deliberately.** No routine may call anything that publishes, anything that belongs to a sibling Employee's territory, or anything billed per run that you did not agree to spend. That includes publishing helpers, search console and indexing helpers, and paid data endpoints. **Spend is the one thing this kit exists to hold the line on, and that includes spend on itself.**
|
|
787
|
+
|
|
788
|
+
---
|
|
789
|
+
|
|
790
|
+
## 9. The scheduling layer
|
|
791
|
+
|
|
792
|
+
Every harness schedules differently and some do not schedule at all. The shape below is the same everywhere. Only the mechanism changes.
|
|
793
|
+
|
|
794
|
+
### 9.1 The shape
|
|
795
|
+
|
|
796
|
+
**One job per routine.** Seven routines, seven jobs. Never one job that runs several in sequence: a chained job defeats the per routine period guard, blurs the budgets, and turns one failure into seven.
|
|
797
|
+
|
|
798
|
+
**The job's only content is the invocation.** All the logic is in the routine.
|
|
799
|
+
|
|
800
|
+
**Register the fire time, not the window.** The window is enforced inside the routine and it is a catch up net, not a concurrency plan. Overlapping windows are deliberate. Overlapping fire times are not.
|
|
801
|
+
|
|
802
|
+
**Name every job exactly after its routine id.** All seven ids carry the `ads-` prefix so they namespace cleanly next to other AI Employees, and the monthly drift check can only match a registered job to a row when the names are identical.
|
|
803
|
+
|
|
804
|
+
**Take the times from `SCHEDULE.md`, not from any example below.** `SCHEDULE.md` is the one place a cadence, a fire time, and a window live, and it wins over every other file in the kit including this one. The examples here carry the shipped defaults so the shape is readable. If your table says something different, your table is right.
|
|
805
|
+
|
|
806
|
+
The shipped default week:
|
|
807
|
+
|
|
808
|
+
```
|
|
809
|
+
Every weekday
|
|
810
|
+
06:45 ads-account-read
|
|
811
|
+
07:30 ads-desk-standup
|
|
812
|
+
08:15 ads-creative-studio
|
|
813
|
+
09:15 ads-build-desk
|
|
814
|
+
|
|
815
|
+
Friday adds 16:00 ads-change-list
|
|
816
|
+
First weekday adds 13:00 ads-account-intake
|
|
817
|
+
Last weekday adds 14:00 ads-creative-retro
|
|
818
|
+
```
|
|
819
|
+
|
|
820
|
+
No two share a fire minute, including the one that never touches a browser.
|
|
821
|
+
|
|
822
|
+
### 9.2 The mechanism, per harness
|
|
823
|
+
|
|
824
|
+
| Harness | Mechanism | Confidence |
|
|
825
|
+
|---|---|---|
|
|
826
|
+
| **Claude Desktop app** | Its own local scheduler. Ask it to register the table and it reads the routine, days, and fire columns directly, one local task per routine named after the routine id | `confirmed` |
|
|
827
|
+
| **Claude Code CLI** | None of its own. Use the operating system's scheduler below, with the launchers in `run/` on Windows or a launchd plist on macOS | `confirmed` that Task Scheduler reaches a running Claude Code through `run/<id>.cmd`; a full routine under it is `expected` |
|
|
828
|
+
| **OpenClaw** | Built in cron: `openclaw automations create "<cron>" "<message>" --name <id> --session isolated`, one per routine, with the timezone flag | `expected` |
|
|
829
|
+
| **Hermes** | Built in cron, one job per routine, each handed that routine's `SKILL.md` as the prompt | `expected` |
|
|
830
|
+
| **OpenCode** | None of its own. Use the operating system's scheduler below | `expected` |
|
|
831
|
+
| **Grok Bot** | Its bots run on a schedule from their own cloud computer: one recurring task per routine | `expected` |
|
|
832
|
+
| **Codex** | The Codex app's automations: one `kind = "cron"` automation per routine, named after the routine id, `execution_environment = "local"`, the kit folder among its working directories, and an `rrule` built from the `SCHEDULE.md` row. Each automation keeps its own memory file, which is a note to itself and never a ledger this kit reads | `confirmed` on Windows: seven routines fired on schedule under the app's automatic review mode, after the member approved the registrations in the session |
|
|
833
|
+
| **Antigravity** | The `agy` job runner, one job per routine, pointed at the routine folder | `expected` |
|
|
834
|
+
| **Pi** | None of its own. Use the operating system's scheduler below | `expected` |
|
|
835
|
+
| **Cline** | Built in cron: `cline schedule create "<prompt>" --cron "<cron>"`, one per routine, auto approve on | `expected` |
|
|
836
|
+
| **Qwen Code** | Built in scheduled tasks, one per routine, or the operating system's scheduler below | `expected` |
|
|
837
|
+
| **DeepSeek** | Its scheduling plugin, one run per routine | `expected` |
|
|
838
|
+
|
|
839
|
+
Three of the rows above, the Claude Code CLI, OpenCode and Pi, use the operating system's scheduler, and the rest bring their own. Either is fine. The operating system's scheduler is the more reliable of the two mechanisms on a laptop that sleeps, which is section 9.5.
|
|
840
|
+
|
|
841
|
+
Throughout, `«RUN ads-account-read»` and its six siblings stand for the whole invocation that runs that one routine unattended. Section 9.2a says what it expands to. Section 10 applies to every line below without exception.
|
|
842
|
+
|
|
843
|
+
### 9.2a What `«RUN <routine-id>»` expands to
|
|
844
|
+
|
|
845
|
+
This is the string every scheduled job in this kit is built from, so it gets a worked example rather than a description.
|
|
846
|
+
|
|
847
|
+
**`«RUN <routine-id>»` is the entire invocation, brackets and routine id together.** It is not a prefix you append the id to. On several harnesses the id sits inside a quoted prompt rather than at the end of the line, so substitute the whole placeholder and read the shapes below before you write seven of them.
|
|
848
|
+
|
|
849
|
+
Two shapes cover every harness.
|
|
850
|
+
|
|
851
|
+
**Shape A, where the harness discovers routines from a directory.** The invocation names the routine id and the harness finds the folder itself:
|
|
852
|
+
|
|
853
|
+
```
|
|
854
|
+
<headless run command> "Run ads-account-read"
|
|
855
|
+
```
|
|
856
|
+
|
|
857
|
+
**Shape B, where it does not.** The invocation hands the routine file to the harness as the run prompt:
|
|
858
|
+
|
|
859
|
+
```
|
|
860
|
+
<headless run command> "Read «ADS_ROOT»/routines/ads-account-read/SKILL.md and follow it."
|
|
861
|
+
```
|
|
862
|
+
|
|
863
|
+
**Shape B works on both kinds**, so reach for it when you are not sure which you have. The routine's own Step 0 reads `CONTRACT.md`, `ROLE.md`, this file, and its `SCHEDULE.md` row, so the prompt never has to list them.
|
|
864
|
+
|
|
865
|
+
| Harness | The headless run command | Confidence |
|
|
866
|
+
|---|---|---|
|
|
867
|
+
| **Claude Desktop app** | Its own scheduler holds the invocation and you never write this line by hand: one local task per routine, named after the routine id, prompt `Read «ADS_ROOT»/routines/<routine-id>/SKILL.md and follow it.`, working folder `«ADS_ROOT»`, permission mode set per task. Shape B | `confirmed` |
|
|
868
|
+
| **Claude Code CLI** | `claude -p "<prompt>"` with the full path to the binary, an explicit `--permission-mode`, `< nul` on Windows or `< /dev/null` on POSIX so it never waits on stdin, and `--output-format json`. `run/<routine-id>.cmd.example` is that line written out, one per routine. Shape B | `expected`. The chain from Task Scheduler to a running Claude Code is confirmed; a full routine completing under it is not yet |
|
|
869
|
+
| **OpenClaw** | The automation holds the invocation: its message is the Shape B prompt, so there is no separate headless command to write. For a run by hand, use its own headless flag from its help output | `expected` |
|
|
870
|
+
| **Hermes** | The cron job's prompt is the Shape B prompt. For a run by hand, use its own headless flag from its help output | `expected` |
|
|
871
|
+
| **OpenCode** | `opencode run "<prompt>"` is its non interactive form. Confirm it against `opencode --help` on your version. Shape B | `expected` |
|
|
872
|
+
| **Grok Bot** | The recurring task's run prompt is the Shape B prompt. It runs on its own cloud computer, not on this machine | `expected` |
|
|
873
|
+
| **Codex** | The app's automation holds the invocation: its prompt is the Shape B prompt with the kit folder named as the working directory, and no separate headless line is written. `codex exec "<prompt>"` is the by hand form, and it runs only where the CLI is signed in, which the app's own sign in does not imply. Shape B | `confirmed` for the automation route; `codex exec` stays `expected` |
|
|
874
|
+
| **Antigravity** | `agy -p "<prompt>"`. The print flag is read off the CLI's own help text. That a routine then runs correctly through it is not verified | `expected` |
|
|
875
|
+
| **Pi** | `pi -p "<prompt>"`. Confirm the print flag against `pi --help` on your version. Shape B | `expected` |
|
|
876
|
+
| **Cline** | `cline schedule create "<prompt>" --cron "<cron>"` holds the invocation. For a run by hand, confirm the headless form against `cline --help`. Shape B | `expected` |
|
|
877
|
+
| **Qwen Code** | `qwen -p "<prompt>"`. Confirm the print flag against `qwen --help` on your version. Shape B | `expected` |
|
|
878
|
+
| **DeepSeek** | `dsh` runs a local server; confirm the headless prompt form against `dsh --help` on your version. Shape B | `expected` |
|
|
879
|
+
|
|
880
|
+
Three things decide whether the line works, and all three are outside the command itself.
|
|
881
|
+
|
|
882
|
+
**The working directory.** The run has to start in `«ADS_ROOT»`, because the routines read every path relative to it. Every harness has its own way of saying that: a directory flag, a `cd` in front of the command, or a field on the scheduled job.
|
|
883
|
+
|
|
884
|
+
**The approval mode.** Section 10. A scheduled run in a prompting mode hangs at 06:45 and leaves no record at all, which is worse than failing.
|
|
885
|
+
|
|
886
|
+
**One routine run by hand, first.** Take the line for `ads-desk-standup`, run it in a terminal, and watch it write `brief-latest.md` and one line into `runlog.jsonl`. Then register the other six. Seven jobs registered on an invocation nobody has run is seven silent failures on the same morning, and the first thing you would see is an empty brief.
|
|
887
|
+
|
|
888
|
+
Where your harness's row above says `expected` rather than `confirmed`, and you have run a routine through it, put what you found in `## Corrections` at the bottom of this file.
|
|
889
|
+
|
|
890
|
+
### 9.2b Scheduled readiness is a scheduled fire
|
|
891
|
+
|
|
892
|
+
Registration proves that the scheduler holds a job. It does not prove that the job runs, that it runs with the permission mode you set, that it starts in the kit folder, or that it can reach the connections a chat session could. All four have failed after a clean registration, and the one that hides longest is the last: a token or a secret store that unlocks for the signed in user and not for the process the scheduler starts. The observed case was an account read that worked in the session that connected it, and a scheduled routine the same evening that could not decrypt the same saved token.
|
|
893
|
+
|
|
894
|
+
So readiness is proved once, by a fire the scheduler started, and it is reported as its own fact. The install prompt registers the jobs and reports `scheduled execution: not yet verified`. The proof is a line in `runlog.jsonl` from a run nobody started by hand, at the registered time, with the status it should have, and where a routine reads through a connected route, that first scheduled read is the second mark on the route's row in `## Corrections`, next to the mark the chat session left. Two marks, two processes, and a row with only the first is not ready.
|
|
895
|
+
|
|
896
|
+
**A run by hand never counts**, however well it went. It goes through the same guard, records the same period, writes `run by hand` in `notes`, and never claims a scheduled fire happened. Installed, scheduled and proven are three words, and a report that uses one of them for all three has hidden the failure that matters most.
|
|
897
|
+
|
|
898
|
+
### 9.3 cron, on macOS or Linux
|
|
899
|
+
|
|
900
|
+
```
|
|
901
|
+
45 6 * * 1-5 «RUN ads-account-read»
|
|
902
|
+
30 7 * * 1-5 «RUN ads-desk-standup»
|
|
903
|
+
15 8 * * 1-5 «RUN ads-creative-studio»
|
|
904
|
+
15 9 * * 1-5 «RUN ads-build-desk»
|
|
905
|
+
0 16 * * 5 «RUN ads-change-list»
|
|
906
|
+
0 13 1-7 * * «RUN ads-account-intake»
|
|
907
|
+
0 14 25-31 * * «RUN ads-creative-retro»
|
|
908
|
+
```
|
|
909
|
+
|
|
910
|
+
A crontab line is handed to a shell, so a quoted prompt with spaces in it survives as written. Two cron specifics to know: `%` is special in a crontab and has to be escaped as `\%`, and cron runs with a minimal environment, so give the command an absolute path rather than assuming your shell's `PATH`.
|
|
911
|
+
|
|
912
|
+
**The two monthly lines are the ones people get wrong.** In standard cron, when both the day of month field and the day of week field are restricted, they are combined with OR rather than AND. So `0 13 1-7 * 1-5` does not mean the first weekday of the month. It means every weekday of the month plus the first seven days of it. Leave the day of week field open, as above, and let the routine's own `days: first-weekday` and its monthly period key do the filtering. It fires up to seven times, skips the weekend dates as out of window, runs once, and skips the rest as already run.
|
|
913
|
+
|
|
914
|
+
`25-31` is the last weekday line, and it is a range for the same reason. Every date in it falls inside the last seven days of the month in every month length, including February, so nothing outside the intended window can fire.
|
|
915
|
+
|
|
916
|
+
**On macOS, cron does not fire while the machine is asleep and does not catch up on wake.** If your machine sleeps overnight, use `launchd` with `StartCalendarInterval`, which does flush the missed fires when the machine wakes. That flush is exactly the burst the window guard was built for, so it is safe.
|
|
917
|
+
|
|
918
|
+
### 9.4 Windows Task Scheduler
|
|
919
|
+
|
|
920
|
+
```
|
|
921
|
+
schtasks /Create /TN "ads-account-read" /SC WEEKLY /D MON,TUE,WED,THU,FRI /ST 06:45 /TR "«ADS_ROOT»\run\ads-account-read.cmd"
|
|
922
|
+
schtasks /Create /TN "ads-desk-standup" /SC WEEKLY /D MON,TUE,WED,THU,FRI /ST 07:30 /TR "«ADS_ROOT»\run\ads-desk-standup.cmd"
|
|
923
|
+
schtasks /Create /TN "ads-creative-studio" /SC WEEKLY /D MON,TUE,WED,THU,FRI /ST 08:15 /TR "«ADS_ROOT»\run\ads-creative-studio.cmd"
|
|
924
|
+
schtasks /Create /TN "ads-build-desk" /SC WEEKLY /D MON,TUE,WED,THU,FRI /ST 09:15 /TR "«ADS_ROOT»\run\ads-build-desk.cmd"
|
|
925
|
+
schtasks /Create /TN "ads-change-list" /SC WEEKLY /D FRI /ST 16:00 /TR "«ADS_ROOT»\run\ads-change-list.cmd"
|
|
926
|
+
schtasks /Create /TN "ads-account-intake" /SC MONTHLY /MO FIRST /D MON,TUE,WED,THU,FRI /ST 13:00 /TR "«ADS_ROOT»\run\ads-account-intake.cmd"
|
|
927
|
+
schtasks /Create /TN "ads-creative-retro" /SC MONTHLY /MO LAST /D MON,TUE,WED,THU,FRI /ST 14:00 /TR "«ADS_ROOT»\run\ads-creative-retro.cmd"
|
|
928
|
+
```
|
|
929
|
+
|
|
930
|
+
**Each `/TR` points at a one line file rather than at the invocation directly, and that is on purpose.** `/TR` takes a quoted string, and the invocations in 9.2a carry a quoted prompt of their own. Nesting quotes inside `/TR` is the single most common way a registered Windows task turns out to do nothing. So write one file per routine under `«ADS_ROOT»\run\`, each holding the expanded `«RUN <routine-id>»` line and nothing else, and point the task at the file. It also gives you something you can double click to test a routine by hand.
|
|
931
|
+
|
|
932
|
+
```
|
|
933
|
+
:: «ADS_ROOT»\run\ads-desk-standup.cmd
|
|
934
|
+
@echo off
|
|
935
|
+
cd /d "«ADS_ROOT»"
|
|
936
|
+
"%USERPROFILE%\.local\bin\claude.exe" -p "Read «ADS_ROOT»/routines/ads-desk-standup/SKILL.md and follow it." --permission-mode acceptEdits --output-format json < nul > "«ADS_ROOT»\run\ads-desk-standup.last.json"
|
|
937
|
+
if errorlevel 1 node "«ADS_ROOT»\scripts\runlog.mjs" --failed-run ads-desk-standup --exit-code %errorlevel%
|
|
938
|
+
```
|
|
939
|
+
|
|
940
|
+
Four things in that file are there because a scheduled fire found each one missing. **The full path to the binary**, because Task Scheduler starts with the system PATH and `claude` is not on it. **`< nul`**, because without it every fire waits three seconds for stdin that never comes. **An explicit `--permission-mode`**, because a run that waits on a prompt at 06:45 never fails and never writes a record. **The `if errorlevel 1` line**, because a run that is not logged in exits in under a second with `Not logged in` and would otherwise leave nothing behind; through `runlog.mjs --failed-run` it leaves a `failed` record the standup can put in the brief. `run/<routine-id>.cmd.example` ships one of these per routine: copy it without the `.example`, replace `«ADS_ROOT»`, and check the path.
|
|
941
|
+
|
|
942
|
+
The two monthly lines fire on the first Monday, the first Tuesday, and so on, up to five times each. The period key reduces that to one run per month. This is the same tradeoff as the cron version and it is deliberate: **be generous about when, be strict about how many times.**
|
|
943
|
+
|
|
944
|
+
Task Scheduler has a setting called **Run task as soon as possible after a scheduled start is missed.** Turn it on for all seven. The window guard makes the catch up safe, and without it a laptop that was closed at 07:30 gets no brief at all that day.
|
|
945
|
+
|
|
946
|
+
### 9.5 Machines that sleep
|
|
947
|
+
|
|
948
|
+
If the machine is asleep at a fire time, what happens next depends on the scheduler, and none of them replays every missed fire. The Claude Desktop app skips a fire the machine slept through and, on wake, runs exactly one catch up for the most recently missed time, looking back seven days. Windows Task Scheduler runs one catch up when its setting to run a missed task as soon as possible is on, and none when it is off. launchd on macOS coalesces every missed fire into one run on wake. cron skips a missed fire and never catches up. So a late fire arrives alone, at an unplanned minute, and sometimes beside another routine's catch up.
|
|
949
|
+
|
|
950
|
+
That burst is designed for. The window guard runs whatever arrives inside the window and exits clean on whatever arrives outside it. The period guard makes sure only one of them does the work. Between them, a duplicate or an early fire is harmless, which is exactly why neither guard is ever bypassed because a run "looks due".
|
|
951
|
+
|
|
952
|
+
Set the earliest fire in your table after the time the machine is normally awake. **In this kit that matters more than in most**, because `ads-account-read` reads a reporting day that nothing else can go back and read for you. A morning nobody read is a permanent gap in the ledger, and the routine's catch up read is capped on purpose rather than unbounded.
|
|
953
|
+
|
|
954
|
+
### 9.6 When nothing can register the schedule
|
|
955
|
+
|
|
956
|
+
The kit still runs when you launch it by hand. Nothing about a routine's behaviour changes based on who started it.
|
|
957
|
+
|
|
958
|
+
When no route can register a job, `ads-account-intake` writes every command it would have run into `«ADS_ROOT»/schedule-commands.txt` and names that file in the first paragraph of its report and in the brief. Run them yourself once and you are scheduled.
|
|
959
|
+
|
|
960
|
+
**Those commands are written expanded, never with `«RUN <routine-id>»` still in them.** A file you have to translate before you can run it is not a recovery path. Where the routine could not work out the invocation for your harness, it writes the line it would have used with the run command left as `<headless run command>`, says so in the report in one line, and points you at 9.2a.
|
|
961
|
+
|
|
962
|
+
### 9.7 Drift
|
|
963
|
+
|
|
964
|
+
`ads-account-intake` compares the registered job times against `SCHEDULE.md` once a month and reports any mismatch as one line naming both times. It can only do that where the harness or the operating system lets it list what is registered, which means `crontab -l` on Unix or `schtasks /query` on Windows through `shell.run`.
|
|
965
|
+
|
|
966
|
+
Where it cannot list them, it says so rather than reporting a clean check it did not perform. **A drift check that cannot see the schedule reports that it could not see the schedule.**
|
|
967
|
+
|
|
968
|
+
---
|
|
969
|
+
|
|
970
|
+
## 10. Scheduled runs get no permission prompt
|
|
971
|
+
|
|
972
|
+
This is the setting that decides whether your schedule produces anything at all, and it is worth the two minutes it takes to get right.
|
|
973
|
+
|
|
974
|
+
**A routine launched in a prompting mode stalls forever waiting for a human who is asleep.** At 06:45 the read routine asks to open a tab, or to write a file, or to run a command, and then it sits there. Nobody clicks Allow. The run does not fail, which would at least leave a record. It hangs. There is no run record, no brief, and no blocker for you to read in the morning, because the routine never reached the line that writes one. The next morning's standup opens by telling you nothing has been produced since a given date, which is the correct behaviour and a day late.
|
|
975
|
+
|
|
976
|
+
**The fix lives in your harness's own settings: run scheduled work in its auto approve mode.** Every harness calls it something different. Ask yours for the flag or setting that runs a session without interactive approval, and apply it to the seven scheduled jobs only.
|
|
977
|
+
|
|
978
|
+
Two practical points on top of that.
|
|
979
|
+
|
|
980
|
+
**Scope it where scoping is supported.** Give the auto approve setting the narrowest scope your harness allows, ideally `«ADS_ROOT»` and nothing else. These routines have no business writing anywhere else, and a scoped grant is the thing that keeps that true rather than merely intended.
|
|
981
|
+
|
|
982
|
+
**A prompt can come from below the harness too.** A private network permission prompt is a browser prompt, not a harness prompt, and no auto approve setting clears it. If a step needs a click nobody is there to give, the step does not belong in a scheduled routine.
|
|
983
|
+
|
|
984
|
+
### Why this does not weaken anything
|
|
985
|
+
|
|
986
|
+
It is a fair thing to be uneasy about in an Employee that works inside accounts holding your money, so here is the direct answer.
|
|
987
|
+
|
|
988
|
+
**The prompt gate was never what stopped this kit from spending.** The stops live inside the routines and they are stated as behaviour rather than as permission. No routine opens a create flow, a campaign wizard, a conversion action form, an audience builder, an asset library, or any screen in edit mode. No routine presses a control that creates, saves, applies, activates, pauses, resumes, or sets a budget. No routine types a budget figure into an account. No routine enters a credential. There is no code path where an approval prompt is the last thing standing between this kit and a live campaign.
|
|
989
|
+
|
|
990
|
+
Turning off the prompt removes a question about opening a tab and writing a file. **It does not add a capability.**
|
|
991
|
+
|
|
992
|
+
What actually holds the line is in the routines and it is checked at the end of every single run: nothing sent, nothing posted, nothing submitted, nothing enabled, nothing published, nothing spent, nothing created or saved in any account in any state including draft, no create flow or edit mode screen opened at all, no credential written or logged anywhere, and every claim traceable to the proof inventory. If any of those does not hold, that run is a failure regardless of what else it produced, and the record says which control on which screen.
|
|
993
|
+
|
|
994
|
+
**If your harness cannot run without interactive approval, do not schedule `ads-account-read`.** Run it by hand, when you are at the machine. The other six schedule fine and you still get the brief, the set, the sheet, the list, and the doctrine. That is an honest limitation of the pairing, not something to work around with a longer timeout.
|
|
995
|
+
|
|
996
|
+
---
|
|
997
|
+
|
|
998
|
+
## Corrections
|
|
999
|
+
|
|
1000
|
+
Format: one line per correction, newest at the top, `YYYY-MM-DD: what was wrong, what to do instead.`
|
|
1001
|
+
|
|
1002
|
+
This is where your probe result goes when it disagrees with a table above. Your machine is the authority on your machine. Every routine reads this section at the top of every run, and a line here outranks anything in sections 3 to 6.
|