diff --git a/agents/conductors/hygiene/AGENTS.md b/agents/conductors/hygiene/AGENTS.md index fd6d9dad..ef9709a0 100644 --- a/agents/conductors/hygiene/AGENTS.md +++ b/agents/conductors/hygiene/AGENTS.md @@ -71,6 +71,7 @@ names — and they keep reporting even when the repo-array modes are `unscanned` | Mode | Pre-scan (kind) | Delegates to | |------|-----------------|--------------| +| `ci` | the slowest parts of CI, read off the Heart board's published `performance` block — smoke-script rows (python legs folded; the slowest leg is the cost, since the gate waits for it), the slowest unit tests, and every gate's wall-clock median (**timing**). Each item carries its evidence (seconds, share of its leg, `cache_jax` state, run URL) and, when the script is checked out under the scan root, the *levers* read from its text: `env_knob` (an `os.environ.get` sizing knob → a `profile_smoke.yaml` `set:`), `simulates`, `jax_jit`, `full_datasets`, `real_search`, `subprocess`, `plots`. Reads Pages, `HYGIENE_HEART_BOARD`, or a local Heart checkout; an unreachable board is exit 3, never a clean zero. On demand only — never the default scan | `/ci_speedup` (executes one item through `/start_dev` → `ship_*`; a *slowdown* row is `/bug`'s, a hang is the board's kill-timer prompt) | | `perf` | dev-loop timing — prefers Heart's tracked timing legs when present (`import_time`, `unit_test_timing`, `workspace_testmode_timing`), else times `import ` per library in a **subprocess** (**timing**) | `/refactor` / `/bug` (+ Heart timing legs) | | `tidy` | git debris — stale branches, stashes, `[gone]` refs, dirty checkouts (**debris**) | **condemn** → files candidates into `condemned.md` async (PyAutoGut archives the fragile forms); no synchronous per-item gate | | `sweep` | reads `condemned.md`, classifies entries by their transit clock (**due** / pending / undated) | `pyauto-gut void` for past-due entries, behind the existing `repo_cleanup` safety gates | @@ -92,6 +93,7 @@ names — and they keep reporting even when the repo-array modes are `unscanned` pyauto-brain hygiene # pre-scan across modes → ranked worklist pyauto-brain hygiene perf # import cost (subprocess) → /refactor + Heart legs pyauto-brain hygiene perf --profile