# Catatan Atun — 12 Sep 2026

## 🔧 MIGRASI ATUN KE HOME HERMES (perintah Bos: "migrasi semua ke home atun di hermes")

### Kondisi sebelum
- Workspace hidup ada DUA: ~/.openclaw/workspace-atun (lama) + ~/.hermes/profiles/atun/workspace (hasil copy 14:56) → rawan drift.
- Folder `$HERMES_HOME/scripts` (profiles/atun/scripts) KOSONG, padahal Hermes cron WAJIB menjalankan script dari situ
  → SEMUA 12 job berbasis script GAGAL total sejak 00:00 s/d 15:05 UTC ("Script not found: .../profiles/atun/scripts/xxx.sh").

### Yang dikerjakan
1. **Sinkronkan workspace** — rsync workspace-atun → profiles/atun/workspace (42 file kecil, 525 KB; kini profile = superset, total 2.0 GB).
2. **Bikin 12 wrapper cron di ~/.hermes/profiles/atun/scripts/** (semua `cd` ke workspace profile, bukan .openclaw lagi):
   das_short_daily, fb_otto_slot_12/19, multiplatform_cron, soto_threads_autoreply, soto_threads_scheduler,
   sumu_linkedin_2hari, threads_cross_mention, threads_growth_autoreply, twitter_mention_reply, twitter_uky_scheduler, yasma_pexels_retry.
3. **Symlink legacy path** — /home/mantapman/.openclaw/workspace-atun → ~/.hermes/profiles/atun/workspace
   (data lama dipindah ke workspace-atun.legacy-20260912; semua script/prompt yang masih pakai path absolut .openclaw tetap jalan, tapi fisiknya satu salinan di Hermes).
4. **Media server sudah pindah** — `atun-media-server.service` (root = profiles/atun/workspace, prefix URL tetap /openclaw-img/);
   `openclaw-img-server` + `openclaw-gateway` DISABLED. Cek publik: funnel `/openclaw-img/01_cover.jpg` = HTTP 200 (0.13s).

### Verifikasi (bukan asumsi)
- 12/12 path script job lolos validasi resolver Hermes (harus di dalam $HERMES_HOME/scripts).
- Uji fungsi asli: `cron.scheduler._run_job_script("_selftest_echo.sh")` → True (script test lalu dihapus).
- Bukti nyata di executions.db: **soto-threads-scheduler 15:05 COMPLETED**, **yasma-pexels-retry 15:06 COMPLETED** (bandingkan: 15:01 masih "Script not found").
- Ticker heartbeat segar (15:07).

### Sisa / catatan
- Salinan legacy 2 GB (workspace-atun.legacy-20260912) menunggu izin Bos untuk dihapus.
- Wrapper lama di ~/.hermes/scripts/*.sh (profil default) masih ada & masih menunjuk path .openclaw — aman karena symlink, tapi duplikat.
- Cron tidak "catch up" run yang gagal 00:00–15:05, ada slot posting yang lewat hari ini.

## ⚖️ TS LAW (status per 12 Sep)
- Pending mendatang: LinkedIn 0, FB 0, Threads 0 (dari 4.024 jadwal dicek via Repliz API).
- LinkedIn stop sejak 8 Sep (perintah Bos 10 Sep). Threads: 12 post 6–12 Sep sukses.
- **Berita CNN gelombang 1+2 HABIS 10/10** (tslaw_berita_history.json) → konten "BEDAH HUKUM" berita tidak jalan lagi;
  perlu **gelombang 3** (berita baru, verifikasi link 200) lewat tslaw_berita_scheduler.py.
