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,875 @@
|
|
|
1
|
+
# Chief of Staff: 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, read the clock, append the run record. When a routine says `page.read`, it means "read this page as a structure I can act on," 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 07:15 on a Tuesday when nobody is awake to notice.
|
|
12
|
+
|
|
13
|
+
**One thing about this Employee specifically.** It is the least browser dependent kit in the club. Six of its seven routines produce their main deliverable on a machine with no browser control at all. Read section 7 before you spend an afternoon wiring browser control for it, because most of what you get from it does not need one.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## 1. How to check what your harness supports
|
|
18
|
+
|
|
19
|
+
### 1.1 The four checks that decide everything
|
|
20
|
+
|
|
21
|
+
Do these before you install anything else. The first three are pass or fail for the whole kit. The fourth decides one routine.
|
|
22
|
+
|
|
23
|
+
**1. Can it read and write files in `«COS_ROOT»`?**
|
|
24
|
+
Ask it to write a file called `state/probe.txt` and read it back. If your harness sandboxes file access, `«COS_ROOT»` has to be inside the allowed set, and a sandbox usually fails quietly rather than loudly. Also confirm `«COS_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.
|
|
25
|
+
|
|
26
|
+
**2. Can it read files in your other AI Employees' folders?**
|
|
27
|
+
This is the check that is unique to this kit, and it is the one people skip. This Employee's whole job is reading other folders. If your harness sandboxes file access to one directory, it can read `«COS_ROOT»` and nothing else, and the fleet map will hold exactly one root: its own. The brief still gets written. It just has nobody else to watch.
|
|
28
|
+
|
|
29
|
+
Ask it to read one file inside another Employee's folder, by absolute path, and confirm it comes back. **Read access is what this needs. Write access outside `«COS_ROOT»` is never used and never wanted:** the kit refuses to write outside its own folder as a rule, and a harness that also refuses is a second lock on the same door.
|
|
30
|
+
|
|
31
|
+
**3. Can it read the machine clock and the timezone id?**
|
|
32
|
+
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.
|
|
33
|
+
|
|
34
|
+
**4. Can it run a local command?**
|
|
35
|
+
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.
|
|
36
|
+
|
|
37
|
+
**And a fifth, which decides one routine rather than the kit.** Can it drive a browser that carries your own logged in sessions? 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 has handed it a browser with no session, and every read of a surface behind a sign in lands on a wall. The routine will do the correct thing, which is to record `blocked-login`, change nothing, and tell you. It will do that every week.
|
|
38
|
+
|
|
39
|
+
Ask your harness this exact question: **does your browser control attach to the browser profile I am already signed in to, or does it start a fresh one?** If the answer is fresh, `cos-market-sweep` reads public pages only, which is most of a watchlist anyway, and everything else in the kit is unaffected.
|
|
40
|
+
|
|
41
|
+
### 1.2 The probe
|
|
42
|
+
|
|
43
|
+
Paste this into your agent, in `«COS_ROOT»`, once, before you register anything.
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
Read CAPABILITIES.md in this folder.
|
|
47
|
+
|
|
48
|
+
For each of the 21 capabilities in sections 3, 4, 5 and 6, tell me three things:
|
|
49
|
+
1. can you do this right now, on this machine
|
|
50
|
+
2. with what, named exactly as your harness names it
|
|
51
|
+
3. if you cannot, what would I have to install or turn on
|
|
52
|
+
|
|
53
|
+
Then answer one more, which is specific to this Employee:
|
|
54
|
+
can you READ a file by absolute path in a folder outside this one,
|
|
55
|
+
and does anything in your setup sandbox that
|
|
56
|
+
|
|
57
|
+
Rules for your answer:
|
|
58
|
+
Try the cheap ones rather than reasoning about them. Reading the clock,
|
|
59
|
+
listing a folder, and fetching one public URL are all cheap.
|
|
60
|
+
For the browser, confirm whether you attach to my signed in profile
|
|
61
|
+
or start a clean one. Say which.
|
|
62
|
+
Where you do not know, write "unknown". Never guess and never assume
|
|
63
|
+
a capability exists because it usually does.
|
|
64
|
+
Change no files. Send nothing. Open no account.
|
|
65
|
+
|
|
66
|
+
Give me one table and nothing else.
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
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.
|
|
70
|
+
|
|
71
|
+
### 1.3 What the confidence column means
|
|
72
|
+
|
|
73
|
+
| Value | Means |
|
|
74
|
+
|---|---|
|
|
75
|
+
| `confirmed` | Verified working. Claude Code is the harness this kit was built and run on, so it is the only column where this appears |
|
|
76
|
+
| `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 |
|
|
77
|
+
| `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 |
|
|
78
|
+
|
|
79
|
+
### 1.4 Probe live, never cache
|
|
80
|
+
|
|
81
|
+
Capability detection happens at the top of every run, every time. No routine stores a capability result and reuses it tomorrow.
|
|
82
|
+
|
|
83
|
+
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.
|
|
84
|
+
|
|
85
|
+
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.
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
## 2. The eleven harnesses, honestly
|
|
90
|
+
|
|
91
|
+
One row each. For this kit the file column matters more than the browser column, which is the reverse of most Employees in the club.
|
|
92
|
+
|
|
93
|
+
| Harness | Files and shell | Reads outside its own folder | Browser control | Your signed in session | Scheduler | Confidence overall |
|
|
94
|
+
|---|---|---|---|---|---|---|
|
|
95
|
+
| **Claude Code** | Built in | Yes, by absolute path | Chrome extension bridge | Yes, attaches to your Chrome | Desktop app: built in. CLI: none, use the operating system's | `confirmed` |
|
|
96
|
+
| **OpenClaw** | Expected, core to it | Probe this | Unconfirmed. Probe | Probe this specifically | Built in cron, `openclaw automations create` | `expected` on files, `unknown` on browser |
|
|
97
|
+
| **Hermes** | Expected | Probe this | Probe | Probe this specifically | Built in cron | `expected` on files, `unknown` on browser |
|
|
98
|
+
| **OpenCode** | Expected, core to it | Probe this | Add a browser automation server | Depends on that server's config | None of its own, use the operating system's | `expected` on files |
|
|
99
|
+
| **Grok Bot** | Expected, on its own cloud computer | Probe this | Its own browser, on that computer | Check first; it runs elsewhere | Built in recurring tasks | `expected` on files, `unknown` on your sessions |
|
|
100
|
+
| **Codex** | Expected, core to it | **Check the sandbox specifically** | Add a browser automation server | Depends on that server's config | Scheduled runs | `expected` on files |
|
|
101
|
+
| **Antigravity** | Expected, core to it | Probe this | Part of the product | Probe this specifically | The `agy` job runner | `expected` |
|
|
102
|
+
| **Pi** | Expected, core to it | Probe this | Probe | Probe this specifically | None of its own, use the operating system's | `expected` on files |
|
|
103
|
+
| **Cline** | Expected, core to it | Probe this | Probe | Probe this specifically | Built in cron, `cline schedule create` | `expected` on files |
|
|
104
|
+
| **Qwen Code** | Expected, core to it | Probe this | Probe | Probe this specifically | Built in scheduled tasks, or the operating system's | `expected` on files |
|
|
105
|
+
| **DeepSeek** | Expected, core to it | Probe this | Part of the product | Probe this specifically | Its scheduling plugin | `expected` on files |
|
|
106
|
+
|
|
107
|
+
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.
|
|
108
|
+
|
|
109
|
+
**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, reads files outside the session folder by absolute path, 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.
|
|
110
|
+
|
|
111
|
+
**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.
|
|
112
|
+
|
|
113
|
+
**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.
|
|
114
|
+
|
|
115
|
+
**OpenCode.** An open source terminal coding agent. Reading files, writing files, and running commands are core to what it is for. It supports MCP servers, which is the route to browser control for the one routine that wants it. I know of no built in scheduler, so use the operating system's, per section 9.
|
|
116
|
+
|
|
117
|
+
**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.
|
|
118
|
+
|
|
119
|
+
**Codex.** OpenAI's coding agent. Files and commands are core. **The specific thing to check here is the sandbox, and for this Employee it matters twice.** Confirm it can write inside `«COS_ROOT»`, confirm it can read by absolute path outside it, 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.
|
|
120
|
+
|
|
121
|
+
**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 the market sweep on it is the one from 1.1: does it drive the browser profile you are signed in to, or a clean automated one. Schedule with the `agy` job runner, one job per routine, pointed at the routine folder.
|
|
122
|
+
|
|
123
|
+
**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 «COS_ROOT» as the working directory. Confirm the print flag against `pi --help`, then settle the browser question with the probe in 1.2.
|
|
124
|
+
|
|
125
|
+
**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 «COS_ROOT», then probe the browser.
|
|
126
|
+
|
|
127
|
+
**Qwen Code.** Reads the skill format and ships scheduled tasks. Files and shell are core; confirm it can write inside «COS_ROOT» and reach the network. Probe the browser before you rely on a browser routine.
|
|
128
|
+
|
|
129
|
+
**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.
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## 3. Environment and files
|
|
134
|
+
|
|
135
|
+
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.
|
|
136
|
+
|
|
137
|
+
### `clock.local`
|
|
138
|
+
Read the machine timezone id and the local wall clock time.
|
|
139
|
+
|
|
140
|
+
| Harness | Route | Confidence |
|
|
141
|
+
|---|---|---|
|
|
142
|
+
| Claude Code | Its own clock, or a shell command | `confirmed` |
|
|
143
|
+
| OpenClaw | Its own clock, or a shell command | `expected` |
|
|
144
|
+
| Hermes | Unknown. A shell command is the fallback if it has one | `unknown` |
|
|
145
|
+
| OpenCode | Its own clock, or a shell command | `expected` |
|
|
146
|
+
| Grok Bot | Unknown. A shell command is the fallback if it has one | `unknown` |
|
|
147
|
+
| Codex | Its own clock, or a shell command | `expected` |
|
|
148
|
+
| Antigravity | Its own clock, or a shell command | `expected` |
|
|
149
|
+
|
|
150
|
+
**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.
|
|
151
|
+
|
|
152
|
+
On Windows: `powershell -NoProfile -Command "(Get-TimeZone).Id; Get-Date -Format 'yyyy-MM-dd HH:mm:ss'"`. On macOS or Linux: `date +"%Z %Y-%m-%d %H:%M:%S"`.
|
|
153
|
+
|
|
154
|
+
### `file.read`
|
|
155
|
+
Read a file as text.
|
|
156
|
+
|
|
157
|
+
| Harness | Route | Confidence |
|
|
158
|
+
|---|---|---|
|
|
159
|
+
| Claude Code | Its file read, or a shell command. Reads outside the session folder by absolute path | `confirmed` |
|
|
160
|
+
| OpenClaw | Its file read, or a shell command | `expected` |
|
|
161
|
+
| Hermes | Unknown | `unknown` |
|
|
162
|
+
| OpenCode | Its file read, or a shell command | `expected` |
|
|
163
|
+
| Grok Bot | Unknown | `unknown` |
|
|
164
|
+
| Codex | Its file read. Confirm the sandbox includes `«COS_ROOT»` **and the Employee roots you want watched** | `expected` |
|
|
165
|
+
| Antigravity | Its file read, or a shell command | `expected` |
|
|
166
|
+
|
|
167
|
+
**Absent:** the kit does not run. Nothing else in this file matters.
|
|
168
|
+
|
|
169
|
+
**Absent outside `«COS_ROOT»`, present inside it:** the kit runs and watches one Employee, its own. `charter/fleet-map.md` holds one root, every other Employee is invisible, and the audit says so in one line in its report. That is a real and survivable state, and it is worth knowing on day one rather than three weeks in.
|
|
170
|
+
|
|
171
|
+
### `file.write`
|
|
172
|
+
Write a file. Anything a crash could truncate is written to a temp path and renamed over the original.
|
|
173
|
+
|
|
174
|
+
| Harness | Route | Confidence |
|
|
175
|
+
|---|---|---|
|
|
176
|
+
| Claude Code | Its file write, or a shell command | `confirmed` |
|
|
177
|
+
| OpenClaw | Its file write, or a shell command | `expected` |
|
|
178
|
+
| Hermes | Unknown | `unknown` |
|
|
179
|
+
| OpenCode | Its file write, or a shell command | `expected` |
|
|
180
|
+
| Grok Bot | Unknown | `unknown` |
|
|
181
|
+
| Codex | Its file write. Confirm the sandbox allows writes, not just reads | `expected` |
|
|
182
|
+
| Antigravity | Its file write, or a shell command | `expected` |
|
|
183
|
+
|
|
184
|
+
**Absent:** the kit does not run.
|
|
185
|
+
|
|
186
|
+
**Scope it to `«COS_ROOT»` if your harness supports scoping.** This Employee never writes anywhere else, by rule, checked as the fifth invariant at the end of every run. A scoped write grant is what makes that true rather than merely intended, and it costs nothing, because there is no legitimate write outside the folder for it to block.
|
|
187
|
+
|
|
188
|
+
**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.
|
|
189
|
+
|
|
190
|
+
### `file.list`
|
|
191
|
+
List paths under a folder.
|
|
192
|
+
|
|
193
|
+
| Harness | Route | Confidence |
|
|
194
|
+
|---|---|---|
|
|
195
|
+
| Claude Code | Its glob or search | `confirmed` |
|
|
196
|
+
| OpenClaw | Its glob, or a shell command | `expected` |
|
|
197
|
+
| Hermes | Unknown | `unknown` |
|
|
198
|
+
| OpenCode | Its glob, or a shell command | `expected` |
|
|
199
|
+
| Grok Bot | Unknown | `unknown` |
|
|
200
|
+
| Codex | Its glob, or a shell command | `expected` |
|
|
201
|
+
| Antigravity | Its glob, or a shell command | `expected` |
|
|
202
|
+
|
|
203
|
+
**Absent:** the routine enumerates from the known paths in the contract's file map and notes the degradation. **The bounded discovery search in `cos-charter-and-fleet-audit` genuinely needs this**, so without it the fleet map holds this Employee's own root alone, and the report asks you to name your Employee roots in one line.
|
|
204
|
+
|
|
205
|
+
### `shell.run`
|
|
206
|
+
Run a local command and read its output.
|
|
207
|
+
|
|
208
|
+
| Harness | Route | Confidence |
|
|
209
|
+
|---|---|---|
|
|
210
|
+
| Claude Code | Its shell | `confirmed` |
|
|
211
|
+
| OpenClaw | Its shell | `expected` |
|
|
212
|
+
| Hermes | Unknown | `unknown` |
|
|
213
|
+
| OpenCode | Its shell | `expected` |
|
|
214
|
+
| Grok Bot | Unknown | `unknown` |
|
|
215
|
+
| Codex | Its shell, inside the sandbox | `expected` |
|
|
216
|
+
| Antigravity | Its shell | `expected` |
|
|
217
|
+
|
|
218
|
+
**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.
|
|
219
|
+
|
|
220
|
+
---
|
|
221
|
+
|
|
222
|
+
## 4. Browser
|
|
223
|
+
|
|
224
|
+
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.
|
|
225
|
+
|
|
226
|
+
**In this kit, three routines can use them and four never touch them.** `cos-fleet-reconcile`, `cos-fault-dossier`, `cos-decision-brief`, and `cos-decision-review` have the lane `never` and run identically on a machine with no browser control configured at all.
|
|
227
|
+
|
|
228
|
+
**The shared degradation.** The routine does its file only work, records `partial`, and puts `no browser control capability configured` in `blockers[]`. **There is no eighth status for this**, and if you see a routine invent one, that is a defect.
|
|
229
|
+
|
|
230
|
+
### `browser.session`
|
|
231
|
+
Confirm browser control is attached to a browser holding your own logged in session.
|
|
232
|
+
|
|
233
|
+
| Harness | Route | Confidence |
|
|
234
|
+
|---|---|---|
|
|
235
|
+
| Claude Code | The Chrome extension bridge, attached to your own Chrome | `confirmed` |
|
|
236
|
+
| OpenClaw | Its own browser control if it has one, otherwise a browser automation server | `unknown` |
|
|
237
|
+
| Hermes | Unknown. Probe before relying on the market sweep | `unknown` |
|
|
238
|
+
| OpenCode | A browser automation server added to the harness | `expected` |
|
|
239
|
+
| Grok Bot | Unknown. Probe before relying on the market sweep | `unknown` |
|
|
240
|
+
| Codex | A browser automation server added to the harness | `expected` |
|
|
241
|
+
| Antigravity | Its built in browser control. Confirm it drives your signed in profile | `expected` |
|
|
242
|
+
|
|
243
|
+
**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.
|
|
244
|
+
|
|
245
|
+
**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 attempt at something that already fired. For a read only Employee the cost of that is wasted quota rather than a duplicate message, which is why the rule here is short: re-read where the page actually is before deciding anything.
|
|
246
|
+
|
|
247
|
+
| Harness | The transport, and what it does on a failed call |
|
|
248
|
+
|---|---|
|
|
249
|
+
| 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 |
|
|
250
|
+
| OpenClaw | Unknown |
|
|
251
|
+
| Hermes | Unknown |
|
|
252
|
+
| 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 |
|
|
253
|
+
| Grok Bot | Unknown |
|
|
254
|
+
| Codex | As OpenCode |
|
|
255
|
+
| Antigravity | Unknown |
|
|
256
|
+
|
|
257
|
+
### `browser.tab.open` and `browser.tab.close`
|
|
258
|
+
Create a tab for this run and close it at the end.
|
|
259
|
+
|
|
260
|
+
| Harness | Route | Confidence |
|
|
261
|
+
|---|---|---|
|
|
262
|
+
| Claude Code | Its tab management | `confirmed` |
|
|
263
|
+
| OpenClaw | Its browser control, if present | `unknown` |
|
|
264
|
+
| Hermes | Unknown | `unknown` |
|
|
265
|
+
| OpenCode | The browser automation server's page or context handling | `expected` |
|
|
266
|
+
| Grok Bot | Unknown | `unknown` |
|
|
267
|
+
| Codex | The browser automation server's page or context handling | `expected` |
|
|
268
|
+
| Antigravity | Its browser control | `expected` |
|
|
269
|
+
|
|
270
|
+
**Tab hygiene, on every harness.** Create your own tab, reuse it for the whole phase, close it on every exit path, and never touch a tab you did not open. **This Employee has no exception to that**, because it never leaves a filled form behind for you. Every tab it creates is closed before the run records.
|
|
271
|
+
|
|
272
|
+
### `browser.navigate`
|
|
273
|
+
Go to a URL.
|
|
274
|
+
|
|
275
|
+
| Harness | Route | Confidence |
|
|
276
|
+
|---|---|---|
|
|
277
|
+
| Claude Code | Its navigate | `confirmed` |
|
|
278
|
+
| OpenClaw | Its browser control, if present | `unknown` |
|
|
279
|
+
| Hermes | Unknown | `unknown` |
|
|
280
|
+
| OpenCode | The browser automation server's navigation | `expected` |
|
|
281
|
+
| Grok Bot | Unknown | `unknown` |
|
|
282
|
+
| Codex | The browser automation server's navigation | `expected` |
|
|
283
|
+
| Antigravity | Its browser control | `expected` |
|
|
284
|
+
|
|
285
|
+
**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. And a single overlong URL can wedge a page permanently, so one target per search.
|
|
286
|
+
|
|
287
|
+
### `page.read`
|
|
288
|
+
Read the page as a structured tree where each interactive element carries a stable reference you can act on.
|
|
289
|
+
|
|
290
|
+
| Harness | Route | Confidence |
|
|
291
|
+
|---|---|---|
|
|
292
|
+
| Claude Code | Its accessibility tree read, which returns a reference per element | `confirmed` |
|
|
293
|
+
| OpenClaw | Its page read, if present | `unknown` |
|
|
294
|
+
| Hermes | Unknown | `unknown` |
|
|
295
|
+
| OpenCode | The browser automation server's accessibility snapshot | `expected` |
|
|
296
|
+
| Grok Bot | Unknown | `unknown` |
|
|
297
|
+
| Codex | The browser automation server's accessibility snapshot | `expected` |
|
|
298
|
+
| Antigravity | Its page read | `expected` |
|
|
299
|
+
|
|
300
|
+
**Absent, but the browser works:** fall back to `page.text`. **For this Employee that is a smaller loss than for most**, because almost everything it does in a browser is a read. What it loses is the ability to click a disclosure control or set a date range, which is a narrower list of surfaces rather than a broken routine.
|
|
301
|
+
|
|
302
|
+
**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.
|
|
303
|
+
|
|
304
|
+
| Harness | How references behave | What to do |
|
|
305
|
+
|---|---|---|
|
|
306
|
+
| 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 |
|
|
307
|
+
| OpenClaw | Unknown | Re-read after any view change and use what the fresh read returns |
|
|
308
|
+
| Hermes | Unknown | Same |
|
|
309
|
+
| 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 |
|
|
310
|
+
| Grok Bot | Unknown | Re-read after any view change |
|
|
311
|
+
| Codex | As OpenCode | As OpenCode |
|
|
312
|
+
| Antigravity | Unknown | Re-read after any view change |
|
|
313
|
+
|
|
314
|
+
**The rule that holds on all seven:** never act on a reference taken before the last view change.
|
|
315
|
+
|
|
316
|
+
### `page.text`
|
|
317
|
+
Read the visible text.
|
|
318
|
+
|
|
319
|
+
| Harness | Route | Confidence |
|
|
320
|
+
|---|---|---|
|
|
321
|
+
| Claude Code | Its text extraction | `confirmed` |
|
|
322
|
+
| OpenClaw | Its text extraction, if present | `unknown` |
|
|
323
|
+
| Hermes | Unknown | `unknown` |
|
|
324
|
+
| OpenCode | The browser automation server's text or content read | `expected` |
|
|
325
|
+
| Grok Bot | Unknown | `unknown` |
|
|
326
|
+
| Codex | The browser automation server's text or content read | `expected` |
|
|
327
|
+
| Antigravity | Its text extraction | `expected` |
|
|
328
|
+
|
|
329
|
+
**Absent:** read from `page.capture` instead.
|
|
330
|
+
|
|
331
|
+
**Never trust page text straight after a navigation in a single page app.** It can return the previous view, with no error and nothing that looks wrong. Verdicts get read off a capture, not off text, whenever the answer decides something. For this Employee the answer usually decides whether a change goes on a page a member will click through, so it always decides something.
|
|
332
|
+
|
|
333
|
+
### `page.capture`
|
|
334
|
+
Capture the screen, or a region of it.
|
|
335
|
+
|
|
336
|
+
| Harness | Route | Confidence |
|
|
337
|
+
|---|---|---|
|
|
338
|
+
| Claude Code | Its screenshot, including a region zoom | `confirmed` |
|
|
339
|
+
| OpenClaw | Its screenshot, if present | `unknown` |
|
|
340
|
+
| Hermes | Unknown | `unknown` |
|
|
341
|
+
| OpenCode | The browser automation server's screenshot | `expected` |
|
|
342
|
+
| Grok Bot | Unknown | `unknown` |
|
|
343
|
+
| Codex | The browser automation server's screenshot | `expected` |
|
|
344
|
+
| Antigravity | Its screenshot | `expected` |
|
|
345
|
+
|
|
346
|
+
**Absent:** verify from `page.text` and record in the run record that verification was weaker on this run.
|
|
347
|
+
|
|
348
|
+
**Two things worth carrying wherever this runs.** A capture of a small region focuses the tab exactly as well as a full screen capture and costs a fraction as much. And never make a capture the last action in a batch: if the batch times out, every image it already captured is discarded with it.
|
|
349
|
+
|
|
350
|
+
### `element.click`
|
|
351
|
+
Click one element by its reference from `page.read`.
|
|
352
|
+
|
|
353
|
+
| Harness | Route | Confidence |
|
|
354
|
+
|---|---|---|
|
|
355
|
+
| Claude Code | Its click by reference | `confirmed` |
|
|
356
|
+
| OpenClaw | Its click, if present | `unknown` |
|
|
357
|
+
| Hermes | Unknown | `unknown` |
|
|
358
|
+
| OpenCode | The browser automation server's click on a snapshot reference | `expected` |
|
|
359
|
+
| Grok Bot | Unknown | `unknown` |
|
|
360
|
+
| Codex | The browser automation server's click on a snapshot reference | `expected` |
|
|
361
|
+
| Antigravity | Its click | `expected` |
|
|
362
|
+
|
|
363
|
+
**In this kit, only navigation and disclosure controls are ever clicked**, plus the save test on anything that saves, which in practice this Employee never presses because it saves nothing.
|
|
364
|
+
|
|
365
|
+
**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.
|
|
366
|
+
|
|
367
|
+
**The first click after a context switch is often swallowed.** Click, wait, click again, then verify.
|
|
368
|
+
|
|
369
|
+
**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`.
|
|
370
|
+
|
|
371
|
+
| Harness | Where a refusal can come from |
|
|
372
|
+
|---|---|
|
|
373
|
+
| 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 |
|
|
374
|
+
| OpenClaw | Unknown. Assume the harness permission layer at minimum |
|
|
375
|
+
| Hermes | Unknown. Same |
|
|
376
|
+
| OpenCode | The harness permission layer. A browser automation server has no classifier of its own and does not refuse |
|
|
377
|
+
| Grok Bot | Unknown. Same |
|
|
378
|
+
| Codex | The harness permission layer plus its sandbox, which can decline network access without saying so |
|
|
379
|
+
| Antigravity | Unknown. Assume the harness permission layer |
|
|
380
|
+
|
|
381
|
+
**On LinkedIn some harnesses independently refuse clicks and keystrokes.** When that happens, the rule and the platform agree and the refusal is the system working rather than a fault.
|
|
382
|
+
|
|
383
|
+
### `field.set`
|
|
384
|
+
Set a form field's value by reference.
|
|
385
|
+
|
|
386
|
+
| Harness | Route | Confidence |
|
|
387
|
+
|---|---|---|
|
|
388
|
+
| Claude Code | Its form input on a reference | `confirmed` |
|
|
389
|
+
| OpenClaw | Its form input, if present | `unknown` |
|
|
390
|
+
| Hermes | Unknown | `unknown` |
|
|
391
|
+
| OpenCode | The browser automation server's fill or type | `expected` |
|
|
392
|
+
| Grok Bot | Unknown | `unknown` |
|
|
393
|
+
| Codex | The browser automation server's fill or type | `expected` |
|
|
394
|
+
| Antigravity | Its form input | `expected` |
|
|
395
|
+
|
|
396
|
+
**This kit sets exactly two kinds of field and no third:** a search box on a page it is about to read where the surface offers no URL form for the same query, and a date range control on a surface whose range cannot be set in the URL, which it sets back to what it found. **Never on LinkedIn, where a query is set by navigating to the search URL and confirmed by reading the box.**
|
|
397
|
+
|
|
398
|
+
**The input ladder, in the order that actually lands.** Try each and stop at the first that works.
|
|
399
|
+
|
|
400
|
+
1. A form field setter on a reference. Plain inputs take this.
|
|
401
|
+
2. The native value setter plus a bubbling input event, for controlled components that ignore a direct value write.
|
|
402
|
+
3. A real click plus keystrokes, last resort, where the platform demands a genuine input event. Do `focus-before-keystrokes` first.
|
|
403
|
+
|
|
404
|
+
**Absent:** skip the field, record it as a blocker naming the field, and read the page as it stands. A market surface read at its default range is still a read.
|
|
405
|
+
|
|
406
|
+
### `page.script`
|
|
407
|
+
Evaluate a script in the page context and get a JSON result back.
|
|
408
|
+
|
|
409
|
+
| Harness | Route | Confidence |
|
|
410
|
+
|---|---|---|
|
|
411
|
+
| Claude Code | Its script evaluation, through the bridge | `confirmed` |
|
|
412
|
+
| OpenClaw | Its script evaluation, if present | `unknown` |
|
|
413
|
+
| Hermes | Unknown | `unknown` |
|
|
414
|
+
| OpenCode | The browser automation server's evaluate | `expected` |
|
|
415
|
+
| Grok Bot | Unknown | `unknown` |
|
|
416
|
+
| Codex | The browser automation server's evaluate | `expected` |
|
|
417
|
+
| Antigravity | Its script evaluation | `expected` |
|
|
418
|
+
|
|
419
|
+
**Absent:** fall back to `page.read` plus `field.set`. If none of those is available either, skip the phase and name it.
|
|
420
|
+
|
|
421
|
+
**Never run a script that clicks or types on LinkedIn.** That is the same rule as everywhere else in this kit and a script is not a loophole in it.
|
|
422
|
+
|
|
423
|
+
**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.
|
|
424
|
+
|
|
425
|
+
| Harness | Call timeout |
|
|
426
|
+
|---|---|
|
|
427
|
+
| Claude Code | Around 45 seconds |
|
|
428
|
+
| OpenClaw | Unknown |
|
|
429
|
+
| Hermes | Unknown |
|
|
430
|
+
| OpenCode | The browser automation server's own default, commonly 30 seconds and usually configurable |
|
|
431
|
+
| Grok Bot | Unknown |
|
|
432
|
+
| Codex | As OpenCode |
|
|
433
|
+
| Antigravity | Unknown |
|
|
434
|
+
|
|
435
|
+
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.
|
|
436
|
+
|
|
437
|
+
### `page.wait`
|
|
438
|
+
Wait for a condition, polling rather than sleeping long.
|
|
439
|
+
|
|
440
|
+
| Harness | Route | Confidence |
|
|
441
|
+
|---|---|---|
|
|
442
|
+
| Claude Code | Its wait, or polling `page.text` | `confirmed` |
|
|
443
|
+
| OpenClaw | Its wait, if present, or polling | `unknown` |
|
|
444
|
+
| Hermes | Unknown | `unknown` |
|
|
445
|
+
| OpenCode | The browser automation server's wait for selector or load state | `expected` |
|
|
446
|
+
| Grok Bot | Unknown | `unknown` |
|
|
447
|
+
| Codex | The browser automation server's wait for selector or load state | `expected` |
|
|
448
|
+
| Antigravity | Its wait | `expected` |
|
|
449
|
+
|
|
450
|
+
**Absent:** fixed waits, which are slower and less reliable, and the run record says so. The fixed values live in `human-pace` in `recipes/BROWSER-RECIPES.md` and nowhere else.
|
|
451
|
+
|
|
452
|
+
---
|
|
453
|
+
|
|
454
|
+
## 4b. Connected sources
|
|
455
|
+
|
|
456
|
+
A connected source is a route the member connected once in their own harness that reads an account this Employee works in: a connector from the harness's own directory, the vendor's own server added by its URL, or the vendor's command line tool. The rule is the one in section 8: the kit detects a connection, uses it, degrades without it, and never installs one. A routine names the capability in the left column; this table says what it resolves to on this machine, and `docs/HARNESSES.md` says how each harness adds one.
|
|
457
|
+
|
|
458
|
+
**Prefer a connected route over the browser lane wherever both exist.** It reads the same figures the account screen shows with no tab, no mutex, no login wall, and no learned flow that drifts. The browser lane in section 4 is the fallback for every row that resolves to nothing, and section 7 says what that costs.
|
|
459
|
+
|
|
460
|
+
**Read only, scoped, and never more than this Employee reads.** Where a vendor offers a read only form of a route, that form is the only one named here. Where it offers none, the two guardrails still hold: no routine calls a tool that creates, sends, spends, deploys or deletes unless `RELEASES.md` names that channel. Every connected server loads its tool descriptions into every run on most harnesses, so connect the rows a routine in this kit reads and nothing for the sake of having it.
|
|
461
|
+
|
|
462
|
+
| Capability | What it reads | Routes, in order of preference | Read only form | Confidence |
|
|
463
|
+
|---|---|---|---|---|
|
|
464
|
+
| `mail.read`, `calendar.read`, `files.read` | Mail, meetings and documents the metric map or the charter names | The Gmail, Google Calendar and Google Drive connectors (Drive reads Docs, Sheets and PDFs); the Microsoft 365 connector | Read only | `expected` |
|
|
465
|
+
| `board.read` | Cards and status in the member's project tool | The Notion, Linear (`https://mcp.linear.app/mcp/readonly`), Asana, Atlassian, monday.com, ClickUp or Todoist connector | Read only | `expected` |
|
|
466
|
+
| `money.read` | Revenue, cash and subscriptions for the Thursday review | The Stripe connector with a restricted, read only key; the Xero, QuickBooks, Mercury, Ramp, Brex or Chargebee connector | Read only | `expected` |
|
|
467
|
+
| `analytics.read` | Traffic and signups | The PostHog connector; the Google Analytics MCP server (official, `pipx run analytics-mcp`); the host's own analytics tool | Read only | `expected` |
|
|
468
|
+
| `page.diff` | A competitor page read for the Wednesday sweep when a plain fetch fails | `web.fetch` first; the Firecrawl, Exa or Tavily connector; the Similarweb and Crunchbase connectors for traffic and company signals | Read only | `expected` |
|
|
469
|
+
| `chat.read` | A team or community channel on the watchlist | The Slack connector | Read only | `expected` |
|
|
470
|
+
|
|
471
|
+
`confirmed` appears in this table only after you have watched a row work on this machine; write it into `## Corrections` with the date. **Absent:** the browser lane route in section 4 for the same read, or `n/a (no connected route)` where section 7 says the read needs your session. The probe in 1.2 answers each row in one line: present, under what name, read only or not.
|
|
472
|
+
|
|
473
|
+
---
|
|
474
|
+
|
|
475
|
+
## 5. Notification and research
|
|
476
|
+
|
|
477
|
+
Three capabilities. One of them is the only thing in this kit that reaches your phone, and two are how the audit and the sweep learn anything about the outside world without a browser.
|
|
478
|
+
|
|
479
|
+
### `notify.push`
|
|
480
|
+
Send one short notification to your own device.
|
|
481
|
+
|
|
482
|
+
| Harness | Route | Confidence |
|
|
483
|
+
|---|---|---|
|
|
484
|
+
| Claude Code | Its push notification tool, then a hosted club notifier | `confirmed` |
|
|
485
|
+
| OpenClaw | Its own notification route if it has one, then a hosted club notifier | `unknown` |
|
|
486
|
+
| Hermes | Unknown | `unknown` |
|
|
487
|
+
| OpenCode | A hosted club notifier, or a notification server you added | `unknown` |
|
|
488
|
+
| Grok Bot | Unknown | `unknown` |
|
|
489
|
+
| Codex | A hosted club notifier, or a notification server you added | `unknown` |
|
|
490
|
+
| Antigravity | Its own notification route if it has one, then a hosted club notifier | `unknown` |
|
|
491
|
+
|
|
492
|
+
**Absent is not a failure and is never a blocker.** The routine puts `push: not available` in the run record `notes` and carries on. **Every push in this kit is a shortcut to a line that is already in the brief**, so with notifications off you lose speed and never information.
|
|
493
|
+
|
|
494
|
+
**Only `cos-fleet-reconcile` may send one, at most one per morning, only for the four cases in `CONTRACT.md` section 9.1, only inside the working hours in `charter/constraints.md`, and never twice for the same open blocker.** That last rule matters more than the trigger: a channel that fires every morning is a channel that gets muted, and a muted channel loses the one message that mattered.
|
|
495
|
+
|
|
496
|
+
### `web.search`
|
|
497
|
+
Get search results for a query.
|
|
498
|
+
|
|
499
|
+
| Harness | Route | Confidence |
|
|
500
|
+
|---|---|---|
|
|
501
|
+
| Claude Code | Your own search endpoint named in `charter/business.md`, then its web search | `confirmed` |
|
|
502
|
+
| OpenClaw | Your own search endpoint, then its web search if present | `unknown` |
|
|
503
|
+
| Hermes | Unknown | `unknown` |
|
|
504
|
+
| OpenCode | Your own search endpoint, then a search server if you added one | `expected` |
|
|
505
|
+
| Grok Bot | Unknown | `unknown` |
|
|
506
|
+
| Codex | Your own search endpoint. Confirm the sandbox allows outbound requests | `expected` |
|
|
507
|
+
| Antigravity | Your own search endpoint, then its web search | `expected` |
|
|
508
|
+
|
|
509
|
+
**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)`. **Never substitute a browser tab driving a search engine.** That is a different thing wearing the same clothes, and it burns the budget the crawl needs.
|
|
510
|
+
|
|
511
|
+
If you have your own search endpoint, name it in `charter/business.md` by its human readable name only. **No key, no token, and no URL with a credential in it goes into that file or any other file in this kit.**
|
|
512
|
+
|
|
513
|
+
### `web.fetch`
|
|
514
|
+
Read a URL's text without opening a browser.
|
|
515
|
+
|
|
516
|
+
| Harness | Route | Confidence |
|
|
517
|
+
|---|---|---|
|
|
518
|
+
| Claude Code | Its fetch, then `browser.navigate` plus `page.text` | `confirmed` |
|
|
519
|
+
| OpenClaw | Its fetch, then `shell.run` with a fetch command, then the browser | `expected` |
|
|
520
|
+
| Hermes | Unknown. `shell.run` with a fetch command if it has a shell | `unknown` |
|
|
521
|
+
| OpenCode | Its fetch, then `shell.run` with a fetch command, then the browser | `expected` |
|
|
522
|
+
| Grok Bot | Unknown. `shell.run` with a fetch command if it has a shell | `unknown` |
|
|
523
|
+
| Codex | Its fetch or `shell.run`. Confirm the sandbox allows outbound requests | `expected` |
|
|
524
|
+
| Antigravity | Its fetch, then the browser | `expected` |
|
|
525
|
+
|
|
526
|
+
**Absent:** mark the finding `n/a (page not reachable)`.
|
|
527
|
+
|
|
528
|
+
**This is the capability the monthly research crawl prefers over a browser**, because it needs no browser, takes no mutex, and costs no lane time. `cos-charter-and-fleet-audit` uses it for the whole research phase and falls back to the browser only where fetch returns nothing. It cannot reach anything behind your own login, which is a real limit and a small one for a crawl of your own public pages.
|
|
529
|
+
|
|
530
|
+
### Three capabilities this kit deliberately does not have
|
|
531
|
+
|
|
532
|
+
`image.compress`, `image.inject`, and `richtext.paste` are in other Employees in this club and are absent here on purpose. **This Employee attaches nothing and writes into no editor.** A capability with no caller is a capability nobody maintains, and a route list nobody exercises is a route list that quietly goes stale.
|
|
533
|
+
|
|
534
|
+
---
|
|
535
|
+
|
|
536
|
+
## 6. Kit capabilities
|
|
537
|
+
|
|
538
|
+
Three. These are the kit's own, and two of them ship as scripts inside it.
|
|
539
|
+
|
|
540
|
+
### `runlog.append`
|
|
541
|
+
Append exactly one validated run record to `runlog.jsonl`.
|
|
542
|
+
|
|
543
|
+
| Harness | Route | Confidence |
|
|
544
|
+
|---|---|---|
|
|
545
|
+
| Claude Code | `shell.run` on `scripts/runlog.mjs`, then a direct append doing the same validation | `confirmed` |
|
|
546
|
+
| OpenClaw | `shell.run` on `scripts/runlog.mjs`, then a direct append | `expected` |
|
|
547
|
+
| Hermes | `shell.run` if present, then a direct append through `file.write` | `unknown` |
|
|
548
|
+
| OpenCode | `shell.run` on `scripts/runlog.mjs`, then a direct append | `expected` |
|
|
549
|
+
| Grok Bot | `shell.run` if present, then a direct append through `file.write` | `unknown` |
|
|
550
|
+
| Codex | `shell.run` on `scripts/runlog.mjs`, then a direct append | `expected` |
|
|
551
|
+
| Antigravity | `shell.run` on `scripts/runlog.mjs`, then a direct append | `expected` |
|
|
552
|
+
|
|
553
|
+
**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 every routine in this kit sends its unrecorded run to that same file so there is one place to look.
|
|
554
|
+
|
|
555
|
+
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 personal data, writes UTF-8 with no byte order mark, and repairs a stray mark at the head of the file. The in agent route does the same checks. It is a different route, not a lighter one.
|
|
556
|
+
|
|
557
|
+
**Three call shapes work on every shell, and one does not:**
|
|
558
|
+
|
|
559
|
+
```
|
|
560
|
+
<the JSON> | node "«COS_ROOT»/scripts/runlog.mjs" --stdin
|
|
561
|
+
node "«COS_ROOT»/scripts/runlog.mjs" --file <path to a .json file>
|
|
562
|
+
node "«COS_ROOT»/scripts/runlog.mjs" --routine <id> --period <key> --status ok ...
|
|
563
|
+
```
|
|
564
|
+
|
|
565
|
+
Passing the object as a positional argument works on POSIX shells only. **PowerShell strips every double quote out of an argument on its way to a native command**, so the object arrives unquoted and unparseable. The script detects that signature and names it rather than making you re-read the docs.
|
|
566
|
+
|
|
567
|
+
**Never append a run record through a shell redirect or an append cmdlet.** Several of them prepend a byte order mark by default.
|
|
568
|
+
|
|
569
|
+
**Do not pass `--once`.** The once per period guard legitimately writes a second record with the status `skipped-already-ran`, and that record is how you see the guard did its job.
|
|
570
|
+
|
|
571
|
+
### `copy.check`
|
|
572
|
+
The scripted judge for any text about to be written into a brief, a dossier, a weekly page, a charter file, or a dashboard partial.
|
|
573
|
+
|
|
574
|
+
| Harness | Route | Confidence |
|
|
575
|
+
|---|---|---|
|
|
576
|
+
| Claude Code | `shell.run` on `scripts/copy-check.mjs`, then the same rule set applied in agent | `confirmed` |
|
|
577
|
+
| OpenClaw | `shell.run` on `scripts/copy-check.mjs`, then in agent | `expected` |
|
|
578
|
+
| Hermes | `shell.run` if present, then in agent | `unknown` |
|
|
579
|
+
| OpenCode | `shell.run` on `scripts/copy-check.mjs`, then in agent | `expected` |
|
|
580
|
+
| Grok Bot | `shell.run` if present, then in agent | `unknown` |
|
|
581
|
+
| Codex | `shell.run` on `scripts/copy-check.mjs`, then in agent | `expected` |
|
|
582
|
+
| Antigravity | `shell.run` on `scripts/copy-check.mjs`, then in agent | `expected` |
|
|
583
|
+
|
|
584
|
+
**Absent the script:** the in agent route runs and the run record says `copy-check: in-agent`. **It is never skipped.** The in agent route is a degradation, not an exemption, and there is no third option where a page goes out unchecked.
|
|
585
|
+
|
|
586
|
+
One interface, used verbatim at every call site:
|
|
587
|
+
|
|
588
|
+
```
|
|
589
|
+
node "«COS_ROOT»/scripts/copy-check.mjs" --file <path> --dest <destination> [--json]
|
|
590
|
+
```
|
|
591
|
+
|
|
592
|
+
`--dest` is one of `email`, `dm`, `form`, `strategy`, `dashboard`, `plain`. **This kit calls three of the six:** `plain` for every page you read, `strategy` for a charter file and for `evidence/sourced.md`, `dashboard` for a partial. The other three are there because one script serves every AI Employee on the machine.
|
|
593
|
+
|
|
594
|
+
`--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 07:15 on a Tuesday. There is no `--profile`, no `--destination`, and no bare positional path.
|
|
595
|
+
|
|
596
|
+
**The banned word, opener, and closer lists ship inside the script.** This kit has no voice file, because nothing it writes is outbound copy: every page it produces is read by one person. If a word keeps coming through that you do not want, write one line into the `## Corrections` section of the routine that keeps producing it, and that routine amends its own instructions on its next run.
|
|
597
|
+
|
|
598
|
+
### `schedule.register`
|
|
599
|
+
Register, inspect, or change a recurring job named after a routine id **in this kit**.
|
|
600
|
+
|
|
601
|
+
| Harness | Route | Confidence |
|
|
602
|
+
|---|---|---|
|
|
603
|
+
| Claude Code | Its own scheduler | `confirmed` |
|
|
604
|
+
| OpenClaw | Its built in cron, `openclaw automations create`, through `shell.run` | `expected` |
|
|
605
|
+
| Hermes | Its built in cron | `expected` |
|
|
606
|
+
| OpenCode | Not available in the harness. The operating system's scheduler | `expected` |
|
|
607
|
+
| Grok Bot | Its recurring tasks, on its own cloud computer | `expected` |
|
|
608
|
+
| Codex | Its scheduled runs | `expected` |
|
|
609
|
+
| Antigravity | Its `agy` job runner, through `shell.run` | `expected` |
|
|
610
|
+
| Pi | Not available in the harness. The operating system's scheduler | `expected` |
|
|
611
|
+
| Cline | Its built in cron, `cline schedule create`, through `shell.run` | `expected` |
|
|
612
|
+
| Qwen Code | Its built in scheduled tasks | `expected` |
|
|
613
|
+
| DeepSeek | Its scheduling plugin | `expected` |
|
|
614
|
+
|
|
615
|
+
**Absent all routes:** write the exact commands to `«COS_ROOT»/schedule-commands.txt` and name that file in the report and in the brief. You run them yourself, once, and the kit is scheduled.
|
|
616
|
+
|
|
617
|
+
**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.**
|
|
618
|
+
|
|
619
|
+
**Seven jobs, and never an eighth.** This Employee registers the seven routines in this kit. **It never registers, retimes, disables, or removes a job belonging to any other Employee**, even when it can see one is wrong. It names that in the map and in the report and leaves it to you. A Chief of Staff that silently retimes another Employee's morning is a Chief of Staff nobody can debug.
|
|
620
|
+
|
|
621
|
+
---
|
|
622
|
+
|
|
623
|
+
## 7. What you lose with no browser at all
|
|
624
|
+
|
|
625
|
+
The honest headline first.
|
|
626
|
+
|
|
627
|
+
**Six of the seven routines produce their main deliverable with no browser control at all.** The morning brief never needs one. Neither does the dossier, the weekly score, the Friday decision brief, or the monthly review. On a machine with no browser control you still get a fleet page every morning, a diagnosis every afternoon, a scorecard every Thursday, three argued moves every Friday, and a calibration figure every month.
|
|
628
|
+
|
|
629
|
+
**What you lose is the outside view.** `cos-market-sweep` is the one routine that genuinely needs a browser, because reading a competitor's pricing page, a changelog, a careers list, or a forum thread is what it does. Without one it writes the week's page from the baselines it already holds, marks every surface, and produces no new observations. Left alone long enough, `cos-decision-brief` loses one of its two evidence sources and argues from the metrics page alone, which is thinner but still real.
|
|
630
|
+
|
|
631
|
+
| Routine | With browser control | With none | Recorded |
|
|
632
|
+
|---|---|---|---|
|
|
633
|
+
| `cos-fleet-reconcile` | Never uses one | Identical. Full function | `ok` |
|
|
634
|
+
| `cos-fault-dossier` | Never uses one | Identical. Full function | `ok` |
|
|
635
|
+
| `cos-market-sweep` | Reads every surface on the watchlist and diffs against the baseline | No new observations. The page names every surface it could not read | `partial` |
|
|
636
|
+
| `cos-metrics-review` | Reads the live screens the metric map names | Every file based number, which is most of them. Screens marked `n/a` | `partial`, or `ok` where the map names no screen |
|
|
637
|
+
| `cos-decision-brief` | Never uses one | Identical, unless the market page is thin | `ok` |
|
|
638
|
+
| `cos-charter-and-fleet-audit` | Crawls through fetch, falls back to a page where fetch returns nothing, and views the built dashboard | Research narrows to what fetch reaches. The dashboard is verified off disk | `ok` or `partial` |
|
|
639
|
+
| `cos-decision-review` | Never uses one | Identical. Full function | `ok` |
|
|
640
|
+
|
|
641
|
+
**The most common healthy configuration takes no browser lane on most days.** If `charter/metric-map.md` names no live screen, `cos-metrics-review` opens nothing at all and produces exactly the same page, which means every number on it came out of a file. That is a better place for a metric to live than a screen somebody has to be signed in to, and it is why an empty `## Live screens` section is a good outcome rather than a gap.
|
|
642
|
+
|
|
643
|
+
---
|
|
644
|
+
|
|
645
|
+
## 8. Optional named helpers
|
|
646
|
+
|
|
647
|
+
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.
|
|
648
|
+
|
|
649
|
+
**It detects. It uses. It degrades. It never installs.**
|
|
650
|
+
|
|
651
|
+
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.
|
|
652
|
+
|
|
653
|
+
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.
|
|
654
|
+
|
|
655
|
+
Self repair means the same thing. 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, it reads the live page and writes the replacement into the same file. Both are a file inside `«COS_ROOT»`. Neither is a new helper installed somewhere global, and neither is silent: both go in the run record as one line.
|
|
656
|
+
|
|
657
|
+
**This Employee has an unusually short optional list, and that is the point.** It needs no image helper, no carousel helper, no publishing helper, and no submission helper, because it produces pages rather than assets and it sends nothing anywhere.
|
|
658
|
+
|
|
659
|
+
---
|
|
660
|
+
|
|
661
|
+
## 9. The scheduling layer
|
|
662
|
+
|
|
663
|
+
Every harness schedules differently and some do not schedule at all. The shape below is the same everywhere. Only the mechanism changes.
|
|
664
|
+
|
|
665
|
+
### 9.1 The shape
|
|
666
|
+
|
|
667
|
+
**One job per routine.** Seven routines, seven jobs. Never one job that runs several in sequence: a chained job defeats the per routine period guard, blurs the budgets, and turns one failure into seven.
|
|
668
|
+
|
|
669
|
+
**The job's only content is the invocation.** All the logic is in the routine. If your scheduler grows a shell script with business rules in it, the rules now live in two places and they will disagree, and you will find out which one is wrong on the day it matters.
|
|
670
|
+
|
|
671
|
+
**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.
|
|
672
|
+
|
|
673
|
+
**Name every job exactly after its routine id.** All seven ids carry the `cos-` prefix so they namespace cleanly next to the other AI Employees this one watches, and the monthly drift check can only match a registered job to a row when the names are identical.
|
|
674
|
+
|
|
675
|
+
**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.
|
|
676
|
+
|
|
677
|
+
The shipped default week:
|
|
678
|
+
|
|
679
|
+
```
|
|
680
|
+
Every weekday
|
|
681
|
+
07:15 cos-fleet-reconcile
|
|
682
|
+
14:30 cos-fault-dossier
|
|
683
|
+
|
|
684
|
+
Wednesday adds 10:00 cos-market-sweep
|
|
685
|
+
Thursday adds 10:30 cos-metrics-review
|
|
686
|
+
Friday adds 16:00 cos-decision-brief
|
|
687
|
+
First weekday adds 12:00 cos-charter-and-fleet-audit
|
|
688
|
+
Last weekday adds 13:00 cos-decision-review
|
|
689
|
+
```
|
|
690
|
+
|
|
691
|
+
No two share a fire minute, including the ones that never touch a browser. Hosts flush queued jobs in bursts, and two agent sessions starting in the same second compete for the same files.
|
|
692
|
+
|
|
693
|
+
### 9.2 The mechanism, per harness
|
|
694
|
+
|
|
695
|
+
| Harness | Mechanism | Confidence |
|
|
696
|
+
|---|---|---|
|
|
697
|
+
| **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` |
|
|
698
|
+
| **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` |
|
|
699
|
+
| **OpenClaw** | Built in cron: `openclaw automations create "<cron>" "<message>" --name <id> --session isolated`, one per routine, with the timezone flag | `expected` |
|
|
700
|
+
| **Hermes** | Built in cron, one job per routine, each handed that routine's `SKILL.md` as the prompt | `expected` |
|
|
701
|
+
| **OpenCode** | None of its own. Use the operating system's scheduler below | `expected` |
|
|
702
|
+
| **Grok Bot** | Its bots run on a schedule from their own cloud computer: one recurring task per routine | `expected` |
|
|
703
|
+
| **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 |
|
|
704
|
+
| **Antigravity** | The `agy` job runner, one job per routine, pointed at the routine folder | `expected` |
|
|
705
|
+
| **Pi** | None of its own. Use the operating system's scheduler below | `expected` |
|
|
706
|
+
| **Cline** | Built in cron: `cline schedule create "<prompt>" --cron "<cron>"`, one per routine, auto approve on | `expected` |
|
|
707
|
+
| **Qwen Code** | Built in scheduled tasks, one per routine, or the operating system's scheduler below | `expected` |
|
|
708
|
+
| **DeepSeek** | Its scheduling plugin, one run per routine | `expected` |
|
|
709
|
+
|
|
710
|
+
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.
|
|
711
|
+
|
|
712
|
+
Throughout, `«RUN cos-fleet-reconcile»` and its six siblings stand for the whole invocation that runs that one routine unattended. Section 9.2a says what it expands to. Section 10 applies to every line below without exception.
|
|
713
|
+
|
|
714
|
+
### 9.2a What `«RUN <routine-id>»` expands to
|
|
715
|
+
|
|
716
|
+
**`«RUN <routine-id>»` is the entire invocation, brackets and routine id together.** It is not a prefix you append the id to. On several harnesses the id sits inside a quoted prompt rather than at the end of the line, so substitute the whole placeholder and read the shapes below before you write seven of them.
|
|
717
|
+
|
|
718
|
+
Two shapes cover every harness.
|
|
719
|
+
|
|
720
|
+
**Shape A, where the harness discovers routines from a directory.** The invocation names the routine id and the harness finds the folder itself:
|
|
721
|
+
|
|
722
|
+
```
|
|
723
|
+
<headless run command> "Run cos-fleet-reconcile"
|
|
724
|
+
```
|
|
725
|
+
|
|
726
|
+
**Shape B, where it does not.** The invocation hands the routine file to the harness as the run prompt:
|
|
727
|
+
|
|
728
|
+
```
|
|
729
|
+
<headless run command> "Read «COS_ROOT»/routines/cos-fleet-reconcile/SKILL.md and follow it."
|
|
730
|
+
```
|
|
731
|
+
|
|
732
|
+
**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.
|
|
733
|
+
|
|
734
|
+
| Harness | The headless run command | Confidence |
|
|
735
|
+
|---|---|---|
|
|
736
|
+
| **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 «COS_ROOT»/routines/<routine-id>/SKILL.md and follow it.`, working folder `«COS_ROOT»`, permission mode set per task. Shape B | `confirmed` |
|
|
737
|
+
| **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 |
|
|
738
|
+
| **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` |
|
|
739
|
+
| **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` |
|
|
740
|
+
| **OpenCode** | `opencode run "<prompt>"` is its non interactive form. Confirm it against `opencode --help` on your version. Shape B | `expected` |
|
|
741
|
+
| **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` |
|
|
742
|
+
| **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` |
|
|
743
|
+
| **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` |
|
|
744
|
+
| **Pi** | `pi -p "<prompt>"`. Confirm the print flag against `pi --help` on your version. Shape B | `expected` |
|
|
745
|
+
| **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` |
|
|
746
|
+
| **Qwen Code** | `qwen -p "<prompt>"`. Confirm the print flag against `qwen --help` on your version. Shape B | `expected` |
|
|
747
|
+
| **DeepSeek** | `dsh` runs a local server; confirm the headless prompt form against `dsh --help` on your version. Shape B | `expected` |
|
|
748
|
+
|
|
749
|
+
Three things decide whether the line works, and all three are outside the command itself.
|
|
750
|
+
|
|
751
|
+
**The working directory.** The run has to start in `«COS_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.
|
|
752
|
+
|
|
753
|
+
**The approval mode.** Section 10. A scheduled run in a prompting mode hangs at 07:15 and leaves no record at all, which is worse than failing.
|
|
754
|
+
|
|
755
|
+
**One routine run by hand, first.** Take the line for `cos-fleet-reconcile`, run it in a terminal, and watch it write `brief-latest.md` and one line into `runlog.jsonl`. Then register the other six. **Seven jobs registered on an invocation nobody has run is seven silent failures on the same morning**, and the first thing you would see is an empty brief.
|
|
756
|
+
|
|
757
|
+
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.
|
|
758
|
+
|
|
759
|
+
### 9.2b Scheduled readiness is a scheduled fire
|
|
760
|
+
|
|
761
|
+
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.
|
|
762
|
+
|
|
763
|
+
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.
|
|
764
|
+
|
|
765
|
+
**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.
|
|
766
|
+
|
|
767
|
+
### 9.3 cron, on macOS or Linux
|
|
768
|
+
|
|
769
|
+
```
|
|
770
|
+
15 7 * * 1-5 «RUN cos-fleet-reconcile»
|
|
771
|
+
30 14 * * 1-5 «RUN cos-fault-dossier»
|
|
772
|
+
0 10 * * 3 «RUN cos-market-sweep»
|
|
773
|
+
30 10 * * 4 «RUN cos-metrics-review»
|
|
774
|
+
0 16 * * 5 «RUN cos-decision-brief»
|
|
775
|
+
0 12 1-7 * * «RUN cos-charter-and-fleet-audit»
|
|
776
|
+
0 13 25-31 * * «RUN cos-decision-review»
|
|
777
|
+
```
|
|
778
|
+
|
|
779
|
+
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`.
|
|
780
|
+
|
|
781
|
+
**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 12 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.
|
|
782
|
+
|
|
783
|
+
`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.
|
|
784
|
+
|
|
785
|
+
**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.
|
|
786
|
+
|
|
787
|
+
### 9.4 Windows Task Scheduler
|
|
788
|
+
|
|
789
|
+
```
|
|
790
|
+
schtasks /Create /TN "cos-fleet-reconcile" /SC WEEKLY /D MON,TUE,WED,THU,FRI /ST 07:15 /TR "«COS_ROOT»\run\cos-fleet-reconcile.cmd"
|
|
791
|
+
schtasks /Create /TN "cos-fault-dossier" /SC WEEKLY /D MON,TUE,WED,THU,FRI /ST 14:30 /TR "«COS_ROOT»\run\cos-fault-dossier.cmd"
|
|
792
|
+
schtasks /Create /TN "cos-market-sweep" /SC WEEKLY /D WED /ST 10:00 /TR "«COS_ROOT»\run\cos-market-sweep.cmd"
|
|
793
|
+
schtasks /Create /TN "cos-metrics-review" /SC WEEKLY /D THU /ST 10:30 /TR "«COS_ROOT»\run\cos-metrics-review.cmd"
|
|
794
|
+
schtasks /Create /TN "cos-decision-brief" /SC WEEKLY /D FRI /ST 16:00 /TR "«COS_ROOT»\run\cos-decision-brief.cmd"
|
|
795
|
+
schtasks /Create /TN "cos-charter-and-fleet-audit" /SC MONTHLY /MO FIRST /D MON,TUE,WED,THU,FRI /ST 12:00 /TR "«COS_ROOT»\run\cos-charter-and-fleet-audit.cmd"
|
|
796
|
+
schtasks /Create /TN "cos-decision-review" /SC MONTHLY /MO LAST /D MON,TUE,WED,THU,FRI /ST 13:00 /TR "«COS_ROOT»\run\cos-decision-review.cmd"
|
|
797
|
+
```
|
|
798
|
+
|
|
799
|
+
**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 `«COS_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.
|
|
800
|
+
|
|
801
|
+
```
|
|
802
|
+
:: «COS_ROOT»\run\cos-fleet-reconcile.cmd
|
|
803
|
+
@echo off
|
|
804
|
+
cd /d "«COS_ROOT»"
|
|
805
|
+
"%USERPROFILE%\.local\bin\claude.exe" -p "Read «COS_ROOT»/routines/cos-fleet-reconcile/SKILL.md and follow it." --permission-mode acceptEdits --output-format json < nul > "«COS_ROOT»\run\cos-fleet-reconcile.last.json"
|
|
806
|
+
if errorlevel 1 node "«COS_ROOT»\scripts\runlog.mjs" --failed-run cos-fleet-reconcile --exit-code %errorlevel%
|
|
807
|
+
```
|
|
808
|
+
|
|
809
|
+
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 `«COS_ROOT»`, and check the path.
|
|
810
|
+
|
|
811
|
+
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. **Be generous about when, be strict about how many times.**
|
|
812
|
+
|
|
813
|
+
Task Scheduler has a setting called **Run task as soon as possible after a scheduled start is missed.** Turn it on for all seven. The window guard makes the catch up safe, and without it a laptop that was closed at 07:15 gets no brief at all that day.
|
|
814
|
+
|
|
815
|
+
### 9.5 Machines that sleep
|
|
816
|
+
|
|
817
|
+
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.
|
|
818
|
+
|
|
819
|
+
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.
|
|
820
|
+
|
|
821
|
+
**Set the earliest fire in your table after the time the machine is normally awake.** If your machine wakes at 08:00, a 07:15 fire always arrives as a catch up. That works, and your brief is permanently one wake behind.
|
|
822
|
+
|
|
823
|
+
**A machine that slept through a whole day is a case this Employee handles rather than misreports.** The reconcile window is `[last_window_end, this run's start)`, so a Wednesday run after a Tuesday outage covers both days once, and nothing is lost or double counted. And where every run record inside a week is a skip of any kind, `cos-metrics-review` replaces its whole headline with one sentence asking whether the machine was awake and whether the schedule is still registered, because **a table of zeros reads like a bad week of work rather than a dead one.**
|
|
824
|
+
|
|
825
|
+
### 9.6 When nothing can register the schedule
|
|
826
|
+
|
|
827
|
+
The kit still runs when you launch it by hand. Nothing about a routine's behaviour changes based on who started it.
|
|
828
|
+
|
|
829
|
+
When no route can register a job, the audit writes every command it would have run into `«COS_ROOT»/schedule-commands.txt` and names that file first in its report and in the next brief. Run them yourself once and you are scheduled.
|
|
830
|
+
|
|
831
|
+
**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.
|
|
832
|
+
|
|
833
|
+
### 9.7 Drift
|
|
834
|
+
|
|
835
|
+
`cos-charter-and-fleet-audit` compares the registered job times against `SCHEDULE.md` once a month and reports any mismatch as one line naming both times, then re-registers that one job at the row's time, because **`SCHEDULE.md` is the source.** 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`.
|
|
836
|
+
|
|
837
|
+
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.**
|
|
838
|
+
|
|
839
|
+
**It checks its own seven and nothing else.** If it can see that another Employee's job is unregistered or drifted, it records that in the fleet map and in the report and changes nothing.
|
|
840
|
+
|
|
841
|
+
---
|
|
842
|
+
|
|
843
|
+
## 10. Scheduled runs get no permission prompt
|
|
844
|
+
|
|
845
|
+
This is the setting that decides whether your schedule produces anything at all, and for this Employee it is worth two minutes twice over: once for its own seven jobs, and once because **a routine that hangs waiting for a prompt is the exact shape of the failure this Employee exists to detect on your other Employees.**
|
|
846
|
+
|
|
847
|
+
**A routine launched in a prompting mode stalls forever waiting for a human who is asleep.** At 07:15 the reconcile asks to write a file, 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.
|
|
848
|
+
|
|
849
|
+
**That is the `silent-stop` fault class**, and it is the failure mode nobody notices, because nothing inside that Employee can see its own absence. This kit catches it on somebody else's Employee by comparing their schedule row against their log. **Nothing catches it on this one**, except you, opening a folder and finding yesterday's brief still there.
|
|
850
|
+
|
|
851
|
+
**The fix lives in your harness's own settings: run scheduled work in its auto approve mode.** Every harness calls it something different. Ask yours for the flag or setting that runs a session without interactive approval, and apply it to the seven scheduled jobs only.
|
|
852
|
+
|
|
853
|
+
Two practical points on top of that.
|
|
854
|
+
|
|
855
|
+
**Scope it where scoping is supported.** Give the auto approve setting the narrowest write scope your harness allows, ideally `«COS_ROOT»` and nothing else. **These routines have no business writing anywhere else, and the kit says so as a rule.** A scoped grant is what makes that true rather than merely intended. Read access is a different matter and it wants to be wider, because reading your other Employees' folders is the job.
|
|
856
|
+
|
|
857
|
+
**A prompt can come from below the harness too.** A browser permission prompt is not cleared by any harness setting. If a step needs a click nobody is there to give, the step does not belong in a scheduled routine.
|
|
858
|
+
|
|
859
|
+
### Why this does not weaken anything
|
|
860
|
+
|
|
861
|
+
It is a fair thing to be uneasy about, so here is the direct answer.
|
|
862
|
+
|
|
863
|
+
**The prompt gate was never the guardrail.** The two guardrails live inside the routines, and so does the third rule. The Employee never composes a send action, never enters a credential, spends only where you released it, and **never opens a write handle outside its own folder.** There is no code path where an approval prompt is the last thing standing between this Employee and somebody else's files. Turning off the prompt removes a question about writing a file inside `«COS_ROOT»`. It does not add a capability.
|
|
864
|
+
|
|
865
|
+
What actually holds the line is checked at the end of every single run: nothing sent, nothing posted, nothing submitted, nothing enabled, nothing published, nothing deployed, nothing migrated, nothing spent, no credential written or logged, every claim traceable, and **no file outside `«COS_ROOT»` written, created, renamed, moved, or deleted.** If any of those does not hold, that run is a failure regardless of what else it produced.
|
|
866
|
+
|
|
867
|
+
**If your harness cannot run without interactive approval, schedule the four file only routines and run the rest by hand.** `cos-fleet-reconcile`, `cos-fault-dossier`, `cos-decision-brief`, and `cos-decision-review` never open a browser, so they are the least likely to raise a prompt of any kind. You still get the brief, the dossier, the Friday argument, and the monthly score.
|
|
868
|
+
|
|
869
|
+
---
|
|
870
|
+
|
|
871
|
+
## Corrections
|
|
872
|
+
|
|
873
|
+
Format: one line per correction, newest at the top, `YYYY-MM-DD: what was wrong, what to do instead.`
|
|
874
|
+
|
|
875
|
+
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.
|