diff --git a/AGENTS.md b/AGENTS.md index e262a50..18aceff 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -264,7 +264,7 @@ the Brain routes it to the right agent; normal usage never says "PyAutoBrain". | `/refactor` | Refactor Agent → `start_dev [--auto]` (default-safe) | real conductor | | `/docs` `/research` | `start_dev` pre-tagged with the work-type | work-type entry* | | `/route ` | infers the work-type and dispatches to one of the above | NL router | -| `/morning` | sync + clean-slate (local) + gh-API glance (overnight runs, version drift, resume) + `/health`/`/hygiene` → digest; CLI + mobile/codex | composition door | +| `/wake_up` | sync + clean-slate (local) + gh-API glance (overnight runs, version drift, resume) + `/health`/`/hygiene` → digest; CLI + mobile/codex | composition door | | `/brain ` | raw `bin/pyauto-brain` passthrough | debug door | \* No dedicated Docs/Research conductor exists — those verbs route through the diff --git a/AUTONOMY.md b/AUTONOMY.md index e486b83..6a27a9e 100644 --- a/AUTONOMY.md +++ b/AUTONOMY.md @@ -92,7 +92,7 @@ exception to the release cap above — not a weakening of it. scheme derives it, `YYYY.M.D.1`); the interactive ask is unchanged for manual releases. - The human's role on this path: the kill switch, responding to pages - (any stop/red/anomaly notifies), and reviewing the morning digest of what + (any stop/red/anomaly notifies), and reviewing the `/wake_up` digest of what shipped. Revoking the grant is one act (unset `NIGHTLY_RELEASES`) and needs no diff --git a/agents/conductors/release/nightly.sh b/agents/conductors/release/nightly.sh index e31385a..807cfb4 100644 --- a/agents/conductors/release/nightly.sh +++ b/agents/conductors/release/nightly.sh @@ -90,7 +90,7 @@ log() { printf '== nightly: %s\n' "$*"; } # notify — one Slack message per terminal outcome (design §6). # A missing webhook is a loud warning, never a crash: the run's own log + -# morning-digest watchdog still cover it. +# wake_up-digest watchdog still cover it. notify() { local emoji="$1" text="$2" printf '%s %s\n' "$emoji" "$text" diff --git a/bin/overnight_status.sh b/bin/overnight_status.sh index 45a98fa..dd0d986 100755 --- a/bin/overnight_status.sh +++ b/bin/overnight_status.sh @@ -11,7 +11,7 @@ command -v gh >/dev/null 2>&1 || { echo "gh not found — cannot fetch run statu # owner/repo:workflow-file (owner defaults to PyAutoLabs when omitted). The # passive morning webhooks (morning_health / morning_status) are excluded — -# /morning is their interactive complement, not a re-run of them. +# /wake_up is their interactive complement, not a re-run of them. JOBS=( "PyAutoBrain:nightly-release.yml" "PyAutoHeart:heart-health.yml" diff --git a/skills/COMMANDS.md b/skills/COMMANDS.md index 74dbd57..10de0da 100644 --- a/skills/COMMANDS.md +++ b/skills/COMMANDS.md @@ -66,7 +66,7 @@ symmetry. The taxonomy they tag is `PyAutoMind/ROUTING.md`. own no agent and re-implement no reasoning (all judgment defers to the doors they call, so the Brain is not bypassed): -- **`/morning`** — start-of-day routine. **Local:** sync every repo to main +- **`/wake_up`** — start-of-day routine. **Local:** sync every repo to main (`bin/pull_all_main.sh`) → clean generated cruft, restoring shipped datasets (`bin/clean_slate.sh`) → consult **`/health`** + **`/hygiene`**. **Everywhere (gh-API, so it runs on mobile Claude Code chat / Codex too):** an overnight diff --git a/skills/morning/SKILL.md b/skills/morning/SKILL.md deleted file mode 100644 index 094b13b..0000000 --- a/skills/morning/SKILL.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -name: morning -description: Start-of-day routine for the PyAuto workspace — sync every repo to main and clean generated cruft (local), then a gh-API status glance (overnight scheduled-run conclusions, version-pin drift, resume context) plus /health and /hygiene, ending in one prioritized digest. Runs on the CLI and on mobile Claude Code chat / Codex (auto-skips local-only steps when there is no workspace). Use when starting the day or asked for a morning status/cleanup pass. ---- - -# Morning - -Follow [`morning.md`](morning.md) exactly. Composition skill — drive the existing -doors (`/health`, `/hygiene`) and the `bin/` scripts; auto-run only the -non-destructive steps and surface everything destructive for approval. It is -**environment-aware**: full routine locally, gh-API status glance on mobile/codex. diff --git a/skills/wake_up/SKILL.md b/skills/wake_up/SKILL.md new file mode 100644 index 0000000..7e446a8 --- /dev/null +++ b/skills/wake_up/SKILL.md @@ -0,0 +1,11 @@ +--- +name: wake_up +description: Start-of-day wake-up routine for the PyAuto workspace — sync every repo to main and clean generated cruft (local), then a gh-API status glance (overnight scheduled-run conclusions, version-pin drift, resume context) plus /health and /hygiene, ending in one prioritized digest. Runs on the CLI and on mobile Claude Code chat / Codex (auto-skips local-only steps when there is no workspace). Use when starting the day or asked for a morning status/cleanup pass. +--- + +# Wake Up + +Follow [`wake_up.md`](wake_up.md) exactly. Composition skill — drive the existing +doors (`/health`, `/hygiene`) and the `bin/` scripts; auto-run only the +non-destructive steps and surface everything destructive for approval. It is +**environment-aware**: full routine locally, gh-API status glance on mobile/codex. diff --git a/skills/morning/morning.md b/skills/wake_up/wake_up.md similarity index 94% rename from skills/morning/morning.md rename to skills/wake_up/wake_up.md index 3ededba..05a152e 100644 --- a/skills/morning/morning.md +++ b/skills/wake_up/wake_up.md @@ -1,4 +1,4 @@ -# /morning — start the day: sync, clean, and surface what needs you +# /wake_up — start the day: sync, clean, and surface what needs you The human-driven start-of-day door. Run it each morning to bring the workspace to a clean, current, known-good state and get one prioritized digest of what needs @@ -9,7 +9,7 @@ Shared routing context: `PyAutoBrain/skills/COMMANDS.md`. ## Principle: compose, don't recompute -Every signal here already has an owner. `/morning` **reads and orchestrates** — it +Every signal here already has an owner. `/wake_up` **reads and orchestrates** — it never re-derives what `/health` (Heart's checks) or the automated morning webhooks already produce. Keep it a thin conductor. @@ -22,7 +22,7 @@ never done automatically. ## Environment: local vs remote -`/morning` runs on the CLI **and** on mobile Claude Code chat / Codex — which +`/wake_up` runs on the CLI **and** on mobile Claude Code chat / Codex — which often have no local multi-repo checkout. Detect which: - **Local** — `$PYAUTO_ROOT` (default `~/Code/PyAutoLabs`) contains the sibling