Асель
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
Асель
00c8f79a36
PEP-7: autonomous mode — board moves start agents, PM only for stoppers
...
- web board (Backlog / In progress / Review / Done) with drag-and-drop and
buttons; moveTask starts an agent on In progress, stops on Backlog/Done
- routine proposals go straight to apply; request_approval/ask_pm only for
architectural stoppers (RULES.md, MCP hints, template pushed to Gitea)
- Stop hook keeps the agent going (decision: block, max 2 in a row,
sessions.auto_nudges reset by a human answer) instead of pinging the PM
- review: ready-for-review message with Accept (acceptTask → done, session
stopped) in Telegram and web; a text reply goes back to the agent
- mock-claude honours Stop-hook block; 6 new e2e tests (48 total, green)
- OpenSpec: pep-7 archived (task-autonomy, web-workspace board)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 21:21:11 +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