25.11.2026 три рабочие подписки получили отметку «лимит» на сутки вперёд.
Claude Code при лимите ждёт сброса сам («set to continue automatically at
6:50pm») и продолжает, плашка остаётся на экране. Вачдог читал её после
конца хода, в 18:51, и время без даты выходило завтрашним.
- passedReset (runner/limits.ts): время на плашке уже прошло (не больше
4 часов назад, сегодня или вчера сразу после полуночи; полная дата в
прошлом) — лимит за плашкой кончился.
- Вачдог по такой плашке подписку не помечает и агента не останавливает,
событие usage_limit_passed раз на плашку; упавший процесс со старой
плашкой в хвосте — сбой, а не лимит.
- parseResetTime не меняется: им читают свежие сообщения (хук, «Проверить»).
- Время в сообщениях о лимите — в поясе платформы (PEPPA_TZ), а не сервера.
Тесты: limits.test.ts (PEP-300) — падали до исправления.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
platformDelay/sessionDelay вместо attention владельцу: падения и зависания агентов, лимиты,
красные и зависшие проверки, запуск агента, обновление версии, приёмка; guard конвейера —
вопрос суперадмину в платформенном проекте; строка задержки в задаче и на карточке;
список задержек на Главной суперадмина.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Limit marks the subscription «лимит до …»; the watchdog relaunches the session on another
usable subscription of the same provider (Claude/OpenCode resume the conversation, Codex
starts afresh), threshold banner switches after the turn, max 3 switches/hour, simple
fairness between projects, subscription_switched events + Telegram message, web shows
subscription and switch history. Migration 0004 (sessions.rotate_reason).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- parseResetTime: 'resets 5pm', 'resets at 3:10 AM', 'resets in 2h 15m',
'try again at 23:30'; nearest future time, local clock
- recordLimit (hook StopFailure and the watchdog's banner path): status
rate_limited, resume_at = reset + 60 s, or probes 30 → 60 → 120 min when
unknown or the limit came back right after a resume; cap 6/day;
PEPPA_LIMIT_AUTORESUME=off; PM is told 'continues at HH:MM'
- watchdog: at resume_at nudges the live agent or relaunches it with
resume (vanished/dead rate-limited runners wait instead of failing); the
limit message is closed as resolved; tick(db, { now }) for tests
- mocks: limit with resetInSec / unknown reset (claude and codex)
- tests: one per spec scenario + Codex (82 e2e total, green)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>