ORCH-109: timeout budgets developer/reviewer + launch-time model telemetry #129

Merged
admin merged 11 commits from feature/ORCH-109-orch-timeout-budgets-launch-ti into main 2026-06-14 20:47:32 +03:00

11 Commits

Author SHA1 Message Date
deploy-finalizer
f5c93aa3cc deploy(ORCH-036): finalize SUCCESS for ORCH-109
All checks were successful
CI / test (push) Successful in 3m7s
CI / test (pull_request) Successful in 3m9s
2026-06-14 20:47:24 +03:00
2028b6cb14 reviewer(ET): auto-commit from reviewer run_id=671
All checks were successful
CI / test (push) Successful in 3m39s
CI / test (pull_request) Successful in 4m23s
2026-06-14 20:10:25 +03:00
8628e609d9 tester(ET): auto-commit from tester run_id=669
All checks were successful
CI / test (push) Successful in 4m27s
CI / test (pull_request) Successful in 4m8s
2026-06-14 14:26:11 +03:00
834d8d78b0 reviewer(ET): auto-commit from reviewer run_id=667 2026-06-14 14:26:11 +03:00
bc96977eb7 docs(readme): sync Watchdog section with per-role timeout budgets
Front-page README «### Watchdog» по-прежнему утверждал «timeout 30 минут»,
что стало неверным после ORCH-109 (per-role бюджеты: developer 60м /
reviewer 50м / прочие 30м дефолт, `_resolve_timeout`). Приведено в
соответствие с docs/architecture/internals.md + добавлен Tier-3 backstop
reaper_max_running_s=90м. Закрывает P1-finding reviewer (12-review.md).

Docs-only: src/**/STAGE_TRANSITIONS/QG_CHECKS/схема БД не тронуты.

Refs: ORCH-109
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-14 14:26:11 +03:00
b81de1536c reviewer(ET): auto-commit from reviewer run_id=665 2026-06-14 14:26:11 +03:00
bbcaa93cff docs(changelog): fix duplicated ORCH-105 entry body
When the ORCH-109 entry was inserted above the ORCH-105 entry, the
ORCH-105 bullet had its body accidentally duplicated (the same
"слайдо-источник …" paragraph appeared twice in one bullet). Restore
the ORCH-105 entry to its canonical single-bodied form (byte-for-byte
identical to origin/main); the legitimate ORCH-109 additions are
untouched.

Refs: ORCH-109

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-14 14:26:11 +03:00
6bd7f9ba84 fix(launcher): raise developer/reviewer timeout budgets + stamp model at launch
Two additive, isolated launch-subsystem fixes from incident ORCH-104, without
touching STAGE_TRANSITIONS / QG_CHECKS / check_* / machine-verdict / DB schema.

D1 — launch-time model stamp: write the resolved model into agent_runs.model in
the SAME UPDATE as the effort stamp (ORCH-087), so the model is present from
launch, survives a timeout-kill (exit_code=-9), and is visible in-flight in
/metrics & /queue. record_usage stays an enrichment (model=COALESCE preserves the
launch stamp when the usage JSON model is None). never-raise (isolated try/except).

D3/D4 — dedicated per-role budgets: agent_timeout_developer_s=3600 /
agent_timeout_reviewer_s=3000 with a deterministic _resolve_timeout ladder
(overrides_json[agent] > dedicated role key > agent_timeout_seconds=1800; other
roles byte-for-byte). Malformed/non-positive config falls back to the global
default + WARNING (never-break). reaper_max_running_s raised 3600 -> 5400 in
lockstep to keep the ORCH-065 invariant (5400 > 3600 + 20 = 3620).

FR-4 (kill / in-flight visibility) and FR-5 (anti-salvage) are structural in the
existing code; pinned here by regression tests (tests/test_orch109_timeout_model.py,
TC-01..TC-12). Docs: .env.example, config passport, CHANGELOG, CLAUDE.md
(README/internals authored by architect in this branch).

Refs: ORCH-109

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-14 14:26:11 +03:00
b025e1bdf4 architect(ET): auto-commit from architect run_id=662 2026-06-14 14:26:11 +03:00
0bb27b7627 analyst(ET): auto-commit from analyst run_id=661 2026-06-14 14:26:11 +03:00
aa40d530c5 docs: init ORCH-109 business request 2026-06-14 14:26:11 +03:00