Orchestrate the weekly tai-robot review — did the Saturday evolution pipeline actually run and how far did it get, plus a week-over-week rollup of daily-review verdicts — validated, then published to Discord. Use on/after TPE Saturday morning, or when asked whether evolution is working this week.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Weekly Review?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ericwu13-weekly-review)
---
name: weekly-review
description: Orchestrate the weekly tai-robot review — did the Saturday evolution pipeline actually run and how far did it get, plus a week-over-week rollup of daily-review verdicts — validated, then published to Discord. Use on/after TPE Saturday morning, or when asked whether evolution is working this week.
---
# Weekly Review — the orchestrator
> **Where the data is (since 2026-10-24/25):** the live fleet (12 headless
> `tai_backtest.exe` bots), the bot dashboard and the W1–W4 bridge tasks
> run on **Steven**, not this PC. This PC's `data\live` holds only
> retired/test bots and its n8n is stopped. Read live state from the
> dashboard API (`http://<Steven tailnet IP>:8765/api/fleet`,
> `/api/bot?id=<SYMBOL>_<bot>`; address in `hosts.local.yaml`). Data host,
> host naming and the no-scripts rule → `start-here` §7. A run of a
> checker on this PC describes this PC only — never publish it as fleet
> health. Host map → `start-here`. Run checkers from an up-to-date checkout
> (`git rev-list --count HEAD..origin/master` = 0); the main tree may be
> weeks behind.
Same shape as `daily-review` (which stays daily and does NOT cover
evolution): fetch → review → validate → publish, each stage delegated to
its skill. Keep it light — a healthy week costs one script run and zero
or one subagent. Hard rules are inherited from `daily-review` (main tree
read-only, no merges, redact everything).
## Stage 1 — fetch (no subagents)
The fleet evo check is unavailable until `check_evolution.py` gets
per-path flags (tracked follow-up). Do not run it on Steven.
Week rollup of daily verdicts is not available from the data host (reports are written only where `daily_review.py` runs); say so in the report.
Fallback, this PC only, not the fleet verdict:
```bash
C:/Python313/python.exe -s scripts/monitor/check_evolution.py
```
**Plus the GitHub issue sweep (MANDATORY every run):**
```bash
gh issue list --state all --limit 20 --json number,title,createdAt,updatedAt,author,state
```
Classify every issue created or updated in the last 7 days. An issue is
**EVO-related** when its title/body/comments mention 演化 / evolution /
EVO / 🧬, when it was filed on a Saturday after the 05:05 TPE slot, or
when it attaches `bug_report_*.zip` bundles whose names carry strategy
names (the issue #114 pattern: 7 bundles, one per bot). For each
EVO-related issue read the body AND comments (`gh issue view N --json
body,comments`) — other users paste the 工作臺 chat log there (issue #94
shows the full plan prompt; #99 the verdict/backtest report), which is
evidence this machine never has. Bundles: reading them needs an explicit
download OK in chat (filename, source, size) — in an unattended run do
NOT download; classify from the issue text + local evidence and mark
"bundle not fetched (needs permission)". Every EVO-related issue gets a
line in the digest (bot count, phase reached per bot, whether it changes
this week's finding) and feeds stage 2b. Non-EVO issues are the daily
review's job — list them in one line, don't triage.
**Do not publish a green digest** unless both a real daily rollup and a
real evo check ran on the fleet. Neither is available, so the fleet week
is UNGRADED, including a post from an unattended routine. Do not skip
ahead on "no RED day".
## Stage 2 — review (0–1 subagent)
For evolution findings, one read-only Explore agent (model sonnet)
follows `.claude/skills/evo-debug/SKILL.md` — pass it the findings and
the evidence map; it answers which gate blocked the Saturday run (or
which phase the run died in), whether that is by-design or an outage,
and the single operator action. Daily report files exist only where
`daily_review.py` ran (this PC). A 🟢/🟡/🔴 day in those files is
'this PC only, not the fleet verdict'. Don't re-run the checks.
## Stage 2b — evolution EFFICACY audit (every week, cheap; 2 agents when triggered)
"Did the slot fire" (stage 1) is not "is evolution working". Every week
also answer, from primary evidence only. Fleet files (`data/ai_usage.csv`, `data/live/<bot>/session.json`, debug logs) need an ssh read permitted per `start-here` §7; without it, use this PC's copies, labelled 'this PC only, not the fleet verdict'.
1. **Attempt history** — read `data/ai_usage.csv` at the ledger path the
brief names (UTC; TPE = +8): per past Saturday, plan rows
(`bot_evolution`) vs candidate rows (`evolution_codegen_*`). A
`bot_evolution` row with no `evolution_codegen_*` row is not
`no_change` by itself. Count a Saturday toward the no-candidate
streak only when item 2's debug-log send is the no_change length
(~112-130) or the history row says the plan stopped
(`evolution_history.jsonl` `final_status` `no_change`); otherwise
leave it out of the streak and mark the phase UNGRADED. A ledger that
is missing, empty, or has no row in the review week is UNGRADED, never
a 'no candidate' streak. Count the streak only over Saturdays the
ledger covers (on or after its first row).
2. **Verdict outcome** — the verdict block is NOT persisted anywhere
local (the Tk chat auto-save only fires at window close, and the bot
token cannot read Discord history: HTTP 403). The only on-disk trace is
the Discord send in the data host's bot debug log ~60-90s after the
start line with `msg_len` ≈ 1000-1500 (FAIL/PASS verdict); 112-130 = no_change,
~200-300 = holdout / young-session skip. A PASS would also create
`data/changelog.json` and an `...EvoN` entry in the strategy store.
3. **P&L vs evolution** — weekly realized P&L (by exit date) of every
running non-regime bot for the last 8 weeks from the data host's
`data/live/<bot>/session.json` broker.trades. Losing streak + zero
candidates = the evolution loop is not doing its job, whatever the
reason.
4. **Cross-user evidence** — the stage-1 issue sweep's EVO-related
issues. Their bundles' `debug_YYYYMMDD.log` carry the same start line
/ Discord `msg_len` signature as ours (see the evo-debug skill's
signature table), so classify each bot the same way; pasted chat logs
in the issue give the plan prompt / verdict block directly. Another
user's bots post to the SAME evolution channel, so their verdicts sit
next to ours in Discord.
**Trigger for the deep audit** (any one): ≥4 consecutive Saturdays with
no candidate; ≥8 weeks with candidates but zero PASS; a running bot is
net-negative over the last 4 weeks while evolution stays silent; the
owner asks "is the EVO algorithm correct". When triggered, launch TWO
independent agents in parallel (model fable — fall back to opus on a usage-credit error and say so; read-only, scripts in the
scratchpad only):
- **Pipeline-correctness reviewer** (Explore): `parse_plan_directives`
default/format sensitivity, plan-prompt bias toward `no_change`, gate
reachability on a 14-day holdout (trade floor, MIN_EXPRESSED_TRADES,
ABS_PF_FLOOR, plan criteria, Monte Carlo sub-verdict, AND-chain),
design-cut starvation (cut anchored on the LAST exit — a low-frequency
bot's design window can stop growing), silent exception swallowing,
determinism, and whether any test pins a realistic PASS.
- **Empirical gate-reachability check** (general-purpose): replicate the
pipeline's `run_deep_validation` + `decide_deep_verdict` on a real
bot's 1-min CSV history with candidate = baseline (must fail only on
divergence), a sliding-holdout table (how often the baseline itself
clears the floors), a single-parameter perturbation family (does ANY
neighbour pass; which gate kills most), and a determinism re-run.
Both reports go through stage 3. Their conclusions separate **code
defect** (→ stage 5 fix-pr) from **design limitation** (→ present
evidence, the owner decides gate/holdout/cadence changes — never tune
autonomously).
## Stage 3 — validate
`.claude/skills/validate-findings/SKILL.md` on every digest claim.
Evolution-specific traps: ai_usage.csv timestamps are **UTC** (TPE −8);
watermark/baseline stamps are TPE; a frozen `evolution.json` and a
"no new trades" skip are both BY DESIGN, not outages; regime-bot silence
is by design.
## Stage 4 — publish
Digest ≤1900 chars: `🧬 tai-robot weekly review — week of <TPE Saturday
date> (Claude)`, then: the fleet evolution phase is UNGRADED until a
real evo check ran on the fleet (do not fill PASS/FAIL from this PC), per-bot watermark
movement, next-Saturday eligibility (any non-regime bot running?), the
week's fleet days as UNGRADED (not `Mon 🟢 Tue 🟡`). Any local this-PC
🟢/🟡 day is labelled 'this PC only, not the fleet verdict'. Then the
stage-2b efficacy line (candidate streak, PASS count, P&L trend, deep-audit
verdict when it ran), and one recommended action if any. Delivery identical to `daily-review` stage 4
(monitor channel via bot token when configured, else the news webhook;
throwaway scratchpad script; never store/echo secrets).
## Stage 5 — fix kickoff (rare)
Only via `.claude/skills/fix-pr/SKILL.md` gates and only for CODE
defects. Verdict-gate tuning, cadence changes, and "should regime bots
evolve" are product decisions — present evidence, ask the user.
## Timing
Evolution finishes by ~05:10 TPE Saturday. Run this **Saturday
05:30–06:00 TPE**; convert with `start-here` §4 (check `date +%z` / `Get-Date -Format K`).
The scheduled task uses local time.