peppa/openspec/changes/archive/2026-11-26-pep-280-private-by-default/tasks.md
peppa-bot 420b4ae357
All checks were successful
peppa/lint lint: success за 3с
peppa/typecheck typecheck: success за 52с
peppa/build build: success за 35с
peppa/test test: success за 1629с
peppa-ci / ci (pull_request) Successful in 29m37s
PEP-280: архив change, AGENTS.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 19:06:21 +00:00

19 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 1. Закрытый по умолчанию
- [x] 1.1 `provisionProject`: приватный, если не `public`; веб-форма и действие, MCP `create_project`, CLI (`--public`), `/help`
- [x] 1.2 Тест: проект без выбора видимости — приватный (веб/ядро, MCP, CLI)
## 2. Суперадмин закрывает публичные
- [x] 2.1 `makeRepoPrivate` (runner/share.ts): только суперадмин; проект — `setProjectVisibility`, иначе бот; событие проекту
- [x] 2.2 `/gitea`: счётчик публичных, фильтр «публичные», кнопка «Сделать закрытым» у публичного
- [x] 2.3 Мок `/repos/search` и `PATCH` в mock-gitea; тест: суперадмин закрывает, не суперадмин — отказ, обзор показывает публичные
## 3. Агенты с закрытым репозиторием
- [x] 3.1 Тест: клон и push закрытого репозитория через git-прокси релея; без токена бота — отказ
## 4. Завершение
- [x] 4.1 Словарь, i18n, typecheck, тесты; память; archive; PR