gendesign/scripts
bot-backend b03a12204a
All checks were successful
CI / changes (pull_request) Successful in 8s
CI Trade-In / changes (pull_request) Successful in 8s
CI Trade-In / backend-tests (pull_request) Has been skipped
CI Trade-In / frontend-checks (pull_request) Has been skipped
CI / frontend-tests (pull_request) Has been skipped
CI / backend-tests (pull_request) Has been skipped
CI / openapi-codegen-check (pull_request) Has been skipped
fix(devops): cleanup-merged-worktrees.sh — 3 bugs found live-diagnosing 60+ stale worktrees
1. remote-alias хардкод 'forgejo' — этот чекаут использует 'origin', скрипт
   падал на первой же команде. Автодетект вместо хардкода.
2. merge-check через 'git merge-base --is-ancestor branch main' структурно
   несовместим со squash-merge конвенцией репо (git-pr.md): squash создаёт
   НОВЫЙ коммит в main, оригинальный коммит ветки никогда не становится
   предком — ancestor-check ложно-отрицателен на КАЖДОЙ смерженной ветке.
   Заменено на надёжный прокси: ветка отсутствует на remote (конвенция репо
   — всегда delete_branch:true при мерже).
3. 'git worktree remove --force' (одинарный) недостаточен для worktree,
   залоченного супервизором Claude Code — нужен двойной '-f -f' (force
   применяется дважды: снятие lock + подтверждение удаления).

Плюс dirty-gate: worktree с незакоммиченными TRACKED-изменениями (не просто
untracked-мусором вроде node_modules) теперь пропускается с явным SKIP —
не удаляется вслепую, если там могла остаться нерасхваченная работа.

Найдено вживую при диагностике: 69 worktree накопилось, 21 безопасны
(branch снят с remote + чистое дерево), 30 dirty (требуют разбора вручную),
13 всё ещё в работе (branch жив на remote). Само удаление НЕ проведено этим
коммитом — попытка force-remove из текущей сессии не сработала (см. комментарий
в скрипте про harness-managed worktree).
2026-07-04 17:58:38 +05:00
..
auth fix(ops): repair broken main-DB backup + harden auth scripts/docs (#71 #427 #429 #428) 2026-06-13 20:13:04 +05:00
claude-hooks chore(claude): security hardening — dangerous-commands hook, settings в git, restricted DB, throttle (#2150) 2026-07-02 15:23:11 +00:00
bootstrap_glitchtip.sh fix(infra): bootstrap_glitchtip — \gexec instead of DO block (psql var trap) (#219) 2026-05-16 15:54:29 +00:00
bootstrap_schema_migrations.sh feat(infra): auto-apply data/sql/*.sql migrations in deploy pipeline (#150) (#151) 2026-05-15 08:06:54 +03:00
build_osrm.sh feat(analyze): per-category OSRM routing (foot vs driving) (#39 A3) 2026-06-27 04:30:25 +05:00
cleanup-merged-worktrees.sh fix(devops): cleanup-merged-worktrees.sh — 3 bugs found live-diagnosing 60+ stale worktrees 2026-07-04 17:58:38 +05:00
cleanup-stale-claims.sh chore(claude): extend self-extending tripwire + pause-bots guard for stale-claims 2026-05-29 17:36:20 +03:00
cleanup-worktrees-aggressive.py fix(week-review): автофиксы код-ревью — 169 issue (label «week ревью 1») 2026-06-15 20:21:11 +05:00
cleanup_ghosts.py fix(week-review): автофиксы код-ревью — 169 issue (label «week ревью 1») 2026-06-15 20:21:11 +05:00
migrate_kg_to_obsidian.py fix(week-review): автофиксы код-ревью — 169 issue (label «week ревью 1») 2026-06-15 20:21:11 +05:00
setup-bot-env.ps1 feat(claude): env-vars refactor + stale-claim cron (Phase 2 finalization) 2026-05-28 00:24:45 +03:00
setup-couchdb.sh feat(deploy): split obsidian stack from main + path-filtered GHA 2026-05-11 09:51:31 +03:00
start-analyst.ps1 chore(bots): per-role launcher scripts + move bot pipeline to forgejo MCP 2026-05-30 10:38:10 +03:00
start-backend.ps1 chore(bots): per-role launcher scripts + move bot pipeline to forgejo MCP 2026-05-30 10:38:10 +03:00
start-bot.ps1 chore(agents): reviewer back to Opus (revert model-part of aa3d012) 2026-05-31 17:16:57 +03:00
start-frontend.ps1 chore(bots): per-role launcher scripts + move bot pipeline to forgejo MCP 2026-05-30 10:38:10 +03:00
start-qa.ps1 chore(bots): per-role launcher scripts + move bot pipeline to forgejo MCP 2026-05-30 10:38:10 +03:00
start-reviewer.ps1 chore(bots): per-role launcher scripts + move bot pipeline to forgejo MCP 2026-05-30 10:38:10 +03:00