peppa/apps/bot
Асель 824ba56b74 PEP-2: Telegram per user — pairing from Settings, delivery by project access
- 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>
2026-11-13 03:44:30 +05:00
..
bin Add Telegram bot: pairing, durable outbox, answers from buttons and replies 2026-11-12 20:26:58 +05:00
src PEP-2: Telegram per user — pairing from Settings, delivery by project access 2026-11-13 03:44:30 +05:00
package.json Add Telegram bot: pairing, durable outbox, answers from buttons and replies 2026-11-12 20:26:58 +05:00
tsconfig.json Bootstrap Peppa monorepo, DB schema, OpenSpec and project template 2026-11-12 19:13:16 +05:00