Peppa platform: web, MCP, runner, bot
Go to file
Асель 9cf0d53303 Add Telegram bot: pairing, durable outbox, answers from buttons and replies
- bot: own Bot API client, long polling with persisted offset, updates
  claimed before acting (no replay after restart), outbox with retries
  (429 retry_after, 5xx), /start pairing code (hashed, single use, 10 min),
  only the paired chat/user is served
- PM questions rendered per kind: approve button / reply to reject,
  option buttons, allow/always/deny, alerts with continue or resume/stop;
  messages are closed with who answered what, incl. terminal answers
- stopping/resuming a session expires its open questions
- CLI: peppa telegram pair|status|unpair; launchd agent for the bot
- testkit: mock-telegram + 11 bot journeys (32 e2e tests, all green)
- fix: keep the tmux server alive when empty (exit-empty off) — a new
  session could die with a server shutting down after the last kill
- fix: test env must load before runner modules (no leaks to real tmux)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 20:26:58 +05:00
.agents/skills Bootstrap Peppa monorepo, DB schema, OpenSpec and project template 2026-11-12 19:13:16 +05:00
.claude/skills Bootstrap Peppa monorepo, DB schema, OpenSpec and project template 2026-11-12 19:13:16 +05:00
apps Add Telegram bot: pairing, durable outbox, answers from buttons and replies 2026-11-12 20:26:58 +05:00
infra Add Traefik route and launchd agent for peppa.telecom.quest 2026-11-12 19:36:13 +05:00
openspec Bootstrap Peppa monorepo, DB schema, OpenSpec and project template 2026-11-12 19:13:16 +05:00
packages Add Telegram bot: pairing, durable outbox, answers from buttons and replies 2026-11-12 20:26:58 +05:00
scripts Add Telegram bot: pairing, durable outbox, answers from buttons and replies 2026-11-12 20:26:58 +05:00
template Add Codex provider, mock agents and end-to-end CJM suite 2026-11-12 20:09:43 +05:00
.env.example Push Peppa to Gitea; shared RULES.md loaded live into every session 2026-11-12 19:50:45 +05:00
.gitignore Bootstrap Peppa monorepo, DB schema, OpenSpec and project template 2026-11-12 19:13:16 +05:00
AGENTS.md Add Telegram bot: pairing, durable outbox, answers from buttons and replies 2026-11-12 20:26:58 +05:00
CLAUDE.md Add Codex provider, mock agents and end-to-end CJM suite 2026-11-12 20:09:43 +05:00
package.json Bootstrap Peppa monorepo, DB schema, OpenSpec and project template 2026-11-12 19:13:16 +05:00
pnpm-lock.yaml Add Telegram bot: pairing, durable outbox, answers from buttons and replies 2026-11-12 20:26:58 +05:00
pnpm-workspace.yaml Bootstrap Peppa monorepo, DB schema, OpenSpec and project template 2026-11-12 19:13:16 +05:00
README.md Bootstrap Peppa monorepo, DB schema, OpenSpec and project template 2026-11-12 19:13:16 +05:00
tsconfig.base.json Bootstrap Peppa monorepo, DB schema, OpenSpec and project template 2026-11-12 19:13:16 +05:00

Peppa

Софтвейр-фабрика на Claude Code + OpenSpec. Подробности — в CLAUDE.md.

pnpm install
cp .env.example .env      # GITEA_TOKEN и т.д.
pnpm db:up && pnpm db:migrate
scripts/push-template.sh  # залить template/ в Gitea
scripts/bootstrap-project.sh demo DEMO "Demo project"