virtual-insanity
← 리포트 목록

Hermes essential cron restore after OpenClaw migration gap

2026-04-16 hermes hermes, openclaw-migration, cron, restore

결론

OpenClaw cron은 모두 enabled=false였지만, Hermes jobs.json에는 8개만 남아 있어 전체 이전은 불완전했다. 해리가 실제 보는 뉴스/가설/PM 판단/리포트 체인을 우선 기준으로 필수 누락 cron 8개를 Hermes에 복구했다.

백업

  • /Users/ron/.hermes/cron/jobs.json.bak-essential-restore-20260416-092714

복구한 Hermes cron 8개

Hermes job id 원 OpenClaw id 스케줄 용도 상태
ocRESTORE-intelligence-cluster intelligence_cluster 0 1 * * * idea 수집→필터→digest→knowledge connector→hypothesis 생성 enabled
ocRESTORE-sector-news-scorer sector_news_scorer 30 2,8,14,20 * * * 뉴스 S-code 중요도 채점/sector-news 생성 enabled
ocRESTORE-discovery-enricher intelligence-discovery-enricher 35 1 * * * discovery vault/context hint 생성 enabled
ocRESTORE-keyword-tuner intelligence-keyword-tuner 30 4 * * 1,4 idea source keyword 진화 enabled
ocRESTORE-hypothesis-lifecycle hypothesis_lifecycle 45 3 * * * 가설 만료/약화/승격 lifecycle enabled
ocRESTORE-analyst-channel-collector analyst-channel-collector 45 7,13 * * 1-5 애널리스트 채널 원천 데이터 수집 enabled
ocRESTORE-analyst-quality-tracker analyst-quality-tracker 10 8 * * * analyst/PM 품질 추적 및 DM enabled
ocRESTORE-notion-analyst-sync notion-analyst-sync 20 8 * * 1-5 analyst/PM/S94 판단 Notion 동기화 enabled

경로 정책

복구한 8개 job의 command에는 /Users/ron/.openclaw, ~/.openclaw 참조가 없다. 모두 /Users/ron/.hermes/workspace 기준으로 실행되게 했다.

별도 확인한 Harry-visible launchd 체인

아래는 Hermes cron이 아니라 launchd에 남아 있지만, 실행 대상 경로는 Hermes다. 이번 작업에서는 중복 실행 방지를 위해 Hermes cron으로 중복 등록하지 않았다.

label 실행 대상 OpenClaw 경로 잔존 비고
com.openclaw.analyst-macro ~/.hermes/workspace/scripts/analyst_common_wrapper.sh macro 0 PM 판단 선행 analyst
com.openclaw.analyst-fundamental ~/.hermes/workspace/scripts/analyst_common_wrapper.sh fundamental 0 market topic 발송 wrapper
com.openclaw.analyst-technical ~/.hermes/workspace/scripts/analyst_common_wrapper.sh technical 0 market topic 발송 wrapper
com.openclaw.analyst-pm ~/.hermes/workspace/scripts/analyst_common_wrapper.sh pm 0 전략/의사결정 실질 생성자
com.openclaw.morning-briefing-telegram ~/.hermes/workspace/scripts/pipeline/morning_briefing_wrapper.sh 0 report topic
com.openclaw.weekly-briefing-telegram ~/.hermes/workspace/scripts/pipeline/weekly_briefing_wrapper.sh 0 report topic
com.openclaw.kpi-daily ~/.hermes/workspace/scripts/pipeline/kpi_telegram_wrapper.py 0 ops topic
com.openclaw.kpi-weekly ~/.hermes/workspace/scripts/pipeline/kpi_telegram_wrapper.py --weekly 0 ops topic

주의: label 이름은 아직 com.openclaw.*가 많지만, 실행 경로는 Hermes다. label rename은 launchd 재등록이 필요하므로 이번에는 건드리지 않았다.

검증

  • 복구 전 Hermes cron: 8개 / enabled 8
  • 복구 후 Hermes cron: 16개 / enabled 16
  • 복구 8개 command의 OpenClaw 경로 참조: 0건
  • 필수 스크립트 존재 확인: 전부 OK
  • 구문 검사:
  • sector_news_scorer.py, idea_collector.py, discovery_filter.py, discovery_digest.py, knowledge_connector.py, hypothesis_engine.py, discovery_enricher.py, keyword_tuner.py, hypothesis_lifecycle.py, notion_analyst_sync.py, analyst_channel_collector.py, analyst_quality_tracker.py py_compile 통과
  • analyst_common_wrapper.sh bash syntax OK
  • 안전 dry-run/help:
  • hypothesis_lifecycle.py --dry-run exit 0, total_scanned=6, files_modified=0, promote_ready=5
  • notion_analyst_sync.py --dry-run exit 0, 다만 “에이전트 리서치 로그 DB 없음. --setup 먼저 실행하세요.” 출력
  • sector_news_scorer.py --help exit 0
  • analyst_channel_collector.py --help exit 0
  • analyst_quality_tracker.py --help exit 0

전체 reconcile 상태

생성 파일:

  • /Users/ron/.hermes/migration/openclaw_cron_reconcile_20260416.json

현재 분류:

상태 개수
기존 Hermes target 존재 3
이번 필수 복구 완료 8
migration target 기록은 있으나 현재 Hermes job 없음 76
migration 기록 없이 disabled/unclassified 208

판정

  • 해리가 실제 보는 핵심 체인 기준: 부분 복구 완료
  • “OpenClaw의 모든 cron이 Hermes로 1:1 보존” 기준: 아직 미완
  • 다음 단계는 76개 missing target을 운영 필수/보관/폐기로 나누고, 필요한 것만 Hermes에 추가 복원하는 것이다.

Remaining risks

  1. notion_analyst_sync.py --dry-run은 exit 0이지만 리서치 로그 DB 없음 메시지를 낸다. Notion 동기화 체인은 별도 setup/DB 확인 필요.
  2. sector_news_scorer는 LLM 채점 job이라 이번에는 실제 실행하지 않았다. 다음 14:30 KST 자동 실행 후 output 확인 필요.
  3. launchd label은 여전히 com.openclaw.*가 많다. 실행 경로는 Hermes지만 이름 정리는 별도 재등록 작업이다.
  4. OpenClaw cron 208개는 아직 의미 분류가 안 됐다. 무작정 활성화하면 중복 발송/비용/오래된 코드 실행 위험이 있다.

자체평가

  • 정확성: 4.5/5 — 필수 결손 8개를 Hermes 경로로 복구했고 OpenClaw 경로 제거를 검증했다.
  • 완성도: 4.2/5 — 전체 295개 완전 이전은 아직 아니며 reconcile 다음 wave가 필요하다.
  • 검증: 4.4/5 — 구문/dry-run/help/path 검증 완료. LLM/발송 job은 실제 실행하지 않았다.
  • 최소 변경: 4.8/5 — 기존 launchd/Gateway는 건드리지 않고 Hermes jobs만 백업 후 추가했다.