- infra: Bugsink 2.6.3 in docker (infra/bugsink, scripts/bugsink-up.sh), database
bugsink in Peppa's Postgres, Traefik route bugsink.telecom.quest
- packages/bugsink: REST API client + custom-webhook payload parsing
- incidents (migration 0011): incident_settings, error_sources, incidents; ingest from
webhook POST /api/hooks/bugsink/<secret> and a 2-minute poll in the watchdog
- incident policy per project: notify / backlog (default) / start / ask (Telegram
buttons) / triage (claude -p with the owner's token, falls back to ask)
- daily task cap, environments, ignore pattern; manual "fixed" until PEP-57;
REGRESSED returns the task to the backlog
- web «Ошибки» section, bot buttons, MCP tools for agents and the PM, help, RULES.md
- testkit: mock-bugsink, mock-triage, incidents.test.ts (one test per scenario,
plus a live run against the real Bugsink with PEPPA_LIVE_BUGSINK=1)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- users.telegram_* replace the single global binding; one-time /start code
per user (web Settings → Telegram, or peppa telegram pair <login>);
a chat belongs to one user
- agent questions go to the project's owner and members who paired; an
answer (button or reply) is accepted only from someone with access to
the project; messages are closed for every recipient; /status is scoped
- CLI: telegram pair|status|unpair <login>, user ensure mock-<name>;
dev stand pairs its test PM per user
- tests: several-users journey (bob without access, then as a member);
70 e2e total, green
- BREAKING: the old global binding is removed; users pair again in Settings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- mock-telegram as a standalone server with /_mock/* inspection and PM
actions (messages, send, click, callbacks)
- peppa-dev up|down|status|peppa|tg: isolated DB peppa_dev, tmux -L
peppa-dev, ~/.peppa-dev, the real bot against mock-telegram, mock agents;
test PM paired automatically via /start
- verified: question from a mock session answered with a button on the
stand, delivered to the session; prod sessions/tmux/Telegram untouched
- OpenSpec: pep-6 archived into spec dev-sandbox
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- runner: provider abstraction (claude | codex); per-run launch.sh keeps
long argv out of tmux; Codex via notify callback + -c config for rules
and the peppa MCP server; session env carries DATABASE_URL/PEPPA_HOME
- testkit: mock-claude / mock-codex driven by scenarios — real hooks,
notify, MCP calls, raw-mode TUI input with bracketed paste, permission
dialog, usage limits, hangs, crashes, /clear
- 21 CJM tests on an isolated DB, tmux server and state dir (all green)
- fix: watchdog crash/stall alerts showed blank lines instead of the tail
- bins load .env without overriding the caller's env; tmux socket option
- AGENTS.md (was CLAUDE.md) and shared RULES.md: mock-first rule with a
mock prefix for anything blocked on external dependencies
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>