Skip to content

fix(strix): scope repository_dispatch PR evidence to the validated head #577

Description

@seonghobae

증거

새 중앙 main 8684f90286ff60234b1f78642e9c38a378245545에서 naruon#1088 current head를 대상으로 실행한 Strix run 29537228817은 대상 app-token 교환, live PR metadata 검증, base/head fetch, required-workflow smoke, 실행 파일 권한 검증을 통과했습니다. 그러나 gate가 repository_dispatch를 PR 이벤트로 분류하지 않아 STRIX_TARGET_PATH=__PR_SCOPE__ requires PR scoping으로 exit 2 했습니다.

구현 범위

  • 검증된 PR_NUMBER, PR_BASE_SHA, PR_HEAD_SHA가 있는 repository_dispatch를 PR-scoped event로 인정합니다.
  • privileged dispatch는 PR head blob을 실행 비트가 제거된 임시 데이터 scope로 물질화합니다.
  • base checkout 내용이 스캔 입력으로 섞이지 않는 회귀 케이스를 추가합니다.

완료 기준

  • repository_dispatch 회귀 케이스가 PR head blob 내용만 스캔합니다.
  • required-workflow 계약 테스트와 Bash 구문 검사가 통과합니다.
  • 중앙 main 병합 후 naruon#1088 same-head Strix를 다시 실행해 실제 스캔 단계까지 진행합니다.

Agent: Codex
Recorded: 2026-07-17T06:50:00+09:00
Phase: Ops

Related: #575

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions