Skip to content

fix(review): 모델 풀 부트스트랩 교착 해소#585

Open
seonghobae wants to merge 3 commits into
mainfrom
fix/opencode-pool-bootstrap
Open

fix(review): 모델 풀 부트스트랩 교착 해소#585
seonghobae wants to merge 3 commits into
mainfrom
fix/opencode-pool-bootstrap

Conversation

@seonghobae

@seonghobae seonghobae commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

자동 리뷰 증거 계약

  • adversarial_validation의 각 probe는 구조화된 path와 양의 line, evidence의 정확한 path:line을 서로 같게 작성해야 합니다.
  • source-line-sha256 receipt는 그 동일한 current-head 줄에 결합되어야 합니다.

변경 사항

  • 중앙 OpenCode/Noema 리뷰 프로세스의 신규 정식 파일 11개를 기존 fail-closed fallback 범위에 등록합니다.
  • 실제 current-head 고갈 실행에서 유효한 아티팩트를 반환한 GPT-4.1을 첫 후보로 이동합니다.
  • 응답 없이 90분 슬롯을 두 번 소진한 GitHub Models DeepSeek 후보에 300초 provider별 상한을 적용합니다.
  • current-head 원문 SHA-256 receipt가 정확히 일치할 때만 누락된 적대적 프로브의 path:line 증거를 보완합니다.
  • 보완 함수가 실제 valid_control 검증 경로에서 적대적 검증보다 먼저 호출되는 통합 테스트를 추가합니다.

검증

  • python3 -m pytest -q: 638 passed
  • python3 -m pytest -q tests/test_opencode_model_pool_runner.py: 21 passed
  • actionlint -shellcheck= -pyflakes= .github/workflows/opencode-review.yml
  • bash -n scripts/ci/run_opencode_review_model_pool.sh
  • python3 -m compileall -q scripts/ci/opencode_review_normalize_output.py tests/test_opencode_model_pool_runner.py
  • git diff --check
  • CodeGraph 재동기화 후 repair_adversarial_probe_evidence_bindingsvalid_control에서 적대적 검증 직전에 호출됨을 확인

운영 근거

  • .github#579 exact-head OpenCode 실행 29565042358에서 DeepSeek V3와 R1-0528이 각각 5400초 무응답으로 종료됐고, GPT-4.1만 21초 안에 파싱 가능한 control artifact를 반환했습니다.
  • .github#594 exact-head OpenCode 실행 29694192828에서 GPT-4.1 결과는 약 20초 안에 반환됐지만, 정확한 프로브 경로·양의 줄 번호가 중복 기재되지 않았다는 이유로 control이 거부되었습니다.
  • 보완 로직은 변경 파일 allowlist, 양의 줄 번호, current-head 원문과 정확히 일치하는 SHA-256 receipt를 모두 요구하며 조건이 하나라도 맞지 않으면 기존처럼 fail-closed로 거부합니다.
  • 원래 .github#563에 있던 검증된 증거 바인딩 수정과 회귀 테스트를 이 PR에 통합했습니다.

현재 외부 장애

  • HEAD b047ba94332d2becc7041658fe0bed1c353d6729의 GitHub Actions 잡들은 코드 실행 전에 The job was not started because your account is locked due to a billing issue.로 일괄 차단되었습니다.
  • 이 실패는 코드·메타데이터 검사 결과가 아니라 GitHub Actions 계정 잠금 상태입니다. 잠금 해제 후 current-head 전체 검사를 다시 실행해야 합니다.

Project #1 실행 항목: #369

@seonghobae
seonghobae enabled auto-merge (squash) July 20, 2026 05:29
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