DevOps & cloud · Building & coding
worker-cron-change
/worker-cron-change
Use when adding, reviewing, or repairing Pharos Worker cron schedules, slot dispatch, leases, or runtime experiments.
For whom
- Author
- TokenBrice ↗
- Repository
- stablecoin-dashboard ↗
- Licence
- MIT
- Last repository change
- 27.10.2026
Assessment and security
90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
Deprecation
No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.
Licence
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use when adding, reviewing, or repairing Pharos Worker cron schedules, slot dispatch, leases, or runtime experiments.
Original author description
Use when adding, reviewing, or repairing Pharos Worker cron schedules, slot dispatch, leases, or runtime experiments.
How it works
- Trigger And Exclusions
- Classify The Operation
- Mandatory Core
- Branch Reads And Actions
- Checks Owned By The Verifier
- Completion Evidence
Original SKILL.md headings · 39 lines, 509 words
SKILL.md preview
--- name: worker-cron-change description: Use when adding, reviewing, or repairing Pharos Worker cron schedules, slot dispatch, leases, or runtime experiments. --- # Worker Cron Change ## Trigger And Exclusions Use for cron/lease work and approved runtime qualification, not unrelated Worker/API work. ## Classify The Operation Select schedule/dispatch, lease/abandonment recovery, compatibility-date qualification, or approved replication evaluation before reading branch context. ## Mandatory Core - `worker/src/cron/AGENTS.md`; [Cron source of truth](../../../docs/process/cron-trigger-policy.md#source-of-truth), [connection-budget assumption](../../../docs/worker-and-api-limits.md#connection-budget-operating-assumption), and [Cron Scheduling](../../../docs/worker-infrastructure.md#cron-scheduling). - Inventory `worker/wrangler.toml`, `worker/wrangler.heavy.toml`, `shared/lib/cron-jobs.ts`, and `shared/lib/scheduled-runner-registry.ts`: cadence, aliases, role, status identity, runner, connection/CPU budget and explicit `cpuPlacement`. Both configs own deployed expressions; cron metadata owns schedules/budgets; runner registry owns role/slot topology. Never duplicate that truth. - Preserve the public/heavy union growth gate; treat 5/6 as full for new fetch-heavy work. Consume or cancel each response body before later fetches; the trigger-wide budget is six. - Never clear a live lease or let a late finalizer overwrite a takeover. A green deploy is not runtime health: changed cron/scheduler/memory/ingestion paths require first-production-run evidence. - The replication benchmark is retired: no supported restore/deploy shortcut. Future evaluation needs separate approval and a reviewed Access-only copied-dataset harness; retirement does not authorize remote deletion or replication mutation. ## Branch Reads And Actions - **Schedule/dispatch:** read [new scheduled work](../../../docs/process/cron-trigger-policy.md#process-for-new-scheduled-work) and [slot capacity](../../../docs/process/worker-infrastructure-appendix.md#cron-slot-capacity-and-connection-pool-budget). Fit work into an audited slot; update its exact schedule-bound `CRON_CONNECTION_BUDGET_ENTRIES` row. For a new logical lane, explicitly choose `cpuPlacement` in `CRON_SCHEDULE_DEFINITIONS`: `hourly-physical-required` requires single-minute hourly physical aliases; `sub-hourly-allowed` permits the existing physical form. Existing declarations encode reviewed behavior; reclassification needs measured Worker operations owner review. Add a physical trigger only after the growth gate and consolidation/rebalance review. Review both `worker/wrangler.toml` and `worker/wrangler.heavy.toml`; put triggers in their owner's config. In `worker/src/handlers/scheduled.ts`, preserve dispatch parity, role ownership, serial/parallel order and runner entrypoint; misowned invocations skip neutrally. Inspect `worker/src/lib/scheduled-slot-fence.ts`, `worker/src/lib/cron-lease-primitives.ts`, and `worker/src/lib/scheduled-slot-reconciliation.ts` for takeover, heartbeat, cancellation, terminal fencing and stale-artifact reconciliation. - **Lease/abandonment recovery:** read [Cron Slot Abandonment](../../../docs/runbooks/cron-slot-abandonment.md), [Lease And Breaker Recovery](../../../docs/runbooks/lease-and-breaker-recovery.md), and [Health & Status Endpoints](../../../docs/process/worker-infrastructure-appendix.md#health--status-endpoints); inspect the fence/lease/reconciliation sources above. Fresh matching status progress bars lease clearing. - **Compatibility date:** read [qualification](../../../docs/process/worker-runtime-experiments.md#compatibility-date-experiment). Require Public/Heavy × baseline/candidate evidence; isolated Heavy neutral admission is not producer success. Advance/roll back both roles together in a dedicated date-only release, never mixed with schema, methodology, recovery, data repair, or replication changes. - **Approved replication evaluation only:** read [retired benchmark and future evaluation](../../../docs/process/worker-runtime-experiments.md#read-replication-experiment), including production-operation authorization, credential, correctness/benefit, propagation, and orphan-resource stops. Historical Git provenance is research-only. ## Checks Owned By The Verifier The assigned verifier runs checks after writers finish; implementation agents return required checks and do not independently claim validation. - Topology/runtime: `npm run check:cron-sync`, `npm run check:cron-connections`, `npm run check:fetch-body-timeouts`, `npm run validate:worker-scheduled-smoke`. - Dispatch/leases: `npx vitest run worker/src/handlers/scheduled/__tests__/scheduled-runner-contract.test.ts worker/src/lib/__tests__/cron-leases-scheduled-slot.test.ts`. - CPU placement: `npx vitest run shared/lib/__tests__/cron-jobs.test.ts` checks declared placement and required-hourly aliases across all logical schedules; topology checks inventory both `worker/wrangler.toml` and `worker/wrangler.heavy.toml`. - Experiments: use only the selected branch's qualification gates. After an authorized risk-bearing deployment, observe the first relevant execution with `npm run ops:watch-worker-cron` and the status endpoint; route anomalies to the incident branch. ## Completion Evidence Report changed schedule/slot/runner, connection and CPU-budget evidence, checks actually run (or handed to the verifier), first production execution or pending acceptance, and abandonment/lease/experiment-cleanup/rollback follow-up.
Versions
The database has no other skills named worker-cron-change.
Database snapshot: 13.11.2026 · package version 8da5c69586a5 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 100pharos-ci-failure-triage
Diagnose and fix failed Pharos GitHub Actions, adaptive PR checks, Cloudflare deploys, Pages releases, or scheduled automation. Use when a gate/run failed or the user asks to retrigger and iterate until clear. - 100cron-management
cron.md以正确格式读写的技能。提供定时任务的添加、更新、删除步骤。 Use when: cron.md的编辑、cron表达式的添加、LLM型・命令型任务的添加・删除、定时作业的维护需要时。 - 100add-cron
Add a scheduled task (cron) to the project: a protected /api/cron route registered on the shared Hypervibe clock, a dedicated Cloudflare Worker, or a GitHub Action. Triggered by an event rather than a clock? /add-automation. - 96cron-output-style
Use when writing any cron or alert message to the user. - 100local-cron-jobs-2a580546
Vercel Cron Jobs configuration and best practices. Use when adding, editing, or debugging scheduled tasks in vercel.json. - 96cross-profile-cron-ops
Use when inspecting cron jobs of another Hermes profile.