fix(gitea-bot): add write:organization scope so bot can create repos

Without this the bot PAT 403s on POST /orgs/{org}/repos, which is
the single most important operation — creating new project repos
inside the workspace's Gitea org.

Made-with: Cursor
This commit is contained in:
2026-04-21 11:05:55 -07:00
parent d9d3514647
commit 6f79a88abd
66 changed files with 2088 additions and 1713 deletions

View File

@@ -24,11 +24,13 @@ interface ProjectShellProps {
const SECTIONS = [
{ id: "overview", label: "Vibn", path: "overview" },
{ id: "prd", label: "PRD", path: "prd" },
{ id: "mvp-setup", label: "Plan", path: "mvp-setup" },
{ id: "tasks", label: "Task", path: "tasks" },
{ id: "build", label: "Build", path: "build" },
{ id: "growth", label: "Growth", path: "growth" },
{ id: "run", label: "Run", path: "run" },
{ id: "growth", label: "Grow", path: "growth" },
{ id: "assist", label: "Assist", path: "assist" },
{ id: "analytics", label: "Analytics", path: "analytics" },
{ id: "analytics", label: "Analyze", path: "analytics" },
] as const;
@@ -43,8 +45,12 @@ function ProjectShellInner({
const activeSection =
pathname?.includes("/overview") ? "overview" :
pathname?.includes("/prd") ? "prd" :
pathname?.includes("/mvp-setup") ? "mvp-setup" :
pathname?.includes("/tasks") ? "tasks" :
pathname?.includes("/prd") ? "tasks" :
pathname?.includes("/build") ? "build" :
pathname?.includes("/run") ? "run" :
pathname?.includes("/infrastructure") ? "run" :
pathname?.includes("/growth") ? "growth" :
pathname?.includes("/assist") ? "assist" :
pathname?.includes("/analytics") ? "analytics" :