virtual-insanity
← 리포트 목록

Hermes needs_evidence·failed 사유별 집계 (SQL 실측)

2026-10-11 hermes [hermes, needs_evidence, failed, bus_commands, guardian, 증거게이트]

needs_evidence 32건 · failed 4건 사유별 집계

조회 2026-10-11 17:46 KST, 조회 전용(sqlite3 -readonly / python sqlite3 mode=ro). DB 쓰기·크론·코드 변경 없음.

1. agent × status 건수 (sqlite3 GROUP BY 결과)

명령: sqlite3 -readonly /Users/ron/.hermes/data/ops_multiagent.db "SELECT claimed_by, status, COUNT(*) FROM bus_commands WHERE status IN ('needs_evidence','failed') GROUP BY claimed_by, status"

claimed_by status 건수
analyst-macro needs_evidence 2
analyst-pm needs_evidence 4
cowork needs_evidence 3
guardian failed 4
guardian needs_evidence 22
ron needs_evidence 1
합계 needs_evidence 32 + failed 4 36

2. agent × 사유(대표 라벨) 표

집계 방법: 각 result_note 앞머리의 "차단 사유:" 또는 "누락/차단:" 구간(원본 요약 앞)에서 라벨을 추출. 한 건에 라벨이 여러 개면 아래 우선순위의 첫 라벨 1개만 대표로 세어 합계가 36건에 맞게 했다. 우선순위: missing_verification_exit_code > invalid_verification_exit_code > missing_result_or_verification > verification_command_unverifiable > 그 외. 코드 라벨이 없고 "결과 확인 보류/검증 근거 없음" 같은 일반 문구만 있는 건은 "일반문구(코드라벨 없음)"으로 센다. "라벨없음"(차단 사유 구간 자체가 없는 건)은 0건이다.

agent / status missing_verification_exit_code invalid_verification_exit_code missing_result_or_verification verification_command_unverifiable 결과 확인 보류/일반문구(코드라벨 없음) 라벨없음 합계
guardian / needs_evidence 10 5 0 0 7 0 22
guardian / failed 0 0 0 4 0 0 4
analyst-pm / needs_evidence 0 0 4 0 0 0 4
cowork / needs_evidence 0 1 1 1 0 0 3
analyst-macro / needs_evidence 0 0 2 0 0 0 2
ron / needs_evidence 0 1 0 0 0 0 1
합계 10 7 7 5 7 0 36

참고: 복수 라벨 포함 건수 (한 건이 여러 라벨에 중복 집계됨, 합계≠36)

  • missing_verification_exit_code: 10건
  • invalid_verification_exit_code: 7건
  • missing_result_or_verification: 7건
  • 결과 확인 보류/일반문구(코드라벨 없음): 7건
  • verification_command_unverifiable: 5건
  • execution_artifact_path_not_found: 5건
  • missing_verification_command: 3건
  • missing_execution_artifact: 2건
  • llm_infra_failure: 2건
  • completion_result_note_forces_rework: 1건
  • source_log_path_not_found: 1건

주의: llm_infra_failure 2건(#41441, #41444)은 failed 재시도 안내문에 박힌 템플릿 문구 "llm_infra_failure(429/timeout/empty)"가 포함된 것이다. 실제 인프라 지연이 원인인지는 이 집계만으로 확정할 수 없고, 이 두 건도 동일 노트에 verification_command_unverifiable·execution_artifact_path_not_found가 함께 있다.

3. 상위 사유 2개 대표 CMD

상위 1위 missing_verification_exit_code 10건(guardian 10건 전부). 2위는 invalid_verification_exit_code 7건이며, missing_result_or_verification 7건·일반문구 7건과 동률이다. 동률 중 exit code 계열로 이어지는 invalid_verification_exit_code를 2위로 택했다(missing_result_or_verification의 대표는 아래 별도 1줄).

missing_verification_exit_code

  • CMD#40276 (guardian/needs_evidence): "결론: 결과 확인 보류 / 근거: 결과물과 검증 근거가 없음. 차단 사유: missing_verification_exit_code."
  • CMD#40346 (guardian/needs_evidence): "결론: 결과 확인 보류 / 근거: 결과물과 검증 근거가 없음. 차단 사유: missing_verification_exit_code."
  • CMD#40633 (guardian/needs_evidence): "결론: 결과 확인 보류 / 근거: 결과물과 검증 근거가 없음. 차단 사유: missing_verification_exit_code."

invalid_verification_exit_code

  • CMD#41377 (guardian/needs_evidence): "결론: 결과 확인 보류 / 근거: 결과물과 검증 근거가 없음. 차단 사유: invalid_verification_exit_code."
  • CMD#41385 (guardian/needs_evidence): "결론: 결과 확인 보류 / 근거: 결과물과 검증 근거가 없음. 차단 사유: invalid_verification_exit_code."
  • CMD#41420 (guardian/needs_evidence): "결론: 결과 확인 보류 / 근거: 결과물과 검증 근거가 없음. 차단 사유: invalid_verification_exit_code."

(동률 참고) missing_result_or_verification

  • CMD#40408 (analyst-macro/needs_evidence): "결론: 결과 확인 보류 / 근거: 결과물과 검증 근거가 없음. 차단 사유: missing_result_or_verification."
  • CMD#40874 (analyst-pm/needs_evidence): "결론: 결과 확인 보류 / 근거: 결과물과 검증 근거가 없음. 차단 사유: missing_result_or_verification."
  • CMD#40960 (analyst-pm/needs_evidence): "결론: 결과 확인 보류 / 근거: 결과물과 검증 근거가 없음. 차단 사유: missing_result_or_verification."

4. 해석

  • 36건 중 guardian이 26건(72%). 코드 라벨로는 검증 결과에 exit code가 없거나(10) 형식이 잘못된(7) 건이 17건(47%)으로 가장 많다.
  • analyst-pm 4건·analyst-macro 2건은 전부 missing_result_or_verification(결과물·검증 근거 없음). 분석 본문은 있으나 4블록 라벨이 없는 유형.
  • failed 4건(#41438·#41441·#41442·#41444)은 전부 guardian이며 verification_command_unverifiable과 execution_artifact_path_not_found(/Users/ron/.hermes/workspace/jobs.json 등 실존 안 하는 경로)가 공통이다.
  • 이 리포트 작성 중인 현재 태스크 자신은 집계 대상(status 필터)에 포함되지 않는다.