virtual-insanity
← 리포트 목록

2026-04-24 변경 누계 diff/stash 보고 및 commit message 초안

2026-04-24 change [change-summary, git, commit-draft, hermes, openclaw]

변경 누계 git/diff 보고 + commit message 초안

결론

  • ~/.hermes/workspacegit repo가 아님. git status/git diff --stat 실행 시 not a git repository로 실패했다. 따라서 Hermes 쪽은 .bak-* 백업 대비 diff와 파일 mtime 기준으로 정리했다.
  • ~/.openclaw는 git repo다. 현재 관련 변경은 cron/jobs.json, scripts/gmail_credit_monitor.py, 신규 mcp-servers/ron-pipeline/index.js가 핵심이다.
  • ~/.openclaw/workspace도 별도 git repo다. 오늘 복구한 Telegram shared 경로 변경이 존재한다.
  • 커밋은 하지 않았다. stash도 실행하지 않았다.

1. repo 상태 실측

Hermes

/Users/ron/.hermes: no-git
/Users/ron/.hermes/workspace: no-git
/Users/ron/.hermes/hermes-agent: git

요청 커맨드 결과:

cd ~/.hermes/workspace && git status
fatal: not a git repository (or any of the parent directories): .git

따라서 Hermes workspace 변경은 git stash 불가. 현재 존재하는 .bak-* 파일이 rollback 기준이다.

OpenClaw root

선택 파일 기준:

 M cron/jobs.json
 M scripts/gmail_credit_monitor.py
?? mcp-servers/ron-pipeline/index.js

Diff stat:

cron/jobs.json                  | 8661 +++++++++++++++++++++++++++++++++------
scripts/gmail_credit_monitor.py |    6 +-
2 files changed, 7353 insertions(+), 1314 deletions(-)

mcp-servers/ron-pipeline/index.js는 untracked라 git diff --stat에 포함되지 않았다.

OpenClaw workspace

오늘 Telegram stub 복구 관련:

 M scripts/shared/telegram.py
?? shared/telegram.py

Diff stat:

scripts/shared/telegram.py | 202 +++++++++++++++++++++++++++++++++++++++++----
1 file changed, 188 insertions(+), 14 deletions(-)

2. Hermes 파일별 백업 대비 diff 요약

~/.hermes/workspace는 git repo가 아니라 최신 .bak-* 대비 diff -u line count로 계산했다.

파일 최신 백업 기준 변경량
scripts/macro_redesign_report.py .bak-no-send-standard-20260424 +5 / -2
scripts/fundamental_redesign_report.py .bak-no-send-standard-20260424 +4 / -2
scripts/pm_context_filter.py .bak-pm-freshness-20260424 +0 / -0
scripts/analyst_common_sender.py .bak-no-send-standard-20260424 +12 / -16
scripts/pipeline/oil_supply_monitor.py .bak-news-timeout-cache-20260424 +131 / -30
scripts/pipeline/discovery_digest.py .bak-dedup-20260424_105240 +166 / -1
scripts/pipeline/market_indicator_tracker.py .bak-no-send-standard-20260424 +43 / -2
scripts/pipeline/channel_collector.py .bak-dedup-20260424 +167 / -2
scripts/pipeline/bond_morning_quiz.py .bak-dedup-rollout-20260424-custom +31 / -0
scripts/pipeline/blog_monitor.py .bak-dedup-20260424 +166 / -1
scripts/admin/apply_dedup_to_all.py .bak-media-dedup-20260424 +34 / -16
workspace/shared/dedup.py .bak-media-dedup-20260424 +42 / -0
workspace/shared/no_send_guard.py 신규 1522B
scripts/shared/dedup.py .bak-media-dedup-20260424 +42 / -0
scripts/shared/no_send_guard.py 신규 1522B
~/.hermes/cron/jobs.json .bak-redefine-signal-20260424T132815 +69 / -16
~/.openclaw/mcp-servers/ron-pipeline/index.js .bak-indicators-hermes-20260424 +9 / -3

주의: 위 수치는 “최신 백업 대비”라 오늘 전체 누계보다 작을 수 있다. 예를 들어 dedup rollout은 여러 단계 백업이 있어 최신 백업 이후 증분만 표시된다.

3. 변경 카테고리별 정리

A. 알림센터 중복 차단 / Telegram 안전장치

핵심 변경:

  • shared/dedup.py / scripts/shared/dedup.py
  • 텍스트 dedup
  • photo/album media hash dedup 확장
  • scripts/admin/apply_dedup_to_all.py
  • Telegram sender call 자동 패치 도구
  • --image-only 확장
  • pipeline dedup 적용 주요 파일
  • discovery_digest.py
  • market_indicator_tracker.py
  • channel_collector.py
  • bond_morning_quiz.py
  • blog_monitor.py
  • oil_supply_monitor.py
  • shared/no_send_guard.py / scripts/shared/no_send_guard.py
  • NO_SEND=1, DRY_RUN=1, ANALYST_COMMON_NO_SEND=1, --dry-run, --no-send 표준 가드
  • OpenClaw Telegram stub 복구
  • ~/.openclaw/workspace/shared/telegram.py
  • ~/.openclaw/workspace/scripts/shared/telegram.py
  • OpenClaw Gmail legacy/cron 조정
  • ~/.openclaw/cron/jobs.json
  • ~/.openclaw/scripts/gmail_credit_monitor.py는 2일 lookback → 7일 lookback 변경

