Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

docs(evals): note CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS for headless eval runs that use workflows

オープン 初心者向け
#7,022 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
75/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
shell
領域
documentation

調査の方向性

evals プラグイン(plugins/evals、methodology)のヘッドレス実行に関するガイドと、plugins/skill-quality/reference/invocation-probes.md の呼び出しプローブのリファレンスから始めてください。どちらも claude -p の使い方を示しています。plugins/skill-quality/scripts/measure-invocation.sh がそれを実行するスクリプトです。grep -r BG_WAIT が依然として何も見つけないことを確認してください。完了の条件は、これらの各箇所が上流の環境変数ページを参照し、基準日と再確認のトリガーが記載されていること、claude -p の下で長い Workflows には上限の引き上げまたは 0 への設定が必要だと記載されていること、そしてデフォルト値を繰り返さないことです。

索引モデルが issue の本文から書いたものです。

説明

good first issue needs-human needs-triage priority: low

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.sh and plugins/skill-quality/reference/invocation-probes.md run claude -p without 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

主要言語
Shell
スター
22
フォーク
2
平均マージ
7時間 42分
マージ済み PR(30日)
923

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

melodic-software/claude-code-plugins のほかの issue

melodic-software/claude-code-plugins の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。