npx claudepluginhub hypoxanthineovo/hypo-workflow --plugin hwThis skill uses the workspace's default tool permissions.
📌 输出语言规则:
Start Hypo-Workflow execution when the user wants to begin running milestones, continue automatically through the pipeline, or execute the first prompt.
Executes heartbeat checklist from HEARTBEAT.md to detect stale sessions, waiting timeouts, and evaluate items for issues in Claude Code Hermit. Supports run/start/stop/status/edit subcommands.
Monitors background processes from Claude Code using sentinel files, heartbeat liveness, and subagent polling to detect completion, failure, hangs, or timeouts without wasting tokens.
Share bugs, ideas, or general feedback.
📌 输出语言规则: 读取 config.yaml → output.language
This is an internal skill. It is not a normal user-facing command. It exists so scripts/watchdog.sh and cron-driven agents have a precise policy for deciding when to trigger /hw:resume.
.pipeline/config.yaml exists.pipeline/state.yaml existswatchdog.enabled=true in effective configIf watchdog.enabled=false or the field is missing, do nothing.
watchdog:
enabled: false
interval: 300
heartbeat_timeout: 300
max_retries: 5
max_consecutive_milestones: 10
notify: true
Defaults are intentionally disabled for backward compatibility.
All Pipeline execution skills must update .pipeline/state.yaml after every meaningful execution transition:
last_heartbeat: "2026-04-28T12:00:00+08:00"
Write an ISO-8601 timestamp with timezone. Use output.timezone; default to Asia/Shanghai.
Update last_heartbeat when:
/hw:start sets current.phase=executing/hw:resume sets current.phase=executing.pipeline/state.yaml.current.phase; continue only when it is executing.last_heartbeat.watchdog.heartbeat_timeout, exit quietly..pipeline/.lock exists, log skip: lock exists and exit.max_retries, stop and notify if configured./hw:resume..pipeline/watchdog.log./hw:start and /hw:resume must create .pipeline/.lock before entering active execution and remove it when the execution turn completes, stops, blocks, or finishes. The watchdog must never resume when the lock exists.
Lockfile content should include:
pid=<pid or agent-session>
started=<iso timestamp>
command=/hw:start or /hw:resume
Store retry state in .pipeline/watchdog.state.
watchdog.notify=trueSuccessful resume resets the consecutive failure count to 0.
When /hw:start reads watchdog.enabled=true, it should register a crontab entry for scripts/watchdog.sh using watchdog.interval.
When the pipeline reaches completed, /hw:stop stops intentionally, or the user aborts, unregister the crontab entry.
When watchdog.enabled=false, never register cron.
Use an identifiable crontab marker:
# hypo-workflow-watchdog:<project-root>
scripts/watchdog.sh — deterministic shell implementation of the detection flowskills/start/SKILL.md — lock and heartbeat writes on startskills/resume/SKILL.md — lock and heartbeat writes on resumeskills/stop/SKILL.md — unregister cron and remove lockreferences/state-contract.md — state field contractreferences/config-spec.md — config defaults