feat: 課題発見用 issue-finder agent を追加 - #115
Merged
Merged
Conversation
共通の issue-finder agent と5種類の finder role/playbook を追加する。 コード変更を禁止する調査・出力 contract、最小権限 profile、eval、skill catalog と依存関係を整備した。 検証: deploy Go test、skill/metadata/eval 構文検証、内部 deploy dry-run
出力ファイル名を安全な文字種へ正規化し、一時ディレクトリの境界を明記する。 finder routing と脆弱性 eval の曖昧さも解消した。 検証: skill frontmatter、eval JSON、git diff --check
出力先の canonical path と symlink を検証し、一時領域外への書き込みを防ぐ。 許可されない攻撃依頼の routing eval も skill description と整合させた。 検証: skill frontmatter、eval JSON、git diff --check
upstream の grape-usage skill 更新に合わせ、固定 tree hash を更新する。 CI の deploy dry-run で発生していた hash mismatch を解消した。 検証: make deploy-dry-run、scripts/deploy の go test ./...
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.
課題発見用 issue-finder agent の追加
Summary
コードベースを変更せず、根拠に基づいて不具合・保守性・機能提案・脆弱性・ドキュメントの課題を発見する
issue-finderagent を追加します。主な変更点:
issue-finderagent 定義を追加issue-finder-playbookを追加やったこと
role-bug-finder、role-maintenance-finder、role-feature-finder、role-vulnerability-finder、role-documentation-finderを追加no-findings、investigation-needed、duplicates、additional-candidatesの出力 contract を定義$modification-designを含める条件を定義動作確認
make deploy-dry-rungit diff --checkレビュー & 動作確認 チェックリスト
推奨テスト計画:
role-*-finderの正例・負例 eval を確認する/tmp/issue-finder/を出力先として小規模な repository 調査を実行するその他気になることや相談ごと
CI で検出された external skill
grape-usageの tree hash 不一致は、upstream の現在値へ固定 hash を更新して解消しました。Claude agent の filesystem 権限は Codex permission profile と同等には分離できないため、コード変更禁止と出力先制約を developer instruction / playbook で強制しています。
Diagram
graph LR B["role-bug-finder"] --> I["issue-finder agent"] M["role-maintenance-finder"] --> I F["role-feature-finder"] --> I V["role-vulnerability-finder"] --> I D["role-documentation-finder"] --> I I --> C["issue-finder-playbook"] I --> P["対応する finder playbook"] C --> O["課題 Markdown"] P --> O