Commit Graph

150 Commits

Author SHA1 Message Date
e3ed7bc367 Merge pull request 'PEP-39: ротация сессии на свободную подписку пула при лимите' (#46) from task/pep-39 into main 2026-11-14 05:40:45 +05:00
Асель
634e40a02c PEP-39: migration 0006 after PEP-29; switch message goes through notification preferences (failures event)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 05:31:22 +05:00
Асель
5ff738c977 PEP-39: migration renumbered to 0005 after PEP-26
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 05:31:22 +05:00
Асель
b3533c73bb PEP-39: archive OpenSpec change pep-39-rotation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 05:31:22 +05:00
Асель
c7283063c9 PEP-39: rotate a limited session to a free subscription of the pool at the turn boundary
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>
2026-11-14 05:31:22 +05:00
987ed91ed3 Merge pull request 'PEP-23/24/25: автономность проекта, диспетчер бэклога, приёмка = мерж' (#47) from task/pep-23 into main 2026-11-14 05:30:14 +05:00
Асель
4c001ba5f6 PEP-23: inAutonomyQuietHours (PEP-29 owns inQuietHours for user notification prefs)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 05:25:52 +05:00
Асель
5465238d1a PEP-23: MCP tool list and update_project_settings in the remote MCP test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 05:20:47 +05:00
Асель
7d1e354096 PEP-23: archive OpenSpec change pep-23-autonomy (spec project-autonomy)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 05:20:47 +05:00
Асель
f284c40933 PEP-23/24/25: project autonomy levels, backlog dispatcher with idle pushes, auto-merge and closing, working copy sync
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 05:20:47 +05:00
735b1af4a8 Merge pull request 'PEP-29, PEP-35, PEP-55: уведомления — настройки, push в браузере, дайджест' (#48) from task/pep-29-35-55 into main 2026-11-14 05:15:56 +05:00
Асель
ce3e33dc5f PEP-29/35/55: user-notifications spec purpose
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 05:10:20 +05:00
Асель
9d8851b0b4 PEP-29/35/55: archive OpenSpec change pep-29-35-55-notifications
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 05:10:20 +05:00
Асель
9f9358de2c PEP-29/35/55: web — Settings → Notifications, Web Push in the browser (sw.js, PWA manifest), tab counter and sound; help, AGENTS.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 05:10:20 +05:00
Асель
ea4bdf38ff PEP-29/35/55: notification prefs and routing, Web Push outbox, daily digest; mock-push, tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 05:10:20 +05:00
Асель
06337e18dc PEP-29/35/55: OpenSpec change pep-29-35-55-notifications
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 05:09:37 +05:00
bcd2cc317f Merge pull request 'PEP-26: агент-ревьюер до ревью PM, пример lint в шаблоне' (#45) from task/pep-26 into main 2026-11-14 05:04:48 +05:00
Асель
b6bcbeb695 PEP-26: archive OpenSpec change pep-26-code-reviewer
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 04:59:32 +05:00
Асель
07ff13111d PEP-26: reviewer agent before the PM's review — queue, claude -p on the PR diff, findings back to the agent, project settings, card; lint example in the template
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 04:59:32 +05:00
2444d6128d Merge pull request 'PEP-9: живой терминал раннера в вебе (xterm.js, SSE + POST)' (#44) from task/pep-9 into main 2026-11-14 04:49:49 +05:00
Асель
09d2750d75 PEP-9: live runner terminal in the web — xterm.js over SSE, input via POST
- runner/terminal.ts: TerminalFeed polls the pane (capture-pane -e, one loop per runner
  shared by viewers), sends changed lines, scrolled-off lines and the cursor; terminalInput
  (send-keys -H / paste-buffer -p) with access, liveness, size and rate checks, resets
  auto_nudges, logs terminal_input; terminalSse with 15 s pings for Cloudflare
- web: GET/POST /api/runners/[id]/terminal, RunnerTerminal (xterm.js) in the runner panel
  and on the story page; help
- testkit: terminal.test.ts — real tmux into a headless xterm, history, input, access, limits, SSE
- OpenSpec change archived; new spec runner-terminal

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 04:45:32 +05:00
0802e2b7eb Merge pull request 'RULES: задачи Пеппы → стори, цели → эпики' (#43) from rules/stories into main 2026-11-14 04:36:33 +05:00
Асель
bc457d9a26 RULES: Peppa tasks are stories, goals are epics (OpenSpec tasks.md unchanged)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 04:32:52 +05:00
ba785ca7c0 Merge pull request 'PEP-67: подписки Claude Code, Codex, OpenCode и пулы для ротации (раздел суперадмина)' (#42) from task/pep-67 into main 2026-11-14 03:52:48 +05:00
Асель
16a6fcf8ac PEP-67: migrate-to-sqlite skips tables that don't exist in the legacy Postgres schema
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:48:34 +05:00
Асель
e2beb70dc4 PEP-67: archive OpenSpec change pep-67-subscriptions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:48:34 +05:00
Асель
6116b47403 PEP-67: web — superadmin «Подписки» section, project pool, subscription choice at launch, subscription in Runners; Settings → Claude removed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:48:34 +05:00
Асель
9054774f96 PEP-67: subscriptions and pools in core/db, sign-in and checks in runner, OpenCode provider, mocks, tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:48:25 +05:00
Асель
11778d98bd PEP-67: OpenSpec change pep-67-subscriptions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:48:25 +05:00
74f88b325c Merge pull request 'PEP-64: проекты публичные по умолчанию, смена видимости (веб, MCP, CLI)' (#40) from task/PEP-64 into main 2026-11-14 03:47:06 +05:00
Асель
9720bb7d53 PEP-64: oauth test knows set_project_visibility
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:39:25 +05:00
Асель
90bb5daabe PEP-64: archive OpenSpec change pep-64-visibility
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:39:17 +05:00
Асель
efeac4500b PEP-64: public by default, change visibility (runner, web, MCP, CLI), tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:39:17 +05:00
Асель
818bfe33a9 PEP-64: OpenSpec change pep-64-visibility
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:39:05 +05:00
6a81bb5687 Merge pull request 'PEP-66: проект как в GitHub — вкладки Код, Спеки, PR; цели → эпики; задачи → стори' (#41) from task/PEP-66 into main 2026-11-14 03:34:19 +05:00
Асель
73b82d38a1 PEP-66: fix epic MCP test (title min length)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:28:42 +05:00
Асель
6cceac62b2 PEP-66: archive OpenSpec change
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:28:42 +05:00
Асель
358fb5c0e9 PEP-66: «стори» and «эпики» in web, bot, notifications, MCP texts, help; tab tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:28:42 +05:00
Асель
328900e254 PEP-66: epics (goals as story labels), tabs Код/Спеки/PR, bug settings in ⋯
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:28:34 +05:00
Асель
f9bc156321 PEP-66: OpenSpec change pep-66-github-tabs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:28:19 +05:00
8e16c91460 Merge pull request 'PEP-68: локальные пользователи без Gitea — вход по паролю, управляет суперадмин' (#39) from task/pep-68 into main 2026-11-14 03:26:54 +05:00
Асель
5009975a5a PEP-68: archive OpenSpec change pep-68-local-users
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:22:04 +05:00
Асель
414e4500e4 PEP-68: local users without Gitea — password login, superadmin management
- users.password_hash/password_set_at/disabled_at (migration 0002_local_users)
- core/local-users.ts: scrypt, passwordLogin with attempt limits, create/reset/disable
- isSuperadmin(db, user) = platform.admins; isUserAllowed honours disabled_at
- web: /auth/password + login form, /users for superadmins, Settings → password
- Gitea login with a local user's login is refused (giteaLoginRefusal)
- local users: projects in peppa-bot namespace, members without Gitea collaboration
- CLI: peppa user add|passwd|disable|enable; tests in testkit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:20:21 +05:00
dbd9b04b70 Merge pull request 'Выключатель «Выкатить в прод?» для Пеппы до запуска' (#38) from pep18/release-offers-switch into main 2026-11-14 02:28:09 +05:00
Асель
13ad9cb51e Platform release offers switch: no "deploy to prod?" for Peppa before the launch
peppa platform release-offers on|off (setting platform.release_offers, default on). Off closes the
open offer and hides the button on the project's releases tab. Turned off now: Peppa runs as
next dev from the working copy and has no prod yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 02:24:37 +05:00
7d0da1b83c Merge pull request 'infra: все docker-сервисы Пеппы в одном compose-проекте peppa' (#37) from infra/one-compose into main 2026-11-14 02:14:44 +05:00
Асель
616ce28c70 infra: one compose project peppa (postgres, bugsink, act-runner) — one group in OrbStack
The runner and Bugsink ran from compose files in old worktrees (projects peppa-ci, peppa-bugsink).
Container names and the runner's registration volume are kept. scripts/infra-up.sh, pnpm infra:up.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 02:10:53 +05:00
a493b80708 Merge pull request 'testkit: тесты удаляют свою временную папку' (#36) from fix/test-tmp-cleanup into main 2026-11-14 01:28:51 +05:00
Асель
0194f7f6e4 testkit: remove each test file's temp dir on teardown (runs had piled up ~1 GB)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 01:25:16 +05:00
0d130f76a0 Merge pull request 'PEP-65: вход через eGov QR (relay sign.aitu.uz)' (#35) from task/PEP-65-egov-login into main 2026-11-14 01:24:46 +05:00