peppa/packages/testkit/test
Асель 685810eb80 PEP-56: runner continues on its own after the usage limit resets
- 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>
2026-11-13 03:50:58 +05:00
..
access.test.ts PEP-16: only allowlisted people can log into Peppa 2026-11-13 03:38:08 +05:00
autonomy.test.ts PEP-7: autonomous mode — board moves start agents, PM only for stoppers 2026-11-12 21:21:11 +05:00
bot.test.ts PEP-2: Telegram per user — pairing from Settings, delivery by project access 2026-11-13 03:44:30 +05:00
cjm.test.ts Add Codex provider, mock agents and end-to-end CJM suite 2026-11-12 20:09:43 +05:00
claude-auth.test.ts PEP-13: connect Claude from the web for remote users 2026-11-12 22:06:37 +05:00
helpers.ts PEP-2: Telegram per user — pairing from Settings, delivery by project access 2026-11-13 03:44:30 +05:00
limits.test.ts PEP-56: runner continues on its own after the usage limit resets 2026-11-13 03:50:58 +05:00
oauth.test.ts PEP-12: share projects with other users 2026-11-12 22:35:56 +05:00
sharing.test.ts PEP-12: share projects with other users 2026-11-12 22:35:56 +05:00
web.test.ts PEP-1: web platform with Gitea login, projects, goals, tasks, sessions 2026-11-12 20:55:02 +05:00