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,880 @@
|
|
|
1
|
+
# Sales Employee: 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, set the field, 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, 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
|
+
**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.
|
|
10
|
+
|
|
11
|
+
**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 this kit has been run 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.
|
|
12
|
+
|
|
13
|
+
**There are twenty one capabilities in this kit** and every one of them is in sections 3 to 6 below. `CONTRACT.md` section 3 carries the same twenty one with their route preference order and their degradation. Where the two disagree, the contract wins on what a capability does and this file wins on what it is called on your machine.
|
|
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 `«SALES_ROOT»`?**
|
|
24
|
+
Ask it to write a file called `state/probe.txt` and read it back. If your harness sandboxes file access, `«SALES_ROOT»` has to be inside the allowed set, and a sandbox usually fails quietly rather than loudly.
|
|
25
|
+
|
|
26
|
+
Also confirm `«SALES_ROOT»` is a local path that is not inside OneDrive, Dropbox, Google Drive, or iCloud. **This matters more in this kit than in most.** 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. Worse, `crm/contacted.jsonl` is the dedupe truth behind every draft this kit ever writes, and a sync conflict on it is a duplicate first touch to a stranger. Both drafting routines refuse to run at all from a synced path for that reason, and the install moves the folder rather than asking you to.
|
|
27
|
+
|
|
28
|
+
**2. Can it read the machine clock and the timezone id?**
|
|
29
|
+
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 check 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.
|
|
30
|
+
|
|
31
|
+
**3. Can it run a local command?**
|
|
32
|
+
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.
|
|
33
|
+
|
|
34
|
+
**4. Can it drive a browser that carries your own logged in sessions?**
|
|
35
|
+
This is the one people get wrong, and it is the difference between a routine that works and one that stares at a sign in page every morning.
|
|
36
|
+
|
|
37
|
+
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 sources and every mailbox compose 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.
|
|
38
|
+
|
|
39
|
+
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 the sweep is limited to public pages and that no draft will ever reach your mailbox. Section 7 is the honest accounting.
|
|
40
|
+
|
|
41
|
+
### 1.2 The probe
|
|
42
|
+
|
|
43
|
+
Paste this into your agent, in `«SALES_ROOT»`, once, before you register anything.
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
Read CAPABILITIES.md in this folder.
|
|
47
|
+
|
|
48
|
+
For each of the 21 capabilities in sections 3, 4, 5 and 6, tell me three things:
|
|
49
|
+
1. can you do this right now, on this machine
|
|
50
|
+
2. with what, named exactly as your harness names it
|
|
51
|
+
3. if you cannot, what would I have to install or turn on
|
|
52
|
+
|
|
53
|
+
Rules for your answer:
|
|
54
|
+
Try the cheap ones rather than reasoning about them. Reading the clock,
|
|
55
|
+
listing a folder, and fetching one public URL are all cheap.
|
|
56
|
+
For the browser, confirm whether you attach to my signed in profile
|
|
57
|
+
or start a clean one. Say which.
|
|
58
|
+
Where you do not know, write "unknown". Never guess and never assume
|
|
59
|
+
a capability exists because it usually does.
|
|
60
|
+
Change no files. Send nothing. Open no account. Open no mailbox.
|
|
61
|
+
|
|
62
|
+
Give me one table and nothing else.
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
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.
|
|
66
|
+
|
|
67
|
+
### 1.3 What the confidence column means
|
|
68
|
+
|
|
69
|
+
| Value | Means |
|
|
70
|
+
|---|---|
|
|
71
|
+
| `confirmed` | Verified working. Claude Code is the harness this kit was built and run on, so it is the only column where this appears |
|
|
72
|
+
| `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 |
|
|
73
|
+
| `unknown` | Nothing about this could be confirmed. Probe it before you rely on it. Do not read a blank as a no, and do not read it as a yes |
|
|
74
|
+
|
|
75
|
+
### 1.4 Probe live, never cache
|
|
76
|
+
|
|
77
|
+
Capability detection happens at the top of every run, every time. No routine stores a capability result and reuses it tomorrow.
|
|
78
|
+
|
|
79
|
+
The reason is the failure it prevents. You connect a browser on Thursday. A routine that cached Wednesday's answer keeps writing queue files with no mailbox drafts beside them for a month and records a blocker you already fixed. Cheap check, expensive cache.
|
|
80
|
+
|
|
81
|
+
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.
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## 2. The eleven harnesses, honestly
|
|
86
|
+
|
|
87
|
+
One row each. The browser column is the one that changes how much of the kit runs.
|
|
88
|
+
|
|
89
|
+
| Harness | Files and shell | Browser control | Your signed in session | Scheduler | Confidence overall |
|
|
90
|
+
|---|---|---|---|---|---|
|
|
91
|
+
| **Claude Code** | Built in | Chrome extension bridge | Yes, attaches to your Chrome | Desktop app: built in. CLI: none, use the operating system's | `confirmed` |
|
|
92
|
+
| **OpenClaw** | Expected, core to it | Unconfirmed. Probe | Probe this specifically | Built in cron, `openclaw automations create` | `expected` on files, `unknown` on browser |
|
|
93
|
+
| **Hermes** | Expected | Probe | Probe this specifically | Built in cron | `expected` on files, `unknown` on browser |
|
|
94
|
+
| **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 |
|
|
95
|
+
| **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 |
|
|
96
|
+
| **Codex** | Expected, core to it | Add a browser automation server | Depends on that server's config | Scheduled runs | `expected` on files |
|
|
97
|
+
| **Antigravity** | Expected, core to it | Part of the product | Probe this specifically | The `agy` job runner | `expected` |
|
|
98
|
+
| **Pi** | Expected, core to it | Probe | Probe this specifically | None of its own, use the operating system's | `expected` on files |
|
|
99
|
+
| **Cline** | Expected, core to it | Probe | Probe this specifically | Built in cron, `cline schedule create` | `expected` on files |
|
|
100
|
+
| **Qwen Code** | Expected, core to it | Probe | Probe this specifically | Built in scheduled tasks, or the operating system's | `expected` on files |
|
|
101
|
+
| **DeepSeek** | Expected, core to it | Part of the product | Probe this specifically | Its scheduling plugin | `expected` on files |
|
|
102
|
+
|
|
103
|
+
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.
|
|
104
|
+
|
|
105
|
+
**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.
|
|
106
|
+
|
|
107
|
+
**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.
|
|
108
|
+
|
|
109
|
+
**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.
|
|
110
|
+
|
|
111
|
+
**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.
|
|
112
|
+
|
|
113
|
+
**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.
|
|
114
|
+
|
|
115
|
+
**Codex.** OpenAI's coding agent. Files and commands are core. The specific thing to check here is the sandbox: confirm it can write inside `«SALES_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 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.
|
|
116
|
+
|
|
117
|
+
**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 a browser routine 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 sources, your own search pages, and your own mailbox are reachable at all. Schedule with the `agy` job runner, one job per routine, pointed at the routine folder.
|
|
118
|
+
|
|
119
|
+
**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 «SALES_ROOT» as the working directory. Confirm the print flag against `pi --help`, then settle the browser question with the probe in 1.2.
|
|
120
|
+
|
|
121
|
+
**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 «SALES_ROOT», then probe the browser.
|
|
122
|
+
|
|
123
|
+
**Qwen Code.** Reads the skill format and ships scheduled tasks. Files and shell are core; confirm it can write inside «SALES_ROOT» and reach the network. Probe the browser before you rely on a browser routine.
|
|
124
|
+
|
|
125
|
+
**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.
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## 3. Environment and files
|
|
130
|
+
|
|
131
|
+
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.
|
|
132
|
+
|
|
133
|
+
### `clock.local`
|
|
134
|
+
Read the machine timezone id and the local wall clock time.
|
|
135
|
+
|
|
136
|
+
| Harness | Route | Confidence |
|
|
137
|
+
|---|---|---|
|
|
138
|
+
| Claude Code | Its own clock, or a shell command | `confirmed` |
|
|
139
|
+
| OpenClaw | Its own clock, or a shell command | `expected` |
|
|
140
|
+
| Hermes | Unknown. A shell command is the fallback if it has one | `unknown` |
|
|
141
|
+
| OpenCode | Its own clock, or a shell command | `expected` |
|
|
142
|
+
| Grok Bot | Unknown. A shell command is the fallback if it has one | `unknown` |
|
|
143
|
+
| Codex | Its own clock, or a shell command | `expected` |
|
|
144
|
+
| Antigravity | Its own clock, or a shell command | `expected` |
|
|
145
|
+
|
|
146
|
+
**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.
|
|
147
|
+
|
|
148
|
+
The shell route, where you need it: on Windows, `powershell -NoProfile -Command "(Get-TimeZone).Id; Get-Date -Format 'yyyy-MM-dd HH:mm:ss'"`. On macOS or Linux, `date +"%Z %Y-%m-%d %H:%M:%S"`.
|
|
149
|
+
|
|
150
|
+
### `file.read`
|
|
151
|
+
Read a file as text.
|
|
152
|
+
|
|
153
|
+
| Harness | Route | Confidence |
|
|
154
|
+
|---|---|---|
|
|
155
|
+
| Claude Code | Its file read, or a shell command | `confirmed` |
|
|
156
|
+
| OpenClaw | Its file read, or a shell command | `expected` |
|
|
157
|
+
| Hermes | Unknown | `unknown` |
|
|
158
|
+
| OpenCode | Its file read, or a shell command | `expected` |
|
|
159
|
+
| Grok Bot | Unknown | `unknown` |
|
|
160
|
+
| Codex | Its file read. Confirm the sandbox includes `«SALES_ROOT»` | `expected` |
|
|
161
|
+
| Antigravity | Its file read, or a shell command | `expected` |
|
|
162
|
+
|
|
163
|
+
**Absent:** the kit does not run. Nothing else in this file matters.
|
|
164
|
+
|
|
165
|
+
### `file.write`
|
|
166
|
+
Write a file. Anything a crash could truncate is written to a temp path and renamed over the original.
|
|
167
|
+
|
|
168
|
+
| Harness | Route | Confidence |
|
|
169
|
+
|---|---|---|
|
|
170
|
+
| Claude Code | Its file write, or a shell command | `confirmed` |
|
|
171
|
+
| OpenClaw | Its file write, or a shell command | `expected` |
|
|
172
|
+
| Hermes | Unknown | `unknown` |
|
|
173
|
+
| OpenCode | Its file write, or a shell command | `expected` |
|
|
174
|
+
| Grok Bot | Unknown | `unknown` |
|
|
175
|
+
| Codex | Its file write. Confirm the sandbox allows writes, not just reads | `expected` |
|
|
176
|
+
| Antigravity | Its file write, or a shell command | `expected` |
|
|
177
|
+
|
|
178
|
+
**Absent:** the kit does not run.
|
|
179
|
+
|
|
180
|
+
**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.
|
|
181
|
+
|
|
182
|
+
### `file.list`
|
|
183
|
+
List paths under a folder.
|
|
184
|
+
|
|
185
|
+
| Harness | Route | Confidence |
|
|
186
|
+
|---|---|---|
|
|
187
|
+
| Claude Code | Its glob or search | `confirmed` |
|
|
188
|
+
| OpenClaw | Its glob, or a shell command | `expected` |
|
|
189
|
+
| Hermes | Unknown | `unknown` |
|
|
190
|
+
| OpenCode | Its glob, or a shell command | `expected` |
|
|
191
|
+
| Grok Bot | Unknown | `unknown` |
|
|
192
|
+
| Codex | Its glob, or a shell command | `expected` |
|
|
193
|
+
| Antigravity | Its glob, or a shell command | `expected` |
|
|
194
|
+
|
|
195
|
+
**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 two things specifically: a queue file you renamed by hand, and a sibling AI Employee's folder, which is how `sales-desk-setup` staggers its browser lane against a neighbour.
|
|
196
|
+
|
|
197
|
+
### `shell.run`
|
|
198
|
+
Run a local command and read its output.
|
|
199
|
+
|
|
200
|
+
| Harness | Route | Confidence |
|
|
201
|
+
|---|---|---|
|
|
202
|
+
| Claude Code | Its shell | `confirmed` |
|
|
203
|
+
| OpenClaw | Its shell | `expected` |
|
|
204
|
+
| Hermes | Unknown | `unknown` |
|
|
205
|
+
| OpenCode | Its shell | `expected` |
|
|
206
|
+
| Grok Bot | Unknown | `unknown` |
|
|
207
|
+
| Codex | Its shell, inside the sandbox | `expected` |
|
|
208
|
+
| Antigravity | Its shell | `expected` |
|
|
209
|
+
|
|
210
|
+
**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.
|
|
211
|
+
|
|
212
|
+
---
|
|
213
|
+
|
|
214
|
+
## 4. Browser
|
|
215
|
+
|
|
216
|
+
Ten capabilities, all reached through one thing: whatever your harness uses to drive a browser. If that one thing is missing, all ten are missing together, and the degradation is the same for every one of them.
|
|
217
|
+
|
|
218
|
+
**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 it never stops the morning brief. Section 7 has the routine by routine detail.
|
|
219
|
+
|
|
220
|
+
**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.
|
|
221
|
+
|
|
222
|
+
### `browser.session`
|
|
223
|
+
Confirm browser control is attached to a browser holding your own logged in session.
|
|
224
|
+
|
|
225
|
+
| Harness | Route | Confidence |
|
|
226
|
+
|---|---|---|
|
|
227
|
+
| Claude Code | The Chrome extension bridge, attached to your own Chrome | `confirmed` |
|
|
228
|
+
| OpenClaw | Its own browser control if it has one, otherwise a browser automation server | `unknown` |
|
|
229
|
+
| Hermes | Unknown. Probe before relying on any browser routine | `unknown` |
|
|
230
|
+
| OpenCode | A browser automation server added to the harness | `expected` |
|
|
231
|
+
| Grok Bot | Unknown. Probe before relying on any browser routine | `unknown` |
|
|
232
|
+
| Codex | A browser automation server added to the harness | `expected` |
|
|
233
|
+
| Antigravity | Its built in browser control. Confirm it drives your signed in profile | `expected` |
|
|
234
|
+
|
|
235
|
+
**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.
|
|
236
|
+
|
|
237
|
+
**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 expensive mistake available**, because the two surfaces this Employee works are a compose window and an open mail thread: a blind retry there is a second draft to the same person, or a reply that was never meant to leave. So the kit re-reads the page before deciding anything, on every harness. What differs is how often you meet it.
|
|
238
|
+
|
|
239
|
+
| Harness | The transport, and what it does on a failed call |
|
|
240
|
+
|---|---|
|
|
241
|
+
| 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 |
|
|
242
|
+
| OpenClaw | Unknown |
|
|
243
|
+
| Hermes | Unknown |
|
|
244
|
+
| 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 |
|
|
245
|
+
| Grok Bot | Unknown |
|
|
246
|
+
| Codex | As OpenCode |
|
|
247
|
+
| Antigravity | Unknown |
|
|
248
|
+
|
|
249
|
+
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 duplicate message to a prospect cannot be taken back.
|
|
250
|
+
|
|
251
|
+
### `browser.tab.open` and `browser.tab.close`
|
|
252
|
+
Create a tab for this run and close it at the end.
|
|
253
|
+
|
|
254
|
+
| Harness | Route | Confidence |
|
|
255
|
+
|---|---|---|
|
|
256
|
+
| Claude Code | Its tab management | `confirmed` |
|
|
257
|
+
| OpenClaw | Its browser control, if present | `unknown` |
|
|
258
|
+
| Hermes | Unknown | `unknown` |
|
|
259
|
+
| OpenCode | The browser automation server's page or context handling | `expected` |
|
|
260
|
+
| Grok Bot | Unknown | `unknown` |
|
|
261
|
+
| Codex | The browser automation server's page or context handling | `expected` |
|
|
262
|
+
| Antigravity | Its browser control | `expected` |
|
|
263
|
+
|
|
264
|
+
**Tab hygiene, on every harness.** Create your own tab, close it when you are done, and never touch a tab you did not open. **There is no exception in this kit**, because this Employee fills no forms: no tab is ever the deliverable, and every deliverable is a file on disk or an unsent draft in your mailbox.
|
|
265
|
+
|
|
266
|
+
### `browser.navigate`
|
|
267
|
+
Go to a URL.
|
|
268
|
+
|
|
269
|
+
| Harness | Route | Confidence |
|
|
270
|
+
|---|---|---|
|
|
271
|
+
| Claude Code | Its navigate | `confirmed` |
|
|
272
|
+
| OpenClaw | Its browser control, if present | `unknown` |
|
|
273
|
+
| Hermes | Unknown | `unknown` |
|
|
274
|
+
| OpenCode | The browser automation server's navigation | `expected` |
|
|
275
|
+
| Grok Bot | Unknown | `unknown` |
|
|
276
|
+
| Codex | The browser automation server's navigation | `expected` |
|
|
277
|
+
| Antigravity | Its browser control | `expected` |
|
|
278
|
+
|
|
279
|
+
**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.
|
|
280
|
+
|
|
281
|
+
**This capability carries more weight in this kit than in most**, because it is how every query is set on LinkedIn. That surface is read only with no exception and nothing types into it, including its search box, so navigating to the search URL and reading the box back is the only route a query has.
|
|
282
|
+
|
|
283
|
+
### `page.read`
|
|
284
|
+
Read the page as a structured tree where each interactive element carries a stable reference you can act on.
|
|
285
|
+
|
|
286
|
+
| Harness | Route | Confidence |
|
|
287
|
+
|---|---|---|
|
|
288
|
+
| Claude Code | Its accessibility tree read, which returns a reference per element | `confirmed` |
|
|
289
|
+
| OpenClaw | Its page read, if present | `unknown` |
|
|
290
|
+
| Hermes | Unknown | `unknown` |
|
|
291
|
+
| OpenCode | The browser automation server's accessibility snapshot | `expected` |
|
|
292
|
+
| Grok Bot | Unknown | `unknown` |
|
|
293
|
+
| Codex | The browser automation server's accessibility snapshot | `expected` |
|
|
294
|
+
| Antigravity | Its page read | `expected` |
|
|
295
|
+
|
|
296
|
+
**Absent, but the browser works:** fall back to `page.text`. Read only phases still run, which in this kit means the sweep and the reply search. The compose phase does not, because the nudge needs a click by reference and there is no coordinate fallback. See `element.click` for why.
|
|
297
|
+
|
|
298
|
+
**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.
|
|
299
|
+
|
|
300
|
+
| Harness | How references behave | What to do |
|
|
301
|
+
|---|---|---|
|
|
302
|
+
| 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 |
|
|
303
|
+
| OpenClaw | Unknown | Re-read after any view change and use what the fresh read returns |
|
|
304
|
+
| Hermes | Unknown | Same |
|
|
305
|
+
| 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 |
|
|
306
|
+
| Grok Bot | Unknown | Re-read after any view change |
|
|
307
|
+
| Codex | As OpenCode | As OpenCode |
|
|
308
|
+
| Antigravity | Unknown | Re-read after any view change |
|
|
309
|
+
|
|
310
|
+
**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.
|
|
311
|
+
|
|
312
|
+
### `page.text`
|
|
313
|
+
Read the visible text.
|
|
314
|
+
|
|
315
|
+
| Harness | Route | Confidence |
|
|
316
|
+
|---|---|---|
|
|
317
|
+
| Claude Code | Its text extraction | `confirmed` |
|
|
318
|
+
| OpenClaw | Its text extraction, if present | `unknown` |
|
|
319
|
+
| Hermes | Unknown | `unknown` |
|
|
320
|
+
| OpenCode | The browser automation server's text or content read | `expected` |
|
|
321
|
+
| Grok Bot | Unknown | `unknown` |
|
|
322
|
+
| Codex | The browser automation server's text or content read | `expected` |
|
|
323
|
+
| Antigravity | Its text extraction | `expected` |
|
|
324
|
+
|
|
325
|
+
**Absent:** read from `page.capture` instead.
|
|
326
|
+
|
|
327
|
+
**Never trust page text straight after a navigation in a single page app.** It can return the previous view, with no error and nothing that looks wrong. Verdicts get read off a capture, not off text, whenever the answer decides something. In this kit the two answers that matter most are which message is open in a mail thread and whether a compose surface actually loaded, and both are read off a capture or off a string that belongs only to the new view.
|
|
328
|
+
|
|
329
|
+
### `page.capture`
|
|
330
|
+
Capture the screen, or a region of it.
|
|
331
|
+
|
|
332
|
+
| Harness | Route | Confidence |
|
|
333
|
+
|---|---|---|
|
|
334
|
+
| Claude Code | Its screenshot, including a region zoom | `confirmed` |
|
|
335
|
+
| OpenClaw | Its screenshot, if present | `unknown` |
|
|
336
|
+
| Hermes | Unknown | `unknown` |
|
|
337
|
+
| OpenCode | The browser automation server's screenshot | `expected` |
|
|
338
|
+
| Grok Bot | Unknown | `unknown` |
|
|
339
|
+
| Codex | The browser automation server's screenshot | `expected` |
|
|
340
|
+
| Antigravity | Its screenshot | `expected` |
|
|
341
|
+
|
|
342
|
+
**Absent:** verify from `page.text` and record in the run record that verification was weaker on this run.
|
|
343
|
+
|
|
344
|
+
**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, which matters because focus is what makes the compose nudge land at all. 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.
|
|
345
|
+
|
|
346
|
+
### `element.click`
|
|
347
|
+
Click one element by its reference from `page.read`.
|
|
348
|
+
|
|
349
|
+
| Harness | Route | Confidence |
|
|
350
|
+
|---|---|---|
|
|
351
|
+
| Claude Code | Its click by reference | `confirmed` |
|
|
352
|
+
| OpenClaw | Its click, if present | `unknown` |
|
|
353
|
+
| Hermes | Unknown | `unknown` |
|
|
354
|
+
| OpenCode | The browser automation server's click on a snapshot reference | `expected` |
|
|
355
|
+
| Grok Bot | Unknown | `unknown` |
|
|
356
|
+
| Codex | The browser automation server's click on a snapshot reference | `expected` |
|
|
357
|
+
| Antigravity | Its click | `expected` |
|
|
358
|
+
|
|
359
|
+
**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. **In a compose window the controls nearest a body click are the ones that send, and in an open thread they are the ones that reply and delete**, so a click landing somewhere it was not aimed is the one failure this kit will not gamble on. A skipped phase you can see beats a click that quietly did not happen.
|
|
360
|
+
|
|
361
|
+
**The first click after a context switch is often swallowed.** Click, wait, click again, then verify. And a few controls need a genuine user gesture rather than a synthetic one, so a click that reports success while nothing changed is usually this.
|
|
362
|
+
|
|
363
|
+
**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.
|
|
364
|
+
|
|
365
|
+
| Harness | Where a refusal can come from |
|
|
366
|
+
|---|---|
|
|
367
|
+
| 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. **It declines clicks and keystrokes on LinkedIn**, which is the rule and the platform agreeing rather than a fault |
|
|
368
|
+
| OpenClaw | Unknown. Assume the harness permission layer at minimum |
|
|
369
|
+
| Hermes | Unknown. Same |
|
|
370
|
+
| OpenCode | The harness permission layer. A browser automation server has no classifier of its own and does not refuse |
|
|
371
|
+
| Grok Bot | Unknown. Same |
|
|
372
|
+
| Codex | The harness permission layer plus its sandbox, which can decline network access without saying so |
|
|
373
|
+
| Antigravity | Unknown. Assume the harness permission layer |
|
|
374
|
+
|
|
375
|
+
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.
|
|
376
|
+
|
|
377
|
+
### `field.set`
|
|
378
|
+
Set a form field's value by reference.
|
|
379
|
+
|
|
380
|
+
| Harness | Route | Confidence |
|
|
381
|
+
|---|---|---|
|
|
382
|
+
| Claude Code | Its form input on a reference | `confirmed` |
|
|
383
|
+
| OpenClaw | Its form input, if present | `unknown` |
|
|
384
|
+
| Hermes | Unknown | `unknown` |
|
|
385
|
+
| OpenCode | The browser automation server's fill or type | `expected` |
|
|
386
|
+
| Grok Bot | Unknown | `unknown` |
|
|
387
|
+
| Codex | The browser automation server's fill or type | `expected` |
|
|
388
|
+
| Antigravity | Its form input | `expected` |
|
|
389
|
+
|
|
390
|
+
**Absent:** skip the field and record it as a blocker naming it. Where the field was a search box, do not classify the rows on screen: they belong to whatever query was there before, and the finding is `n/a (query not confirmed)`.
|
|
391
|
+
|
|
392
|
+
**This kit has exactly one use for this capability**, which is setting a search box on a search page it is about to read, on a surface where typing is permitted. This Employee fills no forms. The only other keystroke it ever makes is the single character nudge that saves a mail draft.
|
|
393
|
+
|
|
394
|
+
**`field.set` is unreachable on LinkedIn**, on every harness, whatever the harness would allow. Section 7 of `CONTRACT.md` is the rule and it has no exception: a query on that surface is set by navigating to the search URL and confirmed by reading the box.
|
|
395
|
+
|
|
396
|
+
**The input ladder, in the order that actually lands.** Try each and stop at the first that works.
|
|
397
|
+
|
|
398
|
+
1. A form field setter on a reference. Plain inputs take this. Typing into dialogs is unreliable and setting the field lands.
|
|
399
|
+
2. The native value setter plus a bubbling input event, for controlled components that ignore a direct value write.
|
|
400
|
+
3. A real click plus keystrokes, last resort, where the platform demands a genuine input event. Focus first with a small region capture, or the keystroke is silently swallowed.
|
|
401
|
+
|
|
402
|
+
### `page.script`
|
|
403
|
+
Evaluate a script in the page context and get a JSON result back.
|
|
404
|
+
|
|
405
|
+
| Harness | Route | Confidence |
|
|
406
|
+
|---|---|---|
|
|
407
|
+
| Claude Code | Its script evaluation, through the bridge | `confirmed` |
|
|
408
|
+
| OpenClaw | Its script evaluation, if present | `unknown` |
|
|
409
|
+
| Hermes | Unknown | `unknown` |
|
|
410
|
+
| OpenCode | The browser automation server's evaluate | `expected` |
|
|
411
|
+
| Grok Bot | Unknown | `unknown` |
|
|
412
|
+
| Codex | The browser automation server's evaluate | `expected` |
|
|
413
|
+
| Antigravity | Its script evaluation | `expected` |
|
|
414
|
+
|
|
415
|
+
**Absent:** fall back to `page.read` plus `field.set` plus `element.click`. If none of those is available either, skip the phase and name it.
|
|
416
|
+
|
|
417
|
+
**Never run a script that clicks or types on LinkedIn.** The read only rule is about the effect, not about the route, and a script that does what a click could not is exactly the routing around a refusal that `retry` class 2 forbids.
|
|
418
|
+
|
|
419
|
+
**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. Where the round trip is the expensive part, chain a whole click, wait, verify cycle into one call rather than three.
|
|
420
|
+
|
|
421
|
+
**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.
|
|
422
|
+
|
|
423
|
+
| Harness | Call timeout |
|
|
424
|
+
|---|---|
|
|
425
|
+
| Claude Code | Around 45 seconds |
|
|
426
|
+
| OpenClaw | Unknown |
|
|
427
|
+
| Hermes | Unknown |
|
|
428
|
+
| OpenCode | The browser automation server's own default, commonly 30 seconds and usually configurable |
|
|
429
|
+
| Grok Bot | Unknown |
|
|
430
|
+
| Codex | As OpenCode |
|
|
431
|
+
| Antigravity | Unknown |
|
|
432
|
+
|
|
433
|
+
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 mailbox is slow, and a mailbox is slow every morning.
|
|
434
|
+
|
|
435
|
+
### `page.wait`
|
|
436
|
+
Wait for a condition, polling rather than sleeping long.
|
|
437
|
+
|
|
438
|
+
| Harness | Route | Confidence |
|
|
439
|
+
|---|---|---|
|
|
440
|
+
| Claude Code | Its wait, or polling `page.text` | `confirmed` |
|
|
441
|
+
| OpenClaw | Its wait, if present, or polling | `unknown` |
|
|
442
|
+
| Hermes | Unknown | `unknown` |
|
|
443
|
+
| OpenCode | The browser automation server's wait for selector or load state | `expected` |
|
|
444
|
+
| Grok Bot | Unknown | `unknown` |
|
|
445
|
+
| Codex | The browser automation server's wait for selector or load state | `expected` |
|
|
446
|
+
| Antigravity | Its wait | `expected` |
|
|
447
|
+
|
|
448
|
+
**Absent:** fixed waits, which are slower and less reliable, and the run record says so.
|
|
449
|
+
|
|
450
|
+
Fixed waits are not a failure mode though. They are the shipped behaviour on the mailbox surfaces specifically, where a load state lies: 15 seconds after opening a compose URL, 30 to 38 seconds after a search reload, 18 seconds after reloading the Drafts view. Those three numbers live in `human-pace` in `BROWSER-RECIPES.md`, next to the behaviour each one clears. **If your provider is slower, measure it once and change the number there**, not here and not in a routine.
|
|
451
|
+
|
|
452
|
+
---
|
|
453
|
+
|
|
454
|
+
## 4b. Connected sources
|
|
455
|
+
|
|
456
|
+
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.
|
|
457
|
+
|
|
458
|
+
**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.
|
|
459
|
+
|
|
460
|
+
**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.
|
|
461
|
+
|
|
462
|
+
| Capability | What it reads | Routes, in order of preference | Read only form | Confidence |
|
|
463
|
+
|---|---|---|---|---|
|
|
464
|
+
| `mail.read` | Replies on the threads the ledger says were sent | The Gmail connector (`https://gmailmcp.googleapis.com/mcp/v1`); the Microsoft 365 connector for Outlook, which searches and reads only | Read tools only | `expected` |
|
|
465
|
+
| `mail.draft` | A first touch or follow up saved as an unsent draft in the member's own mailbox | The Gmail connector's draft tool; on Outlook the queue file stays the route | Draft only; a send is held until `RELEASES.md` names the channel | `expected` |
|
|
466
|
+
| `calendar.read` | Meetings booked from an outreach thread | The Google Calendar connector; the Microsoft 365 connector | Read only | `expected` |
|
|
467
|
+
| `crm.read` | Pipeline state the member keeps outside this kit | The member's own CRM connector: HubSpot (`https://mcp.hubspot.com`), Attio, Close, Zoho CRM, Salesflare, Salesforce | Read tools only; a write is held | `expected` |
|
|
468
|
+
| `people.search`, `people.enrich` | Contactable people behind a source, and the fields that qualify them | The Apollo connector (`https://mcp.apollo.io/mcp`; search costs no credits, enrichment does); the Clay or ZoomInfo connector. A professional network stays on the browser lane, read only | Read only | `expected` |
|
|
469
|
+
| `billing.read` | Whether a prospect became a customer | The Stripe connector with a restricted, read only key | The restricted key only | `expected` |
|
|
470
|
+
|
|
471
|
+
`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.
|
|
472
|
+
|
|
473
|
+
---
|
|
474
|
+
|
|
475
|
+
## 5. Research and notification
|
|
476
|
+
|
|
477
|
+
Three capabilities. Two are how the kit learns anything about a business or a source without opening a browser, and one is the only thing that ever interrupts you.
|
|
478
|
+
|
|
479
|
+
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.
|
|
480
|
+
|
|
481
|
+
### `web.search`
|
|
482
|
+
Get search results for a query.
|
|
483
|
+
|
|
484
|
+
| Harness | Route | Confidence |
|
|
485
|
+
|---|---|---|
|
|
486
|
+
| Claude Code | Your own search endpoint named in `strategy/accounts.md`, then its web search | `confirmed` |
|
|
487
|
+
| OpenClaw | Your own search endpoint, then its web search if present | `unknown` |
|
|
488
|
+
| Hermes | Unknown | `unknown` |
|
|
489
|
+
| OpenCode | Your own search endpoint, then a search server if you added one | `expected` |
|
|
490
|
+
| Grok Bot | Unknown | `unknown` |
|
|
491
|
+
| Codex | Your own search endpoint. Confirm the sandbox allows outbound requests | `expected` |
|
|
492
|
+
| Antigravity | Your own search endpoint, then its web search | `expected` |
|
|
493
|
+
|
|
494
|
+
**Absent:** the routine writes the exact queries it would have run into the run record so you can run them yourself, and marks every finding that needed one `n/a (no search capability)`. It does not estimate and it does not fill the gap from memory.
|
|
495
|
+
|
|
496
|
+
**Never substitute a browser tab driving a search engine.** It is a different thing wearing the same clothes, it burns the browser budget the sweep needs, and it takes a mutex the search never needed.
|
|
497
|
+
|
|
498
|
+
If you have your own search endpoint, name it in `strategy/accounts.md` under `## Other accounts`. **Name the account 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.
|
|
499
|
+
|
|
500
|
+
### `web.fetch`
|
|
501
|
+
Read a URL's text without opening a browser.
|
|
502
|
+
|
|
503
|
+
| Harness | Route | Confidence |
|
|
504
|
+
|---|---|---|
|
|
505
|
+
| Claude Code | Its fetch, then `browser.navigate` plus `page.text` | `confirmed` |
|
|
506
|
+
| OpenClaw | Its fetch, then `shell.run` with a fetch command, then the browser | `expected` |
|
|
507
|
+
| Hermes | Unknown. `shell.run` with a fetch command if it has a shell | `unknown` |
|
|
508
|
+
| OpenCode | Its fetch, then `shell.run` with a fetch command, then the browser | `expected` |
|
|
509
|
+
| Grok Bot | Unknown. `shell.run` with a fetch command if it has a shell | `unknown` |
|
|
510
|
+
| Codex | Its fetch or `shell.run`. Confirm the sandbox allows outbound requests | `expected` |
|
|
511
|
+
| Antigravity | Its fetch, then the browser | `expected` |
|
|
512
|
+
|
|
513
|
+
**Absent:** mark the finding `n/a (page not reachable)`.
|
|
514
|
+
|
|
515
|
+
On a harness with no fetch of its own, `shell.run` with a fetch command is the same capability under another name, and that is what a routine gets when it asks for `web.fetch`. It comes back as raw markup rather than readable text, which costs a little context and works.
|
|
516
|
+
|
|
517
|
+
**`web.fetch` takes no browser mutex, and that is why the setup and the sweep prefer it.** A research phase that resolves entirely through fetch never writes and never deletes `state/browser-lock.json`, which leaves the lane clear for the routines behind it. It reaches public pages: your own site, your pricing page, a directory, an association member list. It cannot reach anything behind your own login, which is where your saved searches and your mailbox live.
|
|
518
|
+
|
|
519
|
+
### `notify.push`
|
|
520
|
+
Send one short notification to your own device.
|
|
521
|
+
|
|
522
|
+
| Harness | Route | Confidence |
|
|
523
|
+
|---|---|---|
|
|
524
|
+
| Claude Code | Its push notification tool, then a hosted club notifier | `confirmed` |
|
|
525
|
+
| OpenClaw | Its own notification route if it has one, then a hosted club notifier | `unknown` |
|
|
526
|
+
| Hermes | Unknown | `unknown` |
|
|
527
|
+
| OpenCode | A hosted club notifier, or none | `unknown` |
|
|
528
|
+
| Grok Bot | Unknown | `unknown` |
|
|
529
|
+
| Codex | A hosted club notifier, or none | `unknown` |
|
|
530
|
+
| Antigravity | Its own notification route if it has one, then a hosted club notifier | `unknown` |
|
|
531
|
+
|
|
532
|
+
**Absent 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 with notifications off you lose speed and never information.
|
|
533
|
+
|
|
534
|
+
Four things earn one, listed in `CONTRACT.md` section 9.1, and there is no fifth. Drafts waiting in your mailbox are not one of them: that is the veto line's job, every morning, in the brief.
|
|
535
|
+
|
|
536
|
+
---
|
|
537
|
+
|
|
538
|
+
## 6. Kit capabilities
|
|
539
|
+
|
|
540
|
+
Three. These are the kit's own, and two of them ship as scripts inside it.
|
|
541
|
+
|
|
542
|
+
### `runlog.append`
|
|
543
|
+
Append exactly one validated run record to `runlog.jsonl`.
|
|
544
|
+
|
|
545
|
+
| Harness | Route | Confidence |
|
|
546
|
+
|---|---|---|
|
|
547
|
+
| Claude Code | `shell.run` on `scripts/runlog.mjs`, then a direct append doing the same validation | `confirmed` |
|
|
548
|
+
| OpenClaw | `shell.run` on `scripts/runlog.mjs`, then a direct append | `expected` |
|
|
549
|
+
| Hermes | `shell.run` if present, then a direct append through `file.write` | `unknown` |
|
|
550
|
+
| OpenCode | `shell.run` on `scripts/runlog.mjs`, then a direct append | `expected` |
|
|
551
|
+
| Grok Bot | `shell.run` if present, then a direct append through `file.write` | `unknown` |
|
|
552
|
+
| Codex | `shell.run` on `scripts/runlog.mjs`, then a direct append | `expected` |
|
|
553
|
+
| Antigravity | `shell.run` on `scripts/runlog.mjs`, then a direct append | `expected` |
|
|
554
|
+
|
|
555
|
+
**Absent both routes:** write the record as the last line of `brief-latest.md` under a heading `UNRECORDED RUN` and stop. **A run with no record is a run that gets repeated, and in this kit a repeated run is the one that double drafts.**
|
|
556
|
+
|
|
557
|
+
The script validates the record's shape, checks `status` against the closed list of eight, refuses anything that looks like a secret or like personal data, writes UTF-8 with no byte order mark, and repairs a stray mark at the head of the file. It also refuses a routine id that is not one of the seven and does not carry the `sales-` prefix, and names the correct id when it recognises one written without it. The in agent route does the same checks. It is a different route, not a lighter one.
|
|
558
|
+
|
|
559
|
+
Two portable interfaces, and every call site uses one of them:
|
|
560
|
+
|
|
561
|
+
```
|
|
562
|
+
node "«SALES_ROOT»/scripts/runlog.mjs" --file "«SALES_ROOT»/state/run-record.tmp.json"
|
|
563
|
+
<the JSON> | node "«SALES_ROOT»/scripts/runlog.mjs" --stdin
|
|
564
|
+
```
|
|
565
|
+
|
|
566
|
+
**Use `--file` or `--stdin`, never a positional JSON argument.** Some shells strip every double quote out of an argument on its way to a native command, so the object arrives unparseable and the run loses its record. Both forms above behave identically on every shell and every harness.
|
|
567
|
+
|
|
568
|
+
**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.
|
|
569
|
+
|
|
570
|
+
`--selftest` takes no other flag and confirms the script runs.
|
|
571
|
+
|
|
572
|
+
### `copy.check`
|
|
573
|
+
The scripted judge for any text about to be written into a queue file, a strategy file, a digest, a review, or a brief.
|
|
574
|
+
|
|
575
|
+
| Harness | Route | Confidence |
|
|
576
|
+
|---|---|---|
|
|
577
|
+
| Claude Code | `shell.run` on `scripts/copy-check.mjs`, then the same rule set applied in agent | `confirmed` |
|
|
578
|
+
| OpenClaw | `shell.run` on `scripts/copy-check.mjs`, then in agent | `expected` |
|
|
579
|
+
| Hermes | `shell.run` if present, then in agent | `unknown` |
|
|
580
|
+
| OpenCode | `shell.run` on `scripts/copy-check.mjs`, then in agent | `expected` |
|
|
581
|
+
| Grok Bot | `shell.run` if present, then in agent | `unknown` |
|
|
582
|
+
| Codex | `shell.run` on `scripts/copy-check.mjs`, then in agent | `expected` |
|
|
583
|
+
| Antigravity | `shell.run` on `scripts/copy-check.mjs`, then in agent | `expected` |
|
|
584
|
+
|
|
585
|
+
**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 the copy goes out unchecked.
|
|
586
|
+
|
|
587
|
+
One interface, used verbatim at every call site:
|
|
588
|
+
|
|
589
|
+
```
|
|
590
|
+
node "«SALES_ROOT»/scripts/copy-check.mjs" --file <path> --dest <destination> [--json]
|
|
591
|
+
```
|
|
592
|
+
|
|
593
|
+
`--dest` is one of `email`, `dm`, `form`, `strategy`, `dashboard`, `plain`. `--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.**
|
|
594
|
+
|
|
595
|
+
### `schedule.register`
|
|
596
|
+
Register, inspect, or change a recurring job named after a routine id.
|
|
597
|
+
|
|
598
|
+
| Harness | Route | Confidence |
|
|
599
|
+
|---|---|---|
|
|
600
|
+
| Claude Code | Its own scheduler | `confirmed` |
|
|
601
|
+
| OpenClaw | Its built in cron, `openclaw automations create`, through `shell.run` | `expected` |
|
|
602
|
+
| Hermes | Its built in cron | `expected` |
|
|
603
|
+
| OpenCode | Not available in the harness. The operating system's scheduler | `expected` |
|
|
604
|
+
| Grok Bot | Its recurring tasks, on its own cloud computer | `expected` |
|
|
605
|
+
| Codex | Its scheduled runs | `expected` |
|
|
606
|
+
| Antigravity | Its `agy` job runner, through `shell.run` | `expected` |
|
|
607
|
+
| Pi | Not available in the harness. The operating system's scheduler | `expected` |
|
|
608
|
+
| Cline | Its built in cron, `cline schedule create`, through `shell.run` | `expected` |
|
|
609
|
+
| Qwen Code | Its built in scheduled tasks | `expected` |
|
|
610
|
+
| DeepSeek | Its scheduling plugin | `expected` |
|
|
611
|
+
|
|
612
|
+
**Absent all routes:** write the exact commands to `«SALES_ROOT»/schedule-commands.txt` and name that file in the brief. You run them yourself, once, and the kit is scheduled.
|
|
613
|
+
|
|
614
|
+
**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.**
|
|
615
|
+
|
|
616
|
+
---
|
|
617
|
+
|
|
618
|
+
## 7. What you lose with no browser at all
|
|
619
|
+
|
|
620
|
+
The honest headline first.
|
|
621
|
+
|
|
622
|
+
**The morning brief never needs a browser. Neither does the follow up queue, and neither does any number on the Friday review.** On a machine with no browser control at all, you still get a plan every morning, a queue of follow ups to send, a reconciled pipeline, and a verdict every Friday.
|
|
623
|
+
|
|
624
|
+
**What you lose is the sourcing that feeds the queue, and every mailbox draft.** The sweep reads directories, community pages, and your own saved searches, and a good share of those sit behind your login. Without a browser it falls back to `web.fetch` on public pages, which is real but narrower. Left alone long enough, the queue runs dry, because there is nobody new in it. And the drafts stay in the queue file rather than landing in your Drafts folder, so sending them is copy and paste rather than one click.
|
|
625
|
+
|
|
626
|
+
There is a straightforward answer if that is your situation: paste your own leads into `crm/contacts.csv`, above the marker line. Rows above that marker are yours. The kit reads them, never writes them, and the rest of the loop works exactly as designed. You do the finding, it does the qualifying it can, the drafting, the deduping, the cadence, and the tracking.
|
|
627
|
+
|
|
628
|
+
**The one thing no workaround recovers is the reply search.** `sales-followup-sweep` reads replies out of your own mailbox, and there is no public route to a private inbox. Without a browser it derives who is due and writes the follow up queue, but it cannot tell you who already answered. Record replies yourself by writing a `replied` line into `crm/contacted.jsonl`, or accept that a follow up may go to somebody who wrote back. **That is the single strongest reason to give this Employee a browser that carries your own session.**
|
|
629
|
+
|
|
630
|
+
| Routine | With browser control | With none | Recorded |
|
|
631
|
+
|---|---|---|---|
|
|
632
|
+
| `sales-prospect-sweep` | Reads your sources and your saved searches, captures contactable people with their evidence | Public pages only through `web.fetch`. Nothing behind your login | `partial`, or `failed` if it captured nothing |
|
|
633
|
+
| `sales-desk-standup` | Never uses one | Identical. Full function, brief and all | `ok` |
|
|
634
|
+
| `sales-first-touch-drafts` | Queue file plus an unsent draft in your own mailbox | The queue file, which is the whole deliverable minus one click | `partial` |
|
|
635
|
+
| `sales-followup-sweep` | Reads replies, records them, then drafts what is due | Derives what is due and writes the queue file. **No reply search** | `partial` |
|
|
636
|
+
| `sales-pipeline-review` | Full review plus the Friday flow replay | Full review. No replay, so a drifted flow goes unnoticed until a routine hits it | `partial` |
|
|
637
|
+
| `sales-desk-setup` | Researches your business, falls back to the browser where fetch returns nothing | Research narrows to what `web.fetch` reaches. Strategy folder still written, jobs still registered | `ok` or `partial` |
|
|
638
|
+
| `sales-qualification-refresh` | Re-checks a gathering place and verifies a rebuilt search URL | Runs on ledger evidence, which is files. Both rewrites still happen | `ok` or `partial` |
|
|
639
|
+
|
|
640
|
+
Six of the seven produce their main deliverable with no browser at all. That is most of the product, not a consolation prize. But do not buy this expecting the sweep or the reply search to work without one, because they will not, and it is better to know that now.
|
|
641
|
+
|
|
642
|
+
---
|
|
643
|
+
|
|
644
|
+
## 8. Optional named helpers
|
|
645
|
+
|
|
646
|
+
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.
|
|
647
|
+
|
|
648
|
+
**It detects. It uses. It degrades. It never installs.**
|
|
649
|
+
|
|
650
|
+
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.
|
|
651
|
+
|
|
652
|
+
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 when you decide to, and nothing here reaches into that decision.
|
|
653
|
+
|
|
654
|
+
Self repair means the same thing, and so does self reliance. When a routine 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 and that flow stops matching, 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 `«SALES_ROOT»`. It is never a new helper installed somewhere global, and it is never a silent change: it goes in the run record as one line naming the flow or the step.
|
|
655
|
+
|
|
656
|
+
**These routines are scheduled work and they never belong in a global skills directory.** Registering them there loads all seven into every session you open and lets one be invoked outside its window, where it does nothing but record `skipped-out-of-window` and exit. On Claude Code specifically, scheduled tasks and global skills are different directories, and these belong in the first.
|
|
657
|
+
|
|
658
|
+
---
|
|
659
|
+
|
|
660
|
+
## 9. The scheduling layer
|
|
661
|
+
|
|
662
|
+
Every harness schedules differently and some do not schedule at all. The shape below is the same everywhere. Only the mechanism changes.
|
|
663
|
+
|
|
664
|
+
### 9.1 The shape
|
|
665
|
+
|
|
666
|
+
**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.
|
|
667
|
+
|
|
668
|
+
**The job's only content is the invocation.** All the logic is in the routine. If your scheduler grows a shell script with business rules in it, the rules now live in two places and they will disagree, and you will find out which one is wrong on the day it matters.
|
|
669
|
+
|
|
670
|
+
**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.
|
|
671
|
+
|
|
672
|
+
**Name every job exactly after its routine id.** All seven ids carry the `sales-` 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.
|
|
673
|
+
|
|
674
|
+
**Point every job at `«SALES_ROOT»/routines/` as the routine source.** Never at a copy of a routine folder somewhere else. Every routine ends with a `## Corrections` section you write into and the routine reads at the top of every run, and with two copies you write into one and it reads from the other.
|
|
675
|
+
|
|
676
|
+
**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.
|
|
677
|
+
|
|
678
|
+
The shipped default week:
|
|
679
|
+
|
|
680
|
+
```
|
|
681
|
+
Every weekday
|
|
682
|
+
06:45 sales-prospect-sweep
|
|
683
|
+
07:30 sales-desk-standup
|
|
684
|
+
08:15 sales-first-touch-drafts
|
|
685
|
+
13:30 sales-followup-sweep
|
|
686
|
+
|
|
687
|
+
Friday adds 16:00 sales-pipeline-review
|
|
688
|
+
First weekday adds 11:00 sales-desk-setup
|
|
689
|
+
Last weekday adds 11:30 sales-qualification-refresh
|
|
690
|
+
```
|
|
691
|
+
|
|
692
|
+
No two share a fire minute, including the one that never touches a browser. Hosts flush queued jobs in bursts, and two agent sessions starting in the same second compete for the same files.
|
|
693
|
+
|
|
694
|
+
**The morning order is load bearing.** Sweep, then standup, then drafting. The sweep goes first because everything downstream reads what it captured. The standup goes second so the plan is on your screen before the copy lands. The drafting routine goes third, while you are still reading the brief. The follow up sweep belongs in the afternoon, because a reply arrives during the working day and reading it before drafting is the whole reason that routine has two halves.
|
|
695
|
+
|
|
696
|
+
### 9.2 The mechanism, per harness
|
|
697
|
+
|
|
698
|
+
| Harness | Mechanism | Confidence |
|
|
699
|
+
|---|---|---|
|
|
700
|
+
| **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` |
|
|
701
|
+
| **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` |
|
|
702
|
+
| **OpenClaw** | Built in cron: `openclaw automations create "<cron>" "<message>" --name <id> --session isolated`, one per routine, with the timezone flag | `expected` |
|
|
703
|
+
| **Hermes** | Built in cron, one job per routine, each handed that routine's `SKILL.md` as the prompt | `expected` |
|
|
704
|
+
| **OpenCode** | None of its own. Use the operating system's scheduler below | `expected` |
|
|
705
|
+
| **Grok Bot** | Its bots run on a schedule from their own cloud computer: one recurring task per routine | `expected` |
|
|
706
|
+
| **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 |
|
|
707
|
+
| **Antigravity** | The `agy` job runner, one job per routine, pointed at the routine folder | `expected` |
|
|
708
|
+
| **Pi** | None of its own. Use the operating system's scheduler below | `expected` |
|
|
709
|
+
| **Cline** | Built in cron: `cline schedule create "<prompt>" --cron "<cron>"`, one per routine, auto approve on | `expected` |
|
|
710
|
+
| **Qwen Code** | Built in scheduled tasks, one per routine, or the operating system's scheduler below | `expected` |
|
|
711
|
+
| **DeepSeek** | Its scheduling plugin, one run per routine | `expected` |
|
|
712
|
+
|
|
713
|
+
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.
|
|
714
|
+
|
|
715
|
+
Throughout, `«RUN sales-prospect-sweep»` 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.
|
|
716
|
+
|
|
717
|
+
### 9.2a What `«RUN <routine-id>»` expands to
|
|
718
|
+
|
|
719
|
+
This is the string every scheduled job in this kit is built from, so it gets a worked example rather than a description.
|
|
720
|
+
|
|
721
|
+
**`«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.
|
|
722
|
+
|
|
723
|
+
Two shapes cover every harness.
|
|
724
|
+
|
|
725
|
+
**Shape A, where the harness discovers routines from a directory.** The invocation names the routine id and the harness finds the folder itself:
|
|
726
|
+
|
|
727
|
+
```
|
|
728
|
+
<headless run command> "Run sales-prospect-sweep"
|
|
729
|
+
```
|
|
730
|
+
|
|
731
|
+
**Shape B, where it does not.** The invocation hands the routine file to the harness as the run prompt:
|
|
732
|
+
|
|
733
|
+
```
|
|
734
|
+
<headless run command> "Read «SALES_ROOT»/routines/sales-prospect-sweep/SKILL.md and follow it."
|
|
735
|
+
```
|
|
736
|
+
|
|
737
|
+
**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.
|
|
738
|
+
|
|
739
|
+
| Harness | The headless run command | Confidence |
|
|
740
|
+
|---|---|---|
|
|
741
|
+
| **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 «SALES_ROOT»/routines/<routine-id>/SKILL.md and follow it.`, working folder `«SALES_ROOT»`, permission mode set per task. Shape B | `confirmed` |
|
|
742
|
+
| **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 |
|
|
743
|
+
| **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` |
|
|
744
|
+
| **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` |
|
|
745
|
+
| **OpenCode** | `opencode run "<prompt>"` is its non interactive form. Confirm it against `opencode --help` on your version. Shape B | `expected` |
|
|
746
|
+
| **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` |
|
|
747
|
+
| **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` |
|
|
748
|
+
| **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` |
|
|
749
|
+
| **Pi** | `pi -p "<prompt>"`. Confirm the print flag against `pi --help` on your version. Shape B | `expected` |
|
|
750
|
+
| **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` |
|
|
751
|
+
| **Qwen Code** | `qwen -p "<prompt>"`. Confirm the print flag against `qwen --help` on your version. Shape B | `expected` |
|
|
752
|
+
| **DeepSeek** | `dsh` runs a local server; confirm the headless prompt form against `dsh --help` on your version. Shape B | `expected` |
|
|
753
|
+
|
|
754
|
+
Three things decide whether the line works, and all three are outside the command itself.
|
|
755
|
+
|
|
756
|
+
**The working directory.** The run has to start in `«SALES_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. Use whichever yours has.
|
|
757
|
+
|
|
758
|
+
**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.
|
|
759
|
+
|
|
760
|
+
**One routine run by hand, first.** Take the line for `sales-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.
|
|
761
|
+
|
|
762
|
+
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. That is the line the next reader needs and the one this table could not give them.
|
|
763
|
+
|
|
764
|
+
### 9.2b Scheduled readiness is a scheduled fire
|
|
765
|
+
|
|
766
|
+
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.
|
|
767
|
+
|
|
768
|
+
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.
|
|
769
|
+
|
|
770
|
+
**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.
|
|
771
|
+
|
|
772
|
+
### 9.3 cron, on macOS or Linux
|
|
773
|
+
|
|
774
|
+
```
|
|
775
|
+
45 6 * * 1-5 «RUN sales-prospect-sweep»
|
|
776
|
+
30 7 * * 1-5 «RUN sales-desk-standup»
|
|
777
|
+
15 8 * * 1-5 «RUN sales-first-touch-drafts»
|
|
778
|
+
30 13 * * 1-5 «RUN sales-followup-sweep»
|
|
779
|
+
0 16 * * 5 «RUN sales-pipeline-review»
|
|
780
|
+
0 11 1-7 * * «RUN sales-desk-setup»
|
|
781
|
+
30 11 25-31 * * «RUN sales-qualification-refresh»
|
|
782
|
+
```
|
|
783
|
+
|
|
784
|
+
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`.
|
|
785
|
+
|
|
786
|
+
**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 11 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.
|
|
787
|
+
|
|
788
|
+
`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. The routine's `days: last-weekday` check and the monthly key reduce the burst to one run.
|
|
789
|
+
|
|
790
|
+
**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.
|
|
791
|
+
|
|
792
|
+
### 9.4 Windows Task Scheduler
|
|
793
|
+
|
|
794
|
+
```
|
|
795
|
+
schtasks /Create /TN "sales-prospect-sweep" /SC WEEKLY /D MON,TUE,WED,THU,FRI /ST 06:45 /TR "«SALES_ROOT»\run\sales-prospect-sweep.cmd"
|
|
796
|
+
schtasks /Create /TN "sales-desk-standup" /SC WEEKLY /D MON,TUE,WED,THU,FRI /ST 07:30 /TR "«SALES_ROOT»\run\sales-desk-standup.cmd"
|
|
797
|
+
schtasks /Create /TN "sales-first-touch-drafts" /SC WEEKLY /D MON,TUE,WED,THU,FRI /ST 08:15 /TR "«SALES_ROOT»\run\sales-first-touch-drafts.cmd"
|
|
798
|
+
schtasks /Create /TN "sales-followup-sweep" /SC WEEKLY /D MON,TUE,WED,THU,FRI /ST 13:30 /TR "«SALES_ROOT»\run\sales-followup-sweep.cmd"
|
|
799
|
+
schtasks /Create /TN "sales-pipeline-review" /SC WEEKLY /D FRI /ST 16:00 /TR "«SALES_ROOT»\run\sales-pipeline-review.cmd"
|
|
800
|
+
schtasks /Create /TN "sales-desk-setup" /SC MONTHLY /MO FIRST /D MON,TUE,WED,THU,FRI /ST 11:00 /TR "«SALES_ROOT»\run\sales-desk-setup.cmd"
|
|
801
|
+
schtasks /Create /TN "sales-qualification-refresh" /SC MONTHLY /MO LAST /D MON,TUE,WED,THU,FRI /ST 11:30 /TR "«SALES_ROOT»\run\sales-qualification-refresh.cmd"
|
|
802
|
+
```
|
|
803
|
+
|
|
804
|
+
**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 `«SALES_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.
|
|
805
|
+
|
|
806
|
+
```
|
|
807
|
+
:: «SALES_ROOT»\run\sales-desk-standup.cmd
|
|
808
|
+
@echo off
|
|
809
|
+
cd /d "«SALES_ROOT»"
|
|
810
|
+
"%USERPROFILE%\.local\bin\claude.exe" -p "Read «SALES_ROOT»/routines/sales-desk-standup/SKILL.md and follow it." --permission-mode acceptEdits --output-format json < nul > "«SALES_ROOT»\run\sales-desk-standup.last.json"
|
|
811
|
+
if errorlevel 1 node "«SALES_ROOT»\scripts\runlog.mjs" --failed-run sales-desk-standup --exit-code %errorlevel%
|
|
812
|
+
```
|
|
813
|
+
|
|
814
|
+
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 `«SALES_ROOT»`, and check the path.
|
|
815
|
+
|
|
816
|
+
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.
|
|
817
|
+
|
|
818
|
+
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.
|
|
819
|
+
|
|
820
|
+
### 9.5 Machines that sleep
|
|
821
|
+
|
|
822
|
+
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.
|
|
823
|
+
|
|
824
|
+
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". **In a drafting routine a duplicate fire would be a second message to a person who already has one sitting in Drafts**, so those two guards are doing more here than bookkeeping.
|
|
825
|
+
|
|
826
|
+
Set the earliest fire in your table after the time the machine is normally awake. If your machine wakes at 08:00, a 06:45 fire always arrives as a catch up. That works, and it always lands after the standup, so your brief is permanently one run behind the sweep that was supposed to feed it.
|
|
827
|
+
|
|
828
|
+
### 9.6 When nothing can register the schedule
|
|
829
|
+
|
|
830
|
+
The kit still runs when you launch it by hand. Nothing about a routine's behaviour changes based on who started it.
|
|
831
|
+
|
|
832
|
+
When no route can register a job, `sales-desk-setup` writes every command it would have run into `«SALES_ROOT»/schedule-commands.txt` and names that file in its report and in the brief. Run them yourself once and you are scheduled. That is the whole recovery path.
|
|
833
|
+
|
|
834
|
+
**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 brief in one line, and points you at 9.2a. One string for you to fill in, in one place, beats seven jobs registered on a guess.
|
|
835
|
+
|
|
836
|
+
**It writes every command, including the ones that did register**, so the file is a complete recovery path rather than a partial one.
|
|
837
|
+
|
|
838
|
+
### 9.7 Drift
|
|
839
|
+
|
|
840
|
+
`sales-desk-setup` 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`.
|
|
841
|
+
|
|
842
|
+
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.**
|
|
843
|
+
|
|
844
|
+
It also names any routine with no run record at all in the last fourteen days, because **a routine that hangs waiting for a permission prompt looks exactly like a routine whose job was never registered.** Section 10 is the difference.
|
|
845
|
+
|
|
846
|
+
---
|
|
847
|
+
|
|
848
|
+
## 10. Scheduled runs get no permission prompt
|
|
849
|
+
|
|
850
|
+
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.
|
|
851
|
+
|
|
852
|
+
**A routine launched in a prompting mode stalls forever waiting for a human who is asleep.** At 06:45 the sweep 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.
|
|
853
|
+
|
|
854
|
+
**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.
|
|
855
|
+
|
|
856
|
+
Two practical points on top of that.
|
|
857
|
+
|
|
858
|
+
**Scope it where scoping is supported.** Give the auto approve setting the narrowest scope your harness allows, ideally `«SALES_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.
|
|
859
|
+
|
|
860
|
+
**A prompt can come from below the harness too.** A private network permission prompt, a browser profile chooser, or an operating system keychain dialog is a browser or system prompt rather than 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.
|
|
861
|
+
|
|
862
|
+
### Why this does not weaken anything
|
|
863
|
+
|
|
864
|
+
It is a fair thing to be uneasy about, so here is the direct answer.
|
|
865
|
+
|
|
866
|
+
**The prompt gate was never the guardrail.** The guardrails live in `CONTRACT.md` section 7 and the routines that read it, held unless the member releases a channel in `RELEASES.md`, and a release and the permission both have to say yes before anything goes out. Shipped, the Employee never clicks Send, never presses the send key combination, never opens a composer on LinkedIn, never replies to a thread it opened, never clicks a final Submit or Publish control, never enters a credential, and spends only where you released it. There is no code path where an approval prompt is the last thing standing between a draft and a stranger's inbox. Turning off the prompt removes a question about opening a tab and writing a file. **It does not add a capability.**
|
|
867
|
+
|
|
868
|
+
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 in the mailbox replied to, forwarded, archived, labelled, moved, or deleted, 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.
|
|
869
|
+
|
|
870
|
+
**And one control sits outside the machine entirely: the veto window.** Every draft this kit writes lands unsent, and the brief tells you how many are waiting every single morning. You press Send. That is the last gate and it is the one that matters.
|
|
871
|
+
|
|
872
|
+
**If your harness cannot run without interactive approval, do not schedule the browser routines.** Run them by hand, when you are at the machine. `sales-desk-standup` schedules fine and you still get the brief, the pipeline, and the veto line, and `sales-pipeline-review` still produces the whole Friday scoreboard. That is an honest limitation of the pairing, not something to work around with a longer timeout.
|
|
873
|
+
|
|
874
|
+
---
|
|
875
|
+
|
|
876
|
+
## Corrections
|
|
877
|
+
|
|
878
|
+
Format: one line per correction, newest at the top, `YYYY-MM-DD: what was wrong, what to do instead.`
|
|
879
|
+
|
|
880
|
+
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.
|