docs(rules): Herdr 起動可否の判定を実行結果で検証する - #80
Merged
Merged
Conversation
HERDR_ENV 未設定や bare shell での command 不在だけを根拠に worktree 作成・ Claude Code 起動を blocker として扱わず、login shell 上で正規コマンドを 実行して失敗を確認してから報告する。blocker 報告には失敗した正規コマンド・ 終了コード・代替経路の結果を必須とする。core の `command -v herdr` 確認も login shell 上で行うことを明記し、bare shell の PATH 不備と実際の異常を 区別する。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
やったこと
claude/rules/core.md: Herdr 操作前のcommand -v herdr解決確認を login shell 上で行うことを明記。bare shell の PATH 不備で見つからないだけの場合は異常ではなく login shell で再確認し、login shell でも/opt/homebrew/bin/herdr以外に解決される場合だけを実際の異常として停止・報告する条文に変更claude/rules/orchestrator.md: 新節「起動可否の判定と blocker 報告」を追加HERDR_ENV未設定だけを根拠に worktree 作成・Claude Code セッション起動を blocker として扱わない--skillの有無・環境変数チェック・補助コマンドの出力は起動可否の根拠にしないherdr/bdが見つからなくても、login shell で探索してから不在と判断するclaude/AGENTS.md/claude/hermes/SOUL.md:scripts/build-agent-rules.zshによる生成物更新検証
zsh scripts/build-agent-rules.zsh→ exit 0zsh scripts/build-agent-rules.zsh --check→ exit 0git diff --check origin/main...HEAD→ exit 0🤖 Generated with Claude Code