26.11 в 23:40 сборка образа упала («permission denied» в ~/.docker): учётке сервера дали прямой доступ к docker, скрипт перестал звать sudo, а служебные файлы остались за root от прежних `sudo -E docker`. Автовыкатка записала версию как неудачную и больше её не пробовала; никому ничего не пришло — сторож отставания (PEP-277) говорит только через два часа. - scripts/platform-deploy.sh: `die` при --auto зовёт работающий вачдог (`peppa platform deploy-failed <sha> <причина>`); неудачная цель пропускается час, потом пробуется снова (scripts/lib/deploy-failed.sh, PEPPA_AUTODEPLOY_RETRY_MIN); `sudo -E -H` — root не пишет в ~/.docker учётки; `fix_docker_home` возвращает учётке оставшиеся там чужие файлы до сборки; откат называет причину в последней строке. - runner/deploy-lag.ts: `alertDeployFailed` — суперадминам одно сообщение на версию и причину. - CLI `peppa platform deploy-failed`; переводы en/kk. - AGENTS.md: заметки PEP-308, PEP-309 и PEP-310 (три исправления сливаются одним заходом). - Тесты: autodeploy.test.ts (метка неудачи, сообщение, ~/.docker), deploy-lag.test.ts (одно сообщение). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
520 lines
55 KiB
TypeScript
520 lines
55 KiB
TypeScript
import type { Dict } from "../index.ts";
|
||
|
||
/**
|
||
* Runner (packages/runner): Telegram/chat messages, questions to the PM, buttons and errors.
|
||
* Messages built from several pieces have one key per line (or per piece between " · ").
|
||
*/
|
||
export const runner: Dict = {
|
||
// Who / labels used inside other messages
|
||
"Раннер {id}": "Runner {id}",
|
||
"Агент #{id}": "Agent #{id}",
|
||
продакт: "product manager",
|
||
аналитик: "analyst",
|
||
ревьюер: "reviewer",
|
||
планировщик: "planner",
|
||
триажёр: "triager",
|
||
вопрос: "question",
|
||
разрешение: "permission",
|
||
"одобрение proposal": "proposal approval",
|
||
ошибка: "error",
|
||
|
||
// AGENTS.md tab
|
||
"Gitea не ответила: {error}": "Gitea did not respond: {error}",
|
||
"нет клиента": "no client",
|
||
"AGENTS.md больше {n} КБ — сократите": "AGENTS.md is larger than {n} KB — shorten it",
|
||
"AGENTS.md изменили, пока вы редактировали — обновите страницу и повторите правку":
|
||
"AGENTS.md was changed while you were editing — reload the page and redo your edit",
|
||
"Не удалось сохранить AGENTS.md в Gitea: {error}": "Could not save AGENTS.md to Gitea: {error}",
|
||
|
||
// Autonomy
|
||
"▶️ Взять": "▶️ Take",
|
||
"▶️ Взять {key}": "▶️ Take {key}",
|
||
"⏭ Следующую": "⏭ Next one",
|
||
"В работу": "Take on",
|
||
"Пока нет": "Not yet",
|
||
"Задача «{title}» готова. Взять в работу?": "Task “{title}” is ready. Take it on?",
|
||
"(неактуально: задача уже не в бэклоге)": "(no longer relevant: the task is no longer in the backlog)",
|
||
"💤 Не сейчас": "💤 Not now",
|
||
"💤 Не сейчас ({n} ч)": "💤 Not now ({n} h)",
|
||
"✅ Закрыто автоматически: PR смержен": "✅ Closed automatically: PR merged",
|
||
"🤖 {key} «{title}»: PR смержен, стори закрыта автоматически.": "🤖 {key} “{title}”: PR merged, story closed automatically.",
|
||
"✅ Стори {key} готова к ревью": "✅ Story {key} is ready for review",
|
||
// Whole first lines (dict only): otherwise a shorter "Стори {key}" template swallows the line.
|
||
"✅ Стори {key} готова к ревью · PR: {url}": "✅ Story {key} is ready for review · PR: {url}",
|
||
"✅ Стори {key} готова к ревью · PR смержен автоматически: {url}": "✅ Story {key} is ready for review · PR merged automatically: {url}",
|
||
"PR смержен автоматически: {url}": "PR merged automatically: {url}",
|
||
"Закроется сама через {n} ч, если не будет замечаний.": "It will close by itself in {n} h if there are no comments.",
|
||
"⚠️ {key}: PR меняет конвейер (.gitea/, checks/deploy) — сам не закрою, нужно ваше «Принять».":
|
||
"⚠️ {key}: the PR changes the pipeline (.gitea/, checks/deploy) — I won't close it myself, it needs your «Accept».",
|
||
"✅ Принято автоматически: {n} ч без замечаний": "✅ Accepted automatically: {n} h without comments",
|
||
"🤖 {key} «{title}» закрыта автоматически: {n} ч без замечаний.": "🤖 {key} “{title}” closed automatically: {n} h without comments.",
|
||
"⚠️ {key}: не получилось закрыть автоматически — {error}": "⚠️ {key}: could not close automatically — {error}",
|
||
"(неактуально: агент уже работает или бэклог пуст)": "(no longer relevant: an agent is already working or the backlog is empty)",
|
||
"⚠️ {project}: диспетчер не смог запустить агента на {key} — {error}": "⚠️ {project}: the dispatcher could not start an agent on {key} — {error}",
|
||
"Повторю через {n} мин.": "Will retry in {n} min.",
|
||
"📭 {project}: бэклог пуст — агентам нечего делать. Добавьте стори, и FORGE возьмёт их сама.":
|
||
"📭 {project}: the backlog is empty — agents have nothing to do. Add stories and FORGE will pick them up.",
|
||
"😴 {project}: агенты простаивают, в бэклоге {n}. Взять в работу {key} «{title}»?":
|
||
"😴 {project}: agents are idle, {n} in the backlog. Start working on {key} “{title}”?",
|
||
"⚠️ {key} не запущена: {error}": "⚠️ {key} was not started: {error}",
|
||
|
||
// Budgets
|
||
"➕ Продлить ×2": "➕ Extend ×2",
|
||
"♾ Снять лимит": "♾ Remove limit",
|
||
"⏹ Остановить": "⏹ Stop",
|
||
"💸 {key}: исчерпан бюджет ({names}). Агент на паузе — ход прерван, разговор сохранён.":
|
||
"💸 {key}: budget exhausted ({names}). The agent is paused — the turn was interrupted, the conversation is kept.",
|
||
"(бюджет изменён в карточке)": "(budget changed on the card)",
|
||
|
||
// Chats
|
||
"Команды:": "Commands:",
|
||
"/status — активные агенты и открытые вопросы": "/status — active agents and open questions",
|
||
"/task KEY-N — где стори и что она ждёт": "/task KEY-N — where the story is and what it is waiting for",
|
||
"/move KEY-N <backlog|in_progress|review|done> — передвинуть стори (in_progress запускает агента)":
|
||
"/move KEY-N <backlog|in_progress|review|done> — move the story (in_progress starts an agent)",
|
||
"/help — эта справка": "/help — this help",
|
||
"В треде стори обычный текст — ответ агенту: на открытый вопрос, иначе комментарий, который агент увидит сразу.":
|
||
"In a story thread plain text is a reply to the agent: to the open question, otherwise a comment the agent sees right away.",
|
||
"{key} → Бэклог": "{key} → Backlog",
|
||
"{key} → В работе (агент взялся)": "{key} → In progress (an agent took it)",
|
||
"{key} → Ревью": "{key} → Review",
|
||
"{key} → Готово": "{key} → Done",
|
||
"Сообщение длиннее {n} символов": "The message is longer than {n} characters",
|
||
"Неизвестный тред": "Unknown thread",
|
||
"В мастер-чате нет своих тредов — ответь в чате проекта": "The master chat has no threads of its own — reply in the project chat",
|
||
"Здесь работают команды.": "Commands work here.",
|
||
"Тред не из этого чата": "The thread is not from this chat",
|
||
"Стори не найдена": "Story not found",
|
||
"Этот вопрос уже закрыт ({via}): {answer}": "This question is already closed ({via}): {answer}",
|
||
"Этот вопрос уже закрыт: {answer}": "This question is already closed: {answer}",
|
||
"Ответ ушёл агенту ✅": "The answer went to the agent ✅",
|
||
"Ответ сохранён; сессия не запущена — агент увидит его в истории стори.":
|
||
"The answer is saved; the session is not running — the agent will see it in the story history.",
|
||
"Комментарий сохранён — агент увидит его в get_task, когда возьмётся за стори.":
|
||
"The comment is saved — the agent will see it in get_task when it picks up the story.",
|
||
"Комментарий ушёл агенту ✅": "The comment went to the agent ✅",
|
||
"Укажи стори: {usage}": "Specify the story: {usage}",
|
||
"Стори {key} не найдена": "Story {key} not found",
|
||
"Статус: {status}": "Status: {status}",
|
||
"Агент: {status}": "Agent: {status}",
|
||
"Агент не запущен": "Agent is not running",
|
||
"Ждёт ответа: {n}": "Waiting for an answer: {n}",
|
||
"Открытых вопросов нет": "No open questions",
|
||
"Колонка: backlog, in_progress, review или done": "Column: backlog, in_progress, review or done",
|
||
"Не знаю такую команду: {cmd}": "Unknown command: {cmd}",
|
||
"Активные агенты: {n}": "Active agents: {n}",
|
||
"Открытых вопросов: {n}": "Open questions: {n}",
|
||
|
||
// CI
|
||
"❌ {key}: проверки PR красные {n} раза подряд — агент не справился сам. Упала «{check}» (коммит {sha}).":
|
||
"❌ {key}: PR checks failed {n} times in a row — the agent could not fix it alone. “{check}” failed (commit {sha}).",
|
||
"Что делать? Ответ уйдёт агенту.": "What should be done? The answer goes to the agent.",
|
||
"Принять не удалось: {reason}": "Could not accept: {reason}",
|
||
"результата ещё нет": "there is no result yet",
|
||
"⚠️ {key}: PR меняет конвейер — автомерж отключён, нужно ваше ревью.": "⚠️ {key}: the PR changes the pipeline — auto-merge is off, it needs your review.",
|
||
"«Принять» смержит PR.": "«Accept» will merge the PR.",
|
||
"изменение конвейера требует ревью PM": "a pipeline change needs the PM's review",
|
||
"нет доступа к репозиторию": "no access to the repository",
|
||
"Нет доступа к коду проекта": "No access to the project code",
|
||
"Подключение проверок": "Connecting the checks",
|
||
"Секрет {name}": "Secret {name}",
|
||
Вебхук: "Webhook",
|
||
"Код проекта {repo} не найден": "The project code {repo} was not found",
|
||
|
||
// Claude print (planner, reviewer, triage, intake)
|
||
"{who}: у проекта нет подписки Claude": "{who}: the project has no Claude subscription",
|
||
"{who} не ответил за {n} с": "{who} did not answer within {n} s",
|
||
"{who} завершился с кодом {code}: {error}": "{who} exited with code {code}: {error}",
|
||
"{who} ответил ошибкой": "{who} answered with an error",
|
||
|
||
// Code tab
|
||
"Gitea сейчас не отвечает": "Gitea is not responding right now",
|
||
"Репозиторий не найден в Gitea": "Repository not found in Gitea",
|
||
|
||
// Deploy
|
||
"🚀 Показать всем": "🚀 Show everyone",
|
||
"(неактуально: в версии для проверки появились новые изменения)": "(no longer relevant: the version for review has new changes)",
|
||
"❌ {project}: обновление {sha} ({env}) не прошло проверку — возвращена прежняя версия {prev}.": "❌ {project}: update {sha} ({env}) did not pass the check — the previous version {prev} is back.",
|
||
"❌ {project}: обновление {sha} ({env}) не прошло проверку.": "❌ {project}: update {sha} ({env}) did not pass the check.",
|
||
"{key}: версия не обновилась {n} раз подряд — агент не справился сам и остановлен.": "{key}: the version failed to update {n} times in a row — the agent could not fix it and was stopped.",
|
||
"{key}: версия не обновляется {n} раза подряд — агент не справился сам.": "{key}: the version has failed to update {n} times in a row — the agent could not fix it.",
|
||
"Вернуть агенту {key} не удалось: {error}": "Could not hand it back to the agent of {key}: {error}",
|
||
"Причина: {reason}": "Reason: {reason}",
|
||
неизвестна: "unknown",
|
||
"✅ {project}: staging обновлён — {sha} · стори: {tasks}{host}\nВыкатить этот релиз в прод?":
|
||
"✅ {project}: staging updated — {sha} · stories: {tasks}{host}\nDeploy this release to prod?",
|
||
"✅ {project}: staging обновлён — {sha}{host}\nВыкатить этот релиз в прод?": "✅ {project}: staging updated — {sha}{host}\nDeploy this release to prod?",
|
||
"🚀 {project} в проде: {sha} · стори: {tasks}{host}": "🚀 {project} in prod: {sha} · stories: {tasks}{host}",
|
||
"🚀 {project} в проде: {sha}{host}": "🚀 {project} in prod: {sha}{host}",
|
||
"{project}: в версии для проверки нет работающих изменений — показывать нечего": "{project}: the version for review has no working changes — nothing to show",
|
||
"{project}: прод уже выкатывается ({sha})": "{project}: prod is already being deployed ({sha})",
|
||
"Обновление рабочей версии не запущено: {error}": "The update of the live version did not start: {error}",
|
||
|
||
// Hosts
|
||
"Хост {host} недоступен по SSH: {error}": "Host {host} is unreachable over SSH: {error}",
|
||
"нет соединения": "no connection",
|
||
"не удалось определить каталог {path} на хосте": "could not resolve directory {path} on the host",
|
||
"на хосте нет {tools}": "the host has no {tools}",
|
||
|
||
// Flow
|
||
"проверки не пройдены": "checks did not pass",
|
||
"{key} нельзя в ревью: {reason}": "{key} can't go to review: {reason}",
|
||
"{key} в архиве": "{key} is archived",
|
||
"✅ Принято": "✅ Accepted",
|
||
"Вопрос не привязан к стори": "The question is not linked to a story",
|
||
"{key} не в ревью (сейчас {status})": "{key} is not in review (now {status})",
|
||
|
||
// Gitea events
|
||
"✅ PR смержен в Gitea ({sender})": "✅ PR merged in Gitea ({sender})",
|
||
"✅ PR смержен в Gitea": "✅ PR merged in Gitea",
|
||
|
||
// Hook
|
||
"Разрешить {tool}": "Allow {tool}",
|
||
"Агент закончил ход и ждёт вашего ответа.": "The agent finished its turn and is waiting for your answer.",
|
||
"{who}: ход оборвался с ошибкой {error}.": "{who}: the turn broke off with error {error}.",
|
||
|
||
// Incidents
|
||
"в бэклог": "to backlog",
|
||
"в работу": "to work",
|
||
игнорировать: "ignore",
|
||
"спросить PM": "ask the PM",
|
||
"Не удалось применить политику: {error}": "Could not apply the policy: {error}",
|
||
"совпало с шаблоном игнора «{pattern}»": "matched the ignore pattern “{pattern}”",
|
||
"Триажёр недоступен ({error}) — реши сам.": "The triager is unavailable ({error}) — decide yourself.",
|
||
"Триажёр не уверен (склоняется: {action}): {reason}": "The triager is unsure (leaning: {action}): {reason}",
|
||
"Триажёр не уверен: {reason}": "The triager is unsure: {reason}",
|
||
"Суточный предел стори из ошибок ({n}) исчерпан — стори не создана; триажёр предлагал «{action}»: {reason}.":
|
||
"The daily limit of stories from errors ({n}) is reached — no story created; the triager suggested “{action}”: {reason}.",
|
||
"Суточный предел стори из ошибок ({n}) исчерпан — стори не создана.": "The daily limit of stories from errors ({n}) is reached — no story created.",
|
||
"Раннер не запустился: {error}": "The runner did not start: {error}",
|
||
"Уже решено: стори {key}": "Already decided: story {key}",
|
||
"Уже решено: {status}": "Already decided: {status}",
|
||
"решение {who}": "decision by {who}",
|
||
"Уже решено": "Already decided",
|
||
"Решено ({who}): игнорировать": "Decided ({who}): ignore",
|
||
"Решено ({who}): в работу → {key}": "Decided ({who}): to work → {key}",
|
||
"Решено ({who}): в бэклог → {key}": "Decided ({who}): to backlog → {key}",
|
||
"Уже отмечено исправленным": "Already marked as fixed",
|
||
"Исправлено ({who})": "Fixed ({who})",
|
||
"Баг #{id} отмечен исправленным вручную ({who}) в версии {release}.": "Bug #{id} was marked as fixed by hand ({who}) in version {release}.",
|
||
"Баг #{id} отмечен исправленным вручную ({who}) в версии {release}. Отметить его в учёте ошибок не удалось — он может прийти снова.": "Bug #{id} was marked as fixed by hand ({who}) in version {release}. It could not be marked in the error tracker — it may come back.",
|
||
"Баг #{id} отмечен исправленным вручную ({who}).": "Bug #{id} was marked as fixed by hand ({who}).",
|
||
"Баг #{id} отмечен исправленным вручную ({who}). Отметить его в учёте ошибок не удалось — он может прийти снова.": "Bug #{id} was marked as fixed by hand ({who}). It could not be marked in the error tracker — it may come back.",
|
||
"Отслеживание ошибок ещё не подключено к FORGE. Напишите администратору.": "Error tracking is not connected to FORGE yet. Please write to the administrator.",
|
||
|
||
// Intake
|
||
"продакт ответил не по формату": "the product manager answered in the wrong format",
|
||
"аналитик ответил не по формату": "the analyst answered in the wrong format",
|
||
"Учёл ответ. {message}": "Took the answer into account. {message}",
|
||
"(ответа не было — аналитик взял варианты по умолчанию)": "(no answer — the analyst took the default options)",
|
||
"Ответа не было — иду по вариантам по умолчанию:": "No answer — going with the default options:",
|
||
"Стори готова к работе.": "The story is ready for work.",
|
||
"Не смог разобрать задачу ({error}) — стори идёт в работу как написана.": "Could not analyse the task ({error}) — the story goes to work as written.",
|
||
"(стори взята в работу без ответа)": "(the story was started without an answer)",
|
||
"взята в работу вручную": "started manually",
|
||
|
||
// Limits
|
||
"{who}: снова лимит, автопродолжений сегодня уже {n} — нужен ты. Нажми «Перезапустить», когда лимит сбросится.":
|
||
"{who}: limit again, already {n} auto-resumes today — you are needed. Press «Restart» when the limit resets.",
|
||
"{who} упёрлась в лимит.": "{who} hit the limit.",
|
||
"{who}: остановлен по лимиту, продолжит в {time} сам.": "{who}: stopped by the limit, will resume at {time} by itself.",
|
||
"{who}: остановлен по лимиту, время сброса неизвестно — попробую продолжить в {time}.": "{who}: stopped by the limit, reset time unknown — will try to resume at {time}.",
|
||
|
||
// Live updates
|
||
"Неизвестное сообщение": "Unknown message",
|
||
"Слишком много областей": "Too many scopes",
|
||
"Ввод — только в терминал": "Input goes to a terminal only",
|
||
"Неизвестная область: {scope}": "Unknown scope: {scope}",
|
||
"Нужна область (scope)": "A scope is required",
|
||
|
||
// Planner
|
||
"планировщик ответил не по формату — попробуйте ещё раз или уточните описание эпика":
|
||
"the planner answered in the wrong format — try again or refine the epic description",
|
||
"в плане нет стори": "the plan has no stories",
|
||
"не больше {n} стори за раз": "no more than {n} stories at a time",
|
||
"стори {n}: нужно название": "story {n}: a title is required",
|
||
"стори {n}: нет стори №{dep} в плане": "story {n}: there is no story #{dep} in the plan",
|
||
"стори {n} зависит от самой себя": "story {n} depends on itself",
|
||
"цикл зависимостей в плане": "dependency cycle in the plan",
|
||
"План не принят: {reason}": "Plan not accepted: {reason}",
|
||
"План не принят: стори {key} нет в проекте {project}": "Plan not accepted: story {key} is not in project {project}",
|
||
|
||
// Platform release
|
||
"(выкатка в прод выключена до запуска)": "(prod deploys are off until launch)",
|
||
"✅ {project}: main зелёный — {sha}. Выкатить в прод?": "✅ {project}: main is green — {sha}. Deploy to prod?",
|
||
"скрипт релиза не ответил за час": "the release script did not respond within an hour",
|
||
"{project}: main без зелёных проверок — выкатывать нечего": "{project}: main has no green checks — nothing to deploy",
|
||
"{project}: {sha} уже в проде": "{project}: {sha} is already in prod",
|
||
|
||
// Project subscription
|
||
"Подписку проекта выбирает его владелец": "The project subscription is chosen by its owner",
|
||
"Общая подписка не настроена — подключите свою или попросите администратора": "The shared subscription is not set up — connect your own or ask an administrator",
|
||
"Своей подписки ещё нет — подключите Claude или ChatGPT": "You have no subscription of your own yet — connect Claude or ChatGPT",
|
||
"Вставьте ключ подписки: выполните `claude setup-token` на своём компьютере и скопируйте результат": "Paste the subscription key: run `claude setup-token` on your computer and copy the result",
|
||
"Вставьте ключ OpenAI API": "Paste an OpenAI API key",
|
||
"Подписки — {login}": "Subscriptions — {login}",
|
||
"Подписка не найдена": "Subscription not found",
|
||
"Код нужен только для Claude": "A code is only needed for Claude",
|
||
"Эта подписка уже подключена": "This subscription is already connected",
|
||
|
||
// Provision
|
||
'Slug "{slug}": только a–z, 0–9 и дефис': 'Slug "{slug}": only a–z, 0–9 and hyphen',
|
||
'Ключ "{key}": 2–10 символов A–Z/0–9, начинается с буквы': 'Key "{key}": 2–10 characters A–Z/0–9, starting with a letter',
|
||
'Slug "{slug}" уже занят': 'Slug "{slug}" is already taken',
|
||
'Ключ "{key}" уже занят': 'Key "{key}" is already taken',
|
||
"Рабочая копия {path} уже существует": "Working copy {path} already exists",
|
||
"Основная ветка проекта {key} не защищена: {reason}. FORGE повторит проверку сама; сразу — peppa project protect {key}.": "The default branch of project {key} is not protected: {reason}. FORGE will check again by itself; to do it now — peppa project protect {key}.",
|
||
"нет доступа к коду проекта": "no access to the project's code",
|
||
"Нет прав администратора на {repo}": "No admin rights on {repo}",
|
||
"Код проекта {repo} уже есть — подключите его как существующий": "The project code {repo} already exists — connect it as an existing one",
|
||
"Не удалось подготовить проект: {error}": "Could not prepare the project: {error}",
|
||
"Не удалось подготовить проект: {error} (код проекта {repo} уже создан — можно подключить его как существующий)": "Could not prepare the project: {error} (the project code {repo} is already created — you can connect it as an existing one)",
|
||
|
||
// Watchdog recovery
|
||
"{key}: список минут через запятую, напр. 1,5,15": "{key}: comma-separated list of minutes, e.g. 1,5,15",
|
||
"{key}: нужно число ≥ 0": "{key}: a number ≥ 0 is required",
|
||
"неизвестная настройка «{name}»; есть: {keys}": "unknown setting “{name}”; available: {keys}",
|
||
выключен: "turned off",
|
||
"не стори в работе": "not a story in progress",
|
||
бюджет: "budget",
|
||
"авто-перезапуски исчерпаны ({max} за {n} ч)": "auto-restarts used up ({max} in {n} h)",
|
||
"запуск агента отклонён — неверные параметры запуска": "the agent did not start — the launch parameters were rejected",
|
||
"авто-перезапуски исчерпаны ({max} за {n} мин)": "auto-restarts used up ({max} in {n} min)",
|
||
"стори уже ведёт другой раннер": "another runner is already on the story",
|
||
"{who} упал, авто-перезапуск не сделан: {reason}.": "{who} crashed, no auto-restart: {reason}.",
|
||
"{who}: не удалось перезапустить автоматически — {error}": "{who}: could not restart automatically — {error}",
|
||
"🚨 {where}: {kind} #{id} без ответа {min} мин — агент ждёт.": "🚨 {where}: {kind} #{id} unanswered for {min} min — the agent is waiting.",
|
||
"⏰ {where}: {kind} #{id} ждёт ответа {min} мин.": "⏰ {where}: {kind} #{id} has been waiting for an answer for {min} min.",
|
||
"Ждёт ответа: {where}": "Waiting for an answer: {where}",
|
||
"💤 {who}: раннер ждал {n} ч без вопросов — остановлен. Продолжить разговор — «Возобновить» у раннера.":
|
||
"💤 {who}: the runner waited {n} h with no questions — stopped. To continue the conversation, use «Resume» on the runner.",
|
||
"Раннер остановлен: {who}": "Runner stopped: {who}",
|
||
|
||
// Reviewer
|
||
"ревьюер ответил не по формату": "the reviewer answered in the wrong format",
|
||
"🔎 Ревьюер не запускался: код проекта недоступен ({error})": "🔎 The reviewer did not run: the project code is unavailable ({error})",
|
||
"задача не найдена": "task not found",
|
||
"не удалось получить изменения: {error}": "could not fetch the changes: {error}",
|
||
|
||
// Subscription rotation
|
||
"(неактуально: раннер переключён на другую подписку)": "(no longer relevant: the runner switched to another subscription)",
|
||
"подписка подходит к лимиту": "the subscription is nearing its limit",
|
||
"продолжает тот же разговор": "continues the same conversation",
|
||
"Codex не переносит разговор между аккаунтами — начал заново с контекстом из стори":
|
||
"Codex doesn't carry a conversation between accounts — started over with the story context",
|
||
"🔁 {who}: переключил с подписки «{from}» на «{to}» ({why}), {how}.": "🔁 {who}: switched from subscription “{from}” to “{to}” ({why}), {how}.",
|
||
"{who}: другая подписка": "{who}: another subscription",
|
||
|
||
// Runner service
|
||
"Служба запуска агентов не настроена (нет базы)": "The agent launch service is not configured (no database)",
|
||
"Попробуйте через минуту или напишите администратору.": "Try again in a minute or write to the administrator.",
|
||
"Агенты сейчас не запускаются: служба запуска не работает. {hint}": "Agents cannot start right now: the launch service is not running. {hint}",
|
||
"Запрос к службе запуска агентов #{id} пропал": "Request #{id} to the agent launch service is gone",
|
||
"Служба запуска агентов: {error}": "Agent launch service: {error}",
|
||
"Запрос к службе запуска агентов #{id} устарел — не выполнен": "Request #{id} to the agent launch service expired — not done",
|
||
"Служба запуска агентов не ответила за {n} с — действие не выполнено. {hint}": "The agent launch service did not answer in {n} s — the action was not done. {hint}",
|
||
"Действие «{kind}» выполняется дольше {n} с — результат появится на странице": "The action “{kind}” is taking longer than {n} s — the result will appear on the page",
|
||
"служба запуска агентов уже работает ({socket})": "the agent launch service is already running ({socket})",
|
||
"служба запуска агентов перезапустилась во время выполнения": "the agent launch service restarted while it was running",
|
||
"неизвестное действие {kind}": "unknown action {kind}",
|
||
|
||
// Runners
|
||
"Предел агентов проекта: {max}, очередь вести некому": "The project's agent limit is {max}, nobody can take the queue",
|
||
"Агент из другого проекта": "The agent belongs to another project",
|
||
"Агент #{id} не работает": "Agent #{id} is not running",
|
||
"Агент #{id} уже ведёт {key}": "Agent #{id} is already working on {key}",
|
||
"{key} уже ведёт другой агент": "{key} is already handled by another agent",
|
||
"Раннер #{id} не может перейти к {key}: {reason}. Закоммить или убери изменения — раннер возьмёт стори сам.":
|
||
"Runner #{id} can't move to {key}: {reason}. Commit or discard the changes — the runner will pick up the story by itself.",
|
||
"Агент #{id} уже ведёт задачу {key}": "Agent #{id} is already working on task {key}",
|
||
|
||
// Sessions
|
||
"Бюджет стори исчерпан — ответьте на вопрос о бюджете или поменяйте бюджет в карточке стори":
|
||
"The story budget is exhausted — answer the budget question or change the budget on the story card",
|
||
"Предел агентов проекта: {max} (сейчас работают {live})": "The project's agent limit is {max} ({live} are working now)",
|
||
"Агенту негде работать: все машины проекта недоступны или отключены": "The agent has nowhere to work: all machines of the project are unavailable or disabled",
|
||
"Подписка проекта не подключена — агенты не запустятся. Владелец подключает свою (Claude или ChatGPT) в «⋯ Настройки проекта → Подписки»":
|
||
"The project has no subscription — agents won't start. The owner connects one (Claude or ChatGPT) in «⋯ Project settings → Subscriptions»",
|
||
"Для запуска агента в контейнере нужна подписка: подключите её в настройках проекта (раздел «Подписки»)": "An agent in a container needs a subscription: connect one in the project settings (“Subscriptions”)",
|
||
"Codex на удалённом хосте пока не поддерживается — выберите подписку Claude или OpenCode":
|
||
"Codex on a remote host is not supported yet — choose a Claude or OpenCode subscription",
|
||
"Не удалось подготовить рабочую копию на хосте {host}: {error}": "Could not prepare the working copy on host {host}: {error}",
|
||
"Не удалось подготовить рабочую копию для агента: {error}": "Could not prepare a working copy for the agent: {error}",
|
||
"(неактуально: агент перезапущен)": "(no longer relevant: the agent was restarted)",
|
||
"(неактуально: агент остановлен)": "(no longer relevant: the agent was stopped)",
|
||
"(неактуально: агент продолжил работу)": "(no longer relevant: the agent went on working)",
|
||
"Обновление рабочей версии не запущено. Мы уже разбираемся — попробуйте ещё раз позже.": "The update of the live version did not start. We are already looking into it — please try again later.",
|
||
"⚠️ {key} не запущена. Мы уже разбираемся — попробуйте ещё раз позже.": "⚠️ {key} was not started. We are already looking into it — please try again later.",
|
||
"⚠️ Сбой в FORGE ({where}): {error}": "⚠️ Failure in FORGE ({where}): {error}",
|
||
|
||
// Sharing and visibility
|
||
"Участниками управляет только владелец проекта": "Only the project owner manages members",
|
||
"Укажите логин участника": "Enter the member's login",
|
||
"Нет доступа к коду проекта — войдите заново": "No access to the project code — sign in again",
|
||
"Пользователь «{login}» не найден": "User “{login}” was not found",
|
||
"«{login}» не участник проекта": "“{login}” is not a project member",
|
||
"Видимость: public или private, не «{value}»": "Visibility: public or private, not “{value}”",
|
||
"Видимость кода проекта меняет только владелец проекта": "Only the project owner changes who can see the project code",
|
||
"нет прав администратора на код проекта": "no administrator rights for the project code",
|
||
"код проекта не найден": "the project code was not found",
|
||
"код проекта сейчас недоступен": "the project code is unavailable right now",
|
||
"Не удалось сменить видимость {repo}: {error}": "Could not change visibility of {repo}: {error}",
|
||
|
||
// Subscription login and checks
|
||
"{what} не показал ссылку входа: {tail}": "{what} did not show a sign-in link: {tail}",
|
||
"{what} не показал ссылку входа": "{what} did not show a sign-in link",
|
||
"Это не подписка Claude": "This is not a Claude subscription",
|
||
"Вставьте код целиком, без пробелов": "Paste the whole code, without spaces",
|
||
"Вход не начат или истёк — начните заново": "Sign-in not started or expired — start over",
|
||
"Claude не принял код: {error}. Начните заново.": "Claude did not accept the code: {error}. Start over.",
|
||
"Claude не принял код. Начните заново.": "Claude did not accept the code. Start over.",
|
||
"Claude не ответил на код за 30 секунд. Начните заново.": "Claude did not respond to the code within 30 seconds. Start over.",
|
||
"Это не похоже на ключ подписки Claude (sk-ant-oat…)": "This does not look like a Claude subscription key (sk-ant-oat…)",
|
||
"Это не подписка Codex": "This is not a Codex subscription",
|
||
"codex login не показал ссылку входа": "codex login did not show a sign-in link",
|
||
"вход не подтверждён за 10 минут": "sign-in not confirmed within 10 minutes",
|
||
"codex login завершился с кодом {code}": "codex login exited with code {code}",
|
||
"Вставьте ключ целиком, без пробелов": "Paste the whole key, without spaces",
|
||
"Codex не принял ключ: {error}": "Codex did not accept the key: {error}",
|
||
"Вставьте ключ доступа": "Paste the access key",
|
||
"Сначала завершите вход": "Finish signing in first",
|
||
"не ответил за {n} с": "did not respond within {n} s",
|
||
"код {code}": "code {code}",
|
||
|
||
// Terminal
|
||
"Слишком много открытых терминалов": "Too many open terminals",
|
||
"Слишком часто — подождите пару секунд": "Too often — wait a couple of seconds",
|
||
"Пустой ввод": "Empty input",
|
||
"Слишком длинная вставка": "Paste is too long",
|
||
"Сессия завершена": "The session has ended",
|
||
"Раннер не запущен": "The runner is not running",
|
||
|
||
// Repository transfer
|
||
"Пространство «{owner}»: логин пользователя или организации Gitea": "Namespace “{owner}”: a Gitea user or organization login",
|
||
"Репозиторий {repo} уже существует": "Repository {repo} already exists",
|
||
"Репозиторий {repo} не найден в Gitea": "Repository {repo} not found in Gitea",
|
||
"Пространство {owner} не найдено или у {login} нет прав создавать в нём репозитории":
|
||
"Namespace {owner} not found or {login} has no rights to create repositories in it",
|
||
"Нет прав администратора на {repo} — переносит владелец репозитория": "No admin rights on {repo} — the repository owner does the transfer",
|
||
"Перенос {from} → {to} ждёт подтверждения в Gitea": "Transfer {from} → {to} is waiting for confirmation in Gitea",
|
||
|
||
// Triage
|
||
"триажёр ответил не по формату": "the triager answered in the wrong format",
|
||
|
||
// Watchdog
|
||
"нет свободной подписки": "no free subscription",
|
||
"Агент {key} неожиданно перестал работать.": "Agent {key} unexpectedly stopped working.",
|
||
"{where}: работа оборвалась с ошибкой (код {code}).": "{where}: the work broke off with an error (code {code}).",
|
||
"{who}: ничего не происходит {n} мин — похоже, работа зависла.": "{who}: nothing has happened for {n} min — the work looks stuck.",
|
||
"{who}: лимит, свободных подписок в пуле нет — продолжит в {time} сам.": "{who}: limit, no free subscriptions in the pool — will resume at {time} by itself.",
|
||
"(лимит сброшен — раннер продолжил сам)": "(limit reset — the runner resumed by itself)",
|
||
|
||
// Worktrees
|
||
"ветка занята": "branch is in use",
|
||
"{path} — не git-репозиторий, worktree не создать": "{path} is not a git repository, can't create a worktree",
|
||
"в рабочей копии раннера незакоммиченные изменения": "the runner's working copy has uncommitted changes",
|
||
"не git-репозиторий": "not a git repository",
|
||
"незакоммиченные изменения": "uncommitted changes",
|
||
"незапушенных коммитов: {n}": "unpushed commits: {n}",
|
||
// PEP-138: messages of the AI roles in the project's discussion (one key per line)
|
||
"Такого пункта нет": "There is no such item",
|
||
"Куда вставить: страница проекта → карточка «Ваш продукт» → поле рядом с этим пунктом.": "Where to paste it: project page → «Your product» card → the field next to this item.",
|
||
"Когда сделаете — отметьте «Сделано» в карточке «Ваш продукт».": "When it is done, tick «Done» in the «Your product» card.",
|
||
"Карточка «Ваш продукт»: {url}": "«Your product» card: {url}",
|
||
"Ключи хранятся зашифрованными, FORGE сама передаст их продукту и перезапустит его.": "Keys are stored encrypted; FORGE will pass them to the product and restart it.",
|
||
"⚠️ Продукт пока работает в демо-режиме. Нужно от вас: {needs}": "⚠️ The product is still running in demo mode. We need from you: {needs}",
|
||
"Вставить можно в карточке «Ваш продукт»: {url}": "You can paste it in the «Your product» card: {url}",
|
||
"Посмотрел рабочую версию: {url}": "Looked at the live version: {url}",
|
||
"Посмотрел версию для проверки: {url}": "Looked at the review version: {url}",
|
||
"Как пользоваться:": "How to use it:",
|
||
"Пока не настоящее:": "Not real yet:",
|
||
"Чтобы заработало по-настоящему, нужно от вас:": "To make it work for real, we need from you:",
|
||
"Вставить или отметить «Сделано» — в карточке «Ваш продукт»: {url}": "Paste it or tick «Done» in the «Your product» card: {url}",
|
||
"Завёл доработки в бэклог:": "Added improvements to the backlog:",
|
||
"Аналитик отвечает на подписке проекта, а она не подключена. Подключите Claude в «⋯ Настройки проекта → Подписки» — и напишите ещё раз.": "The analyst answers on the project's subscription, and it is not connected. Connect Claude in «⋯ Project settings → Subscriptions» and write again.",
|
||
"Аналитик сейчас не смог ответить. Напишите ещё раз чуть позже.": "The analyst could not answer right now. Please write again a little later.",
|
||
"Аналитик ответил не по форме — напишите вопрос ещё раз, пожалуйста.": "The analyst's answer came out garbled — please write your question again.",
|
||
"Завёл в бэклог:": "Added to the backlog:",
|
||
"Чтобы продукт заработал по-настоящему, а не в демо-режиме, нужно от вас:": "For the product to work for real, not in demo mode, we need from you:",
|
||
// PEP-150: delays on the platform's side
|
||
"Небольшая задержка на нашей стороне, от вас ничего не нужно": "A short delay on our side — nothing is needed from you",
|
||
"Сама FORGE больше не пробует — посмотрите.": "FORGE has stopped retrying by itself — please take a look.",
|
||
"⚠️ {key} «{title}»: не получилось довести приёмку до конца — {why}.": "⚠️ {key} “{title}”: the accept could not be completed — {why}.",
|
||
"Задача вернётся владельцу на приёмку, когда изменения можно будет принять.": "The task will return to the owner for acceptance once the changes can be accepted.",
|
||
"Агент продолжает чинить, предел — {max} попыток.": "The agent keeps fixing it; the limit is {max} attempts.",
|
||
"Подождать": "Wait",
|
||
"(лимит сброшен — агенты продолжили сами)": "(the limit has reset — the agents continued by themselves)",
|
||
"⏳ {project}: агенты продолжат в {time}. Чтобы не ждать, добавьте вторую подписку.": "⏳ {project}: the agents will continue at {time}. To avoid waiting, add a second subscription.",
|
||
"Добавить подписку Claude или ChatGPT: {url}": "Add a Claude or ChatGPT subscription: {url}",
|
||
"⏳ Очередь проверок: {n} ждут, старшему {min} мин.": "⏳ Checks queue: {n} waiting, the oldest for {min} min.",
|
||
"Сам не перезапустится: {reason}.": "It will not restart by itself: {reason}.",
|
||
"{who}: работа зависла, сам не перезапустится: {reason}.": "{who}: the work is stuck and will not restart by itself: {reason}.",
|
||
"Задержки на стороне FORGE": "Delays on FORGE's side",
|
||
"нужна ваша помощь": "your help is needed",
|
||
"FORGE пробует сама": "FORGE is retrying by itself",
|
||
"с {time} · попыток: {n}": "since {time} · attempts: {n}",
|
||
"агент остановился": "the agent stopped",
|
||
"ход агента оборвался": "the agent's turn broke off",
|
||
"лимит подписки": "subscription limit",
|
||
"проверки не стартуют": "checks do not start",
|
||
"проверки не проходят": "checks do not pass",
|
||
"агент не запустился": "the agent did not start",
|
||
"агент не может взять задачу": "the agent cannot take the task",
|
||
"версия продукта не обновилась": "the product version was not updated",
|
||
"приёмка не доведена": "the accept was not completed",
|
||
"Небольшая задержка на нашей стороне": "A short delay on our side",
|
||
"FORGE продолжит работу сама. Вы получите сообщение, когда работа будет готова.": "FORGE will continue by itself. You will get a message when the work is ready.",
|
||
"↩️ Вернуть агенту": "↩️ Return to the agent",
|
||
"⚠️ {key} ({project}): изменения затрагивают проверки или обновление продукта — сами не принимаются, нужно ваше решение.": "⚠️ {key} ({project}): the changes touch the checks or the product update — they are not accepted automatically, your decision is needed.",
|
||
"«Принять» примет изменения, «Вернуть агенту» — агент уберёт их из результата.": "“Accept” accepts the changes; “Return to the agent” makes the agent remove them from the result.",
|
||
"⚠️ {key}: принять не получилось — {error}": "⚠️ {key}: could not accept — {error}",
|
||
"Агент не может работать в копии, из которой работает сама FORGE ({dir}): ему нужна своя рабочая копия. Запустите агента заново — он получит её сам.": "The agent cannot work in the copy FORGE itself runs from ({dir}): it needs a working copy of its own. Start the agent again — it gets one by itself.",
|
||
"Текст слишком длинный (больше {n} символов) — приложите его файлом": "The text is too long (over {n} characters) — attach it as a file",
|
||
"задание упало до проверок (сбой связи на сервере)": "the job fell before the checks (a network failure on the server)",
|
||
"очередь заданий растёт, исполнитель не успевает": "the job queue is growing, the executor cannot keep up",
|
||
"исполнитель берёт задания других проектов, а этого — нет: он не подключён к коду проекта": "the executor takes other projects' jobs but not this one: it is not connected to the project's code",
|
||
"Подключить исполнитель заново не удалось: {error}.": "Could not connect the executor again: {error}.",
|
||
"FORGE подключила исполнитель к коду проекта заново.": "FORGE connected the executor to the project's code again.",
|
||
"⏳ Проверки задачи {key} не стартуют уже {hours} ч:": "⏳ Checks of task {key} have not started for {hours} h:",
|
||
"исполнитель не взял задание или вебхук не дошёл": "the executor did not take the job or the webhook did not arrive",
|
||
"в изменениях нет описания проверок": "the changes have no checks workflow",
|
||
"ждёт больше двух суток": "has been waiting for more than two days",
|
||
"у кода проекта нет своего исполнителя проверок": "the project code has no checks executor of its own",
|
||
"⏳ Проверки задачи {key} не стартуют, в очередь не считается:": "⏳ Checks of {key} do not start, not counted as the queue:",
|
||
"{who}: агент не смог войти в аккаунт — сбой связи, повторим сами.": "{who}: the agent could not sign in to the account — a network failure, we will retry by ourselves.",
|
||
"🔑 Подписка «{name}»: проблема со входом — агент {n} раза подряд не смог войти в аккаунт. Агенты переезжают на другую подписку набора; эту проверьте в «Подписках».": "🔑 Subscription “{name}”: sign-in problem — the agent failed to sign in {n} times in a row. The agents move to another subscription of the set; check this one in “Subscriptions”.",
|
||
"{who}: агент не может войти в аккаунт, другой подписки в наборе нет.": "{who}: the agent cannot sign in to the account, and there is no other subscription in the set.",
|
||
"на прежней не удался вход": "sign-in failed on the previous one",
|
||
"Шаблон проектов не отправлен в Gitea после выкатки {commit}: {reason}. Агенты получают старые правила; отправить вручную — peppa template push.": "The project template was not pushed to Gitea after deploy {commit}: {reason}. Agents get the old rules; to push by hand — peppa template push.",
|
||
"Шаблон проектов в Gitea отстаёт от работающей версии {commit} (файлы: {files}). Агенты получают старые правила; отправить — peppa template push.": "The project template in Gitea is behind the running version {commit} (files: {files}). Agents get the old rules; to push — peppa template push.",
|
||
"✅ Выкатка догнала main: на сайте {commit}.": "✅ Deploy caught up with main: the site runs {commit}.",
|
||
"⚠️ Автовыкатка {commit} не прошла: {reason}. Прод остался на прежней версии.": "⚠️ Auto-deploy of {commit} did not go through: {reason}. Production stays on the previous version.",
|
||
"⚠️ Прод отстаёт от main на {hours} ч: на сайте {deployed}, в main {head}. Не выкачено слитых PR: {count} — {stories}. Выкатить — scripts/platform-deploy.sh.": "⚠️ Production is {hours} h behind main: the site runs {deployed}, main is at {head}. Merged PRs not deployed: {count} — {stories}. To deploy — scripts/platform-deploy.sh.",
|
||
"Блок секретов не добавлен в {key}: {reason}. Добавьте его руками по шаблону.": "The secrets block was not added to {key}: {reason}. Add it by hand from the template.",
|
||
"изменения расходятся с основной версией": "the changes diverge from the main version",
|
||
"изменения расходятся с основной версией, агент не смог это исправить": "the changes diverge from the main version, the agent could not fix it",
|
||
"список файлов не получен": "the list of files could not be obtained",
|
||
"⚠️ {key} «{title}»: изменения конфликтуют с основной версией, агент не справился ({why}, просьб: {n}). Разрешите конфликт или перезапустите агента. Файлы: {files}. Результат: {url}": "⚠️ {key} «{title}»: the changes conflict with the main version, the agent did not manage ({why}, requests: {n}). Resolve the conflict or restart the agent. Files: {files}. Result: {url}",
|
||
"агент не обновил изменения": "the agent did not update the changes",
|
||
"агент не смог разрешить конфликт": "the agent could not resolve the conflict",
|
||
"Изменения расходятся с основной версией, и агент не смог это исправить. Мы сообщили администратору — принять можно будет после исправления.": "The changes diverge from the main version and the agent could not fix it. We have told the administrator — you can accept once it is fixed.",
|
||
"в образе агентов": "in the agent image",
|
||
"в сервисе FORGE": "in the FORGE service",
|
||
"{name} {place}: версия {actual} вместо закреплённой {pinned}. Вернуть — scripts/runner-image.sh --rollback (образ агентов) или выкатка платформы; новую версию — только через scripts/runner-image.sh --try.": "{name} {place}: version {actual} instead of the pinned {pinned}. To go back — scripts/runner-image.sh --rollback (agent image) or a platform deploy; a new version — only through scripts/runner-image.sh --try.",
|
||
"агент завис на старте": "the agent hung at start",
|
||
"доверие к папке": "trust in the folder",
|
||
"выбор модели": "model choice",
|
||
"вход в аккаунт": "sign-in to the account",
|
||
"первичная настройка": "first-run setup",
|
||
"{who}: агент завис на старте — ждёт ответа на экране ({what}), за {sec} с не сделал ни одного действия.": "{who}: the agent hung at start — it waits for an answer on its screen ({what}) and made no action in {sec} s.",
|
||
"зависает на старте {n} раза подряд": "hangs at start {n} times in a row",
|
||
"агент остановлен, перезапуск в {time}": "the agent is stopped, restart at {time}",
|
||
"Попытки задачи не тратятся, FORGE перезапустит агента сама.": "The task's attempts are not spent; FORGE restarts the agent by itself.",
|
||
"{who}: сбой платформы (№{n} подряд) — попытки задачи не тратятся, повторяем сами.": "{who}: platform failure (#{n} in a row) — the task's attempts are not spent, retrying by ourselves.",
|
||
"{who}: не удалось запустить агента — {error}": "{who}: could not start the agent — {error}",
|
||
"{who}: агент завис на старте — программа агента так и не запустилась.": "{who}: the agent hung at the start — the agent program never started.",
|
||
"Обновить и показать": "Update and show",
|
||
"🗂 {project}: задач ждут вашей проверки больше недели — {n}. Их изменения расходятся с основной версией, принять их сейчас нельзя.": "🗂 {project}: tasks have been waiting for your check for over a week — {n}. Their changes diverge from the main version, so they cannot be accepted now.",
|
||
"«Обновить и показать» — агент обновит изменения, и задачи снова придут к вам на проверку. «Закрыть» — задачи уйдут в архив, их изменения не попадут в продукт.": "«Update and show» — the agent updates the changes, and the tasks come back to you for checking. «Close» — the tasks go to the archive, their changes do not get into the product.",
|
||
};
|