feat(dashboard): 全パネル実データ化 — /api/mc-data 30秒ポーリング - #278
Conversation
|
Caution Review failedPull request was closed or merged during review Note
|
| Layer / File(s) | Summary |
|---|---|
MVP RC /goal テンプレート定義と実行条件フレームワーク Claude/templates/claude/START_PROMPT.md, Claude/templates/claude/instructions/_footer.md |
新しい /goal テンプレート(対象範囲、完了条件10項目、対象外、停止条件)および「完了条件」「停止条件」の参照定義が追加・更新され、旧来の KPI/安定化/ループ基準からMVP完成・CI成功・リリース条件達成・修復ループ上限到達へ統一。 |
セッション例示と起動プロトコルへの統合 Claude/templates/claude/START_PROMPT.md, Claude/templates/claude/instructions/01-session-startup.md, Claude/templates/claude/instructions/_footer.md |
セッション開始時の /goal 例示文(複数箇所)がMVP RC完成を条件にした文面へ置換され、テンプレート定義と実使用が整合。 |
リリースノート・README・TASKS への反映 CHANGELOG.md, README.md, TASKS.md |
v3.3.1 のリリースエントリと Mission Control ダッシュボード改善(/goal テンプレ刷新含む)要約を追加し、README のバージョン表示と TASKS の Manual Backlog を更新。 |
Estimated code review effort
🎯 3 (Moderate) | ⏱️ ~20 minutes
Possibly related PRs
- Kensan196948G/ClaudeCode-StartUpTools-New#276:
START_PROMPT.mdとinstructions/_footer.mdの/goal文言更新に重複/整合する変更。 - Kensan196948G/ClaudeCode-StartUpTools-New#277: 同一テンプレート領域で
/goal停止条件・例示文を扱う関連PR。 - Kensan196948G/ClaudeCode-StartUpTools-New#273:
/goal統合とセッション終了/停止ポリシーの見直しを含むテンプレート改訂と関連。
🚥 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 タイトルは「feat(dashboard): 全パネル実データ化 — /api/mc-data 30秒ポーリング」であり、PR 目標の「Mission Control WebUI 全パネルの実データ化と 30 秒ポーリング実装」と一致している。タイトルは簡潔で、主要な変更内容を明確に伝えている。 |
| 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/dashboard-timeline-prompt-v3-3
Comment @coderabbitai help to get the list of available commands and usage tips.
There was a problem hiding this comment.
Actionable comments posted: 2
🧹 Nitpick comments (1)
Claude/templates/claude/START_PROMPT.md (1)
1777-1777: ⚡ Quick win変更見出しにもアイコンを付与してください
該当セクション見出しがアイコン規約に未準拠です。既存ドキュメントのトーンに合わせ、例として
### 🎯 /goal テンプレート/### ✅ 完了条件/### 🛑 停止条件のように統一してください。As per coding guidelines, "Claude/templates/claude/**/*.md: Use icons in README, documentation, hook outputs, and agent communications following the icon usage rules (📌 for navigation, 📊 for metrics, 🤖 for agents, etc.)".
Also applies to: 1832-1832, 1847-1847
🤖 Prompt for 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. In `@Claude/templates/claude/START_PROMPT.md` at line 1777, The section heading "### /goal テンプレート(MVP Release Candidate 完成版)" (and the other similar headings flagged) lacks the required icon; update the markdown headings to include the canonical icons per the icon-usage rules (for example change to "### 🎯 /goal テンプレート", "### ✅ 完了条件", "### 🛑 停止条件"), ensuring all README/documentation/hook/agent headings in Claude/templates/claude/**/*.md follow the established icon mapping (📌 navigation, 📊 metrics, 🤖 agents, etc.) and keep the surrounding text tone unchanged.
🤖 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 1813-1817: The stop-condition list currently includes "CI成功",
which can prematurely end the run; change the stop conditions in START_PROMPT.md
so that "CI成功" is removed and the primary stop condition is unified to
"MVP完成(かつ必要品質条件達成)" (or equivalent phrasing), and apply the same update to the
other occurrences referenced (around lines 1849-1853 and 1870) to ensure all
instances use the consolidated MVP+quality stop condition instead of CI success.
- Line 110: The /goal example string is missing the required "or stop after N
turns" termination clause and thus conflicts with the template's mandatory
turn-limit rule; update the /goal instance that currently reads 'MVP Release
Candidate を完成させる。…' to append an explicit stop guard like "or stop after N
turns" (replace N with the appropriate number used by the template rules), and
make the identical change to the other /goal examples in START_PROMPT.md so
every /goal token includes the same "or stop after N turns" termination clause
to match the rule referenced in the file.
---
Nitpick comments:
In `@Claude/templates/claude/START_PROMPT.md`:
- Line 1777: The section heading "### /goal テンプレート(MVP Release Candidate 完成版)"
(and the other similar headings flagged) lacks the required icon; update the
markdown headings to include the canonical icons per the icon-usage rules (for
example change to "### 🎯 /goal テンプレート", "### ✅ 完了条件", "### 🛑 停止条件"), ensuring
all README/documentation/hook/agent headings in Claude/templates/claude/**/*.md
follow the established icon mapping (📌 navigation, 📊 metrics, 🤖 agents, etc.)
and keep the surrounding text tone unchanged.
🪄 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: c213da27-2784-4c03-8411-770974408118
⛔ Files ignored due to path filters (2)
scripts/dashboards/mission-control.htmlis excluded by none and included by nonescripts/dashboards/serve-dashboard.jsis excluded by none and included by none
📒 Files selected for processing (1)
Claude/templates/claude/START_PROMPT.md
|
|
||
| ```bash | ||
| /goal "Issue #XX-#YY を実装し、全テスト通過・CI成功・blocker=0・PR作成済み、または stop after 20 turns" | ||
| /goal "MVP Release Candidate を完成させる。完了条件: 全主要画面正常動作・API疎通成功・認証認可正常・DB CRUD成功・CI成功・Critical/High脆弱性ゼロ・E2Eテスト成功・README/運用手順完成・Docker起動成功・ローカル環境再現可能。対象外: 過剰なUI改善・Enterprise拡張・AI最適化・マイクロサービス分離・過剰リファクタ。停止条件: MVP完成・CI成功・リリース条件達成・修復ループ上限到達" |
There was a problem hiding this comment.
/goal 例からターン上限制約が抜けています
この変更で示された /goal 文面に or stop after N turns が含まれておらず、同ファイル内の必須ルール(Line 73/99)と矛盾しています。運用時に停止ガードが外れるため、テンプレートと実例の双方に明示的に復帰してください。
Also applies to: 1782-1817, 1870-1870
🤖 Prompt for 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.
In `@Claude/templates/claude/START_PROMPT.md` at line 110, The /goal example
string is missing the required "or stop after N turns" termination clause and
thus conflicts with the template's mandatory turn-limit rule; update the /goal
instance that currently reads 'MVP Release Candidate を完成させる。…' to append an
explicit stop guard like "or stop after N turns" (replace N with the appropriate
number used by the template rules), and make the identical change to the other
/goal examples in START_PROMPT.md so every /goal token includes the same "or
stop after N turns" termination clause to match the rule referenced in the file.
| 以下の場合は停止する: | ||
| - MVP完成 | ||
| - CI成功 | ||
| - リリース条件達成 | ||
| - 修復ループ上限到達" |
There was a problem hiding this comment.
停止条件の「CI成功」は早期終了を誘発します
CI成功 を停止条件に含めると、MVP未達でもCIだけ通れば終了可能になります。MVP RC 完成を主目標にするなら、停止条件は「MVP完成(かつ必要品質条件達成)」に寄せる形へ整理した方が安全です。
Also applies to: 1849-1853, 1870-1870
🤖 Prompt for 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.
In `@Claude/templates/claude/START_PROMPT.md` around lines 1813 - 1817, The
stop-condition list currently includes "CI成功", which can prematurely end the
run; change the stop conditions in START_PROMPT.md so that "CI成功" is removed and
the primary stop condition is unified to "MVP完成(かつ必要品質条件達成)" (or equivalent
phrasing), and apply the same update to the other occurrences referenced (around
lines 1849-1853 and 1870) to ensure all instances use the consolidated
MVP+quality stop condition instead of CI success.
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/instructions/_footer.md`:
- Around line 39-43: The stop-condition lists include "CI成功" which can
prematurely end sessions; remove "CI成功" from each stop-condition block and
ensure only "リリース条件達成" (along with the other valid stops like "MVP完成" and
"修復ループ上限到達") remains as the criterion that gates completion; search for and
update every occurrence of the literal string "CI成功" within the stop-condition
list blocks in Claude/templates/claude/instructions/_footer.md so those three
sections no longer include "CI成功".
🪄 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: d0695f1f-7b48-4067-a8b0-eda7a242e3de
📒 Files selected for processing (3)
Claude/templates/claude/START_PROMPT.mdClaude/templates/claude/instructions/01-session-startup.mdClaude/templates/claude/instructions/_footer.md
✅ Files skipped from review due to trivial changes (1)
- Claude/templates/claude/instructions/01-session-startup.md
🚧 Files skipped from review as they are similar to previous changes (1)
- Claude/templates/claude/START_PROMPT.md
| 以下の場合は停止する: | ||
| - MVP完成 | ||
| - CI成功 | ||
| - リリース条件達成 | ||
| - 修復ループ上限到達" |
There was a problem hiding this comment.
停止条件に CI成功 を含めると早期終了を誘発します
Line 39-43 / Line 73-79 / Line 96 で停止条件に CI成功 が入っており、完了条件の他項目(例: Critical/High脆弱性ゼロ、E2E、README/運用手順)未達でもセッションが止まる設計になっています。停止条件から CI成功 を外し、リリース条件達成 のみに集約するのが安全です。
修正案(差分)
-以下の場合は停止する:
-- MVP完成
-- CI成功
-- リリース条件達成
-- 修復ループ上限到達"
+以下の場合は停止する:
+- MVP完成
+- リリース条件達成
+- 修復ループ上限到達" ### 停止条件
```text
- MVP完成
-- CI成功
- リリース条件達成
- 修復ループ上限到達
```diff
-/goal "MVP Release Candidate を完成させる。完了条件: 全主要画面正常動作・API疎通成功・認証認可正常・DB CRUD成功・CI成功・Critical/High脆弱性ゼロ・E2Eテスト成功・README/運用手順完成・Docker起動成功・ローカル環境再現可能。停止条件: MVP完成・CI成功・リリース条件達成・修復ループ上限到達"
+/goal "MVP Release Candidate を完成させる。完了条件: 全主要画面正常動作・API疎通成功・認証認可正常・DB CRUD成功・CI成功・Critical/High脆弱性ゼロ・E2Eテスト成功・README/運用手順完成・Docker起動成功・ローカル環境再現可能。停止条件: MVP完成・リリース条件達成・修復ループ上限到達"
Also applies to: 73-79, 96-96
🤖 Prompt for 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.
In `@Claude/templates/claude/instructions/_footer.md` around lines 39 - 43, The
stop-condition lists include "CI成功" which can prematurely end sessions; remove
"CI成功" from each stop-condition block and ensure only "リリース条件達成" (along with the
other valid stops like "MVP完成" and "修復ループ上限到達") remains as the criterion that
gates completion; search for and update every occurrence of the literal string
"CI成功" within the stop-condition list blocks in
Claude/templates/claude/instructions/_footer.md so those three sections no
longer include "CI成功".
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 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 `@README.md`:
- Around line 15-16: The README contains a blank line between two blockquote
lines causing markdownlint MD028; remove the empty line between the current line
15 blockquote and the following blockquote so they form a single continuous '>'
block (ensure the subsequent lines keep the leading '>' prefixes to create a
multi-line blockquote).
In `@TASKS.md`:
- Line 97: The task entry contains a placeholder "(PR `#このブランチ`)" which must be
replaced with the actual PR number for traceability; edit the TASKS.md list item
that starts with "88. [DONE] [Priority:P2][Owner:Developer]..." and replace the
exact substring "(PR `#このブランチ`)" with the confirmed PR identifier e.g. "(PR `#278`)"
so the changelog references the real PR.
- Line 97: The MD052 warning is caused by the "[Source:Manual]" token being
parsed as a reference link in the TASKS.md task line containing "v3.3.1 Mission
Control ..." — locate that list item and replace the bracketed/link-like
notation with a non-link form such as "Source: Manual" (or escape the brackets
as \[Source:Manual\] or use a code span `Source:Manual`) so the text is no
longer treated as a reference link.
🪄 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: 005bfa16-afb9-4c44-b281-a3ebfcfa2eb3
⛔ Files ignored due to path filters (2)
scripts/dashboards/mission-control.htmlis excluded by none and included by nonescripts/dashboards/serve-dashboard.jsis excluded by none and included by none
📒 Files selected for processing (3)
CHANGELOG.mdREADME.mdTASKS.md
✅ Files skipped from review due to trivial changes (1)
- CHANGELOG.md
|
|
||
| > **🔄 v3.3.0 — テスト検証・デバッグ統合指示書 + Mission Control WebUI + START_PROMPT 強化** |
There was a problem hiding this comment.
blockquote の空行で markdownlint (MD028) 警告が出ます。
Line 15 と次の blockquote の間の空行を削除して、連続した > ブロックにしてください。
🔧 修正例
> Cron管理週間スケジュール全幅レイアウト・正式名称2行表示・Boot Sequenceアクティブセッションパネル・イベントログ日本語化など、Mission Control WebUI のUX/UI を全面強化。`/goal` テンプレートを「MVP Release Candidate 完成版」(完了条件10項・対象外・停止条件明記)に刷新。
-
> **🔄 v3.3.0 — テスト検証・デバッグ統合指示書 + Mission Control WebUI + START_PROMPT 強化**🧰 Tools
🪛 markdownlint-cli2 (0.22.1)
[warning] 15-15: Blank line inside blockquote
(MD028, no-blanks-blockquote)
🤖 Prompt for 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.
In `@README.md` around lines 15 - 16, The README contains a blank line between two
blockquote lines causing markdownlint MD028; remove the empty line between the
current line 15 blockquote and the following blockquote so they form a single
continuous '>' block (ensure the subsequent lines keep the leading '>' prefixes
to create a multi-line blockquote).
| 85. [DONE] [Priority:P1][Owner:Developer][Source:Manual] v3.2.75 P1-2 state.json 自動生成(New-CronSchedule) + P1-4 セッション状態復元(cron-launcher.sh) + P1-5 session-start.js 書き込み昇格 + P2-2 _header.md Codex optional + P2-4 README タイムライン図 + P2-1 テスト具体化 | ||
| 86. [DONE] [Priority:P2][Owner:Architect][Source:Manual] v3.2.76 P1-3 登録プロジェクトレジストリ集中管理 — CronManager.psm1 に Get/Add/Remove-LocalCronRegistryEntry 追加。~/.claudeos/cron-registry.json を cron 登録/削除時に自動更新。ユニットテスト 6件 (776 PASS) | ||
| 87. [DONE] [Priority:P2][Owner:Developer][Source:Manual] v3.2.76 P1-7 Agent Teams 使用実績を state.json に記録 — usage-tracker.js 新規作成 / settings.json PostToolUse[Agent] hook 登録。learning.usage_history.agents に agentKey / call_count / last_used を記録 (776 PASS) | ||
| 88. [DONE] [Priority:P2][Owner:Developer][Source:Manual] v3.3.1 Mission Control ダッシュボード全面改善 — Cron管理週間スケジュール全幅レイアウト / 正式名称2行表示 / Boot Sequenceアクティブセッションパネル / イベントログ日本語化 / /goal MVP RC テンプレート刷新 (PR #このブランチ) |
There was a problem hiding this comment.
(PR #このブランチ) は実PR番号に置き換えてください。
Line 97 のままだと変更履歴のトレーサビリティが落ちます。(PR #278) のように確定値へ更新してください。
🧰 Tools
🪛 markdownlint-cli2 (0.22.1)
[warning] 97-97: Reference links and images should use a label that is defined
Missing link or image reference definition: "source"
(MD052, reference-links-images)
🤖 Prompt for 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.
In `@TASKS.md` at line 97, The task entry contains a placeholder "(PR `#このブランチ`)"
which must be replaced with the actual PR number for traceability; edit the
TASKS.md list item that starts with "88. [DONE]
[Priority:P2][Owner:Developer]..." and replace the exact substring "(PR
`#このブランチ`)" with the confirmed PR identifier e.g. "(PR `#278`)" so the changelog
references the real PR.
[Source:Manual] 記法が MD052 を発生させています。
Markdown では参照リンク扱いになりやすいので、(Source:Manual) などリンク記法でない形に変更してください。
🔧 修正例
-88. [DONE] [Priority:P2][Owner:Developer][Source:Manual] v3.3.1 Mission Control ダッシュボード全面改善 — Cron管理週間スケジュール全幅レイアウト / 正式名称2行表示 / Boot Sequenceアクティブセッションパネル / イベントログ日本語化 / /goal MVP RC テンプレート刷新 (PR `#このブランチ`)
+88. [DONE] [Priority:P2](Owner:Developer)(Source:Manual) v3.3.1 Mission Control ダッシュボード全面改善 — Cron管理週間スケジュール全幅レイアウト / 正式名称2行表示 / Boot Sequenceアクティブセッションパネル / イベントログ日本語化 / /goal MVP RC テンプレート刷新 (PR `#278`)📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| 88. [DONE] [Priority:P2][Owner:Developer][Source:Manual] v3.3.1 Mission Control ダッシュボード全面改善 — Cron管理週間スケジュール全幅レイアウト / 正式名称2行表示 / Boot Sequenceアクティブセッションパネル / イベントログ日本語化 / /goal MVP RC テンプレート刷新 (PR #このブランチ) | |
| 88. [DONE] [Priority:P2](Owner:Developer)(Source:Manual) v3.3.1 Mission Control ダッシュボード全面改善 — Cron管理週間スケジュール全幅レイアウト / 正式名称2行表示 / Boot Sequenceアクティブセッションパネル / イベントログ日本語化 / /goal MVP RC テンプレート刷新 (PR `#278`) |
🧰 Tools
🪛 markdownlint-cli2 (0.22.1)
[warning] 97-97: Reference links and images should use a label that is defined
Missing link or image reference definition: "source"
(MD052, reference-links-images)
🤖 Prompt for 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.
In `@TASKS.md` at line 97, The MD052 warning is caused by the "[Source:Manual]"
token being parsed as a reference link in the TASKS.md task line containing
"v3.3.1 Mission Control ..." — locate that list item and replace the
bracketed/link-like notation with a non-link form such as "Source: Manual" (or
escape the brackets as \[Source:Manual\] or use a code span `Source:Manual`) so
the text is no longer treated as a reference link.
- serve-dashboard.js: /api/mc-data を async 化 - fetchGhData(): gh CLI で CI/PR/Issue を取得(25秒キャッシュ) - getBootSteps(): ファイル存在確認で Boot Sequence 状態を実測 - getAgentAndEventData(): sessions/ + git log からエージェント/イベントを生成 - Promise.allSettled で並列フェッチ、エラー時はモックデータで継続 - mission-control.html: App に liveData state + 30秒 setInterval を追加 - 全パネル(Agents/CI-CD/Cron/Boot/Log)に liveData props を伝搬 - 各パネル: liveData があれば実データ優先、なければモックデータへフォールバック - TopBar: 最終データ更新時刻インジケーター(● HH:MM:SS)を追加 - CronPanel: useEffect で liveData.cronSchedules 変更時に即座同期 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- 週間スケジュールを下段フル幅に移動(上段: 一覧+サイドバー、下段: カレンダー) - セル幅 48px → ~90px に拡大しフォント 9px で正式名称が2行に収まるよう改善 - ハイフン中間点で2行分割(calLine1/calLine2)する自動スプリット実装 - 旧レイアウトで右カラム(登録サマリー・Cron設定)がビューポート外になっていた CSS Grid overflow バグを minWidth:0 追加で修正 - 登録サマリー・Cron設定のフォントサイズを 11→12px に拡大して視認性改善 - Cron設定の mono 値フォントを 9→10px に拡大 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- /goal テンプレートを「MVP Release Candidate を完成させる」に刷新 - 実施対象: フロントエンド/バックエンド/DB/セキュリティ/インフラ/CI/CD/テスト/ドキュメント - 完了条件10項目を明記(全主要画面動作・API疎通・認証認可・DB CRUD・CI・脆弱性ゼロ等) - 対象外項目を明記(過剰UI改善・Enterprise拡張・AI最適化・マイクロサービス分離等) - 停止条件を明記(MVP完成・CI成功・リリース条件達成・修復ループ上限到達) - 設定例・セッション開始プロトコルのコマンドも同様に更新 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- _footer.md: /goal テンプレートを MVP RC 完成版に刷新(完了条件10項・対象外・停止条件) - 01-session-startup.md: /goal 設定例を MVP RC 版に統一 - Build-StartPrompt.ps1 で START_PROMPT.md を再ビルド(11ファイル結合 / 1902行) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- serve-dashboard.js: getActiveCronProject() 追加 — Cronレジストリから 過去7日間を遡り最近稼働したプロジェクトを自動検出 - serve-dashboard.js: getCurrentProjectInfo() にactiveCronを統合 - mission-control.html BootPanel: 「アクティブCronセッション」パネル新設 * 稼働中プロジェクト名(Construction-DX-One-System等)を自動表示 * セッション進捗バー(経過時間/300分) * ホスト・開始時刻・スケジュール表示 * useEffect+setInterval(1000ms)によるリアルタイム時刻表示 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- git log --pretty=format の %cr(英語相対時刻)を %ct(UNIXタイム)に変更 - サーバーサイドで秒差分を計算し「X秒前/X分前/X時間前/X日前」に変換 - "10 seconds ago" → "10秒前" など全件日本語化 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- LogPanel: typeLabels マッピング追加(info→情報, success→成功, phase→フェーズ等) - Tag コンポーネント: whiteSpace:nowrap 追加(全パネル共通で折り返し防止) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- README.md: v3.3.1 バナー追加 / 開発状況テーブルをv3.3.1に更新 - CHANGELOG.md: [v3.3.1] エントリ追加(Cron管理/Boot Sequence/イベントログ/goal改善詳細) - TASKS.md: v3.3.1 完了タスクを追記 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
d0c5966 to
cdf5dc4
Compare
📊 概要
Mission Control WebUI の全パネルを実データ化。モックデータから脱却し、30秒ごとに
/api/mc-dataをポーリングして全パネルに実データを供給する。🔄 変更内容
serve-dashboard.js— async /api/mc-data 拡張fetchGhData()ghCLI — CI Runs / PR / Issues(25秒キャッシュ)getBootSteps()getAgentAndEventData()~/.claudeos/sessions/+git log --oneline -15Promise.allSettledで並列フェッチ →gh失敗時もモックデータで継続mission-control.html— App 一元ポーリングliveDatastate +setInterval(fetchAll, 30000)を追加liveDataprops を伝搬(単一ポーリングで全パネル同期)liveData?.xxx?.length ? liveData.xxx : null || window.MOCK_XXXパターンでフォールバック📋 更新頻度サマリー
✅ テスト結果
node -e "require('./scripts/dashboards/serve-dashboard.js')"— モジュール正常 load🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Chores
/goalテンプレを「MVP Release Candidate 完成」基準へ刷新。完了条件(主要画面動作・API疎通・認証/認可・DB CRUD・CI通過・Critical/Highゼロ・E2E・README/運用手順・Docker起動・ローカル再現)と停止条件を明確化。