Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <text>` | 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 <agent>` | raw `bin/pyauto-brain` passthrough | debug door |

\* No dedicated Docs/Research conductor exists — those verbs route through the
Expand Down
2 changes: 1 addition & 1 deletion AUTONOMY.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion agents/conductors/release/nightly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ log() { printf '== nightly: %s\n' "$*"; }

# notify <emoji> <text> — 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"
Expand Down
2 changes: 1 addition & 1 deletion bin/overnight_status.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion skills/COMMANDS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 0 additions & 11 deletions skills/morning/SKILL.md

This file was deleted.

11 changes: 11 additions & 0 deletions skills/wake_up/SKILL.md
Original file line number Diff line number Diff line change
@@ -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.
6 changes: 3 additions & 3 deletions skills/morning/morning.md → skills/wake_up/wake_up.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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.

Expand All @@ -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
Expand Down