forge-failed-deploys
Routine check: scans the Forge estate for sites whose latest deployment is in a failure state. Runs daily via its own routine; findings are routed through the proposal pipeline as Evidence Source: scheduled-check/forge-failed-deploys.
- License 许可
- MIT
- 所属仓库
- gtapps/hermitd
- 最近更新
- 2026-11-15
- Stars
- ★ 85
- Forks
- 16
01 前言 Front Matter
- name
- forge-failed-deploys
- description
- Routine check: scans the Forge estate for sites whose latest deployment is in a failure state. Runs daily via its own routine; findings are routed through the proposal pipeline as Evidence Source: scheduled-check/forge-failed-deploys.
03 SKILL.md 正文
Forge Failed Deploys
Routine skill: scans the org-wide site list and flags any sites whose latest deployment status is failed, failed-build, or cancelled.
Contract: idempotent, read-only, no self-scheduling, short-running. Returns findings or silence — never creates proposals itself.
Steps
-
Run the estate scan.
php ${CLAUDE_PLUGIN_ROOT}/php/forge.php failed-deploysThis pages through the org-wide site list via
organizationSites()->lazy()and fetches thedeployment_statusfield on each site. For sites in a failure state it fetches the latestdeployments()detail. Rate limiting (429) is handled internally with conservative pacing. -
Parse the JSON output. It prints
{"failures":[...]}; on{"error":...}, reportScan skipped: <error>in place ofNo actionable findings.. Each entry has:site_id,site_name,server_id,status, optionallydeploy_id,deploy_status,commit. An entry whose detail fetch was rate-limited instead carries anerrorkey (and nodeploy_id/commit): treat those as "failure, detail unavailable" and omit the commit line. Never assume all keys are present. -
Output the findings block. Always output to stdout, regardless of outcome.
reflect --check-id forge-failed-deploys --check hermitd-laravel-forge:forge-failed-deploysclassifies the result.Failures found:
forge-failed-deploys findings — <YYYY-MM-DD> Failed deployments: <N> - [deploy-failure] <site_name> (server: <server_id>): status <status><commit line if available>One bullet per failed site.
No failures:
forge-failed-deploys findings — <YYYY-MM-DD> No actionable findings. -
Do not fetch deployment logs. This scan surfaces sites with failures; the
forge-logsorforge-deployskills handle remediation. Fetching logs per failure during the scan would hit rate limits on large estates.
Notes
- This skill writes no artifact. Findings are returned for
reflect --check-id forge-failed-deploys --check hermitd-laravel-forge:forge-failed-deploysto classify and route. Routine execution owns scheduling state. - Registered by
/hermitd-laravel-forge:hatchas thehermitd-laravel-forge:forge-failed-deploysroutine. Its schedule lives inconfig.routines. - No channel notifications — this is analysis-only. Findings surface as
[reliability]proposals via the normal pipeline. - scope: if
organizationSites()does not carrydeployment_statusin your Forge plan/API version, the scan will report zero findings (not an error). Scope towatched_sitesin.hermit/config.jsonif org-wide scan is unavailable. - Rate limit: Forge allows ~60 req/min. The scan paces conservatively; a 429 on the site listing ends the scan with
{"error":"rate_limited:..."}, and the check retries on the next scheduled run.
04 同仓库更多 Skills
task-decide
Record the operator's typed task decision.
dream
Nightly memory maintenance from transcript ground truth. Verifies, enriches and tidies auto-memory and topic pages with snapshot validation and undo. Also handles 'undo the dream'.
when-done-switch-to
Arm a deferred model or effort switch. Use for "when done switch to", "after this drop to sonnet", or "switch model when idle".
weekly-review
Generate the weekly review report for the current ISO week. Writes to .hermit/compiled/review-weekly-YYYY-Www.md (dev-facing detail) and sends a plain-language channel summary (Delivered / Decisions / Waiting on you / Spend). Runs every Sunday at 23:00 via routine.
watch
Background events via the config watch monitor or ad-hoc Monitor tool. Quiet watches cost zero tokens.
watch-activate
Activate the config watch monitor.