Skip to content

設計: scope rollup から security escalation を分離した専用 security-risk gate skill を検討する #558

Open

Description

@squne121

背景

#550 / PR #554 で plan_issue_scope_rollup.py の scope collision 判定を、security 語彙一致ベースから構造化コンテキスト(scope_context / domain_flags / ordering_constraint)ベースへ汎用化した。

この過程で、人間指示(#550 issuecomment-4592375157)に基づき scope rollup は security gate ではない(汎用 scope collision 判定)と位置づけ、security 語彙は domain_flags / security_match_evidence に audit 記録するのみで escalation の主因にしない設計とした。

その結果、PR #554 レビュー(Blocker 3)が指摘するとおり、real-security-risk(secret value のログ出力 / GitHub Actions secrets / auth token / credential / permission・access-control 変更)の escalation 責務がどのゲートにも属さない状態になっている。

目的

scope rollup から分離された、real-security-risk を決定論的に判定する専用 gate(skill またはスクリプト)の要否・配置・責務境界を設計する。

検討事項

  • scope rollup(汎用 collision)と security-risk gate(特定文脈)の責務境界
  • secret value ログ出力 / Actions secrets / credential / token / permission / access-control を検出する決定論的シグナル
  • 既存 docs/dev/secret-policy.md の Decision Gate / Secret Inventory との関係
  • impl-review-loop / issue-refinement-loop のどのステップで呼ぶか
  • false escalation を増やさないための positive/negative test 設計

Non-Goals

関連

Activity

  1. added
    enhancement
    on Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions