Skip to content

feat: runtime-split-validation validation#52

Merged
takemi-ohama merged 3 commits into
release/runtime-plugin-splitfrom
feature/runtime-split-validation
Jul 7, 2026
Merged

feat: runtime-split-validation validation#52
takemi-ohama merged 3 commits into
release/runtime-plugin-splitfrom
feature/runtime-split-validation

Conversation

@takemi-ohama

@takemi-ohama takemi-ohama commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • plan: issues/agent-runtime-plugin-split.md
  • release PR: release: runtime plugin split #45
  • 担当範囲: Task 7 validation / hooks / CI
  • scripts/validate-runtime-plugins.sh を追加し、生成物同期、JSON / manifest、marketplace source、Kiro installer、Markdown local link を一括検証
  • scripts/check-markdown-links.py を追加し、repo 相対 Markdown link の欠落を検出
  • .githooks/pre-commit / .githooks/pre-pushscripts/install-dev-hooks.sh を追加
  • GitHub Actions runtime-plugin-validate.yml を追加し、build check / runtime validation / markdown link check を実行
  • README / docs / issue 進捗に検証手順を追記

Test plan

  • bash scripts/build-runtime-plugins.sh --check
  • python3 scripts/check-markdown-links.py --root .
  • bash -n scripts/validate-runtime-plugins.sh scripts/install-dev-hooks.sh .githooks/pre-commit .githooks/pre-push
  • bash scripts/validate-runtime-plugins.sh
  • .githooks/pre-commit
  • .githooks/pre-push
  • bash scripts/install-dev-hooks.sh
  • git diff --check
  • git diff --cached --check
  • commit 時 pre-commit hook が build-runtime-plugins.sh --check を実行して成功
  • push 時 pre-push hook が validate-runtime-plugins.sh を実行して成功

@takemi-ohama takemi-ohama mentioned this pull request Jul 5, 2026
15 tasks
@takemi-ohama takemi-ohama force-pushed the feature/runtime-split-validation branch from edce3f5 to 2824f67 Compare July 7, 2026 05:57

@takemi-ohama takemi-ohama left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 cross-review | round 1 | codex | REQUEST_CHANGES(intent)

生成物同期、manifest/source 存在、CI 実行性、hooks の安全性は概ね妥当で、ローカルでも bash scripts/validate-runtime-plugins.sh は成功しました。

ただし、Kiro installer 検証が --help で終了していて install/dry-run 経路を検証していない点と、Markdown link parser が標準的なタイトル付き相対リンクを false positive にする点は、この PR の検証目的に対して修正が必要です。

Comment thread scripts/validate-runtime-plugins.sh Outdated
Comment thread scripts/check-markdown-links.py Outdated

@takemi-ohama takemi-ohama left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 cross-review | round 2 | codex | APPROVE(intent)

✅ 概要

  • scripts/validate-runtime-plugins.sh が Kiro installer を --dry-run / --dry-run --with-codex で呼び出すようになり、実際に両方の dry-run が問題なく完了することを確認しました。
  • scripts/check-markdown-links.py にタイトル除去の正規表現が追加され、タイトル付き相対リンクが誤検出されないことを scripts/check-markdown-links.py --root . の再実行で確認しました。

🔍 検証

  • bash scripts/validate-runtime-plugins.sh
  • bash plugins/ndf-kiro/install.sh --dry-run
  • bash plugins/ndf-kiro/install.sh --dry-run --with-codex

@takemi-ohama takemi-ohama left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 cross-review | round 2 | gemini | APPROVE(intent)

PR #52 のround 2レビューを行いました。

  • scripts/validate-runtime-plugins.sh において、Kiroインストーラー (ndf-kiro/install.sh) に対する --dry-run オプションを用いた検証が正しく追加されていることを確認しました。
  • scripts/check-markdown-links.py において、Markdownリンクのtitle属性を適切にストリップするための処理 (TITLE_RE) が実装され、誤検知 (false positive) の問題が修正されていることを確認しました。
  • ローカル環境で bash scripts/validate-runtime-plugins.sh.githooks/pre-commit.githooks/pre-push を実行し、すべての検証が成功することを確認しました。

Codexのround 1での指摘事項はすべて適切に解消されています。素晴らしい対応です。マージ可能です。

@takemi-ohama takemi-ohama marked this pull request as ready for review July 7, 2026 06:06
@takemi-ohama takemi-ohama merged commit 304388e into release/runtime-plugin-split Jul 7, 2026
3 checks passed
@takemi-ohama takemi-ohama deleted the feature/runtime-split-validation branch July 7, 2026 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant