feat(template): START_PROMPT を v10.0 Universal Supervisor へ刷新 + /goal キーワード11/11整合 - #338
Conversation
… キーワード11/11整合 冒頭 /goal "..." ブロックを復元しつつ、検査器が要求する正規表記へ寄せ込み、 v9.0 Boot Loader 本文を v10.0 Universal Supervisor ドキュメントへ置換する。 変更点: - 冒頭行を /goal "Mission ... " で開始 (Claude Code UI が自動実行する規約を維持) - 欠落していた 6 キーワードを /goal 引用符ブロック内へ正規表記で充足 - CTO全権委任 (Authority 行に前置) - AgentTeams / DynamicWorkflows (Agent Orchestration をスペース無し表記へ正規化) - 5時間 (Session Limit セクション新設 + Exit Condition に 5時間到達) - stop after (Exit Condition に or stop after 20 turns) - security (Review 行に security scan を追加・小文字一致用) - verify-goal-set.js: 必須キーワード 11/11 整合 (欠落警告ゼロ) - 本文を v9.0 Boot Loader → v10.0 Universal Supervisor へ全面置換 検証: - node verify-goal-set.js → ✅ 必須キーワード 11/11 整合 - node check-doc-versions.js → PASSED (README=v3.4.9, agents=44, commands=42) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Complex PR? Review this PR in Change Stack to move by importance, not file order. Note
|
| レイヤー / ファイル | 概要 |
|---|---|
CTO全権委任の初期化 Claude/templates/claude/START_PROMPT.md |
START_PROMPT 冒頭 /goal セクション後の文言を CTO 全権委任に明示的に置換(技術的/設計/優先順位/実装/レビュー/改善判断を含む)。 |
オーケストレーション要素とセッション制約の整備 Claude/templates/claude/START_PROMPT.md |
CTO が利用可能なオーケストレーション要素(Workflows/DynamicWorkflows/AgentTeams/SubAgents/Hooks/Auto Mode)を列挙。セッション最大時間(5時間)、Development Loop(Monitor/Development/Verify/Review)、Review 手順に security scan やレビュー種別の明示、終了条件に stop after 20 turns と 5時間到達 を追加。 |
ClaudeCode Universal Supervisor v10.0 テンプレート導入 Claude/templates/claude/START_PROMPT.md |
v9.0 ブートローダ記述を大幅置換し、Universal Supervisor v10.0 テンプレートを導入。目的・実行モデル・クリティカルルール(Security First/Verification First/Error Control/Change Control)、監督責務、ワークフロー選択、エージェントチーム編成、セッション開始/検証/リリースガード/セッションレポート/自動停止条件、CTO 自律開発モードとその終了条件を定義。 |
推定レビュー工数
🎯 4 (Complex) | ⏱️ ~50 分
関連する可能性のある PR
- Kensan196948G/ClaudeCode-StartUpTools-New#276: v9.0 → v10.0 のセッション停止条件・上限(5時間・ターン数)周りを置換する関連改修。
- Kensan196948G/ClaudeCode-StartUpTools-New#281: START_PROMPT.md のブートローダ/テンプレート構造を修正した過去の変更と直接関連。
- Kensan196948G/ClaudeCode-StartUpTools-New#322: v10.0 “Universal Supervisor” スタートアップルールの更新・改訂で重複する変更箇所がある可能性。
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
| Check name | Status | Explanation |
|---|---|---|
| Description Check | ✅ Passed | Check skipped - CodeRabbit’s high-level summary is enabled. |
| Title check | ✅ Passed | PRタイトルは START_PROMPT を v9.0 から v10.0 Universal Supervisor へ刷新し、/goal キーワード11件の整合化という2つの主要な変更を正確に反映している。 |
| Docstring Coverage | ✅ Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. |
| Linked Issues check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
✏️ Tip: You can configure your own custom pre-merge checks in the settings.
✨ Finishing Touches
🧪 Generate unit tests (beta)
- Create PR with unit tests
- Commit unit tests in branch
feat/start-prompt-v10
Comment @coderabbitai help to get the list of available commands and usage tips.
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@Claude/templates/claude/START_PROMPT.md`:
- Around line 33-466: The file's Markdown headings lack the required icon
taxonomy; update every top-level and subsection header (e.g., "ClaudeCode
Universal Supervisor v10.0", "Core Execution Model", "Primary Objective",
"Critical Rules", and "Security First") to include the standard icons (e.g., 📌
for objectives, 🚀 for workflows, ✅/❌ for verification/pass-fail, 🔒 for
security, 📊 for reports) and ensure consistent usage across all headings (use
the same icon for the same semantic category); edit each heading string in this
file so it prepends the appropriate icon and adjust any related
session/startup/report blocks to match the taxonomy.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 7047681d-2b29-411b-a8b0-370b8d3bbf99
📒 Files selected for processing (1)
Claude/templates/claude/START_PROMPT.md
CodeRabbit レビュー指摘 (PR #338): v10.0 ドキュメントの章見出しが CLAUDE.md §2.1 の必須アイコン分類に未準拠。実見出し 24 個へ用途別 アイコンを付与し規約準拠とする。 - /goal ブロック (L1-31) は不変 (必須キーワード 11/11 整合を維持) - コードフェンス内 L375 `# Session Report` はリテラルにつき非変更 - アイコンは §2.1 用途別表に従い選定 (📌章/🔁ループ/⚠️ 警告/🔐セキュ/ ✅成功/🔧設定/🤖Agent/💻実装/🧪QA/🚀リリース/🏛️設計/🎬開始/🛡️Guard/ 📊メトリクス/👔CTO) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
📌 概要
Claude/templates/claude/START_PROMPT.mdを v9.0 Boot Loader → v10.0 Universal Supervisor へ刷新する。PR #322 のスコープ外として分離した「START_PROMPT v10.0 刷新(冒頭
/goal \"...\"復元前提)」を別 PR で再提出するもの。🔧 変更内容
/goal \"Mission ... \"ブロックで開始(Claude Code UI が起動時に自動実行する規約を維持。start.bat/start.sh経由・手動claude双方で機能)/goal引用符ブロック内へ正規表記で充足検査器
verify-goal-set.jsはgoalLine.includes(kw)の 大文字小文字・スペース完全一致 で判定するため、意味追加ではなく正規表記への寄せ込みが本質:CTO全権委任AgentTeams/DynamicWorkflows5時間Session Limitセクション新設 + Exit Condition に5時間到達stop afteror stop after 20 turnssecuritysecurity scanを追加(小文字一致用)✅ テスト結果
node .claude/claudeos/scripts/hooks/verify-goal-set.jsnode scripts/check-doc-versions.js.sh/.bats差分なし)差分: 1 file changed, 440 insertions(+), 60 deletions(-)(テンプレファイル単体)。
🗺️ 影響範囲
Claude/templates/claude/START_PROMPT.mdテンプレ単体。配布は TemplateSyncManager / init-claudeos-project により各登録プロジェクトへ反映される(本 PR では配布実行しない)。.claude/claudeos/カーネル 20 ファイルの順次 Read(core/00-04 → execution/05-08 → quality/09-13 → ai-review/14-16 → governance/17-20)gh issue list --label \"agent-msg,status:open\"claude agents(Agent View 起動)📋 残課題
claude agents)を v10.0 へ再統合するかの方針決定(本 PR スコープ外)。.mcp.jsonWindows ランチャのテンプレ側移設)は別途対応。🤖 Generated with Claude Code
Summary by CodeRabbit
code-review --fix維持・拡張、及び「ClaudeCode Universal Supervisor v10.0」テンプレートを追加。注記: 主に内部ドキュメント更新で、エンドユーザー向けの直接的な機能変更はありません。