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,910 @@
|
|
|
1
|
+
# Customer Satisfaction 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 I have run this kit on one of them. Everything else is marked for what it is. A row that says `unknown` is worth more to you than a row that says yes and is wrong at 06:45 on a Tuesday when nobody is awake to notice.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## 1. How to check what your harness supports
|
|
16
|
+
|
|
17
|
+
### 1.1 The four checks that decide everything
|
|
18
|
+
|
|
19
|
+
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.
|
|
20
|
+
|
|
21
|
+
**1. Can it read and write files in `«CSAT_ROOT»`?**
|
|
22
|
+
Ask it to write a file called `state/probe.txt` and read it back. If your harness sandboxes file access, `«CSAT_ROOT»` has to be inside the allowed set, and a sandbox usually fails quietly rather than loudly. Also confirm `«CSAT_ROOT»` is a local path that is not inside OneDrive, Dropbox, Google Drive, or iCloud. The routines write state and a run log mid run, and a sync client corrupts exactly the file that tells tomorrow's run what already happened.
|
|
23
|
+
|
|
24
|
+
**There is a second reason that matters more here than in a sibling kit.** This folder fills up with customer names, their own words, order references, billing states, and a list of accounts about to leave. Put it on a local disk in a folder you control, not on a shared drive somebody else's laptop syncs.
|
|
25
|
+
|
|
26
|
+
**2. Can it read the machine clock and the timezone id?**
|
|
27
|
+
Ask it for the current local time and the timezone id, then check both against your own clock. Every routine's first act after the pause 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.
|
|
28
|
+
|
|
29
|
+
**3. Can it run a local command?**
|
|
30
|
+
Ask it to run `node --version`. You need Node 18 or newer for the two scripts inside the kit, `scripts/runlog.mjs` and `scripts/copy-check.mjs`. Both are dependency free. There is no install step and no package file.
|
|
31
|
+
|
|
32
|
+
**4. Can it drive a browser that carries your own logged in sessions?**
|
|
33
|
+
This is the one people get wrong, and it is the difference between a support desk that reads your inbox every morning and one that stares at a login page.
|
|
34
|
+
|
|
35
|
+
The kit never logs in. It never creates an account, never types a password, never completes a captcha. It inherits a browser you are already signed in to. So a harness that launches a clean automated browser for you has given you a browser with no session, and every read of your own mailbox, helpdesk, or billing screens lands on a sign in wall. The routine will do the correct thing, which is to record `blocked-login`, change nothing, and tell you. It will do that every single day.
|
|
36
|
+
|
|
37
|
+
Ask your harness this exact question: **does your browser control attach to the browser profile I am already signed in to, or does it start a fresh one?** If the answer is fresh, either point it at your profile, or accept that the sweep reads public review and forum surfaces only and plan around section 7.
|
|
38
|
+
|
|
39
|
+
### 1.2 The probe
|
|
40
|
+
|
|
41
|
+
Paste this into your agent, in `«CSAT_ROOT»`, once, before you register anything.
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
Read CAPABILITIES.md in this folder.
|
|
45
|
+
|
|
46
|
+
For each of the 22 capabilities in sections 3, 4, 4a, 5 and 6, tell me three things:
|
|
47
|
+
1. can you do this right now, on this machine
|
|
48
|
+
2. with what, named exactly as your harness names it
|
|
49
|
+
3. if you cannot, what would I have to install or turn on
|
|
50
|
+
|
|
51
|
+
Rules for your answer:
|
|
52
|
+
Try the cheap ones rather than reasoning about them. Reading the clock,
|
|
53
|
+
listing a folder, and fetching one public URL are all cheap.
|
|
54
|
+
For the browser, confirm whether you attach to my signed in profile
|
|
55
|
+
or start a clean one. Say which.
|
|
56
|
+
Where you do not know, write "unknown". Never guess and never assume
|
|
57
|
+
a capability exists because it usually does.
|
|
58
|
+
Change no files. Send nothing. Open no account. Open no ticket.
|
|
59
|
+
|
|
60
|
+
Give me one table and nothing else.
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
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.
|
|
64
|
+
|
|
65
|
+
### 1.3 What the confidence column means
|
|
66
|
+
|
|
67
|
+
| Value | Means |
|
|
68
|
+
|---|---|
|
|
69
|
+
| `confirmed` | Verified working. Claude Code is the harness this kit was built and run on, so it is the only column where this appears |
|
|
70
|
+
| `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 |
|
|
71
|
+
| `unknown` | I could not confirm anything about this. Probe it before you rely on it. Do not read a blank as a no, and do not read it as a yes |
|
|
72
|
+
|
|
73
|
+
### 1.4 Probe live, never cache
|
|
74
|
+
|
|
75
|
+
Capability detection happens at the top of every run, every time. No routine stores a capability result and reuses it tomorrow.
|
|
76
|
+
|
|
77
|
+
The reason is the failure it prevents. You connect a browser on Thursday. A routine that cached Wednesday's answer keeps writing file only output for a month and records a blocker you already fixed. Cheap check, expensive cache.
|
|
78
|
+
|
|
79
|
+
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.
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
## 2. The eleven harnesses, honestly
|
|
84
|
+
|
|
85
|
+
One row each. The browser column is the one that changes how much of the kit runs.
|
|
86
|
+
|
|
87
|
+
| Harness | Files and shell | Browser control | Your signed in session | Scheduler | Confidence overall |
|
|
88
|
+
|---|---|---|---|---|---|
|
|
89
|
+
| **Claude Code** | Built in | Chrome extension bridge | Yes, attaches to your Chrome | Desktop app: built in. CLI: none, use the operating system's | `confirmed` |
|
|
90
|
+
| **OpenClaw** | Expected, core to it | Unconfirmed. Probe | Probe this specifically | Built in cron, `openclaw automations create` | `expected` on files, `unknown` on browser |
|
|
91
|
+
| **Hermes** | Expected | Probe | Probe this specifically | Built in cron | `expected` on files, `unknown` on browser |
|
|
92
|
+
| **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 |
|
|
93
|
+
| **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 |
|
|
94
|
+
| **Codex** | Expected, core to it | Add a browser automation server | Depends on that server's config | Scheduled runs | `expected` on files |
|
|
95
|
+
| **Antigravity** | Expected, core to it | Part of the product | Probe this specifically | The `agy` job runner | `expected` |
|
|
96
|
+
| **Pi** | Expected, core to it | Probe | Probe this specifically | None of its own, use the operating system's | `expected` on files |
|
|
97
|
+
| **Cline** | Expected, core to it | Probe | Probe this specifically | Built in cron, `cline schedule create` | `expected` on files |
|
|
98
|
+
| **Qwen Code** | Expected, core to it | Probe | Probe this specifically | Built in scheduled tasks, or the operating system's | `expected` on files |
|
|
99
|
+
| **DeepSeek** | Expected, core to it | Part of the product | Probe this specifically | Its scheduling plugin | `expected` on files |
|
|
100
|
+
|
|
101
|
+
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.
|
|
102
|
+
|
|
103
|
+
**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.
|
|
104
|
+
|
|
105
|
+
**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.
|
|
106
|
+
|
|
107
|
+
**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.
|
|
108
|
+
|
|
109
|
+
**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.
|
|
110
|
+
|
|
111
|
+
**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.
|
|
112
|
+
|
|
113
|
+
**Codex.** OpenAI's coding agent. Files and commands are core. The specific thing to check here is the sandbox: confirm it can write inside `«CSAT_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.
|
|
114
|
+
|
|
115
|
+
**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 mailbox, your helpdesk, and your billing screens are readable or not. Schedule with the `agy` job runner, one job per routine, pointed at the routine folder.
|
|
116
|
+
|
|
117
|
+
**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 «CSAT_ROOT» as the working directory. Confirm the print flag against `pi --help`, then settle the browser question with the probe in 1.2.
|
|
118
|
+
|
|
119
|
+
**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 «CSAT_ROOT», then probe the browser.
|
|
120
|
+
|
|
121
|
+
**Qwen Code.** Reads the skill format and ships scheduled tasks. Files and shell are core; confirm it can write inside «CSAT_ROOT» and reach the network. Probe the browser before you rely on a browser routine.
|
|
122
|
+
|
|
123
|
+
**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.
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## 3. Environment and files
|
|
128
|
+
|
|
129
|
+
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.
|
|
130
|
+
|
|
131
|
+
### `clock.local`
|
|
132
|
+
Read the machine timezone id and the local wall clock time.
|
|
133
|
+
|
|
134
|
+
| Harness | Route | Confidence |
|
|
135
|
+
|---|---|---|
|
|
136
|
+
| Claude Code | Its own clock, or a shell command | `confirmed` |
|
|
137
|
+
| OpenClaw | Its own clock, or a shell command | `expected` |
|
|
138
|
+
| Hermes | Unknown. A shell command is the fallback if it has one | `unknown` |
|
|
139
|
+
| OpenCode | Its own clock, or a shell command | `expected` |
|
|
140
|
+
| Grok Bot | Unknown. A shell command is the fallback if it has one | `unknown` |
|
|
141
|
+
| Codex | Its own clock, or a shell command | `expected` |
|
|
142
|
+
| Antigravity | Its own clock, or a shell command | `expected` |
|
|
143
|
+
|
|
144
|
+
**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.
|
|
145
|
+
|
|
146
|
+
### `file.read`
|
|
147
|
+
Read a file as text.
|
|
148
|
+
|
|
149
|
+
| Harness | Route | Confidence |
|
|
150
|
+
|---|---|---|
|
|
151
|
+
| Claude Code | Its file read, or a shell command | `confirmed` |
|
|
152
|
+
| OpenClaw | Its file read, or a shell command | `expected` |
|
|
153
|
+
| Hermes | Unknown | `unknown` |
|
|
154
|
+
| OpenCode | Its file read, or a shell command | `expected` |
|
|
155
|
+
| Grok Bot | Unknown | `unknown` |
|
|
156
|
+
| Codex | Its file read. Confirm the sandbox includes `«CSAT_ROOT»` | `expected` |
|
|
157
|
+
| Antigravity | Its file read, or a shell command | `expected` |
|
|
158
|
+
|
|
159
|
+
**Absent:** the kit does not run. Nothing else in this file matters.
|
|
160
|
+
|
|
161
|
+
### `file.write`
|
|
162
|
+
Write a file. Anything a crash could truncate is written to a temp path and renamed over the original.
|
|
163
|
+
|
|
164
|
+
| Harness | Route | Confidence |
|
|
165
|
+
|---|---|---|
|
|
166
|
+
| Claude Code | Its file write, or a shell command | `confirmed` |
|
|
167
|
+
| OpenClaw | Its file write, or a shell command | `expected` |
|
|
168
|
+
| Hermes | Unknown | `unknown` |
|
|
169
|
+
| OpenCode | Its file write, or a shell command | `expected` |
|
|
170
|
+
| Grok Bot | Unknown | `unknown` |
|
|
171
|
+
| Codex | Its file write. Confirm the sandbox allows writes, not just reads | `expected` |
|
|
172
|
+
| Antigravity | Its file write, or a shell command | `expected` |
|
|
173
|
+
|
|
174
|
+
**Absent:** the kit does not run.
|
|
175
|
+
|
|
176
|
+
**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.
|
|
177
|
+
|
|
178
|
+
### `file.list`
|
|
179
|
+
List paths under a folder.
|
|
180
|
+
|
|
181
|
+
| Harness | Route | Confidence |
|
|
182
|
+
|---|---|---|
|
|
183
|
+
| Claude Code | Its glob or search | `confirmed` |
|
|
184
|
+
| OpenClaw | Its glob, or a shell command | `expected` |
|
|
185
|
+
| Hermes | Unknown | `unknown` |
|
|
186
|
+
| OpenCode | Its glob, or a shell command | `expected` |
|
|
187
|
+
| Grok Bot | Unknown | `unknown` |
|
|
188
|
+
| Codex | Its glob, or a shell command | `expected` |
|
|
189
|
+
| Antigravity | Its glob, or a shell command | `expected` |
|
|
190
|
+
|
|
191
|
+
**Absent:** the routine enumerates from the known paths in the contract's file map and notes the degradation in its run record. This works, and it misses a queue file or a dossier you added by hand that the map does not know about.
|
|
192
|
+
|
|
193
|
+
### `shell.run`
|
|
194
|
+
Run a local command and read its output.
|
|
195
|
+
|
|
196
|
+
| Harness | Route | Confidence |
|
|
197
|
+
|---|---|---|
|
|
198
|
+
| Claude Code | Its shell | `confirmed` |
|
|
199
|
+
| OpenClaw | Its shell | `expected` |
|
|
200
|
+
| Hermes | Unknown | `unknown` |
|
|
201
|
+
| OpenCode | Its shell | `expected` |
|
|
202
|
+
| Grok Bot | Unknown | `unknown` |
|
|
203
|
+
| Codex | Its shell, inside the sandbox | `expected` |
|
|
204
|
+
| Antigravity | Its shell | `expected` |
|
|
205
|
+
|
|
206
|
+
**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.
|
|
207
|
+
|
|
208
|
+
---
|
|
209
|
+
|
|
210
|
+
## 4. Browser
|
|
211
|
+
|
|
212
|
+
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.
|
|
213
|
+
|
|
214
|
+
**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 seven routines, and it never stops the morning brief. Section 7 has the routine by routine detail.
|
|
215
|
+
|
|
216
|
+
**There is no separate 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.
|
|
217
|
+
|
|
218
|
+
### `browser.session`
|
|
219
|
+
Confirm browser control is attached to a browser holding your own logged in session.
|
|
220
|
+
|
|
221
|
+
| Harness | Route | Confidence |
|
|
222
|
+
|---|---|---|
|
|
223
|
+
| Claude Code | The Chrome extension bridge, attached to your own Chrome | `confirmed` |
|
|
224
|
+
| OpenClaw | Its own browser control if it has one, otherwise a browser automation server | `unknown` |
|
|
225
|
+
| Hermes | Unknown. Probe before relying on any browser routine | `unknown` |
|
|
226
|
+
| OpenCode | A browser automation server added to the harness | `expected` |
|
|
227
|
+
| Grok Bot | Unknown. Probe before relying on any browser routine | `unknown` |
|
|
228
|
+
| Codex | A browser automation server added to the harness | `expected` |
|
|
229
|
+
| Antigravity | Its built in browser control. Confirm it drives your signed in profile | `expected` |
|
|
230
|
+
|
|
231
|
+
**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 login pages is not five units of work.
|
|
232
|
+
|
|
233
|
+
**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 matters most in one place: the helpdesk composer, where a blind retry means a second draft, or worse a second reply, on a ticket that already has one. So the routine re-reads the page before deciding anything, on every harness. What differs is how often you meet it.
|
|
234
|
+
|
|
235
|
+
| Harness | The transport, and what it does on a failed call |
|
|
236
|
+
|---|---|
|
|
237
|
+
| 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 |
|
|
238
|
+
| OpenClaw | Unknown |
|
|
239
|
+
| Hermes | Unknown |
|
|
240
|
+
| 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 |
|
|
241
|
+
| Grok Bot | Unknown |
|
|
242
|
+
| Codex | As OpenCode |
|
|
243
|
+
| Antigravity | Unknown |
|
|
244
|
+
|
|
245
|
+
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 reply a customer has already read cannot be taken back.
|
|
246
|
+
|
|
247
|
+
### `browser.tab.open` and `browser.tab.close`
|
|
248
|
+
Create a tab for this run and close it at the end.
|
|
249
|
+
|
|
250
|
+
| Harness | Route | Confidence |
|
|
251
|
+
|---|---|---|
|
|
252
|
+
| Claude Code | Its tab management | `confirmed` |
|
|
253
|
+
| OpenClaw | Its browser control, if present | `unknown` |
|
|
254
|
+
| Hermes | Unknown | `unknown` |
|
|
255
|
+
| OpenCode | The browser automation server's page or context handling | `expected` |
|
|
256
|
+
| Grok Bot | Unknown | `unknown` |
|
|
257
|
+
| Codex | The browser automation server's page or context handling | `expected` |
|
|
258
|
+
| Antigravity | Its browser control | `expected` |
|
|
259
|
+
|
|
260
|
+
**Tab hygiene, on every harness.** Create your own tab, close it when you are done, and never touch a tab you did not open. **This Employee has no exception to that rule**, because nothing it produces is a filled form left open: every deliverable is a file on disk. A tab left open by one of these routines is a defect.
|
|
261
|
+
|
|
262
|
+
### `browser.navigate`
|
|
263
|
+
Go to a URL.
|
|
264
|
+
|
|
265
|
+
| Harness | Route | Confidence |
|
|
266
|
+
|---|---|---|
|
|
267
|
+
| Claude Code | Its navigate | `confirmed` |
|
|
268
|
+
| OpenClaw | Its browser control, if present | `unknown` |
|
|
269
|
+
| Hermes | Unknown | `unknown` |
|
|
270
|
+
| OpenCode | The browser automation server's navigation | `expected` |
|
|
271
|
+
| Grok Bot | Unknown | `unknown` |
|
|
272
|
+
| Codex | The browser automation server's navigation | `expected` |
|
|
273
|
+
| Antigravity | Its browser control | `expected` |
|
|
274
|
+
|
|
275
|
+
**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.
|
|
276
|
+
|
|
277
|
+
### `page.read`
|
|
278
|
+
Read the page as a structured tree where each interactive element carries a stable reference you can act on.
|
|
279
|
+
|
|
280
|
+
| Harness | Route | Confidence |
|
|
281
|
+
|---|---|---|
|
|
282
|
+
| Claude Code | Its accessibility tree read, which returns a reference per element | `confirmed` |
|
|
283
|
+
| OpenClaw | Its page read, if present | `unknown` |
|
|
284
|
+
| Hermes | Unknown | `unknown` |
|
|
285
|
+
| OpenCode | The browser automation server's accessibility snapshot | `expected` |
|
|
286
|
+
| Grok Bot | Unknown | `unknown` |
|
|
287
|
+
| Codex | The browser automation server's accessibility snapshot | `expected` |
|
|
288
|
+
| Antigravity | Its page read | `expected` |
|
|
289
|
+
|
|
290
|
+
**Absent, but the browser works:** fall back to `page.text`. Read only phases still run, which in this kit is nearly all of them. Click phases do not, because a click needs a reference and there is no coordinate fallback. See `element.click` for why.
|
|
291
|
+
|
|
292
|
+
**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.
|
|
293
|
+
|
|
294
|
+
| Harness | How references behave | What to do |
|
|
295
|
+
|---|---|---|
|
|
296
|
+
| 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 |
|
|
297
|
+
| OpenClaw | Unknown | Re-read after any view change and use what the fresh read returns |
|
|
298
|
+
| Hermes | Unknown | Same |
|
|
299
|
+
| 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 |
|
|
300
|
+
| Grok Bot | Unknown | Re-read after any view change |
|
|
301
|
+
| Codex | As OpenCode | As OpenCode |
|
|
302
|
+
| Antigravity | Unknown | Re-read after any view change |
|
|
303
|
+
|
|
304
|
+
**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.
|
|
305
|
+
|
|
306
|
+
### `page.text`
|
|
307
|
+
Read the visible text.
|
|
308
|
+
|
|
309
|
+
| Harness | Route | Confidence |
|
|
310
|
+
|---|---|---|
|
|
311
|
+
| Claude Code | Its text extraction | `confirmed` |
|
|
312
|
+
| OpenClaw | Its text extraction, if present | `unknown` |
|
|
313
|
+
| Hermes | Unknown | `unknown` |
|
|
314
|
+
| OpenCode | The browser automation server's text or content read | `expected` |
|
|
315
|
+
| Grok Bot | Unknown | `unknown` |
|
|
316
|
+
| Codex | The browser automation server's text or content read | `expected` |
|
|
317
|
+
| Antigravity | Its text extraction | `expected` |
|
|
318
|
+
|
|
319
|
+
**Absent:** read from `page.capture` instead.
|
|
320
|
+
|
|
321
|
+
**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. In this kit that failure has a specific cost worth naming: a ticket captured off a stale view carries a real customer's name attached to somebody else's words. Verdicts get read off a capture, not off text, whenever the answer decides something.
|
|
322
|
+
|
|
323
|
+
### `page.capture`
|
|
324
|
+
Capture the screen, or a region of it.
|
|
325
|
+
|
|
326
|
+
| Harness | Route | Confidence |
|
|
327
|
+
|---|---|---|
|
|
328
|
+
| Claude Code | Its screenshot, including a region zoom | `confirmed` |
|
|
329
|
+
| OpenClaw | Its screenshot, if present | `unknown` |
|
|
330
|
+
| Hermes | Unknown | `unknown` |
|
|
331
|
+
| OpenCode | The browser automation server's screenshot | `expected` |
|
|
332
|
+
| Grok Bot | Unknown | `unknown` |
|
|
333
|
+
| Codex | The browser automation server's screenshot | `expected` |
|
|
334
|
+
| Antigravity | Its screenshot | `expected` |
|
|
335
|
+
|
|
336
|
+
**Absent:** verify from `page.text` and record in the run record that verification was weaker on this run.
|
|
337
|
+
|
|
338
|
+
**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 a synthetic keystroke land. 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.
|
|
339
|
+
|
|
340
|
+
### `element.click`
|
|
341
|
+
Click one element by its reference from `page.read`.
|
|
342
|
+
|
|
343
|
+
| Harness | Route | Confidence |
|
|
344
|
+
|---|---|---|
|
|
345
|
+
| Claude Code | Its click by reference | `confirmed` |
|
|
346
|
+
| OpenClaw | Its click, if present | `unknown` |
|
|
347
|
+
| Hermes | Unknown | `unknown` |
|
|
348
|
+
| OpenCode | The browser automation server's click on a snapshot reference | `expected` |
|
|
349
|
+
| Grok Bot | Unknown | `unknown` |
|
|
350
|
+
| Codex | The browser automation server's click on a snapshot reference | `expected` |
|
|
351
|
+
| Antigravity | Its click | `expected` |
|
|
352
|
+
|
|
353
|
+
**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.
|
|
354
|
+
|
|
355
|
+
**In this Employee that matters more than in any sibling, and it is worth being blunt about why.** The nearest controls to a body click in a helpdesk composer are the ones that reply to the customer, and the nearest controls to a figure on a billing screen are the ones that refund it. A skipped phase you can see beats a click that quietly did not happen, and it beats a click that quietly did.
|
|
356
|
+
|
|
357
|
+
**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.
|
|
358
|
+
|
|
359
|
+
**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.
|
|
360
|
+
|
|
361
|
+
| Harness | Where a refusal can come from |
|
|
362
|
+
|---|---|
|
|
363
|
+
| 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 |
|
|
364
|
+
| OpenClaw | Unknown. Assume the harness permission layer at minimum |
|
|
365
|
+
| Hermes | Unknown. Same |
|
|
366
|
+
| OpenCode | The harness permission layer. A browser automation server has no classifier of its own and does not refuse |
|
|
367
|
+
| Grok Bot | Unknown. Same |
|
|
368
|
+
| Codex | The harness permission layer plus its sandbox, which can decline network access without saying so |
|
|
369
|
+
| Antigravity | Unknown. Assume the harness permission layer |
|
|
370
|
+
|
|
371
|
+
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.
|
|
372
|
+
|
|
373
|
+
### `field.set`
|
|
374
|
+
Set a form field's value by reference.
|
|
375
|
+
|
|
376
|
+
| Harness | Route | Confidence |
|
|
377
|
+
|---|---|---|
|
|
378
|
+
| Claude Code | Its form input on a reference | `confirmed` |
|
|
379
|
+
| OpenClaw | Its form input, if present | `unknown` |
|
|
380
|
+
| Hermes | Unknown | `unknown` |
|
|
381
|
+
| OpenCode | The browser automation server's fill or type | `expected` |
|
|
382
|
+
| Grok Bot | Unknown | `unknown` |
|
|
383
|
+
| Codex | The browser automation server's fill or type | `expected` |
|
|
384
|
+
| Antigravity | Its form input | `expected` |
|
|
385
|
+
|
|
386
|
+
**Absent:** skip the field and record it as a blocker naming the field.
|
|
387
|
+
|
|
388
|
+
**This capability has exactly two callers in this kit and no third.** `csat-inbox-sweep` uses it to set a search or filter field on a list page it is about to read. `csat-reply-desk` uses it to put a body into a helpdesk composer, and only while `helpdesk_draft_mode` is on, which ships off. On every other surface this Employee navigates and reads and types nothing at all, so a harness with no `field.set` loses one optional mode and one search box, and keeps the whole desk.
|
|
389
|
+
|
|
390
|
+
**The input ladder, in the order that actually lands.** Try each and stop at the first that works.
|
|
391
|
+
|
|
392
|
+
1. A form field setter on a reference. Plain inputs and search boxes take this.
|
|
393
|
+
2. The native value setter plus a bubbling input event, for controlled components that ignore a direct value write.
|
|
394
|
+
3. A synthetic paste carrying `text/html`, for the rich text surfaces most helpdesk composers actually are. See `richtext.paste`.
|
|
395
|
+
4. Insert text, where paste does nothing.
|
|
396
|
+
5. A real click plus keystrokes, last resort, where the platform demands a genuine input event.
|
|
397
|
+
|
|
398
|
+
### `page.script`
|
|
399
|
+
Evaluate a script in the page context and get a JSON result back.
|
|
400
|
+
|
|
401
|
+
| Harness | Route | Confidence |
|
|
402
|
+
|---|---|---|
|
|
403
|
+
| Claude Code | Its script evaluation, through the bridge | `confirmed` |
|
|
404
|
+
| OpenClaw | Its script evaluation, if present | `unknown` |
|
|
405
|
+
| Hermes | Unknown | `unknown` |
|
|
406
|
+
| OpenCode | The browser automation server's evaluate | `expected` |
|
|
407
|
+
| Grok Bot | Unknown | `unknown` |
|
|
408
|
+
| Codex | The browser automation server's evaluate | `expected` |
|
|
409
|
+
| Antigravity | Its script evaluation | `expected` |
|
|
410
|
+
|
|
411
|
+
**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.
|
|
412
|
+
|
|
413
|
+
**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. Where the round trip is the expensive part, chain a whole read, wait, verify cycle into one call rather than three.
|
|
414
|
+
|
|
415
|
+
**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.
|
|
416
|
+
|
|
417
|
+
| Harness | Call timeout |
|
|
418
|
+
|---|---|
|
|
419
|
+
| Claude Code | Around 45 seconds |
|
|
420
|
+
| OpenClaw | Unknown |
|
|
421
|
+
| Hermes | Unknown |
|
|
422
|
+
| OpenCode | The browser automation server's own default, commonly 30 seconds and usually configurable |
|
|
423
|
+
| Grok Bot | Unknown |
|
|
424
|
+
| Codex | As OpenCode |
|
|
425
|
+
| Antigravity | Unknown |
|
|
426
|
+
|
|
427
|
+
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.
|
|
428
|
+
|
|
429
|
+
### `page.wait`
|
|
430
|
+
Wait for a condition, polling rather than sleeping long.
|
|
431
|
+
|
|
432
|
+
| Harness | Route | Confidence |
|
|
433
|
+
|---|---|---|
|
|
434
|
+
| Claude Code | Its wait, or polling `page.text` | `confirmed` |
|
|
435
|
+
| OpenClaw | Its wait, if present, or polling | `unknown` |
|
|
436
|
+
| Hermes | Unknown | `unknown` |
|
|
437
|
+
| OpenCode | The browser automation server's wait for selector or load state | `expected` |
|
|
438
|
+
| Grok Bot | Unknown | `unknown` |
|
|
439
|
+
| Codex | The browser automation server's wait for selector or load state | `expected` |
|
|
440
|
+
| Antigravity | Its wait | `expected` |
|
|
441
|
+
|
|
442
|
+
**Absent:** fixed waits, which are slower and less reliable, and the run record says so.
|
|
443
|
+
|
|
444
|
+
Fixed waits are not a failure mode though, they are the shipped behaviour on several surfaces where a load state lies. A webmail splash screen is the standard example: the page reports itself loaded and shows a splash, and a short wait lands on the splash rather than on the inbox. Those numbers are per surface and were each learned the hard way, so they live in `human-pace` in the recipes file, not here.
|
|
445
|
+
|
|
446
|
+
---
|
|
447
|
+
|
|
448
|
+
## 4a. Notification
|
|
449
|
+
|
|
450
|
+
### `notify.push`
|
|
451
|
+
Send one short notification to your own device.
|
|
452
|
+
|
|
453
|
+
| Harness | Route | Confidence |
|
|
454
|
+
|---|---|---|
|
|
455
|
+
| Claude Code | Its push notification tool, then a hosted club notifier | `confirmed` |
|
|
456
|
+
| OpenClaw | Its own notification route if it has one, then a hosted club notifier | `unknown` |
|
|
457
|
+
| Hermes | Unknown | `unknown` |
|
|
458
|
+
| OpenCode | A hosted club notifier, or none | `unknown` |
|
|
459
|
+
| Grok Bot | Unknown | `unknown` |
|
|
460
|
+
| Codex | A hosted club notifier, or none | `unknown` |
|
|
461
|
+
| Antigravity | Unknown | `unknown` |
|
|
462
|
+
|
|
463
|
+
**Absent is a normal outcome, not a failure and never a blocker.** The routine puts `push: not available` in the run record `notes` and carries on. Every push in this kit is a shortcut to a line that is already in the brief, so you lose speed and never lose information.
|
|
464
|
+
|
|
465
|
+
`CONTRACT.md` section 9 carries what earns one, and the list is four cases long. **Nothing about a customer ever earns one**, however urgent it feels, because a push naming a customer puts their name and their unhappiness on a lock screen.
|
|
466
|
+
|
|
467
|
+
---
|
|
468
|
+
|
|
469
|
+
## 4b. Connected sources
|
|
470
|
+
|
|
471
|
+
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.
|
|
472
|
+
|
|
473
|
+
**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.
|
|
474
|
+
|
|
475
|
+
**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.
|
|
476
|
+
|
|
477
|
+
| Capability | What it reads | Routes, in order of preference | Read only form | Confidence |
|
|
478
|
+
|---|---|---|---|---|
|
|
479
|
+
| `helpdesk.read` | New and changed conversations in the member's helpdesk | The Intercom connector (`https://mcp.intercom.com/mcp`); Help Scout (`https://mcp.helpscout.net/mcp`, read only by design); Front (`https://mcp.frontapp.com/mcp`); the Zoho Desk connector. Zendesk's own server is in early access; until it is general, the browser lane | Read only | `expected` |
|
|
480
|
+
| `helpdesk.note` | A reply saved as a private draft or an internal note, never sent | Front drafts; Intercom internal notes; the Gmail draft tool on a mailbox channel. Help Scout has no write route | Draft or note only; a send is held until `RELEASES.md` names the channel | `expected` |
|
|
481
|
+
| `mail.read` | Support mail | The Gmail connector (`https://gmailmcp.googleapis.com/mcp/v1`); the Microsoft 365 connector | Read tools only | `expected` |
|
|
482
|
+
| `community.read` | Threads in a community channel | The Slack connector; a Discord bot through its REST API. A community with no API stays on the browser lane | Read only | `expected` |
|
|
483
|
+
| `billing.read` | Subscriptions, failed payments and disputes for the churn watch | The Stripe connector with a restricted, read only key; the Paddle or Chargebee connector where the member bills there | The restricted key only | `expected` |
|
|
484
|
+
| `usage.read` | Whether an account is still active | The PostHog connector; the Supabase connector in its read only form | Read only | `expected` |
|
|
485
|
+
| `reviews.read` | Rating movement on a listing | The Trustpilot API for the member's own business; the Expo connector for app store reviews. Every other listing stays on the browser lane | Read only | `expected` |
|
|
486
|
+
| `helpcentre.read` | Whether an article for a theme already exists | Intercom articles; the Notion connector; the site's own CMS connector | Read only | `expected` |
|
|
487
|
+
|
|
488
|
+
`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.
|
|
489
|
+
|
|
490
|
+
---
|
|
491
|
+
|
|
492
|
+
## 5. Content
|
|
493
|
+
|
|
494
|
+
Three capabilities. One of them puts formatted copy where plain typing will not go, and two are research.
|
|
495
|
+
|
|
496
|
+
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.
|
|
497
|
+
|
|
498
|
+
### `richtext.paste`
|
|
499
|
+
Put formatted copy into a rich text editor.
|
|
500
|
+
|
|
501
|
+
| Harness | Route | Confidence |
|
|
502
|
+
|---|---|---|
|
|
503
|
+
| Claude Code | Hosted club converter when available, then a synthetic paste through `page.script` | `confirmed` |
|
|
504
|
+
| OpenClaw | Hosted club converter when available, then a synthetic paste | `unknown` |
|
|
505
|
+
| Hermes | Unknown | `unknown` |
|
|
506
|
+
| OpenCode | Hosted club converter when available, then a synthetic paste through evaluate | `expected` |
|
|
507
|
+
| Grok Bot | Unknown | `unknown` |
|
|
508
|
+
| Codex | Hosted club converter when available, then a synthetic paste through evaluate | `expected` |
|
|
509
|
+
| Antigravity | Hosted club converter when available, then a synthetic paste | `expected` |
|
|
510
|
+
|
|
511
|
+
**Absent:** plain text, with the loss named in the run record.
|
|
512
|
+
|
|
513
|
+
**It has one caller: rung 3 of `fill-a-field`, reached when a helpdesk composer ignores a plain value write.** Most helpdesk composers are rich text surfaces that ignore plain typing and ignore direct DOM writes, so without this rung the optional draft mode falls back to a body with no paragraph breaks in it, which is worse than a queue file and the member should be told so in one line.
|
|
514
|
+
|
|
515
|
+
**The route that lands, verified across several platforms.** Build a data transfer object, set `text/html` on it plus a throwaway `text/plain`, focus the editor, and dispatch a synthetic paste event carrying it. Where a synthetic paste does nothing, fall back to insert text. Where the target is a controlled component, use the native value setter plus a bubbling input event instead.
|
|
516
|
+
|
|
517
|
+
Three practical notes. **Clearing the editor needs real keystrokes**, because a DOM range selection is ignored and your paste then appends to whatever was already there. **A background tab cannot write the system clipboard**, so a step that genuinely needs the clipboard needs that tab in front. And **check what survives**: lists usually do, headings and bold often do not, and paragraphs may render with no margin at all, which turns a clean reply into one wall of text unless you join the blocks with an explicit spacer.
|
|
518
|
+
|
|
519
|
+
### `web.search`
|
|
520
|
+
Get search results for a query.
|
|
521
|
+
|
|
522
|
+
| Harness | Route | Confidence |
|
|
523
|
+
|---|---|---|
|
|
524
|
+
| Claude Code | Its web search | `confirmed` |
|
|
525
|
+
| OpenClaw | Its web search if present | `unknown` |
|
|
526
|
+
| Hermes | Unknown | `unknown` |
|
|
527
|
+
| OpenCode | A search server if you added one | `expected` |
|
|
528
|
+
| Grok Bot | Unknown | `unknown` |
|
|
529
|
+
| Codex | Its search. Confirm the sandbox allows outbound requests | `expected` |
|
|
530
|
+
| Antigravity | Its web search | `expected` |
|
|
531
|
+
|
|
532
|
+
**Absent:** write the exact queries it would have run into the run record so you can run them yourself, and mark every finding that needed one `n/a (no search capability)`. It does not estimate and it does not fill the gap from memory.
|
|
533
|
+
|
|
534
|
+
**Do not substitute a browser tab driving a search engine.** That is a different thing wearing the same clothes and it burns browser budget the crawl needs. Two routines depend on this capability: `csat-desk-intake` uses it once a month to find where the product is actually discussed, and `csat-inbox-sweep` uses it to research a replacement when a surface goes dead. Both degrade to what they can already reach and say so.
|
|
535
|
+
|
|
536
|
+
### `web.fetch`
|
|
537
|
+
Read a URL's text without opening a browser.
|
|
538
|
+
|
|
539
|
+
| Harness | Route | Confidence |
|
|
540
|
+
|---|---|---|
|
|
541
|
+
| Claude Code | Its fetch, then `browser.navigate` plus `page.text` | `confirmed` |
|
|
542
|
+
| OpenClaw | Its fetch, then `shell.run` with a fetch command, then the browser | `expected` |
|
|
543
|
+
| Hermes | Unknown. `shell.run` with a fetch command if it has a shell | `unknown` |
|
|
544
|
+
| OpenCode | Its fetch, then `shell.run` with a fetch command, then the browser | `expected` |
|
|
545
|
+
| Grok Bot | Unknown. `shell.run` with a fetch command if it has a shell | `unknown` |
|
|
546
|
+
| Codex | Its fetch or `shell.run`. Confirm the sandbox allows outbound requests | `expected` |
|
|
547
|
+
| Antigravity | Its fetch, then the browser | `expected` |
|
|
548
|
+
|
|
549
|
+
**Absent:** mark the finding `n/a (page not reachable)`.
|
|
550
|
+
|
|
551
|
+
On a harness with no fetch of its own, `shell.run` with a fetch command is the same capability under another name. It comes back as raw markup rather than readable text, which costs a little context and works.
|
|
552
|
+
|
|
553
|
+
**This capability is what keeps the intake crawl and the public half of the sweep alive on a machine with no browser.** It reaches the pricing page, the refund policy, the help centre, the changelog, and any review or forum surface that is public. It cannot reach your mailbox or your helpdesk, which is where the tickets with a clock running live. Section 7 has the honest arithmetic on that.
|
|
554
|
+
|
|
555
|
+
### The four capabilities that are absent on purpose
|
|
556
|
+
|
|
557
|
+
`image.compress`, `image.inject`, and `file.upload` are in the reference kit and are **not** in this one, because nothing this Employee produces carries artwork. A support reply is words. A macro is words. A help draft is words the member publishes themselves. A capability with no caller is cut for the same reason a file with no reader is cut, and leaving it in this table would tell you to install something for a step that never runs.
|
|
558
|
+
|
|
559
|
+
If a later routine genuinely needs one, it goes into this table and into `CONTRACT.md` section 3 in the same edit.
|
|
560
|
+
|
|
561
|
+
---
|
|
562
|
+
|
|
563
|
+
## 6. Kit capabilities
|
|
564
|
+
|
|
565
|
+
Three. These are the kit's own, and two of them ship as scripts inside it.
|
|
566
|
+
|
|
567
|
+
### `runlog.append`
|
|
568
|
+
Append exactly one validated run record to `runlog.jsonl`.
|
|
569
|
+
|
|
570
|
+
| Harness | Route | Confidence |
|
|
571
|
+
|---|---|---|
|
|
572
|
+
| Claude Code | `shell.run` on `scripts/runlog.mjs`, then a direct append doing the same validation | `confirmed` |
|
|
573
|
+
| OpenClaw | `shell.run` on `scripts/runlog.mjs`, then a direct append | `expected` |
|
|
574
|
+
| Hermes | `shell.run` if present, then a direct append through `file.write` | `unknown` |
|
|
575
|
+
| OpenCode | `shell.run` on `scripts/runlog.mjs`, then a direct append | `expected` |
|
|
576
|
+
| Grok Bot | `shell.run` if present, then a direct append through `file.write` | `unknown` |
|
|
577
|
+
| Codex | `shell.run` on `scripts/runlog.mjs`, then a direct append | `expected` |
|
|
578
|
+
| Antigravity | `shell.run` on `scripts/runlog.mjs`, then a direct append | `expected` |
|
|
579
|
+
|
|
580
|
+
**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 a repeated run of the reply desk is a second answer to a customer who already has one.
|
|
581
|
+
|
|
582
|
+
The script validates the record's shape, checks `status` against the closed list of eight, refuses anything that looks like a secret, a draft, or customer data, writes UTF-8 with no byte order mark, and repairs a stray mark at the head of the file. The in agent route does the same checks. It is a different route, not a lighter one.
|
|
583
|
+
|
|
584
|
+
**One of its refusals is specific to this Employee and worth knowing about before it surprises you.** It refuses a ticket id in `notes`, in `outputs`, or in `blockers`, because a ticket id is `<surface>:<slug>:<item>` and the slug names the customer who complained. Report the count, never the id.
|
|
585
|
+
|
|
586
|
+
**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.
|
|
587
|
+
|
|
588
|
+
Three call shapes work on every shell. A fourth, passing the object as a positional argument, works on POSIX shells only, because PowerShell strips every double quote out of an argument on its way to a native command.
|
|
589
|
+
|
|
590
|
+
```
|
|
591
|
+
<the JSON> | node scripts/runlog.mjs --stdin
|
|
592
|
+
node scripts/runlog.mjs --file <path to a .json file>
|
|
593
|
+
node scripts/runlog.mjs --routine csat-reply-desk --period 2026-03-04 --status ok ...
|
|
594
|
+
```
|
|
595
|
+
|
|
596
|
+
### `copy.check`
|
|
597
|
+
The scripted judge for any text about to be written into a queue file, a strategy file, a dossier, a macro, a help draft, a digest, a report, or a dashboard partial.
|
|
598
|
+
|
|
599
|
+
| Harness | Route | Confidence |
|
|
600
|
+
|---|---|---|
|
|
601
|
+
| Claude Code | `shell.run` on `scripts/copy-check.mjs`, then the same rule set applied in agent | `confirmed` |
|
|
602
|
+
| OpenClaw | `shell.run` on `scripts/copy-check.mjs`, then in agent | `expected` |
|
|
603
|
+
| Hermes | `shell.run` if present, then in agent | `unknown` |
|
|
604
|
+
| OpenCode | `shell.run` on `scripts/copy-check.mjs`, then in agent | `expected` |
|
|
605
|
+
| Grok Bot | `shell.run` if present, then in agent | `unknown` |
|
|
606
|
+
| Codex | `shell.run` on `scripts/copy-check.mjs`, then in agent | `expected` |
|
|
607
|
+
| Antigravity | `shell.run` on `scripts/copy-check.mjs`, then in agent | `expected` |
|
|
608
|
+
|
|
609
|
+
**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.
|
|
610
|
+
|
|
611
|
+
One interface, used verbatim at every call site:
|
|
612
|
+
|
|
613
|
+
```
|
|
614
|
+
node "«CSAT_ROOT»/scripts/copy-check.mjs" --file <path> --dest <destination> [--json]
|
|
615
|
+
```
|
|
616
|
+
|
|
617
|
+
`--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.
|
|
618
|
+
|
|
619
|
+
**Two of its rules are shaped for this Employee and are not in the reference version, so they are worth reading once.**
|
|
620
|
+
|
|
621
|
+
**The count nouns include this desk's own vocabulary:** tickets, complaints, cases, reviews, ratings, refunds, credits, cancellations, escalations, exchanges, and the rest. A support desk states those casually and cannot defend them, and the ones that move money are the ones you would be held to.
|
|
622
|
+
|
|
623
|
+
**A block that names its source in square brackets is sourced, and its numbers pass.** A block is what sits between two blank lines, so a dossier that states four claims and closes with one `[tickets/tickets.jsonl]` underneath them is sourced in full. Three shapes count: a path with a slash in it, a bare kit filename with a data extension, or a screen named with the date it was read on. **`[redacted: api-key]` and `[member: confirm this is granted before you send]` are markers rather than sources and suppress nothing**, which is right, because neither one says where a number came from.
|
|
624
|
+
|
|
625
|
+
That second rule is why every routine's repair for a metric failure is "put the bracket back" rather than "delete the number". Without it, the honest form of a dossier would fail the check forever.
|
|
626
|
+
|
|
627
|
+
### `schedule.register`
|
|
628
|
+
Register, inspect, or change a recurring job named after a routine id.
|
|
629
|
+
|
|
630
|
+
| Harness | Route | Confidence |
|
|
631
|
+
|---|---|---|
|
|
632
|
+
| Claude Code | Its own scheduler | `confirmed` |
|
|
633
|
+
| OpenClaw | Its built in cron, `openclaw automations create`, through `shell.run` | `expected` |
|
|
634
|
+
| Hermes | Its built in cron | `expected` |
|
|
635
|
+
| OpenCode | Not available in the harness. The operating system's scheduler | `expected` |
|
|
636
|
+
| Grok Bot | Its recurring tasks, on its own cloud computer | `expected` |
|
|
637
|
+
| Codex | Its scheduled runs | `expected` |
|
|
638
|
+
| Antigravity | Its `agy` job runner, through `shell.run` | `expected` |
|
|
639
|
+
| Pi | Not available in the harness. The operating system's scheduler | `expected` |
|
|
640
|
+
| Cline | Its built in cron, `cline schedule create`, through `shell.run` | `expected` |
|
|
641
|
+
| Qwen Code | Its built in scheduled tasks | `expected` |
|
|
642
|
+
| DeepSeek | Its scheduling plugin | `expected` |
|
|
643
|
+
|
|
644
|
+
**Absent all routes:** write the exact commands to `«CSAT_ROOT»/schedule-commands.txt` and name that file in the brief. You run them yourself, once, and the kit is scheduled.
|
|
645
|
+
|
|
646
|
+
**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.
|
|
647
|
+
|
|
648
|
+
---
|
|
649
|
+
|
|
650
|
+
## 7. What you lose with no browser at all
|
|
651
|
+
|
|
652
|
+
The honest headline first.
|
|
653
|
+
|
|
654
|
+
**The morning brief never needs a browser. Neither does the reply queue, neither do the macros, and neither does the arithmetic behind the Friday report.** On a machine with no browser control at all you still get a plan every morning, drafts to send, dossiers on the accounts your ledger says are at risk, and a scored week every Friday.
|
|
655
|
+
|
|
656
|
+
**What you lose is the intake, and the intake is where every ticket comes from.** Your mailbox and your helpdesk sit behind your login, and those are the two surfaces where a customer is waiting with a clock running. Without a browser the sweep falls back to fetching public pages, which reaches your review listings, your marketplace pages, and your public forums, and reaches nothing private at all.
|
|
657
|
+
|
|
658
|
+
There is a straightforward answer if that is your situation, and it is the same shape as the rest of the kit. **Paste the tickets you want answered into `tickets/tickets.jsonl` yourself**, one JSON object per line to the shape in `CONTRACT.md` section 2.5, or forward them into a public surface the kit can read. The rest of the loop works exactly as designed: the reply desk drafts, the standup reconciles your ticks and computes the clocks, the churn watch reads the same ledger, and Friday still scores. You do the finding, it does the drafting, the grading, the deduping, the tracking, and the measuring.
|
|
659
|
+
|
|
660
|
+
| Routine | With browser control | With none | Recorded |
|
|
661
|
+
|---|---|---|---|
|
|
662
|
+
| `csat-inbox-sweep` | Reads the mailbox, the helpdesk, the listings, and the forums | Public listings and forums only through `web.fetch`. Nothing behind your login | `partial`, or `failed` if it captured nothing |
|
|
663
|
+
| `csat-desk-standup` | Never uses one | Identical. Full function | `ok` |
|
|
664
|
+
| `csat-reply-desk` | May also create a private draft in your helpdesk, if you turned that on, and may read a truncated ticket's full text | Queue files, which is the default mode anyway. A truncated ticket gets an honest note | `ok` |
|
|
665
|
+
| `csat-churn-watch` | Adds the billing and usage wires read off your own account screens | The seven ledger wires still fire. The billing and usage wires read `n/a` and the dossier says which | `partial` |
|
|
666
|
+
| `csat-deflection-desk` | Checks your help centre before drafting an article | Every macro still written. No article for a theme whose help centre could not be checked | `partial` |
|
|
667
|
+
| `csat-satisfaction-report` | Full page plus the rating movement and the Friday flow replay | Full page except the listing cells. No replay, so a drifted flow goes unnoticed until a routine hits it | `partial` |
|
|
668
|
+
| `csat-desk-intake` | Researches the business, probes every channel, builds and opens the dashboard | Research narrows to what `web.fetch` reaches, signed in channels are written `unconfirmed`, the dashboard still gets built and verified off disk | `ok` or `partial` |
|
|
669
|
+
| `csat-taxonomy-refresh` | May re-read a truncated ticket that decides a split | Runs on ledger evidence, which is files. A verdict that turned on unreadable text stays `not enough evidence` | `ok` or `partial` |
|
|
670
|
+
|
|
671
|
+
Seven of the eight produce their main deliverable with no browser at all. That is most of the product. **But do not buy this expecting the sweep to read your support mailbox without one, because it will not**, and I would rather you know that now than on your second Tuesday.
|
|
672
|
+
|
|
673
|
+
A missing browser does not get its own status, and no routine invents one. It maps onto `partial` when the routine had file work to do and `failed` when it did not, with the reason written out in plain words either way.
|
|
674
|
+
|
|
675
|
+
---
|
|
676
|
+
|
|
677
|
+
## 8. Optional named helpers
|
|
678
|
+
|
|
679
|
+
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.
|
|
680
|
+
|
|
681
|
+
**It detects. It uses. It degrades. It never installs.**
|
|
682
|
+
|
|
683
|
+
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.
|
|
684
|
+
|
|
685
|
+
A routine may name an optional helper as a dependency, check whether it is present, use it when it is, and fall back to a stated route when it is not. **No routine in this kit ever creates, authors, or installs a helper in your global directory.** Your global setup is yours. You add helpers from the library when you decide to, and nothing here reaches into it.
|
|
686
|
+
|
|
687
|
+
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 `«CSAT_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.
|
|
688
|
+
|
|
689
|
+
**This Employee names no required helper at all**, and that is deliberate rather than an omission. Nothing it produces needs an image, a slide, a converter, or a publisher. The two scripts inside the kit are the only tooling it depends on, and both ship with it.
|
|
690
|
+
|
|
691
|
+
---
|
|
692
|
+
|
|
693
|
+
## 9. The scheduling layer
|
|
694
|
+
|
|
695
|
+
Every harness schedules differently and some do not schedule at all. The shape below is the same everywhere. Only the mechanism changes.
|
|
696
|
+
|
|
697
|
+
### 9.1 The shape
|
|
698
|
+
|
|
699
|
+
**One job per routine.** Eight routines, eight 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 eight.
|
|
700
|
+
|
|
701
|
+
**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 you find out which one is wrong on the day it matters.
|
|
702
|
+
|
|
703
|
+
**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.
|
|
704
|
+
|
|
705
|
+
**Name every job exactly after its routine id.** All eight ids carry the `csat-` 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.
|
|
706
|
+
|
|
707
|
+
**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.
|
|
708
|
+
|
|
709
|
+
The shipped default week:
|
|
710
|
+
|
|
711
|
+
```
|
|
712
|
+
Every weekday
|
|
713
|
+
06:45 csat-inbox-sweep
|
|
714
|
+
07:30 csat-desk-standup
|
|
715
|
+
08:15 csat-reply-desk
|
|
716
|
+
09:20 csat-churn-watch
|
|
717
|
+
|
|
718
|
+
Wednesday adds 11:00 csat-deflection-desk
|
|
719
|
+
Friday adds 16:00 csat-satisfaction-report
|
|
720
|
+
First weekday adds 13:00 csat-desk-intake
|
|
721
|
+
Last weekday adds 14:00 csat-taxonomy-refresh
|
|
722
|
+
```
|
|
723
|
+
|
|
724
|
+
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.
|
|
725
|
+
|
|
726
|
+
### 9.2 The mechanism, per harness
|
|
727
|
+
|
|
728
|
+
| Harness | Mechanism | Confidence |
|
|
729
|
+
|---|---|---|
|
|
730
|
+
| **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` |
|
|
731
|
+
| **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` |
|
|
732
|
+
| **OpenClaw** | Built in cron: `openclaw automations create "<cron>" "<message>" --name <id> --session isolated`, one per routine, with the timezone flag | `expected` |
|
|
733
|
+
| **Hermes** | Built in cron, one job per routine, each handed that routine's `SKILL.md` as the prompt | `expected` |
|
|
734
|
+
| **OpenCode** | None of its own. Use the operating system's scheduler below | `expected` |
|
|
735
|
+
| **Grok Bot** | Its bots run on a schedule from their own cloud computer: one recurring task per routine | `expected` |
|
|
736
|
+
| **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 |
|
|
737
|
+
| **Antigravity** | The `agy` job runner, one job per routine, pointed at the routine folder | `expected` |
|
|
738
|
+
| **Pi** | None of its own. Use the operating system's scheduler below | `expected` |
|
|
739
|
+
| **Cline** | Built in cron: `cline schedule create "<prompt>" --cron "<cron>"`, one per routine, auto approve on | `expected` |
|
|
740
|
+
| **Qwen Code** | Built in scheduled tasks, one per routine, or the operating system's scheduler below | `expected` |
|
|
741
|
+
| **DeepSeek** | Its scheduling plugin, one run per routine | `expected` |
|
|
742
|
+
|
|
743
|
+
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.
|
|
744
|
+
|
|
745
|
+
Throughout, `«RUN csat-inbox-sweep»` and its seven 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.
|
|
746
|
+
|
|
747
|
+
### 9.2a What `«RUN <routine-id>»` expands to
|
|
748
|
+
|
|
749
|
+
This is the string every scheduled job in this kit is built from, so it gets a worked example rather than a description.
|
|
750
|
+
|
|
751
|
+
**`«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 eight of them.
|
|
752
|
+
|
|
753
|
+
Two shapes cover every harness.
|
|
754
|
+
|
|
755
|
+
**Shape A, where the harness discovers routines from a directory.** The invocation names the routine id and the harness finds the folder itself:
|
|
756
|
+
|
|
757
|
+
```
|
|
758
|
+
<headless run command> "Run csat-inbox-sweep"
|
|
759
|
+
```
|
|
760
|
+
|
|
761
|
+
**Shape B, where it does not.** The invocation hands the routine file to the harness as the run prompt:
|
|
762
|
+
|
|
763
|
+
```
|
|
764
|
+
<headless run command> "Read «CSAT_ROOT»/routines/csat-inbox-sweep/SKILL.md and follow it."
|
|
765
|
+
```
|
|
766
|
+
|
|
767
|
+
**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.
|
|
768
|
+
|
|
769
|
+
| Harness | The headless run command | Confidence |
|
|
770
|
+
|---|---|---|
|
|
771
|
+
| **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 «CSAT_ROOT»/routines/<routine-id>/SKILL.md and follow it.`, working folder `«CSAT_ROOT»`, permission mode set per task. Shape B | `confirmed` |
|
|
772
|
+
| **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 |
|
|
773
|
+
| **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` |
|
|
774
|
+
| **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` |
|
|
775
|
+
| **OpenCode** | `opencode run "<prompt>"` is its non interactive form. Confirm it against `opencode --help` on your version. Shape B | `expected` |
|
|
776
|
+
| **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` |
|
|
777
|
+
| **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` |
|
|
778
|
+
| **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` |
|
|
779
|
+
| **Pi** | `pi -p "<prompt>"`. Confirm the print flag against `pi --help` on your version. Shape B | `expected` |
|
|
780
|
+
| **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` |
|
|
781
|
+
| **Qwen Code** | `qwen -p "<prompt>"`. Confirm the print flag against `qwen --help` on your version. Shape B | `expected` |
|
|
782
|
+
| **DeepSeek** | `dsh` runs a local server; confirm the headless prompt form against `dsh --help` on your version. Shape B | `expected` |
|
|
783
|
+
|
|
784
|
+
Three things decide whether the line works, and all three are outside the command itself.
|
|
785
|
+
|
|
786
|
+
**The working directory.** The run has to start in `«CSAT_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.
|
|
787
|
+
|
|
788
|
+
**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.
|
|
789
|
+
|
|
790
|
+
**One routine run by hand, first.** Take the line for `csat-desk-standup`, run it in a terminal, and watch it write `brief-latest.md` and one line into `runlog.jsonl`. Then register the other seven. Eight jobs registered on an invocation nobody has run is eight silent failures on the same morning, and the first thing you would see is an empty brief.
|
|
791
|
+
|
|
792
|
+
**Point every job at `«CSAT_ROOT»/routines/` and never at a copy of that folder somewhere else.** Every routine ends with a `## Corrections` section you write into and the routine reads at the top of every run. A correction written into a copy is lost the next time the folders are copied across, and one written into the original is never read at all.
|
|
793
|
+
|
|
794
|
+
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.
|
|
795
|
+
|
|
796
|
+
### 9.2b Scheduled readiness is a scheduled fire
|
|
797
|
+
|
|
798
|
+
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.
|
|
799
|
+
|
|
800
|
+
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.
|
|
801
|
+
|
|
802
|
+
**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.
|
|
803
|
+
|
|
804
|
+
### 9.3 cron, on macOS or Linux
|
|
805
|
+
|
|
806
|
+
```
|
|
807
|
+
45 6 * * 1-5 «RUN csat-inbox-sweep»
|
|
808
|
+
30 7 * * 1-5 «RUN csat-desk-standup»
|
|
809
|
+
15 8 * * 1-5 «RUN csat-reply-desk»
|
|
810
|
+
20 9 * * 1-5 «RUN csat-churn-watch»
|
|
811
|
+
0 11 * * 3 «RUN csat-deflection-desk»
|
|
812
|
+
0 16 * * 5 «RUN csat-satisfaction-report»
|
|
813
|
+
0 13 1-7 * * «RUN csat-desk-intake»
|
|
814
|
+
0 14 25-31 * * «RUN csat-taxonomy-refresh»
|
|
815
|
+
```
|
|
816
|
+
|
|
817
|
+
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`.
|
|
818
|
+
|
|
819
|
+
**The two monthly lines are the ones people get wrong.** In standard cron, when both the day of month field and the day of week field are restricted, they are combined with OR rather than AND. So `0 13 1-7 * 1-5` does not mean the first weekday of the month. It means every weekday of the month plus the first seven days of it. Leave the day of week field open, as above, and let the routine's own `days: first-weekday` and its monthly period key do the filtering. It fires up to seven times, skips the weekend dates as out of window, runs once, and skips the rest as already run.
|
|
820
|
+
|
|
821
|
+
`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.
|
|
822
|
+
|
|
823
|
+
**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.
|
|
824
|
+
|
|
825
|
+
### 9.4 Windows Task Scheduler
|
|
826
|
+
|
|
827
|
+
```
|
|
828
|
+
schtasks /Create /TN "csat-inbox-sweep" /SC WEEKLY /D MON,TUE,WED,THU,FRI /ST 06:45 /TR "«CSAT_ROOT»\run\csat-inbox-sweep.cmd"
|
|
829
|
+
schtasks /Create /TN "csat-desk-standup" /SC WEEKLY /D MON,TUE,WED,THU,FRI /ST 07:30 /TR "«CSAT_ROOT»\run\csat-desk-standup.cmd"
|
|
830
|
+
schtasks /Create /TN "csat-reply-desk" /SC WEEKLY /D MON,TUE,WED,THU,FRI /ST 08:15 /TR "«CSAT_ROOT»\run\csat-reply-desk.cmd"
|
|
831
|
+
schtasks /Create /TN "csat-churn-watch" /SC WEEKLY /D MON,TUE,WED,THU,FRI /ST 09:20 /TR "«CSAT_ROOT»\run\csat-churn-watch.cmd"
|
|
832
|
+
schtasks /Create /TN "csat-deflection-desk" /SC WEEKLY /D WED /ST 11:00 /TR "«CSAT_ROOT»\run\csat-deflection-desk.cmd"
|
|
833
|
+
schtasks /Create /TN "csat-satisfaction-report" /SC WEEKLY /D FRI /ST 16:00 /TR "«CSAT_ROOT»\run\csat-satisfaction-report.cmd"
|
|
834
|
+
schtasks /Create /TN "csat-desk-intake" /SC MONTHLY /MO FIRST /D MON,TUE,WED,THU,FRI /ST 13:00 /TR "«CSAT_ROOT»\run\csat-desk-intake.cmd"
|
|
835
|
+
schtasks /Create /TN "csat-taxonomy-refresh" /SC MONTHLY /MO LAST /D MON,TUE,WED,THU,FRI /ST 14:00 /TR "«CSAT_ROOT»\run\csat-taxonomy-refresh.cmd"
|
|
836
|
+
```
|
|
837
|
+
|
|
838
|
+
**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 `«CSAT_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.
|
|
839
|
+
|
|
840
|
+
```
|
|
841
|
+
:: «CSAT_ROOT»\run\csat-desk-standup.cmd
|
|
842
|
+
@echo off
|
|
843
|
+
cd /d "«CSAT_ROOT»"
|
|
844
|
+
"%USERPROFILE%\.local\bin\claude.exe" -p "Read «CSAT_ROOT»/routines/csat-desk-standup/SKILL.md and follow it." --permission-mode acceptEdits --output-format json < nul > "«CSAT_ROOT»\run\csat-desk-standup.last.json"
|
|
845
|
+
if errorlevel 1 node "«CSAT_ROOT»\scripts\runlog.mjs" --failed-run csat-desk-standup --exit-code %errorlevel%
|
|
846
|
+
```
|
|
847
|
+
|
|
848
|
+
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 `«CSAT_ROOT»`, and check the path.
|
|
849
|
+
|
|
850
|
+
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.
|
|
851
|
+
|
|
852
|
+
Task Scheduler has a setting called **Run task as soon as possible after a scheduled start is missed.** Turn it on for all eight. The window guard makes the catch up safe, and without it a laptop that was closed at 06:45 misses the sweep entirely, which in this kit means a day of tickets nobody captured.
|
|
853
|
+
|
|
854
|
+
### 9.5 Machines that sleep
|
|
855
|
+
|
|
856
|
+
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.
|
|
857
|
+
|
|
858
|
+
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".
|
|
859
|
+
|
|
860
|
+
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.
|
|
861
|
+
|
|
862
|
+
**A day the sweep did not run is a day of tickets nobody captured, and nothing later recovers them**, because the sweep works from what is on the page today. That is the one place where a sleeping laptop costs this Employee more than it costs a sibling, and the standup says so plainly the next morning rather than showing you a quiet board.
|
|
863
|
+
|
|
864
|
+
### 9.6 When nothing can register the schedule
|
|
865
|
+
|
|
866
|
+
The kit still runs when you launch it by hand. Nothing about a routine's behaviour changes based on who started it.
|
|
867
|
+
|
|
868
|
+
When no route can register a job, the routine writes every command it would have run into `«CSAT_ROOT»/schedule-commands.txt` and names that file in the brief. Run them yourself once and you are scheduled. That is the whole recovery path.
|
|
869
|
+
|
|
870
|
+
**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 eight jobs registered on a guess.
|
|
871
|
+
|
|
872
|
+
### 9.7 Drift
|
|
873
|
+
|
|
874
|
+
`csat-desk-intake` compares the registered job times against `SCHEDULE.md` once a month and reports any mismatch as one line naming both times. It can only do that where the harness or the operating system lets it list what is registered, which means `crontab -l` on Unix or `schtasks /query` on Windows through `shell.run`.
|
|
875
|
+
|
|
876
|
+
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.**
|
|
877
|
+
|
|
878
|
+
---
|
|
879
|
+
|
|
880
|
+
## 10. Scheduled runs get no permission prompt
|
|
881
|
+
|
|
882
|
+
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.
|
|
883
|
+
|
|
884
|
+
**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.
|
|
885
|
+
|
|
886
|
+
**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 eight scheduled jobs only.
|
|
887
|
+
|
|
888
|
+
Two practical points on top of that.
|
|
889
|
+
|
|
890
|
+
**Scope it where scoping is supported.** Give the auto approve setting the narrowest scope your harness allows, ideally `«CSAT_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.
|
|
891
|
+
|
|
892
|
+
**A prompt can come from below the harness too.** A browser's own private network permission prompt is not a harness prompt and no auto approve setting clears it. If a step needs a click nobody is there to give, the step does not belong in a scheduled routine.
|
|
893
|
+
|
|
894
|
+
### Why this does not weaken anything
|
|
895
|
+
|
|
896
|
+
It is a fair thing to be uneasy about, and it is fairer here than in a sibling kit, because this Employee reads your mailbox and your billing screens. So here is the direct answer.
|
|
897
|
+
|
|
898
|
+
**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 composes a send action, never presses a barred control, never marks a ticket read, never assigns or resolves anything, never touches a control on a billing screen, 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 customer. Turning off the prompt removes a question about opening a tab and writing a file. It does not add a capability.
|
|
899
|
+
|
|
900
|
+
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 replied, nothing resolved, nothing marked read, nothing refunded, credited, or cancelled, no control touched on any billing screen, no credential written or logged anywhere, and every claim traceable to its source. If any of those does not hold, that run is a failure regardless of what else it produced.
|
|
901
|
+
|
|
902
|
+
**If your harness cannot run without interactive approval, do not schedule the browser routines.** Run them by hand, when you are at the machine. The file routines will schedule fine and you will still get the brief, the queue, the dossiers your ledger supports, the macros, and the report. That is an honest limitation of the pairing, not something to work around with a longer timeout.
|
|
903
|
+
|
|
904
|
+
---
|
|
905
|
+
|
|
906
|
+
## Corrections
|
|
907
|
+
|
|
908
|
+
Format: one line per correction, newest at the top, `YYYY-MM-DD: what was wrong, what to do instead.`
|
|
909
|
+
|
|
910
|
+
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.
|