docs(evals): note CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS for headless eval runs that use workflows
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- shell
- Domain
- documentation
Research direction
Start with the headless-run guidance in the evals plugin (plugins/evals, methodology) and the invocation-probe reference at plugins/skill-quality/reference/invocation-probes.md, which both show claude -p usage; plugins/skill-quality/scripts/measure-invocation.sh is the script that runs it. Confirm grep -r BG_WAIT still finds nothing. Done means each of those spots points to the upstream env-vars page with an as-of date and recheck trigger, says that long Workflows under claude -p need the ceiling raised or set to 0, and does not restate the default.
Written by the indexing model from the issue text.
Description
What was observed
Running a skill-creator old-versus-new comparison headlessly with claude -p killed a Workflow mid-run: claude -p stops waiting for background tasks about 10 minutes after the last turn. Setting CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS=0 avoided it. A search of the repo for BG_WAIT finds no mention, including in plugins/evals (plugin-eval, methodology) and plugins/skill-quality (which do mention claude -p).
The variable is documented upstream: the Claude Code environment variables page lists CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS as the ceiling on idle waiting for background work (subagents, workflows) after the final turn in non-interactive -p mode; 0 waits indefinitely; it requires a recent Claude Code version (v2.1.182 or later per the page). Source: https://code.claude.com/docs/en/env-vars, which links the headless page's "background tasks at exit" section.
Evidence
grep -r "BG_WAIT"over the repo: no matches.plugins/skill-quality/scripts/measure-invocation.shandplugins/skill-quality/reference/invocation-probes.mdrunclaude -pwithout the variable.
Suggested fix
Add a short pointer to the upstream page (with an as-of date and recheck trigger, restating no default) in the headless-run guidance of the evals plugin and the skill-quality invocation-probe reference: long Workflows under claude -p need the ceiling raised or set to 0.
Why it was not fixed in the originating PR
The knowledge came from an eval run, not a change to these files; adding it is a separate docs change.
🤖 Generated with Claude Code
- Dominant language
- Shell
- Stars
- 22
- Forks
- 2
- Avg merge
- 6h 42m
- Merged PRs (30d)
- 902
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from melodic-software/claude-code-plugins
-
needs-triage priority: medium
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
melodic-software/claude-code-plugins#7288 · 1 comment ·
Maintainers usually reply within 1 day
-
knowledge: docpage-digest dual verification defines no verdict vocabulary or pass/fail thresholdOpenneeds-human needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
melodic-software/claude-code-plugins#7286 · 1 comment ·
Maintainers usually reply within 1 day
-
needs-triage priority: low
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
melodic-software/claude-code-plugins#7282 · 1 comment ·
Maintainers usually reply within 1 day
-
needs-triage priority: medium
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
melodic-software/claude-code-plugins#7273 · 1 comment ·
Maintainers usually reply within 1 day
-
needs-human needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
melodic-software/claude-code-plugins#7232 · 1 comment ·
Maintainers usually reply within 1 day
All issues in melodic-software/claude-code-plugins
Similar issues
-
darwin zsh
Difficulty 1/5 Under an hour Newbie friendliness 90/100
carapace-sh/carapace-bin#3846 ·
Maintainers usually reply within 1 day
-
area: backend bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
snapotter-hq/SnapOtter#2415 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
omacom/try-omarchy#343 ·
Maintainers usually reply within 1 day
-
docs: AGENTS.md has no rule against running deploy scripts into the owner's game installPossibly taken @thesprockee claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 85/100
EchoTools/nevr-runtime#524 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
fullsend-ai/fullsend#8382 ·
Maintainers usually reply within 1 day