stuck-playbook
Use when a himmel guardrail blocks you.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 15
- Forks
- 2
01 前言 Front Matter
- name
- stuck-playbook
- description
- Use when a himmel guardrail blocks you.
03 SKILL.md 正文
stuck-playbook — guardrail-recovery escape-hatches
You hit a himmel guardrail and need the recovery rule. The full symptom→action
playbook lives in the repo at docs/internals/stuck-playbook.md — read it
now and apply the section matching your symptom.
Read docs/internals/stuck-playbook.md
(In a worktree, the repo root is the worktree dir; the path is the same.)
The one rule that overrides every workaround
Never reshape a command to dodge a guardrail. The guardrails are structural
on purpose (structural > instructional). If a write is still denied
after applying the matching playbook section, that denial is correct — defer
to the operator. Prefer a structural fix (a new auto-approve-safe-bash case,
a CLI flag) over a cleverer command.
Symptom index (detail in the playbook doc)
- Bash command stopped by a permission prompt (interactively it waits;
headless/auto it DENIES at rc=0 and continues — a silent no-op) → the native
matcher bails on
$var/$(…)/ backticks / compound operators. Prefer literal single commands. - Jira write fell through to the classifier and was DENIED → command-SHAPE
problem, not a write-permission problem. Prefer literal
node …/jira …(bare orcd-prefixed); multi-line bodies via--comment-file/--desc-file. - Pre-push gate failed on a missing attestation trailer → put the trailer in
the FIRST commit; never reactive
--amend(HARD-blocked in auto-mode). If already pushed, add it to the PR body. /worktreerefused the branch ("PR already MERGED") → deliberate reuse bypasses withREUSE_MERGED_BRANCH_OK=1set in the LAUNCHING shell; prefer a freshtype/slugbranch. Lingering merged-PR worktrees are flagged read-only by/himmel-doctorC7 → run/clean.- Every Write/Edit under
/tmprefused: "cannot determine branch for '/tmp'" → a stray.gitin an ANCESTOR of the edited path (not the file itself) makesblock-edit-on-maintreat that ancestor as a repo root./himmel-doctorC36-stray-tmp-git catches it;rmdirit if empty, stop and name it (never delete contents) if not. - An ad-hoc Bash line containing the literal word "enable" is refused in a
worktree-pinned session → the harness's own worktree-isolation guard, not
a himmel script; independent of
gitinvolvement. Do not reshape the command to dodge it (the rule above still applies) — rephrase to avoid the word where possible, or defer to the operator. - A late fix after plain
pre-commit runis gated against stale content → it stashes every unstaged file repo-wide and lints the STAGED index;--all-filesdoes NOT stash.git addthe fix again before re-running. - An outward-facing command (
gh pr create/gh pr comment/git push) is denied withStage 2 classifier error→ do not retry verbatim back-to-back; end the turn or do one unrelated read, then retry ONCE, delayed, with the same head:gh pr create/gh pr commentvia--body-fileinstead of inline;git pushhas no body flag, so retry the exact same command once — the delay and intervening read are themselves what make it non-identical, not a contrived alternate spelling. Any denial after that one retry → stop,BLOCKEDto the chief with the exact text; the chief never runs it (laundering).[Out-of-Place Publication]gets no retry at all, first time seen or not — escalate immediately the same way.
Why these are a load-on-trigger playbook and not CLAUDE.md rules:
docs/internals/stuck-playbook.md § Why this is a playbook, and memory
feedback_no_operational_rules_in_claudemd.
04 同仓库更多 Skills
medic
Use inside a Salus medical vault to FILE a medical item into its structured place (skin photo → photo archive + capture note; lesion/symptom note; lab/PDF → 00-Sources) and auto-commit, OR to QUERY the vault for a health follow-up (grounded answer + flagged, non-diagnostic morphology read). Triggers on "file this photo / note / lab", "log this into the medical vault", "ask the medic", or any health follow-up while cwd = the medical vault. Organize & surface only — never diagnose (posture-A).
stuck-playbook
fixture skill, invoked in the basic transcript fixture
never-used-skill
fixture skill, never invoked in any fixture transcript
used-skill
fixture skill invoked via a Skill tool_use in the fixture transcript
dead-skill
fixture skill never invoked and never referenced
jira-transition
Move/transition a Jira issue status ("move PROJ-46 to In Progress"). Needs key + target status. Not PR status changes.