변경 파일 수: 약 13개
주의: 자동 dedup rollout은 실제로 더 많은 pipeline/*.py에 적용됐지만, 여기서는 요청에 언급된 핵심 파일 중심으로 집계했다.

B. analyst 신선도 / NO_SEND / 렌더링 표준화

핵심 변경:

  • macro_redesign_report.py
  • 📊 데이터 기준: 상단 마커
  • NO_SEND/dry-run 표준화
  • fundamental_redesign_report.py
  • 📊 데이터 기준: 상단 마커
  • NO_SEND/dry-run 표준화
  • 04-24 기준 metadata 개선
  • analyst_common_sender.py
  • technical/pm 공통 sender 상단 마커 통일
  • NO_SEND/dry-run 표준화
  • pm_context_filter.py
  • 최신 백업 대비 현재 diff는 0이지만, 오늘 작업 맥락상 PM freshness/cache 관련 백업 존재

변경 파일 수: 4개

C. 가격/원천 freshness

핵심 변경:

  • pipeline/oil_supply_monitor.py
  • price provenance / source freshness / NO_SEND / dedup/photo dedup 관련 누적 변경
  • ~/.openclaw/mcp-servers/ron-pipeline/index.js
  • Hermes 우선 indicator path 패치로 보임. 현재 untracked이며 백업 대비 +9/-3.
  • ~/.openclaw/scripts/gmail_credit_monitor.py
  • 크레딧메일 누락 방지: lookback 2일 → 7일

변경 파일 수: 3개

D. 모니터링 자동화 / cron

핵심 변경:

  • ~/.hermes/cron/jobs.json
  • 오늘 백업명 기준 dedup-monitor, macro-monitor, fundamental-monitor, filtered-ideas-followup, redefine-signal 계열 변경 흔적 확인
  • 최신 백업 대비 +69/-16
  • ~/.openclaw/cron/jobs.json
  • 대규모 migration/cutover 상태 반영. diff가 매우 큼: +7353/-1314
  • scripts/admin/apply_dedup_to_all.py
  • 운영 감사/일괄 적용 도구 역할도 겸함

변경 파일 수: 3개

4. commit message 초안

커밋 명령은 작성하지 않는다. 메시지 초안만 남긴다.

A. 알림센터 중복 차단

feat(alarm-center): dedup 공통 유틸 + photo/album 확장 + OpenClaw Gmail legacy 비활성

- shared.dedup 텍스트/문서/사진/앨범 중복 차단 추가
- pipeline Telegram sender에 dedup guard 일괄 적용
- OpenClaw shared.telegram 스텁을 실제 Hermes 구현으로 복구
- legacy Gmail/OpenClaw 경로 노이즈 차단 및 lookback 보강

B. analyst 신선도

fix(analyst): 4종 sender 신선도 마커 통일 + NO_SEND dry-run 표준화

- macro/fundamental/technical/pm 상단에 📊 데이터 기준 마커 통일
- analyst_common_sender에 --dry-run/--no-send 및 NO_SEND env 지원
- 강제 재실행 시 알림센터 발송 없이 렌더링 검증 가능하도록 표준화

C. 가격/원천 freshness

fix(oil): 가격 provenance 신선도 보강 + ron-pipeline Hermes 우선 경로 적용

- oil_supply_monitor 가격 출처/신선도 표시 및 발송 안전장치 보강
- chart/photo 발송 중복 차단 적용
- ron-pipeline MCP가 Hermes 최신 indicator를 우선 사용하도록 패치

D. 모니터링 자동화

feat(monitor): audit/b2g/redefine 시그널 일일 자동 갱신 + 7일 추세

- Hermes cron에 freshness/dedup/redefine signal 모니터링 job 반영
- 필터드 아이디어 및 analyst 후속 모니터링 스케줄 보강
- 운영 리포트용 자동 점검 기반 추가

5. 커밋 전 정리 권고

백업 파일 정리

커밋 전에는 삭제하지 말고, 커밋 직전 별도 정리 대상으로 분리 권고.

정리 후보:

~/.hermes/workspace/scripts/**/*.bak-*
~/.hermes/workspace/shared/*.bak-*
~/.hermes/cron/jobs.json.bak-*
~/.openclaw/cron/jobs.json.bak-*

권고 순서:

  1. 이번 변경을 실제 커밋할 파일 목록 확정
  2. .bak-*는 커밋 대상에서 제외
  3. 커밋 후 24시간 운영 안정 확인
  4. 오래된 .bak-*만 archive 또는 삭제

주의할 점

  • ~/.hermes/workspace가 git repo가 아니므로, Hermes 변경은 현재 git commit으로 직접 보호되지 않는다. 커밋하려면 별도 repo 초기화/상위 repo 확인/rsync 대상 확정이 필요하다.
  • ~/.openclaw/cron/jobs.json diff가 매우 크다. Gmail 비활성만 따로 커밋하려면 현재 파일에서 관련 diff만 분리하기 어렵다.
  • ~/.openclaw/mcp-servers/ron-pipeline/index.js는 untracked다. 커밋 대상으로 삼을지 먼저 확인 필요.
  • 민감정보 파일이 OpenClaw root에 untracked로 다수 보인다. 전체 git add . 금지.

6. 자체평가

기준 점수 근거
정확성 4.3/5 git repo 여부, status, diff stat, 백업 대비 변경량을 실측
완성도 4.2/5 카테고리/커밋 메시지/백업 정리 권고 포함
검증 4.2/5 git status/diff와 파일 백업 diff를 함께 확인
최소 변경 5.0/5 보고서만 작성, commit/stash/삭제 없음

종합: 4.4/5

DONE