Commit Graph

16 Commits

Author SHA1 Message Date
b7d8ec10e5 PEP-251: экран «Подключения» для баз, серверов, хранилищ и почты; CLI внутренних адресов; переводы, словарь, документы, архив change
All checks were successful
peppa/lint lint: success за 2с
peppa/typecheck typecheck: success за 49с
peppa/build build: success за 34с
peppa/test test: success за 1388с
peppa-ci / ci (pull_request) Successful in 25m10s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 12:06:58 +00:00
94292adb41 Merge branch 'main' into task/pep-230
Some checks failed
peppa/lint lint: success за 1с
peppa/typecheck typecheck: success за 21с
peppa/build build: success за 15с
peppa/test test: failure за 673с
peppa-ci / ci (pull_request) Failing after 12m27s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-22 09:30:18 +05:00
8c21f54144 PEP-230: образ платформы знает свой коммит при сборке без .git
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 17:47:38 +05:00
d3c29890f4 PEP-225: хаб с частями и строками задач, протокол WebSocket, свой сервер веба
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 21:03:20 +05:00
9d48bd9047 PEP-212: MCP в режиме «код» — search_api + execute (QuickJS), platform_status, тексты и тесты
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-19 16:39:35 +05:00
Асель
c8d3c0b935 PEP-144: no dev log file on the live site — it made every open tab rebuild the page in a loop
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 12:06:08 +05:00
Асель
1ec5ade03d PEP-133: security audit — git relay refuses encoded dot segments, security headers
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 08:29:01 +05:00
Асель
2dcd16da3a PEP-119: «Продакт» mode by default and «Инженер» by choice — project tabs, menu, no dev badges, 720 px; union merge for shared docs
One clean commit on top of main (the branch history had an intermediate commit with conflict markers).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 18:50:34 +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
Асель
ed49767c31 PEP-65: eGov QR login through the KazEDS relay (sign.aitu.uz)
Login page and Settings → eGov: relay session with a server-side challenge/nonce, QR + eGov Mobile
deep link, polling, one-shot completion; IIN from the signer's certificate (own DER reader),
users.egov_iin. The relay is trusted (PM decision): no own XMLDSig check. CLI peppa user egov,
mock-kazeds-relay, tests. Dev mode: /_next/static is no-store (Cloudflare cached stale chunks).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 01:14:10 +05:00
Асель
2a276d601e Fix dev reload loop: forward only browser errors to the terminal
Forwarded browser logs are written to .next/dev/logs; the watcher treated that as a change
and the page reloaded in a loop behind peppa.telecom.quest (next dev, pre-launch live mode).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 23:36:32 +05:00
Асель
c4952b2011 Pre-launch live mode: PEPPA_WEB_MODE=dev runs next dev (HMR) from the working copy
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 22:56:02 +05:00
Асель
ead62e2c5f PEP-59: version and commit in the web footer; plans for PEP-60, PEP-61
- root package.json carries the Peppa version (0.15.0); next.config.ts
  stamps version, short/full commit, commit date and a dirty flag at build
- Footer on every app page and on the login page, commit linked to Gitea
- OpenSpec: pep-59 archived (web-workspace); new planned changes
  pep-60-platform-channel-digest (Telegram channel of the platform,
  releases/restarts/digests, superadmin settings) and pep-61-top-menu
  (Home instead of Inbox, Runners and Projects pages)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 03:24:08 +05:00
Асель
39367b1d82 PEP-8: remote MCP for ChatGPT with Peppa as OAuth 2.1 server
- OAuth: RFC 8414/9728 metadata, RFC 7591 dynamic registration,
  authorization code + PKCE S256 with a consent screen after Gitea login,
  refresh token rotation; tokens and codes stored hashed; revoke in web
- /mcp: stateless Streamable HTTP, Bearer → user; PM tools from
  @peppa/mcp/manager: projects, goals, tasks, create, move (board
  semantics, starts agents), inbox, answer/accept — owner-scoped
- login keeps ?next= through Gitea OAuth; Settings page with MCP URL and
  connected apps
- 5 new tests (53 e2e total, green); verified on prod as a client:
  DCR → consent → token → MCP over HTTPS → revoke → 401
- OpenSpec: pep-8 archived into spec remote-mcp

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 21:38:09 +05:00
Асель
2b0f2fd984 PEP-1: web platform with Gitea login, projects, goals, tasks, sessions
- web: Gitea OAuth2 login, signed session cookie, everything behind login;
  inbox with answers, project board (goals → tasks), task page with
  OpenSpec artifacts, questions and session controls; new project form;
  auto-refresh, light/dark, mobile
- users + projects.owner_id; tokens AES-256-GCM encrypted; owner-only access
- provisionProject (runner): new or existing Gitea repo, peppa-bot
  collaborator, template + openspec init, push, rollback; used by web and
  peppa project create (replaces scripts/bootstrap-project.sh)
- peppa web login-link, peppa project owner; Gitea OAuth app script
- bins/template resolved via PEPPA_ROOT (works inside the Next build)
- testkit: mock-gitea + 10 tests (42 e2e total, all green)
- OpenSpec: pep-1-web-platform archived into specs web-auth,
  project-provisioning, web-workspace

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 20:55:02 +05:00
Асель
4168e8c867 Bootstrap Peppa monorepo, DB schema, OpenSpec and project template
- pnpm workspace: apps/web (Next.js), apps/bot, packages/{db,shared,mcp,runner}
- Drizzle schema: projects, goals, tasks, sessions, questions, events
- Postgres via infra/docker-compose.yml
- template/: AGENTS.md workflow on OpenSpec, Claude hooks, peppa MCP config
- scripts to push template and bootstrap projects in Gitea

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 19:13:16 +05:00