[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C34F4P2YBA7X8ZW3VAB8BD":3,"skill-same:01M6C34F4P2YBA7X8ZW3VAB8BD":109},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":27,"publishedAt":56,"linkOnly":57,"markdownContent":58,"markdownBody":59,"frontMatter":60,"refName":76,"commitSha":77,"skillDirectory":78,"forksCount":79,"repositoryHtmlUrl":80,"repositoryHomepageUrl":6,"ownerHtmlUrl":81,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":82,"install":83,"resources":96},"01M6C34F4P2YBA7X8ZW3VAB8BD","cmux-surface-report-4h",null,"Daily 08:00 PT cmux terminal surface inventory + classification. Lists every selected cmux workspace\u002Fsurface, reads each pane briefly, classifies as Healthy\u002FRisky\u002FBlocked, and posts a per-surface digest (with pinned-first priority, full PR hyperlinks, and smarter 'working on' extraction) to Slack home channel. Runs via launchd plist (LAUNCHD-ONLY since v1.3.0, 2026-07-24). v1.3 changed the cadence from every-4h to a single daily 08:00 tick, renamed the report header from '(4h)' to '(Daily)', and removed the LLM-cron twin.","jleechanorg\u002Fjleechan-skills","jleechanorg","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F221404966?v=4","01M6C1VJ99XG950X1DWPEBCBGX","01M6C1VJDK5YVDNT3362RT5WSB",6,"MIT","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002Fhermes\u002Fskills\u002Fcmux-surface-report-4h\u002FSKILL.md",[17,22],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000005","邮件与沟通","SCENARIO","使用场景",{"categoryNo":23,"categoryName":24,"taxonomyType":25,"taxonomyTypeDesc":26},"01JBSEEDCAT000000000000034","行政与办公人员","PROFESSION","适用职业",[28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55],"report","cmux surface report 4h","launchd","2026","pt","posts","cadence","as","authoring","full","digest","daily","periodic","cmux","only","review","daily report","check","health","classification","cron","inventory","monitoring","messaging","pr","status","terminal","slack","2026-11-10 10:12:30",false,"---\nname: cmux-surface-report-4h\nversion: 1.3.0\ndescription: \"Daily 08:00 PT cmux terminal surface inventory + classification. Lists every selected cmux workspace\u002Fsurface, reads each pane briefly, classifies as Healthy\u002FRisky\u002FBlocked, and posts a per-surface digest (with pinned-first priority, full PR hyperlinks, and smarter 'working on' extraction) to Slack home channel. Runs via launchd plist (LAUNCHD-ONLY since v1.3.0, 2026-07-24). v1.3 changed the cadence from every-4h to a single daily 08:00 tick, renamed the report header from '(4h)' to '(Daily)', and removed the LLM-cron twin.\"\ntags: [cmux, monitoring, launchd, periodic, slack, daily]\ncategory: monitoring\ntriggers:\n  - cmux surface report\n  - cmux daily report\n  - cmux inventory\n  - cmux health digest\n  - daily cmux check\n  - what is cmux doing\n  - cmux status\nrelated_skills:\n  - cmux\n  - cmux-terminal-review\n  - launchd-job-authoring\n  - cron\n  - slack-messaging\n  - skillify\n---\n\n## v1.3.0 — cadence flipped to daily 08:00 PT (2026-07-24, user request)\n\nUser said \"Make this a daily report only at 8am\" in Slack thread\n`C0AJQ5M0A0Y \u002F p1784891379.012009`. Three changes shipped in one PR:\n\n1. **LaunchAgent schedule reduced to a single `StartCalendarInterval`**\n   (Hour=8, Minute=0, TZ=America\u002FLos_Angeles). The previous six-tick\n   per-day array (00\u002F04\u002F08\u002F12\u002F16\u002F20 at minute 07) was deleted.\n2. **Slack header renamed** from `*cmux Surface Report (4h)*` to\n   `*cmux Surface Report (Daily)*`. Same channel\n   (`${HERMES_CMUX_4H_CHANNEL:-C0AJQ5M0A0Y}` = `#ai-general`).\n3. **LLM-cron twin was never active** (`hermes cron list | grep cmux` = `none`)\n   so no disable was needed; the skill doc dropped the historical\n   `cron\u002Fjobs.json` \"LLM-cron sibling\" framing. Single source of truth\n   = the LaunchAgent.\n\nVerified PR: [jleechanorg\u002Fjleechanclaw#799](https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechanclaw\u002Fpull\u002F799)\nheads `83f3891564` (1st commit) + `026b0237c6` (2nd commit, \"stale 4h\ncron comment fix\"). Local rendered LaunchAgent at\n`~\u002FLibrary\u002FLaunchAgents\u002Fcom.$USER.cmux-surface-report-4h.plist` was\nedited, lint-checked, `bootout`\u002F`bootstrap`-reloaded, and re-verified with\n`launchctl print` (`Hour=8, Minute=0`) in the SAME session as the source\nPR — see pitfall §\"Live rendered LaunchAgent reload gate\" below.\n\nThe historical `cmux-surface-report-4h` label and filename are kept\nintentionally (label, plist, script, tests) to avoid migration risk on a\nshell-only change. The cadence and report header — the only user-visible\nsurfaces — were changed.\n\n## Cadence-change pitfall — Live rendered LaunchAgent reload gate (2026-07-24)\n\nWhen you change the schedule in the source plist **and** the rendered\nLaunchAgent is already loaded, the source PR alone is INVISIBLE to the\nrunning daemon. The daemon keeps firing on the schedule it loaded into\nits cache when the LaunchAgent was first registered. Verified sequence:\n\n```bash\nPLIST=\"$HOME\u002FLibrary\u002FLaunchAgents\u002Fcom.$USER.cmux-surface-report-4h.plist\"\nLABEL=\"com.$USER.cmux-surface-report-4h\"\nDOMAIN=\"gui\u002F$(id -u)\"\n\n# 1. Edit the rendered plist (NOT just the .template — that lives in the\n#    git repo; the LaunchAgent under ~\u002FLibrary\u002FLaunchAgents is the live file)\n#    Re-render from the new template:\nsed \"s|@HOME@|$HOME|g; s|@HERMES_EXTRA_PATH@||g\" \\\n  launchd\u002Fcom.$USER.cmux-surface-report-4h.plist.template > \"$PLIST\"\n\n# 2. plutil -lint MUST pass before reload\nplutil -lint \"$PLIST\"\n\n# 3. bootout → bootstrap to force the new schedule into launchd's cache.\n#    bootout can fail silently if the job isn't running — that's OK, ignore.\nlaunchctl bootout \"$DOMAIN\u002F$LABEL\" 2>\u002Fdev\u002Fnull || true\nlaunchctl bootstrap \"$DOMAIN\" \"$PLIST\"\nlaunchctl enable \"$DOMAIN\u002F$LABEL\"\n\n# 4. VERIFY — this is the only proof the change is live. If you skip\n#    this you ship a source PR that disagrees with the running daemon.\nlaunchctl print \"$DOMAIN\u002F$LABEL\" | egrep '\"Hour\"|\"Minute\"|state ='\nplutil -extract StartCalendarInterval json -o - \"$PLIST\"\n```\n\nBoth proof blocks must show **the new schedule** (`Hour=8 Minute=0`).\nIf `launchctl print` still shows the old array, the `bootout` was a\nsilent no-op because the job wasn't registered yet — `launchctl bootstrap`\nre-registers; verify again. Bug-ref: Slack thread\n`C0AJQ5M0A0Y \u002F p1784891379.012009` (2026-07-24).\n\n## Cadence-change pitfall — Codex Spark usage-limit retry (2026-07-24)\n\nThe first AO spawn for this cadence change was `--harness codex` and hit\nits account usage limit before editing anything. The worker reported\n*\"You've hit your usage limit for GPT-5.3-Codex-Spark. Switch to another\nmodel now, or try again at Jul 29th, 2026 4:22 PM.\"* and the session\nwent idle with no commits.\n\n**Correct retry recipe (no time spent debugging the Codex harness):**\n\n1. `ao session kill \u003Cold-id>` (clean up the orphan)\n2. Re-`ao spawn` with `--harness agy --model gemini-3.8-flash-high`\n   (mid-tier — verified 2026-07-24). `--harness codex` was the\n   failure mode; switching to antigravity\u002Fagy's Gemini path bypassed it.\n3. Preserve the verbatim user task and memory context in `\u002Ftmp\u002F...AO-TASK-BRIEF.md`\n   so the second worker has the same brief without re-deriving it.\n4. After the worker pushes, audit PR #N before posting completion.\n\nAnti-pattern: spending 10+ minutes debugging `codex --full-auto` \u002F\n`codex` plugin args, or upgrading Codex quota, when the user explicitly\nasked for a one-line schedule change. Mid-tier is correct for \"config \u002F\nlaunchd \u002F docs\" work; do not escalate to a top-tier model for that.\n\n## Cadence-change pitfall — update everything or ship dead code (2026-07-24)\n\nGreen Gate FAILed on the first push because `scripts\u002Fcmux-surface-report-4h.sh`\nstill contained a \"Cron registration\" example that said\n`hermes cron create \"every 4h\"`. CodeRabbit called it out and Green Gate\ngated on it (CR approval = \"FAIL\"). Fix in the same PR — when you\nchange the schedule, grep for the old cadence in EVERY file under the\nproject (script comments, skill body, resolver triggers, tests, fixtures)\nand update them in the same commit, not in follow-ups.\n\nGrep that catches this class:\n\n```bash\nrg -nE 'every 4h|4h cadence|StartCalendarInterval|ThrottleInterval.*14400' \\\n   scripts\u002F skills\u002F launchd\u002F tests\u002F\n```\n\n## ⚠️ Submit Discipline (MANDATORY — read this before every cmux steer)\n\n`cmux send` does **NOT** press Enter. This is the #1 recurring cmux failure mode\n(verified 2026-07-16: user explicitly flagged \"you always forget to send\" after the\nfable iOS pivot bootstrap). The **4-step ritual** below is a hard contract for every\nsend to a cmux surface. Skip ANY step and the message sits in the input buffer\nwithout ever reaching the agent.\n\n### The 4-step ritual\n\n```bash\n# STEP 1 — Type the text. OK response only proves socket acceptance, NOT submission.\ncmux send --workspace workspace:N --surface surface:M \"your message\"\n\n# STEP 2 — Press Enter. send does NOT auto-press Enter.\ncmux send-key --workspace workspace:N --surface surface:M enter\n\n# STEP 3 — Wait 5-15 seconds for the agent to start processing.\nsleep 8\n\n# STEP 4 — Verify with churning label (THE ONLY definitive proof).\ncmux capture-pane --workspace workspace:N --surface surface:M --lines 25\n# Look for one of:\n#   - \"Working (Xs • esc to interrupt)\"\n#   - \"Forming… (Xs · thinking)\"\n#   - \"Precipitating… (Xs · ↓ tokens)\"\n#   - \"Brewed \u002F Churned \u002F Cooked for Xm\"\n# If you see ANY active churning label → SUBMITTED.\n# If the text is still sitting at the ❯ prompt → NOT submitted, repeat step 2.\n# If \"Stopped\" \u002F \"Done\" \u002F nothing → no churn, investigate.\n```\n\n### ⚠️ Output Contract — typed text + terminal response (MANDATORY)\n\nEvery reply that reports a `cmux send` action MUST include, in the same reply:\n\n1. **The exact text that was typed** — verbatim copy of the string passed to `cmux send`.\n2. **The cmux terminal response** — verbatim transcript of what `cmux capture-pane` \u002F\n   `cmux read-screen` returned AFTER the `cmux send-key enter` settle window\n   (typically 5-15s). Specifically, the agent's first action after absorption.\n3. **Submission status** — explicit verdict: \"submitted (churning label X)\",\n   \"not submitted (text still at ❯ prompt)\", or \"blocked (no churn, retried N times)\".\n\n**Treat as not working until we see a response.** A reply that does NOT include\nboth the typed text AND a terminal response is invalid evidence that the\nsteer landed. The operator cannot distinguish a successful send from a failed\nsend that left text in the input buffer.\n\nCanonical contract + echo-back template: `~\u002F.hermes\u002Fskills\u002Fcmux\u002Freferences\u002Foutput-contract-mandatory.md`.\n\n### ⚠️ LLM-Provenance Caveat (MANDATORY footer)\n\nEvery reply that quotes cmux output, terminal text, or agent actions produced\nby another LLM (the worker agent OR the assistant's own synthesis of agent\noutput) MUST end with this verbatim footer:\n\n> *This was generated from another LLM and not the actual user, so feel free\n> to push back if you disagree and we can discuss.*\n\nThis skill is read-only (it captures cmux surface state via `cmux tree` and\nposts to Slack); the caveat MUST appear in every Slack post this skill emits\nthat quotes surface content \u002F agent activity.\n\nFull caveat rules + scope: `~\u002F.hermes\u002Fskills\u002Fcmux\u002Freferences\u002Foutput-contract-mandatory.md` § \"LLM-Provenance Caveat\".\n\n### Echo-back proof (MANDATORY)\n\nEvery cmux steering action MUST be followed by an **echo-back proof** in the same\nturn or the immediate next turn to your operator (Slack thread, terminal reply,\nor whichever channel triggered the steer):\n\n> ◀ sent to surface:55 (LEFT\u002Fclaudec) at \u003CHH:MM:SS PT> — 4-step ritual complete;\n> churning label \"Forming… 9s · ↓ 4.9k tokens\" confirmed via capture-pane.\n\n**Banned** (these are the failure modes the user keeps flagging):\n- \"I sent the message\" (no Enter proof)\n- \"The agent should have received it\" (no churning label)\n- `cmux send` with no follow-up `cmux send-key enter`\n- Sending to a surface that hasn't been focused (the global focus may be on a\n  different workspace; use the raw RPC `surface.focus` if needed)\n\n### Worktree-pointer strategy for long briefs\n\nFor task briefs >200 chars (e.g. orchestrating iOS app pivot, multi-PR review),\ndo NOT paste the full text into the input. Write the brief to a file in the\nagent's cwd (e.g. `.cmux-\u003Ctask>-brief.md`) and send a 1-2 line pointer. This\navoids the autocompleter contamination pitfall where shell-style tokens inside\nlong text trigger tab completion mid-stream.\n\n### Canonical reference\n\nFull recipe + edge cases + the 2026-06-25 worked example live at:\n`~\u002F.hermes\u002Fskills\u002Fcmux\u002Freferences\u002Fsend-submit-proof-2026-06-25.md`\n\nThis rule was added 2026-07-16 after the fable iOS pivot bootstrap surfaced\n\"you always forget to send\" \u002F \"make sure you press submit and the work starts\non the cmux input\" (Slack ts 1784185650.528089). Apply it uniformly to every\ncmux-touching skill.\n\n# cmux-surface-report-4h\n\n**Every-4h cmux terminal inventory + Slack digest.** This skill composes the production-grade `cmux-surface-report-4h.sh` (already live in `~\u002F.hermes\u002Fscripts\u002F`, scheduled via launchd plist at `~\u002FLibrary\u002FLaunchAgents\u002Fcom.$USER.cmux-surface-report-4h.plist` AND an LLM-cron twin in `~\u002F.hermes\u002Fcron\u002Fjobs.json`) with the contracts: SKILL.md, tests, RESOLVER trigger entry, and the deploy-pipeline sync.\n\n## v1.2 improvements (2026-06-24, per Jeffrey's request)\n\nFour quality-of-life improvements landed in one turn:\n\n1. **Pinned workspaces float to the top.** A new file\n   `~\u002F.config\u002Fcmux\u002Fpinned-workspaces.txt` lets Jeffrey pin specific\n   workspaces by exact ref (`workspace:14`) or by case-insensitive\n   name fragment (`agento`, `latency`). Pinned surfaces always appear\n   first in the report (priority 1, regardless of class), marked with\n   ?. Empty lines and `#` comments are allowed.\n\n2. **Full PR hyperlinks** in the `next:` line. Bare `#N` references\n   are now emitted as `[#N](https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002F\u003Crepo>\u002Fpull\u002FN)`\n   markdown hyperlinks per `.cursor\u002Frules\u002Fpr-hyperlink.mdc`. The repo\n   is auto-detected from the screen text. Falls back to the\n   `$CMUX_REPORT_GH_REPO` env var (default: `$GITHUB_REPOSITORY`)\n   when no repo is mentioned. Three real bugs were caught and fixed\n   during this pass: the doubled-owner pattern\n   `github.com\u002Fjleechanorg\u002Fjleechanorg\u002F\u003Crepo>\u002Fpull\u002FN` (Slack renders\n   BOTH the visible hyperlink text AND the raw URL), the bare-`#N`\n   branch falsely linking to the default repo when the screen\n   references an unrelated repo, and a template bug that doubled\n   the `jleechanorg\u002F` prefix when `default_repo` already contained it.\n\n3. **Smarter \"working on\" extractor.** Instead of the first matching\n   line, the extractor now scores each line by (PR-mention = +3,\n   activity-keyword = +2, later-in-screen = fractional) and picks the\n   best. This means a deep log line like `※ recap: Shipped P4\n   prompt-substitution audit to dark-factory via PR #99 (merged at\n   d68d52b)…` wins over a header line that happens to say \"Running\".\n\n4. **Skillify pass.** Tests, RESOLVER entry, and SKILL.md contract\n   refreshed to cover the new behavior. Test file grew from 31 to 51\n   passing cases.\n\n## Why this skill exists\n\nThree drift patterns were observed before this skillification (2026-06-20 to 2026-06-22):\n\n1. **Parser regression producing 72 bogus \"blocked\" entries** — the 2026-06-20 08:29 tick double-counted surfaces because awk couldn't parse Unicode box-drawing chars. Replaced with Python parser + sanity cap (TOTAL > 100 aborts post).\n2. **launchd job had no Slack token** — the wrapper script (`-wrapper.sh`) was added to source `launchd-env-wrapper.sh` so `HERMES_SLACK_BOT_TOKEN` reaches the script. Without the wrapper, every tick silently no-ops.\n3. **Two duplicate scheduler entries** (one launchd, one LLM-cron) — both posting to the same channel. Verified harmless because both call the same script; documented for audit clarity.\n\n## Contract\n\n**When this skill fires, ONE end-state is provably true:**\n\n| End-state | Proof artifact |\n|---|---|\n| **Slack post landed in `#ai-general`** | One message per tick: `*cmux Surface Report (Daily)* :emoji: {healthy\\|risky\\|blocked}\\nWorkspaces: N surfaces checked \\| Healthy: H \\| Risky: R \\| Blocked: B\\n_Tick: ISO8601 \\| Socket: \u003Cname>_` |\n| **Tick skipped cleanly** | Log line `No live cmux socket — skipping this tick.` at `~\u002F.hermes\u002Flogs\u002Fcmux-surface-report\u002FYYYY-MM-DDTHH.log` |\n| **Tick aborted due to parser regression** | Log line `TOTAL=N exceeds sanity cap (100) — aborting to avoid bogus post.` (exits 1, no Slack post) |\n\n**NOT acceptable end-states:**\n\n- ❌ Tick runs but posts to wrong channel (the SOUL.md `slack-channel-routing-policy` COMMIT pins `#ai-general` (`C0AJQ5M0A0Y`) for all periodic traffic — never `#all-$USER-ai`).\n- ❌ Tick runs with `HERMES_SLACK_BOT_TOKEN` unset and silently exits (the wrapper enforces this — if launchd-env-wrapper.sh is missing, the wrapper FATALs, never silently no-ops).\n- ❌ Tick runs with > 100 surfaces (capped and aborted, NOT posted).\n\n## Phases (every 4h cadence)\n\n### Phase 0 — Wrapper sources launchd env\n\nThe wrapper (`cmux-surface-report-4h-wrapper.sh`) is the only entry point. It:\n\n1. Sets `LABEL=com.$USER.cmux-surface-report-4h` and `LOG_TAG=cmux-surface-report-4h`.\n2. Sources `~\u002F.hermes\u002Fscripts\u002Flaunchd-env-wrapper.sh` (which extracts `HERMES_SLACK_BOT_TOKEN`, `HOME`, `PATH` from `~\u002F.bashrc`).\n3. Execs the actual `cmux-surface-report-4h.sh` via `bash -c \"source ...; exec ...\"` (the wrapper exec's its arg).\n\n**Why a wrapper:** launchd does NOT source `~\u002F.bashrc`. Without the wrapper, the report script has no Slack token and silently exits 0 with `No Slack token available — skipping post.` in the log.\n\n### Phase 1 — Socket resolution\n\nThe script reads `\u002Ftmp\u002Fcmux-last-socket-path` first (cmux's own pointer file), then falls back to `ls -1 \u002Ftmp\u002Fcmux*.sock \u002Fprivate\u002Ftmp\u002Fcmux*.sock`. If neither yields a live socket, the tick exits 0 cleanly (no Slack post).\n\n### Phase 2 — Tree parsing\n\nTries `cmux tree --window window:1` first (works on dev build `cmux DEV may-18.app`), then falls back to `cmux tree --all`. Both wrapped in `timeout 8`. Parses the tree with Python (NOT awk — Unicode box-drawing chars break awk). Emits a list of `(workspace, surface)` pairs where surface is `[selected]`.\n\n### Phase 3 — Per-surface classification (loop)\n\nFor each pair, calls `cmux read-screen --workspace workspace:N --surface surface:N --lines 25`, filters cmux's own `Error:` lines, and classifies into one of three buckets:\n\n| Bucket | Regex on filtered screen | Example signal |\n|---|---|---|\n| **BLOCKED** | `Traceback\\|panic:\\|FATAL EXCEPTION\\|segmentation fault` | Python traceback visible |\n| **RISKY** | `confirm?\\|Do you want to\\|approve?\\|permission to` | Awaiting user approval |\n| **HEALTHY** | `Running\\|processing\\|generating\\|building\\|claude--\\|Working on\\|thinking` | Active work |\n| **HEALTHY** (idle) | (none of above) | Quiet\u002Fidle terminal |\n\nEach classification logs to the per-tick log file. Sanity cap: TOTAL > 100 aborts the post (catches parser regressions before alarming the channel).\n\n### Phase 4 — Slack post (jq + curl)\n\nBuilds a one-line `*cmux Surface Report (4h)* :emoji: {label}` digest with up to 3 blocked + 3 risky details, posted to `${HERMES_CMUX_4H_CHANNEL:-C0AJQ5M0A0Y}` via direct `chat.postMessage`. `unfurl_links:false` to keep the message tight.\n\n## Files\n\n| Path | Purpose |\n|---|---|\n| `~\u002F.hermes\u002Fscripts\u002Fcmux-surface-report-4h.sh` | Main script (8288 bytes, 220 lines) |\n| `~\u002F.hermes\u002Fscripts\u002Fcmux-surface-report-4h-wrapper.sh` | launchd wrapper (1280 bytes, sources launchd-env-wrapper.sh) |\n| `~\u002F.hermes\u002Flaunchd\u002Fcom.$USER.cmux-surface-report-4h.plist.template` | launchd plist template (with `@HOME@` placeholders) — single `StartCalendarInterval` Hour=8 Minute=0 since v1.3.0 |\n| `~\u002FLibrary\u002FLaunchAgents\u002Fcom.$USER.cmux-surface-report-4h.plist` | Rendered plist (substituted `$HOME`). The live file; reload via bootout\u002Fbootstrap after editing |\n| `~\u002F.hermes_prod\u002Fskills\u002Fcmux-surface-report-4h\u002FSKILL.md` | This file (prod mirror) |\n| `~\u002F.hermes_prod\u002Fskills\u002Fcmux-surface-report-4h\u002Ftests\u002Ftest-classify.sh` | Unit tests for the classifier regexes + sanity cap |\n| `~\u002F.hermes\u002Fskills\u002FRESOLVER.md` | Trigger entry: `cmux surface report`, `cmux daily report`, etc. |\n| `~\u002F.hermes\u002Flogs\u002Fcmux-surface-report\u002FYYYY-MM-DDTHH.log` | Per-tick logs (one file per hour) |\n| `~\u002FLibrary\u002FLogs\u002Fcom.$USER.cmux-surface-report-4h.log` | launchd-level log (wrapper output) |\n\n**Removed in v1.3.0:** the `~\u002F.hermes\u002Fcron\u002Fjobs.json` LLM-cron twin\n(`hermes:cmux-surface-report-4h`, job id `086ee863b35a`). It was never\nactive (`hermes cron list | grep cmux` = `none`), so this is a docs-only\nremoval.\n\n## Loader \u002F auto-fire contract\n\nThis skill is registered in `~\u002F.hermes_prod\u002Fskills\u002FRESOLVER.md` and `~\u002F.hermes\u002Fskills\u002FRESOLVER.md` with trigger phrases: `cmux surface report`, `cmux 4h report`, `cmux inventory`, `cmux health digest`, `4h cmux check`, `what is cmux doing`, `cmux status`. The skill fires when a user asks about cmux state from the LLM session; the launchd plist fires independently of the LLM session on its 4h cadence.\n\n## Deploy sync awareness\n\nThis skill is part of the **hermes-deploy-pipeline** deploy set. Stage 4.5 of `scripts\u002Fdeploy.sh` only syncs `POLICY_FILES=(CLAUDE.md SOUL.md TOOLS.md HEARTBEAT.md)`. So:\n\n1. The script lives in `~\u002F.hermes\u002Fscripts\u002F` (staging repo = git-tracked). Commit + push to origin main.\n2. The plist template lives in `~\u002F.hermes\u002Flaunchd\u002F` (staging repo = git-tracked). Commit + push.\n3. The rendered plist lives in `~\u002FLibrary\u002FLaunchAgents\u002F` (NOT git-tracked). Re-render via `sed` from the template after deploy.\n4. The cron entry lives in `~\u002F.hermes\u002Fcron\u002Fjobs.json` (staging repo). After deploy, mirror to `~\u002F.hermes_prod\u002Fcron\u002Fjobs.json` (gateway live state).\n\n**The cmux entry exists in BOTH staging and prod cron** (job id `086ee863b35a`), so deploy.sh Stage 4.5 is sufficient — no custom rsync needed for the cron entry.\n\n## Related skills — load order when this fires\n\n1. `cmux` (always — the underlying terminal multiplexer that this skill inventories)\n2. `launchd-job-authoring` (only when adjusting the plist template)\n3. `cron` (only when adjusting the LLM-cron twin)\n4. `slack-messaging` (only when adjusting the post format)\n\n## Reference\n\n- `references\u002Fcadence-flip-2026-07-24.md` — verbatim transcript of the every-4h → daily 08:00 PT cadence change, including the live rendered LaunchAgent reload recipe, the Codex Spark usage-limit retry pivot to `--harness agy`, the cron-duplicate audit, and the Green Gate FAIL→fix loop on PR #799.\n\n## Worked example — 2026-06-22 healthy tick\n\n```\n*cmux Surface Report (4h)* :white_check_mark: healthy\nWorkspaces: 4 surfaces checked | Healthy: 4 | Risky: 0 | Blocked: 0\n_Tick: 2026-06-22T20:07:14Z | Socket: cmux-9b80e9da.sock_\n```\n\n(Live output from the 2026-06-22 20:07 PT tick; verified in `#ai-general` channel.)","## v1.3.0 — cadence flipped to daily 08:00 PT (2026-07-24, user request)\n\nUser said \"Make this a daily report only at 8am\" in Slack thread\n`C0AJQ5M0A0Y \u002F p1784891379.012009`. Three changes shipped in one PR:\n\n1. **LaunchAgent schedule reduced to a single `StartCalendarInterval`**\n   (Hour=8, Minute=0, TZ=America\u002FLos_Angeles). The previous six-tick\n   per-day array (00\u002F04\u002F08\u002F12\u002F16\u002F20 at minute 07) was deleted.\n2. **Slack header renamed** from `*cmux Surface Report (4h)*` to\n   `*cmux Surface Report (Daily)*`. Same channel\n   (`${HERMES_CMUX_4H_CHANNEL:-C0AJQ5M0A0Y}` = `#ai-general`).\n3. **LLM-cron twin was never active** (`hermes cron list | grep cmux` = `none`)\n   so no disable was needed; the skill doc dropped the historical\n   `cron\u002Fjobs.json` \"LLM-cron sibling\" framing. Single source of truth\n   = the LaunchAgent.\n\nVerified PR: [jleechanorg\u002Fjleechanclaw#799](https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechanclaw\u002Fpull\u002F799)\nheads `83f3891564` (1st commit) + `026b0237c6` (2nd commit, \"stale 4h\ncron comment fix\"). Local rendered LaunchAgent at\n`~\u002FLibrary\u002FLaunchAgents\u002Fcom.$USER.cmux-surface-report-4h.plist` was\nedited, lint-checked, `bootout`\u002F`bootstrap`-reloaded, and re-verified with\n`launchctl print` (`Hour=8, Minute=0`) in the SAME session as the source\nPR — see pitfall §\"Live rendered LaunchAgent reload gate\" below.\n\nThe historical `cmux-surface-report-4h` label and filename are kept\nintentionally (label, plist, script, tests) to avoid migration risk on a\nshell-only change. The cadence and report header — the only user-visible\nsurfaces — were changed.\n\n## Cadence-change pitfall — Live rendered LaunchAgent reload gate (2026-07-24)\n\nWhen you change the schedule in the source plist **and** the rendered\nLaunchAgent is already loaded, the source PR alone is INVISIBLE to the\nrunning daemon. The daemon keeps firing on the schedule it loaded into\nits cache when the LaunchAgent was first registered. Verified sequence:\n\n```bash\nPLIST=\"$HOME\u002FLibrary\u002FLaunchAgents\u002Fcom.$USER.cmux-surface-report-4h.plist\"\nLABEL=\"com.$USER.cmux-surface-report-4h\"\nDOMAIN=\"gui\u002F$(id -u)\"\n\n# 1. Edit the rendered plist (NOT just the .template — that lives in the\n#    git repo; the LaunchAgent under ~\u002FLibrary\u002FLaunchAgents is the live file)\n#    Re-render from the new template:\nsed \"s|@HOME@|$HOME|g; s|@HERMES_EXTRA_PATH@||g\" \\\n  launchd\u002Fcom.$USER.cmux-surface-report-4h.plist.template > \"$PLIST\"\n\n# 2. plutil -lint MUST pass before reload\nplutil -lint \"$PLIST\"\n\n# 3. bootout → bootstrap to force the new schedule into launchd's cache.\n#    bootout can fail silently if the job isn't running — that's OK, ignore.\nlaunchctl bootout \"$DOMAIN\u002F$LABEL\" 2>\u002Fdev\u002Fnull || true\nlaunchctl bootstrap \"$DOMAIN\" \"$PLIST\"\nlaunchctl enable \"$DOMAIN\u002F$LABEL\"\n\n# 4. VERIFY — this is the only proof the change is live. If you skip\n#    this you ship a source PR that disagrees with the running daemon.\nlaunchctl print \"$DOMAIN\u002F$LABEL\" | egrep '\"Hour\"|\"Minute\"|state ='\nplutil -extract StartCalendarInterval json -o - \"$PLIST\"\n```\n\nBoth proof blocks must show **the new schedule** (`Hour=8 Minute=0`).\nIf `launchctl print` still shows the old array, the `bootout` was a\nsilent no-op because the job wasn't registered yet — `launchctl bootstrap`\nre-registers; verify again. Bug-ref: Slack thread\n`C0AJQ5M0A0Y \u002F p1784891379.012009` (2026-07-24).\n\n## Cadence-change pitfall — Codex Spark usage-limit retry (2026-07-24)\n\nThe first AO spawn for this cadence change was `--harness codex` and hit\nits account usage limit before editing anything. The worker reported\n*\"You've hit your usage limit for GPT-5.3-Codex-Spark. Switch to another\nmodel now, or try again at Jul 29th, 2026 4:22 PM.\"* and the session\nwent idle with no commits.\n\n**Correct retry recipe (no time spent debugging the Codex harness):**\n\n1. `ao session kill \u003Cold-id>` (clean up the orphan)\n2. Re-`ao spawn` with `--harness agy --model gemini-3.8-flash-high`\n   (mid-tier — verified 2026-07-24). `--harness codex` was the\n   failure mode; switching to antigravity\u002Fagy's Gemini path bypassed it.\n3. Preserve the verbatim user task and memory context in `\u002Ftmp\u002F...AO-TASK-BRIEF.md`\n   so the second worker has the same brief without re-deriving it.\n4. After the worker pushes, audit PR #N before posting completion.\n\nAnti-pattern: spending 10+ minutes debugging `codex --full-auto` \u002F\n`codex` plugin args, or upgrading Codex quota, when the user explicitly\nasked for a one-line schedule change. Mid-tier is correct for \"config \u002F\nlaunchd \u002F docs\" work; do not escalate to a top-tier model for that.\n\n## Cadence-change pitfall — update everything or ship dead code (2026-07-24)\n\nGreen Gate FAILed on the first push because `scripts\u002Fcmux-surface-report-4h.sh`\nstill contained a \"Cron registration\" example that said\n`hermes cron create \"every 4h\"`. CodeRabbit called it out and Green Gate\ngated on it (CR approval = \"FAIL\"). Fix in the same PR — when you\nchange the schedule, grep for the old cadence in EVERY file under the\nproject (script comments, skill body, resolver triggers, tests, fixtures)\nand update them in the same commit, not in follow-ups.\n\nGrep that catches this class:\n\n```bash\nrg -nE 'every 4h|4h cadence|StartCalendarInterval|ThrottleInterval.*14400' \\\n   scripts\u002F skills\u002F launchd\u002F tests\u002F\n```\n\n## ⚠️ Submit Discipline (MANDATORY — read this before every cmux steer)\n\n`cmux send` does **NOT** press Enter. This is the #1 recurring cmux failure mode\n(verified 2026-07-16: user explicitly flagged \"you always forget to send\" after the\nfable iOS pivot bootstrap). The **4-step ritual** below is a hard contract for every\nsend to a cmux surface. Skip ANY step and the message sits in the input buffer\nwithout ever reaching the agent.\n\n### The 4-step ritual\n\n```bash\n# STEP 1 — Type the text. OK response only proves socket acceptance, NOT submission.\ncmux send --workspace workspace:N --surface surface:M \"your message\"\n\n# STEP 2 — Press Enter. send does NOT auto-press Enter.\ncmux send-key --workspace workspace:N --surface surface:M enter\n\n# STEP 3 — Wait 5-15 seconds for the agent to start processing.\nsleep 8\n\n# STEP 4 — Verify with churning label (THE ONLY definitive proof).\ncmux capture-pane --workspace workspace:N --surface surface:M --lines 25\n# Look for one of:\n#   - \"Working (Xs • esc to interrupt)\"\n#   - \"Forming… (Xs · thinking)\"\n#   - \"Precipitating… (Xs · ↓ tokens)\"\n#   - \"Brewed \u002F Churned \u002F Cooked for Xm\"\n# If you see ANY active churning label → SUBMITTED.\n# If the text is still sitting at the ❯ prompt → NOT submitted, repeat step 2.\n# If \"Stopped\" \u002F \"Done\" \u002F nothing → no churn, investigate.\n```\n\n### ⚠️ Output Contract — typed text + terminal response (MANDATORY)\n\nEvery reply that reports a `cmux send` action MUST include, in the same reply:\n\n1. **The exact text that was typed** — verbatim copy of the string passed to `cmux send`.\n2. **The cmux terminal response** — verbatim transcript of what `cmux capture-pane` \u002F\n   `cmux read-screen` returned AFTER the `cmux send-key enter` settle window\n   (typically 5-15s). Specifically, the agent's first action after absorption.\n3. **Submission status** — explicit verdict: \"submitted (churning label X)\",\n   \"not submitted (text still at ❯ prompt)\", or \"blocked (no churn, retried N times)\".\n\n**Treat as not working until we see a response.** A reply that does NOT include\nboth the typed text AND a terminal response is invalid evidence that the\nsteer landed. The operator cannot distinguish a successful send from a failed\nsend that left text in the input buffer.\n\nCanonical contract + echo-back template: `~\u002F.hermes\u002Fskills\u002Fcmux\u002Freferences\u002Foutput-contract-mandatory.md`.\n\n### ⚠️ LLM-Provenance Caveat (MANDATORY footer)\n\nEvery reply that quotes cmux output, terminal text, or agent actions produced\nby another LLM (the worker agent OR the assistant's own synthesis of agent\noutput) MUST end with this verbatim footer:\n\n> *This was generated from another LLM and not the actual user, so feel free\n> to push back if you disagree and we can discuss.*\n\nThis skill is read-only (it captures cmux surface state via `cmux tree` and\nposts to Slack); the caveat MUST appear in every Slack post this skill emits\nthat quotes surface content \u002F agent activity.\n\nFull caveat rules + scope: `~\u002F.hermes\u002Fskills\u002Fcmux\u002Freferences\u002Foutput-contract-mandatory.md` § \"LLM-Provenance Caveat\".\n\n### Echo-back proof (MANDATORY)\n\nEvery cmux steering action MUST be followed by an **echo-back proof** in the same\nturn or the immediate next turn to your operator (Slack thread, terminal reply,\nor whichever channel triggered the steer):\n\n> ◀ sent to surface:55 (LEFT\u002Fclaudec) at \u003CHH:MM:SS PT> — 4-step ritual complete;\n> churning label \"Forming… 9s · ↓ 4.9k tokens\" confirmed via capture-pane.\n\n**Banned** (these are the failure modes the user keeps flagging):\n- \"I sent the message\" (no Enter proof)\n- \"The agent should have received it\" (no churning label)\n- `cmux send` with no follow-up `cmux send-key enter`\n- Sending to a surface that hasn't been focused (the global focus may be on a\n  different workspace; use the raw RPC `surface.focus` if needed)\n\n### Worktree-pointer strategy for long briefs\n\nFor task briefs >200 chars (e.g. orchestrating iOS app pivot, multi-PR review),\ndo NOT paste the full text into the input. Write the brief to a file in the\nagent's cwd (e.g. `.cmux-\u003Ctask>-brief.md`) and send a 1-2 line pointer. This\navoids the autocompleter contamination pitfall where shell-style tokens inside\nlong text trigger tab completion mid-stream.\n\n### Canonical reference\n\nFull recipe + edge cases + the 2026-06-25 worked example live at:\n`~\u002F.hermes\u002Fskills\u002Fcmux\u002Freferences\u002Fsend-submit-proof-2026-06-25.md`\n\nThis rule was added 2026-07-16 after the fable iOS pivot bootstrap surfaced\n\"you always forget to send\" \u002F \"make sure you press submit and the work starts\non the cmux input\" (Slack ts 1784185650.528089). Apply it uniformly to every\ncmux-touching skill.\n\n# cmux-surface-report-4h\n\n**Every-4h cmux terminal inventory + Slack digest.** This skill composes the production-grade `cmux-surface-report-4h.sh` (already live in `~\u002F.hermes\u002Fscripts\u002F`, scheduled via launchd plist at `~\u002FLibrary\u002FLaunchAgents\u002Fcom.$USER.cmux-surface-report-4h.plist` AND an LLM-cron twin in `~\u002F.hermes\u002Fcron\u002Fjobs.json`) with the contracts: SKILL.md, tests, RESOLVER trigger entry, and the deploy-pipeline sync.\n\n## v1.2 improvements (2026-06-24, per Jeffrey's request)\n\nFour quality-of-life improvements landed in one turn:\n\n1. **Pinned workspaces float to the top.** A new file\n   `~\u002F.config\u002Fcmux\u002Fpinned-workspaces.txt` lets Jeffrey pin specific\n   workspaces by exact ref (`workspace:14`) or by case-insensitive\n   name fragment (`agento`, `latency`). Pinned surfaces always appear\n   first in the report (priority 1, regardless of class), marked with\n   ?. Empty lines and `#` comments are allowed.\n\n2. **Full PR hyperlinks** in the `next:` line. Bare `#N` references\n   are now emitted as `[#N](https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002F\u003Crepo>\u002Fpull\u002FN)`\n   markdown hyperlinks per `.cursor\u002Frules\u002Fpr-hyperlink.mdc`. The repo\n   is auto-detected from the screen text. Falls back to the\n   `$CMUX_REPORT_GH_REPO` env var (default: `$GITHUB_REPOSITORY`)\n   when no repo is mentioned. Three real bugs were caught and fixed\n   during this pass: the doubled-owner pattern\n   `github.com\u002Fjleechanorg\u002Fjleechanorg\u002F\u003Crepo>\u002Fpull\u002FN` (Slack renders\n   BOTH the visible hyperlink text AND the raw URL), the bare-`#N`\n   branch falsely linking to the default repo when the screen\n   references an unrelated repo, and a template bug that doubled\n   the `jleechanorg\u002F` prefix when `default_repo` already contained it.\n\n3. **Smarter \"working on\" extractor.** Instead of the first matching\n   line, the extractor now scores each line by (PR-mention = +3,\n   activity-keyword = +2, later-in-screen = fractional) and picks the\n   best. This means a deep log line like `※ recap: Shipped P4\n   prompt-substitution audit to dark-factory via PR #99 (merged at\n   d68d52b)…` wins over a header line that happens to say \"Running\".\n\n4. **Skillify pass.** Tests, RESOLVER entry, and SKILL.md contract\n   refreshed to cover the new behavior. Test file grew from 31 to 51\n   passing cases.\n\n## Why this skill exists\n\nThree drift patterns were observed before this skillification (2026-06-20 to 2026-06-22):\n\n1. **Parser regression producing 72 bogus \"blocked\" entries** — the 2026-06-20 08:29 tick double-counted surfaces because awk couldn't parse Unicode box-drawing chars. Replaced with Python parser + sanity cap (TOTAL > 100 aborts post).\n2. **launchd job had no Slack token** — the wrapper script (`-wrapper.sh`) was added to source `launchd-env-wrapper.sh` so `HERMES_SLACK_BOT_TOKEN` reaches the script. Without the wrapper, every tick silently no-ops.\n3. **Two duplicate scheduler entries** (one launchd, one LLM-cron) — both posting to the same channel. Verified harmless because both call the same script; documented for audit clarity.\n\n## Contract\n\n**When this skill fires, ONE end-state is provably true:**\n\n| End-state | Proof artifact |\n|---|---|\n| **Slack post landed in `#ai-general`** | One message per tick: `*cmux Surface Report (Daily)* :emoji: {healthy\\|risky\\|blocked}\\nWorkspaces: N surfaces checked \\| Healthy: H \\| Risky: R \\| Blocked: B\\n_Tick: ISO8601 \\| Socket: \u003Cname>_` |\n| **Tick skipped cleanly** | Log line `No live cmux socket — skipping this tick.` at `~\u002F.hermes\u002Flogs\u002Fcmux-surface-report\u002FYYYY-MM-DDTHH.log` |\n| **Tick aborted due to parser regression** | Log line `TOTAL=N exceeds sanity cap (100) — aborting to avoid bogus post.` (exits 1, no Slack post) |\n\n**NOT acceptable end-states:**\n\n- ❌ Tick runs but posts to wrong channel (the SOUL.md `slack-channel-routing-policy` COMMIT pins `#ai-general` (`C0AJQ5M0A0Y`) for all periodic traffic — never `#all-$USER-ai`).\n- ❌ Tick runs with `HERMES_SLACK_BOT_TOKEN` unset and silently exits (the wrapper enforces this — if launchd-env-wrapper.sh is missing, the wrapper FATALs, never silently no-ops).\n- ❌ Tick runs with > 100 surfaces (capped and aborted, NOT posted).\n\n## Phases (every 4h cadence)\n\n### Phase 0 — Wrapper sources launchd env\n\nThe wrapper (`cmux-surface-report-4h-wrapper.sh`) is the only entry point. It:\n\n1. Sets `LABEL=com.$USER.cmux-surface-report-4h` and `LOG_TAG=cmux-surface-report-4h`.\n2. Sources `~\u002F.hermes\u002Fscripts\u002Flaunchd-env-wrapper.sh` (which extracts `HERMES_SLACK_BOT_TOKEN`, `HOME`, `PATH` from `~\u002F.bashrc`).\n3. Execs the actual `cmux-surface-report-4h.sh` via `bash -c \"source ...; exec ...\"` (the wrapper exec's its arg).\n\n**Why a wrapper:** launchd does NOT source `~\u002F.bashrc`. Without the wrapper, the report script has no Slack token and silently exits 0 with `No Slack token available — skipping post.` in the log.\n\n### Phase 1 — Socket resolution\n\nThe script reads `\u002Ftmp\u002Fcmux-last-socket-path` first (cmux's own pointer file), then falls back to `ls -1 \u002Ftmp\u002Fcmux*.sock \u002Fprivate\u002Ftmp\u002Fcmux*.sock`. If neither yields a live socket, the tick exits 0 cleanly (no Slack post).\n\n### Phase 2 — Tree parsing\n\nTries `cmux tree --window window:1` first (works on dev build `cmux DEV may-18.app`), then falls back to `cmux tree --all`. Both wrapped in `timeout 8`. Parses the tree with Python (NOT awk — Unicode box-drawing chars break awk). Emits a list of `(workspace, surface)` pairs where surface is `[selected]`.\n\n### Phase 3 — Per-surface classification (loop)\n\nFor each pair, calls `cmux read-screen --workspace workspace:N --surface surface:N --lines 25`, filters cmux's own `Error:` lines, and classifies into one of three buckets:\n\n| Bucket | Regex on filtered screen | Example signal |\n|---|---|---|\n| **BLOCKED** | `Traceback\\|panic:\\|FATAL EXCEPTION\\|segmentation fault` | Python traceback visible |\n| **RISKY** | `confirm?\\|Do you want to\\|approve?\\|permission to` | Awaiting user approval |\n| **HEALTHY** | `Running\\|processing\\|generating\\|building\\|claude--\\|Working on\\|thinking` | Active work |\n| **HEALTHY** (idle) | (none of above) | Quiet\u002Fidle terminal |\n\nEach classification logs to the per-tick log file. Sanity cap: TOTAL > 100 aborts the post (catches parser regressions before alarming the channel).\n\n### Phase 4 — Slack post (jq + curl)\n\nBuilds a one-line `*cmux Surface Report (4h)* :emoji: {label}` digest with up to 3 blocked + 3 risky details, posted to `${HERMES_CMUX_4H_CHANNEL:-C0AJQ5M0A0Y}` via direct `chat.postMessage`. `unfurl_links:false` to keep the message tight.\n\n## Files\n\n| Path | Purpose |\n|---|---|\n| `~\u002F.hermes\u002Fscripts\u002Fcmux-surface-report-4h.sh` | Main script (8288 bytes, 220 lines) |\n| `~\u002F.hermes\u002Fscripts\u002Fcmux-surface-report-4h-wrapper.sh` | launchd wrapper (1280 bytes, sources launchd-env-wrapper.sh) |\n| `~\u002F.hermes\u002Flaunchd\u002Fcom.$USER.cmux-surface-report-4h.plist.template` | launchd plist template (with `@HOME@` placeholders) — single `StartCalendarInterval` Hour=8 Minute=0 since v1.3.0 |\n| `~\u002FLibrary\u002FLaunchAgents\u002Fcom.$USER.cmux-surface-report-4h.plist` | Rendered plist (substituted `$HOME`). The live file; reload via bootout\u002Fbootstrap after editing |\n| `~\u002F.hermes_prod\u002Fskills\u002Fcmux-surface-report-4h\u002FSKILL.md` | This file (prod mirror) |\n| `~\u002F.hermes_prod\u002Fskills\u002Fcmux-surface-report-4h\u002Ftests\u002Ftest-classify.sh` | Unit tests for the classifier regexes + sanity cap |\n| `~\u002F.hermes\u002Fskills\u002FRESOLVER.md` | Trigger entry: `cmux surface report`, `cmux daily report`, etc. |\n| `~\u002F.hermes\u002Flogs\u002Fcmux-surface-report\u002FYYYY-MM-DDTHH.log` | Per-tick logs (one file per hour) |\n| `~\u002FLibrary\u002FLogs\u002Fcom.$USER.cmux-surface-report-4h.log` | launchd-level log (wrapper output) |\n\n**Removed in v1.3.0:** the `~\u002F.hermes\u002Fcron\u002Fjobs.json` LLM-cron twin\n(`hermes:cmux-surface-report-4h`, job id `086ee863b35a`). It was never\nactive (`hermes cron list | grep cmux` = `none`), so this is a docs-only\nremoval.\n\n## Loader \u002F auto-fire contract\n\nThis skill is registered in `~\u002F.hermes_prod\u002Fskills\u002FRESOLVER.md` and `~\u002F.hermes\u002Fskills\u002FRESOLVER.md` with trigger phrases: `cmux surface report`, `cmux 4h report`, `cmux inventory`, `cmux health digest`, `4h cmux check`, `what is cmux doing`, `cmux status`. The skill fires when a user asks about cmux state from the LLM session; the launchd plist fires independently of the LLM session on its 4h cadence.\n\n## Deploy sync awareness\n\nThis skill is part of the **hermes-deploy-pipeline** deploy set. Stage 4.5 of `scripts\u002Fdeploy.sh` only syncs `POLICY_FILES=(CLAUDE.md SOUL.md TOOLS.md HEARTBEAT.md)`. So:\n\n1. The script lives in `~\u002F.hermes\u002Fscripts\u002F` (staging repo = git-tracked). Commit + push to origin main.\n2. The plist template lives in `~\u002F.hermes\u002Flaunchd\u002F` (staging repo = git-tracked). Commit + push.\n3. The rendered plist lives in `~\u002FLibrary\u002FLaunchAgents\u002F` (NOT git-tracked). Re-render via `sed` from the template after deploy.\n4. The cron entry lives in `~\u002F.hermes\u002Fcron\u002Fjobs.json` (staging repo). After deploy, mirror to `~\u002F.hermes_prod\u002Fcron\u002Fjobs.json` (gateway live state).\n\n**The cmux entry exists in BOTH staging and prod cron** (job id `086ee863b35a`), so deploy.sh Stage 4.5 is sufficient — no custom rsync needed for the cron entry.\n\n## Related skills — load order when this fires\n\n1. `cmux` (always — the underlying terminal multiplexer that this skill inventories)\n2. `launchd-job-authoring` (only when adjusting the plist template)\n3. `cron` (only when adjusting the LLM-cron twin)\n4. `slack-messaging` (only when adjusting the post format)\n\n## Reference\n\n- `references\u002Fcadence-flip-2026-07-24.md` — verbatim transcript of the every-4h → daily 08:00 PT cadence change, including the live rendered LaunchAgent reload recipe, the Codex Spark usage-limit retry pivot to `--harness agy`, the cron-duplicate audit, and the Green Gate FAIL→fix loop on PR #799.\n\n## Worked example — 2026-06-22 healthy tick\n\n```\n*cmux Surface Report (4h)* :white_check_mark: healthy\nWorkspaces: 4 surfaces checked | Healthy: 4 | Risky: 0 | Blocked: 0\n_Tick: 2026-06-22T20:07:14Z | Socket: cmux-9b80e9da.sock_\n```\n\n(Live output from the 2026-06-22 20:07 PT tick; verified in `#ai-general` channel.)",{"name":5,"tags":61,"version":62,"category":50,"triggers":63,"description":7,"related_skills":71},[41,50,30,40,55,39],"1.3.0",[64,65,66,67,68,69,70],"cmux surface report","cmux daily report","cmux inventory","cmux health digest","daily cmux check","what is cmux doing","cmux status",[41,72,73,48,74,75],"cmux-terminal-review","launchd-job-authoring","slack-messaging","skillify","main","42ccd02cbf5e8e47839dc3eab6fc754dc6b339cf","hermes\u002Fskills\u002Fcmux-surface-report-4h",0,"https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills","https:\u002F\u002Fgithub.com\u002Fjleechanorg","2026-11-14 14:55:35",{"source":8,"skillName":5,"commands":84,"prompt":94,"zipAvailable":95},[85,88,91],{"tool":86,"command":87},"npx","npx skills add jleechanorg\u002Fjleechan-skills --skill cmux-surface-report-4h",{"tool":89,"command":90},"bunx","bunx skills add jleechanorg\u002Fjleechan-skills --skill cmux-surface-report-4h",{"tool":92,"command":93},"pnpm","pnpm dlx skills add jleechanorg\u002Fjleechan-skills --skill cmux-surface-report-4h","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002Fhermes\u002Fskills\u002Fcmux-surface-report-4h\u002FSKILL.md",true,[97,103],{"path":98,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":101,"sourceHtmlUrl":102},"references\u002Fcadence-flip-2026-07-24.md","REFERENCE","参考文档",5470,"https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002Fhermes\u002Fskills\u002Fcmux-surface-report-4h\u002Freferences\u002Fcadence-flip-2026-07-24.md",{"path":104,"resourceType":105,"resourceTypeDesc":106,"sizeBytes":107,"sourceHtmlUrl":108},"tests\u002Ftest-classify.sh","SCRIPT","脚本",16017,"https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002Fhermes\u002Fskills\u002Fcmux-surface-report-4h\u002Ftests\u002Ftest-classify.sh",[110,118,125,132,140,149],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":117},"01M7DRVZXXMGY4G81K5GVF4V20","disk-reclaim-playbook","Use Disk Magician to diagnose disk growth or qualify cleanup on macOS or Linux.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdisk-reclaim-playbook\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":117},"01M7B63PNTT2TY78RFKHD8SP3X","claudea-bench","Compare `claudea` and normal `claude` on a fair split of comparable work by default; use `--strict` for duplicate runs of the exact same task.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fclaudea-bench\u002FSKILL.md",[],[],{"skillNo":126,"name":52,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":131},"01M7622KQJ32AV4K5BXEMVSSEB","Alias for the canonical pr-lifecycle PR workflow skill (\u002Fpr-workflow, \u002Fprw).","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fpr\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":139},"01M7432W92AKC4D1TKJ00VCMMT","whisper","OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual ASR.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fwhisper\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":144,"licenseFileUrl":145,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":139},"01M7432T6BN1A9SHB8RBQR5EMP","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":139},"01M7432NDC7S6C6MX7M6RW8CTT","pr-report","This skill should be used when the user asks for a PR report, PR audit, PR delta analysis, \u002Fpr-report, or wants per-PR summary with delta files\u002Flines. Generates a structured report for one or more open PRs covering purpose, files changed, +\u002F− line counts, \u002Fcode-standards + \u002Fthermo review findings, \u002Fponytail simplification opportunities, file-overlap combination candidates, and \u002Fgreen status per pr-green-definition. Output: machine-readable JSONL + human-readable markdown. Read-only by default; can apply simplifications if user opts in.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fpr-report\u002FSKILL.md",[],[]]