Compare commits
base: admin:f08fcc4bc12cce38829f4e7e37560b01968b19c3
admin:main
admin:feature/ORCH-104-eae59ef5
admin:feature/ORCH-105-
admin:feature/ORCH-106-fix-onboard-project-py-add-col
admin:feature/ORCH-011-
admin:feature/ORCH-103-orch-10b-bundled-bootstrap
admin:feature/ORCH-102-orch-10a-lite-watchdog
admin:feature/ORCH-101-orch-10-common-smoke
admin:feature/ORCH-009-turnkey-plane
admin:docs/ORCH-009-staging-log
admin:feature/ORCH-098-fnd
admin:feature/ORCH-100-fnd-f1b-sidecar-watchdog
admin:feature/ORCH-019-
admin:feature/ORCH-057-bug-follow-up-orch-040-normali
admin:feature/ORCH-099-fnd-f1a-metrics-agent-liveness
admin:feature/ORCH-027-code-coverage
admin:docs/ORCH-057-staging-log
admin:feature/ORCH-095-bug-html-1-render-task-tracker
admin:feature/ORCH-094-bug-done-deploy-plane-awaiting
admin:feature/ORCH-093-bug-merge-gitea-405-5xx-hold-p
admin:feature/ORCH-091-bug-to-analyse-stage-deploy-st
admin:feature/ORCH-090-stop-plane
admin:chore/ORCH-090-staging-log
admin:feature/ORCH-062-infra-prune-docker-build-cache
admin:feature/ORCH-063-infra-mva154-85
admin:feature/ORCH-092-6-escalation
admin:feature/ORCH-079-orch-52f-readme-reviewer
admin:feature/ORCH-078-orch-52e-orch-nnn
admin:feature/ORCH-077-orch-52d-6-anthropic
admin:feature/ORCH-076-orch-52c-handoff-frontmatter-w
admin:feature/ORCH-075-orch-52b-docs-templates-adr-na
admin:feature/ORCH-089-autoapprove-brd-autodeploy
admin:feature/ORCH-088-orch-88-10-20
admin:feature/ORCH-087-orch-87-to-analyse-bump
admin:feature/ORCH-086-orch-86-reconciler-telegram-et
admin:feature/ORCH-080-orch-52g-telegram-link-preview
admin:feature/ORCH-082-orch-81-pr-merge-verify-hold
admin:docs/ORCH-082-staging-log
admin:feature/ORCH-081-orch-52h-env-config
admin:docs/ORCH-081-staging-log
admin:feature/ORCH-074-orch-52a-frontmatter-routing-e
admin:feature/ORCH-026-b-a
admin:feature/ORCH-073-crit-main-orch-067-069
admin:feature/ORCH-069-qg-0-title-orch-qg0-title-max-
admin:restore/orch-6769-2026-06-08
admin:feature/ORCH-067-telegram-tracker-bump-plane
admin:docs/ORCH-069-staging-log
admin:feature/ORCH-071-crit-bug-merge-main
admin:integ/restore-main-2026-06-08
admin:feature/ORCH-068-bug-reconciler-livelock-unbloc
admin:feature/ORCH-066-plane
admin:feature/ORCH-059-approve-confirm-deploy-approve
admin:feature/ORCH-022-security-secret-scanning
admin:feature/ORCH-065-bug-zombie-jobs-merge-lease-ru
admin:feature/ORCH-021-post-deploy-rollback
admin:feature/ORCH-061-bug-deploy-staging-development
admin:docs/ORCH-061-staging-log
admin:feature/ORCH-060-reconciler-escalated-max-retri
admin:deployer/ORCH-058-staging-verdict-v3
admin:deployer/ORCH-058-staging-verdict
admin:feature/ORCH-058-self-deploy-retag-staging
admin:feature/ORCH-036-orch-36-deploy-b
admin:feature/ORCH-053-sweeper-webhook-stuck-task
admin:deploy-log/ORCH-053-20260606T210404
admin:feature/ORCH-043-merge-gate-auto-rebase-re-test
admin:feature/ORCH-040-root-git
admin:feature/ORCH-042-telegram-live-tracker-bump
admin:feature/ORCH-044-preflight-auth-effort
admin:staging-log/ORCH-044-20260606T084247
admin:docs/lessons-orch-048
admin:deploy-log/ORCH-048-20260606T071157
admin:feature/ORCH-048-staging-b6-check-reads-registr
admin:staging-log/ORCH-048-20260606T053413
admin:feature/ORCH-046-stage-engine-pass-reviewer-tes
admin:staging-log/ORCH-046-20260606T044841
admin:docs/lessons-2026-06-05
admin:feature/ORCH-047-check-tests-passed-gate-must-r
admin:feature/ORCH-045-ci-poll-retry
admin:docs/lessons-orch-017
admin:feature/ORCH-017-brd-plane-telegram
admin:feat/ORCH-41-agent-models
admin:fix/ORCH-39-webhook-tests
admin:feature/ORCH-016-plane
admin:feature/ORCH-10-per-project-states
admin:docs/ORCH-9-canon
admin:feature/ORCH-35-staging-gate
admin:feature/ORCH-34-deploy-hook
admin:feature/ORCH-33-staging-testsuite
admin:feature/ORCH-31-staging-infra
admin:fix/isolate-webhook-tests-from-plane
admin:ci/add-gitea-workflow
admin:docs/product-vision
admin:fix/tests-machine-verdict
admin:fix/deploy-gate-log-path
admin:fix/tracker-edit-not-modified
admin:feat/telegram-live-tracker
admin:fix/observability-and-merge-gate
admin:fix/deploy-verdict-gate
admin:fix/ci-fail-retry-developer
admin:fix/drop-local-tests-qg
admin:fix/qg-pytest-no-make
admin:fix/approved-advances-stage
admin:fix/gitea-public-url
admin:fix/taskmd-description
admin:fix/status-only-verdict
admin:fix/pipeline-start-bugs
admin:feature/pipeline-ux
admin:feature/plane-per-agent-author
admin:feature/ORCH-M6-plane-sequence
admin:feature/ORCH-cleanup-L1L2L3
admin:feature/ORCH-5-webhook-dedup
admin:feature/ORCH-4-stage-engine
admin:feature/ORCH-7-hardening
admin:feature/ORCH-1-job-queue
admin:feature/ORCH-6-multirepo
admin:feature/ORCH-2-worktree
..
compare: admin:5089f99bb17bab82190c45e0eac4047d5bc19b84
admin:feature/ORCH-104-eae59ef5
admin:feature/ORCH-105-
admin:feature/ORCH-106-fix-onboard-project-py-add-col
admin:main
admin:feature/ORCH-011-
admin:feature/ORCH-103-orch-10b-bundled-bootstrap
admin:feature/ORCH-102-orch-10a-lite-watchdog
admin:feature/ORCH-101-orch-10-common-smoke
admin:feature/ORCH-009-turnkey-plane
admin:docs/ORCH-009-staging-log
admin:feature/ORCH-098-fnd
admin:feature/ORCH-100-fnd-f1b-sidecar-watchdog
admin:feature/ORCH-019-
admin:feature/ORCH-057-bug-follow-up-orch-040-normali
admin:feature/ORCH-099-fnd-f1a-metrics-agent-liveness
admin:feature/ORCH-027-code-coverage
admin:docs/ORCH-057-staging-log
admin:feature/ORCH-095-bug-html-1-render-task-tracker
admin:feature/ORCH-094-bug-done-deploy-plane-awaiting
admin:feature/ORCH-093-bug-merge-gitea-405-5xx-hold-p
admin:feature/ORCH-091-bug-to-analyse-stage-deploy-st
admin:feature/ORCH-090-stop-plane
admin:chore/ORCH-090-staging-log
admin:feature/ORCH-062-infra-prune-docker-build-cache
admin:feature/ORCH-063-infra-mva154-85
admin:feature/ORCH-092-6-escalation
admin:feature/ORCH-079-orch-52f-readme-reviewer
admin:feature/ORCH-078-orch-52e-orch-nnn
admin:feature/ORCH-077-orch-52d-6-anthropic
admin:feature/ORCH-076-orch-52c-handoff-frontmatter-w
admin:feature/ORCH-075-orch-52b-docs-templates-adr-na
admin:feature/ORCH-089-autoapprove-brd-autodeploy
admin:feature/ORCH-088-orch-88-10-20
admin:feature/ORCH-087-orch-87-to-analyse-bump
admin:feature/ORCH-086-orch-86-reconciler-telegram-et
admin:feature/ORCH-080-orch-52g-telegram-link-preview
admin:feature/ORCH-082-orch-81-pr-merge-verify-hold
admin:docs/ORCH-082-staging-log
admin:feature/ORCH-081-orch-52h-env-config
admin:docs/ORCH-081-staging-log
admin:feature/ORCH-074-orch-52a-frontmatter-routing-e
admin:feature/ORCH-026-b-a
admin:feature/ORCH-073-crit-main-orch-067-069
admin:feature/ORCH-069-qg-0-title-orch-qg0-title-max-
admin:restore/orch-6769-2026-06-08
admin:feature/ORCH-067-telegram-tracker-bump-plane
admin:docs/ORCH-069-staging-log
admin:feature/ORCH-071-crit-bug-merge-main
admin:integ/restore-main-2026-06-08
admin:feature/ORCH-068-bug-reconciler-livelock-unbloc
admin:feature/ORCH-066-plane
admin:feature/ORCH-059-approve-confirm-deploy-approve
admin:feature/ORCH-022-security-secret-scanning
admin:feature/ORCH-065-bug-zombie-jobs-merge-lease-ru
admin:feature/ORCH-021-post-deploy-rollback
admin:feature/ORCH-061-bug-deploy-staging-development
admin:docs/ORCH-061-staging-log
admin:feature/ORCH-060-reconciler-escalated-max-retri
admin:deployer/ORCH-058-staging-verdict-v3
admin:deployer/ORCH-058-staging-verdict
admin:feature/ORCH-058-self-deploy-retag-staging
admin:feature/ORCH-036-orch-36-deploy-b
admin:feature/ORCH-053-sweeper-webhook-stuck-task
admin:deploy-log/ORCH-053-20260606T210404
admin:feature/ORCH-043-merge-gate-auto-rebase-re-test
admin:feature/ORCH-040-root-git
admin:feature/ORCH-042-telegram-live-tracker-bump
admin:feature/ORCH-044-preflight-auth-effort
admin:staging-log/ORCH-044-20260606T084247
admin:docs/lessons-orch-048
admin:deploy-log/ORCH-048-20260606T071157
admin:feature/ORCH-048-staging-b6-check-reads-registr
admin:staging-log/ORCH-048-20260606T053413
admin:feature/ORCH-046-stage-engine-pass-reviewer-tes
admin:staging-log/ORCH-046-20260606T044841
admin:docs/lessons-2026-06-05
admin:feature/ORCH-047-check-tests-passed-gate-must-r
admin:feature/ORCH-045-ci-poll-retry
admin:docs/lessons-orch-017
admin:feature/ORCH-017-brd-plane-telegram
admin:feat/ORCH-41-agent-models
admin:fix/ORCH-39-webhook-tests
admin:feature/ORCH-016-plane
admin:feature/ORCH-10-per-project-states
admin:docs/ORCH-9-canon
admin:feature/ORCH-35-staging-gate
admin:feature/ORCH-34-deploy-hook
admin:feature/ORCH-33-staging-testsuite
admin:feature/ORCH-31-staging-infra
admin:fix/isolate-webhook-tests-from-plane
admin:ci/add-gitea-workflow
admin:docs/product-vision
admin:fix/tests-machine-verdict
admin:fix/deploy-gate-log-path
admin:fix/tracker-edit-not-modified
admin:feat/telegram-live-tracker
admin:fix/observability-and-merge-gate
admin:fix/deploy-verdict-gate
admin:fix/ci-fail-retry-developer
admin:fix/drop-local-tests-qg
admin:fix/qg-pytest-no-make
admin:fix/approved-advances-stage
admin:fix/gitea-public-url
admin:fix/taskmd-description
admin:fix/status-only-verdict
admin:fix/pipeline-start-bugs
admin:feature/pipeline-ux
admin:feature/plane-per-agent-author
admin:feature/ORCH-M6-plane-sequence
admin:feature/ORCH-cleanup-L1L2L3
admin:feature/ORCH-5-webhook-dedup
admin:feature/ORCH-4-stage-engine
admin:feature/ORCH-7-hardening
admin:feature/ORCH-1-job-queue
admin:feature/ORCH-6-multirepo
admin:feature/ORCH-2-worktree
7 Commits
f08fcc4bc1
...
5089f99bb1
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
| 5089f99bb1 | tester(ET): auto-commit from tester run_id=200 | |||
| 32161a180a | reviewer(ET): auto-commit from reviewer run_id=198 | |||
| 7d2d77217a |
feat(reconciler): sweeper потерянных webhook (реконсиляция застрявших стадий)
Конвейер продвигается только входящими webhook; потерянное событие (502 на ребилде, отсутствие ретраев у Plane/Gitea, неразрезолвленный sha→branch) оставляет задачу молча застрявшей (класс инцидента ORCH-044). Новый фоновый daemon-поток src/reconciler.py (паттерн queue_worker) доигрывает пропущенный переход через те же штатные гейты/обработчики, что и webhook: - F-1 gate-side: для задач stage≠done, без активного job и age(updated_at) ≥ grace_for_stage(stage) — read-only пред-оценка канонического QG; зелёный → stage_engine.advance_stage(..., finished_agent=None); красный → тишина (спам нотификаций структурно невозможен). analysis F-1 не трогает (человеческий гейт). - F-2 plane-side: опрос Plane API per-project (plane_sync.list_issues_by_state, курсорная пагинация, never-raise) → реплей In Progress/Approved/Rejected через существующие handle_status_start/handle_verdict (async из sync-потока, asyncio.run). - F-3: усиление sha→branch в handle_ci_status — БД-fallback по единственной development-задаче repo (неоднозначность → не резолвим), debug→info. - Анти-дубль на создании (db.create_task_atomic под process-wide Lock): гонка reconcile↔webhook не плодит второй task/branch/worktree/analyst-job (AC-4). - F-4 observability: лог-строка разблокировки + Telegram + блок reconcile в /queue. Старт/стоп в main.lifespan (после worker.start() / перед worker.stop()), restart-safe, never-raise на единицу работы. Kill-switches ORCH_RECONCILE_ENABLED / ORCH_RECONCILE_PLANE_ENABLED + grace-настройки. Схема БД и реестры STAGE_TRANSITIONS/QG_CHECKS не менялись. Тесты: test_reconciler.py, test_reconciler_plane.py, test_gitea_sha_resolve.py, test_config.py (33 новых, 563 всего зелёные). Документация обновлена (golden source): architecture/README.md, INFRA.md, README.md, CHANGELOG.md, adr-0007 → accepted. Refs: ORCH-053 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
|||
| f5aae50514 | architect(ET): auto-commit from architect run_id=194 | |||
| a083ed8495 | analyst(ET): auto-commit from analyst run_id=191 | |||
| eac0eb4b3a | docs: init ORCH-053 business request | |||
| 434bd6243d |
docs(ORCH-053): staging gate SUCCESS log
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |