本文へ移動
cccskills
無料GitHub で公開

worker-cron-change

Use when adding, reviewing, or repairing Pharos Worker cron schedules, slot dispatch, leases, or runtime experiments.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md5.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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, connection-budget assumption, and 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 and slot capacity. 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, Lease And Breaker Recovery, and Health & Status Endpoints; inspect the fence/lease/reconciliation sources above. Fresh matching status progress bars lease clearing.
  • Compatibility date: read qualification. 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, 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:cron-console-usage, 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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Review the retained annotation candidate queue and curate per-coin editorial history. Use weekly during active event periods, monthly otherwise, or on queue-health warnings; this does not restore the retired live chart overlay.

日本語の概要は準備中です。原文の説明を表示しています。

TokenBrice/pharos-watch232026年10月12日 更新

Generate a weekly changelog entry from git history, filtering operational noise and producing editorial summary, field notes, statistics, and a bounded commit manifest. Stops for review unless commit was explicitly requested.

日本語の概要は準備中です。原文の説明を表示しています。

TokenBrice/pharos-watch232026年10月12日 更新

Research and populate tracked stablecoin compliance sidecars for the U.S. GENIUS Act, EU MiCA, or both. Use when adding or auditing authorization, applicability, pathway, or disclosure evidence.

日本語の概要は準備中です。原文の説明を表示しています。

TokenBrice/pharos-watch232026年10月12日 更新

Use when adding, reviewing, squashing, deploying, or rolling back Pharos D1 migrations or schema cleanup.

日本語の概要は準備中です。原文の説明を表示しています。

TokenBrice/pharos-watch232026年10月12日 更新

Drain the Pharos Dependency Map coverage-audit queues into evidence-refreshed edges, reviewed target dispositions, or documented deferrals. Use monthly after weekly production dependency audits, after dependency coverage drops, or when reviewing adapter gaps, material unlinked slices, symbol leads, duplicate/split groups, or unverifiable published edges.

日本語の概要は準備中です。原文の説明を表示しています。

TokenBrice/pharos-watch232026年10月12日 更新

Update Pharos funding donations by reconciling inbound transfers, rejecting wallet self-activity and spam, pricing receipt-time value, and appending user-approved rows.

日本語の概要は準備中です。原文の説明を表示しています。

TokenBrice/pharos-watch232026年10月12日 更新

TokenBrice のスキルをすべて見る

このスキルの問題を報告する