Software factory (review phase): per-user Gitea/GitHub/GitLab connections, spec chat, project creation, factory page

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Richard ZinkandClaude Sonnet 5.5 committed 2026-11-15 22:19:45 +01:00
1 parent b5e2ef146c
commit 4000084560
18 files changed
+2771 -1

No files matched your search

+106
View File
@@ -1167,6 +1167,112 @@ export const en = {
"chat.folderFiles": "{n} files",
"chat.folderHasGit": "The folder contains a git repository – commits and branches that were not pushed are lost.",
"chat.folderDeleted": "Chat and folder deleted",
"nav.factory": "Factory",
"factory.title": "Software factory",
"factory.tab.overview": "Overview",
"factory.tab.settings": "Settings",
"factory.empty": "No repository connected yet. Add one in the settings: issues with the factory label are then reviewed, built and checked by agents.",
"factory.addRepo": "Add repository",
"factory.newRepo": "New repository",
"factory.noArea": "The factory area is not mounted (FACTORY_DIR → /factory). Repositories cannot be cloned.",
"factory.kpi.running": "Running now",
"factory.kpi.issues": "{n} issues",
"factory.kpi.done": "Done",
"factory.kpi.failed": "{n} failed or rejected",
"factory.kpi.tokens": "Tokens",
"factory.kpi.cost": "Cost",
"factory.kpi.runs": "{n} runs",
"factory.kpi.time": "Avg. run time",
"factory.kpi.perRun": "per finished run",
"factory.in": "in",
"factory.out": "out",
"factory.allRepos": "All projects",
"factory.repoLine": "{n} issues · {run} running",
"factory.noToken": "no token",
"factory.pollNow": "Check now",
"factory.col.review": "Review",
"factory.col.question": "Questions",
"factory.col.approved": "Approved",
"factory.col.build": "Build",
"factory.col.qa": "Acceptance",
"factory.col.done": "Done",
"factory.col.failed": "Failed / rejected",
"factory.phase": "Phase",
"factory.phase.review": "Review",
"factory.phase.build": "Build",
"factory.phase.qa": "Acceptance",
"factory.latestRuns": "Latest runs",
"factory.noRuns": "No runs yet.",
"factory.issue": "Issue",
"factory.model": "Model",
"factory.status": "Status",
"factory.started": "Started",
"factory.duration": "Duration",
"factory.tokens": "Tokens",
"factory.cost": "Cost",
"factory.pr": "Pull request",
"factory.round": "round {n}",
"factory.openChat": "Open chat",
"factory.runStatus.running": "running",
"factory.runStatus.done": "done",
"factory.runStatus.timeout": "timeout",
"factory.runStatus.error": "error",
"factory.runStatus.no-result": "no result",
"factory.runStatus.interrupted": "interrupted",
"factory.settingsHint": "Specs arrive as Gitea issues with the factory label (\"Spec: <path>\" in the text). Each phase runs as its own chat in the sandbox with its own model. Repositories are cloned into the separate factory area, not into the workspace; agents never see the API token.",
"factory.url": "Repository URL",
"factory.token": "Gitea API token",
"factory.tokenPlaceholder": "Token with rights for issues and pull requests",
"factory.tokenSet": "A token is stored. Type a new one to replace it.",
"factory.label": "Issue label",
"factory.parallel": "Parallel runs",
"factory.allowed": "Allowed issue authors",
"factory.allowedPlaceholder": "empty = only the token's owner",
"factory.agent": "Agent",
"factory.mode": "Permission mode",
"factory.timeout": "Timeout (minutes)",
"factory.extraPrompt": "Extra instructions",
"factory.test": "Test connection",
"factory.testOk": "Connected as {login} to {repo}; {n} labels created, repository cloned.",
"factory.deleteConfirm": "Remove {name} from the factory? Issues and chats stay.",
"factory.newProject": "New project",
"factory.connections": "Connections",
"factory.connectionsHint": "Your accounts at Gitea, GitHub or GitLab. Each user sets up their own; repositories use the token of their connection unless they have a token of their own.",
"factory.connName": "Name",
"factory.kind": "Service",
"factory.serviceUrl": "Address of the service",
"factory.defaultOwner": "Default owner for new repositories",
"factory.addConn": "Add connection",
"factory.testConn": "Test",
"factory.connOk": "Signed in as {login}; {n} organisations or groups found.",
"factory.connDeleteConfirm": "Remove the connection {name}? Repositories keep working only with a token of their own.",
"factory.tokenHint.gitea": "Scopes: write:repository, write:issue, read:user – plus write:user (or write:organization) to create repositories.",
"factory.tokenHint.github": "Classic token with scope \"repo\", or a fine-grained token with Contents, Issues and Pull requests (read/write).",
"factory.tokenHint.gitlab": "Personal or project access token with scope \"api\".",
"factory.defaults": "Defaults for new projects",
"factory.defaultsHint": "Models and limits a project starts with; you can change them per project afterwards.",
"factory.specModel": "Model of the spec chat",
"factory.repos": "Repositories",
"factory.connection": "Connection",
"factory.noConnection": "– none (own token) –",
"factory.repoToken": "Own token (optional)",
"factory.repoTokenPlaceholder": "empty = token of the connection",
"factory.repoTokenHint": "Only needed when this repository should use a different token.",
"draft.hint": "Spec chat: when the spec is done, file it as a new repository.",
"draft.create": "Create project",
"draft.createGo": "Create repository and start",
"draft.name": "Project name",
"draft.slug": "Repository name",
"draft.description": "Short description",
"draft.connection": "Connection",
"draft.owner": "Owner",
"draft.ownerPlaceholder": "empty = your own account",
"draft.private": "The repository is created private. The spec is committed as docs/specs/<name>.md and an issue starts the workflow.",
"draft.specPreview": "Show spec",
"draft.noSpec": "There is no spec.md in this chat yet – let the model write it first.",
"draft.noConnection": "Set up a connection (Gitea, GitHub or GitLab) first:",
"draft.created": "{repo} created, issue #{n} opened – the review starts shortly.",
"factory.saved": "Saved",
};
export type Messages = Record<keyof typeof en, string>;