virtual-insanity
← 리포트 목록

OpenClaw 사망 잔존 핵심 잡 결정 — discovery-filter / codex-proxy

2026-04-24 residual [openclaw-kill, hermes-migration, discovery-filter, codex-proxy]

결론

  • intelligence-discovery-filter: 사망 보류 + 1주 dual-run 유지. Hermes에 동등 기능이 이미 있다(ocRESTORE-intelligence-cluster 내부 discovery_filter.py). 다만 결과 차이가 커서 OpenClaw를 오늘 죽이지 않는다.
  • com.openclaw.codex-proxy: 유지. 운영 본체이므로 이번 4~8주 사망 사이클의 최후 단계까지 예외로 둔다. 오늘 사망/이관 시도 없음.

1) intelligence-discovery-filter

현재 위치

항목 OpenClaw Hermes
job ~/.openclaw/cron/jobs.json / intelligence-discovery-filter ~/.hermes/cron/jobs.json / ocRESTORE-intelligence-cluster 내부 단계
상태 active active
주기 0 */6 * * * 0 1 * * * cluster chain
command cd ~/.openclaw/workspace/scripts/pipeline && python3 discovery_filter.py idea_collector.py --all && discovery_filter.py && discovery_digest.py && knowledge_connector.py --apply && hypothesis_engine.py --max 5
script ~/.openclaw/workspace/scripts/pipeline/discovery_filter.py ~/.hermes/workspace/scripts/pipeline/discovery_filter.py
output ~/.openclaw/workspace/memory/filtered-ideas/ ~/.hermes/workspace/memory/filtered-ideas/

실측

최근 산출물:

경로 최신 파일 mtime 건수
OpenClaw filtered_2026-04-24_0928.json 2026-04-24 09:28 150
Hermes filtered_2026-04-24_0153.json 2026-04-24 01:53 5

수동 dry-run:

Hermes discovery_filter.py --dry-run → total_candidates=2217, passed=75
OpenClaw discovery_filter.py --dry-run → total_candidates=2229, passed=41

둘 다 실행은 된다. 하지만 후보 수/통과 수/출력 시각이 달라서 “동등”은 아직 아니다. 어제 surface:8의 diff 24.52% kill 보류 판단과 정합.

결정

1주 dual-run 유지.

  • Hermes 동등 기능은 존재하므로 새 이관은 하지 않는다.
  • OpenClaw도 active 유지한다.
  • 1주 동안 매일 다음 두 파일을 비교한다:
  • ~/.openclaw/workspace/memory/filtered-ideas/filtered_*.json
  • ~/.hermes/workspace/memory/filtered-ideas/filtered_*.json
  • 비교 기준: 통과 건수, top 20 overlap, score 분포, 100-inbox/114 filtered-ideas 반영 여부.
  • diff가 안정적으로 낮아지면 OpenClaw intelligence-discovery-filter disabled.

2) com.openclaw.codex-proxy

위치/상태

  • LaunchAgent: ~/Library/LaunchAgents/com.openclaw.codex-proxy.plist
  • WorkingDirectory: /Users/ron/chatgpt-codex-proxy
  • 실행: /usr/local/bin/node /Users/ron/chatgpt-codex-proxy/dist/index.js
  • 로그: ~/.hermes/logs/codex-proxy.log
  • Port: 19080
  • launchctl: state = running, pid = 8327, runs = 5
  • health:
{
  "status": "ok",
  "service": "chatgpt-codex-proxy",
  "model_overrides": {
    "haiku": "gpt-5.3-codex-spark",
    "sonnet": "gpt-5.3-codex",
    "opus": "gpt-5.3-codex"
  }
}

의존성

  • Node.js service (package.json scripts: start = node dist/index.js)
  • Codex backend: https://chatgpt.com/backend-api/codex/responses
  • Anthropic-compatible endpoint: ANTHROPIC_BASE_URL=http://localhost:19080
  • Env from LaunchAgent:
  • ANTHROPIC_DEFAULT_HAIKU_MODEL=gpt-5.3-codex-spark
  • ANTHROPIC_DEFAULT_SONNET_MODEL=gpt-5.3-codex
  • ANTHROPIC_DEFAULT_OPUS_MODEL=gpt-5.3-codex
  • PASSTHROUGH_MODE=false
  • Runtime selected default in logs: gpt-5.4 probe pass / blacklisted codex variants.

결정

유지. 이번 OpenClaw 사망 phase에서는 건드리지 않는다.

이유: 1. 현재 Codex/Claude Code 경로의 핵심 프록시라 정지 시 메인 세션/자동화가 멈출 수 있다. 2. Hermes에 동등 LaunchAgent/daemon 소유권이 없다. 3. dual-run이 어려운 singleton port service다. 같은 포트 19080을 두 프로세스가 동시에 점유할 수 없다. 4. 이관하려면 “새 label + 다른 port + health probe + client base URL 전환 + rollback”이 필요하다.

권고: 8주 사이클 최후 단계에서 별도 작업으로 진행.

최종 판정표

결정 이유 다음 액션
intelligence-discovery-filter 1주 dual-run 유지 Hermes cluster에 동등 기능 있으나 결과 차이 큼 7일 diff 비교 후 OpenClaw disable 여부 결정
com.openclaw.codex-proxy 유지 운영 본체, singleton port, Hermes 동등 없음 최후 단계 별도 이관 설계

자체평가

  • 정확성: 4.3/5 — jobs, scripts, outputs, dry-run, launchctl, health를 실측.
  • 완성도: 4.2/5 — 두 핵심 잡 모두 결정과 다음 액션을 명확화.
  • 검증: 4.2/5 — discovery 양쪽 dry-run 및 codex-proxy health 확인.
  • 최소 변경: 5.0/5 — codex-proxy 무수정, discovery도 사망/이관 없이 안전 결정만 수행.

DONE