← Назад к задаче

executor-label-report.md

Executor label — FACTORY-INTERFACE

Implemented 2026-11-28. Read and followed docs/operating-model/02-security.md.

Delivered

The recorded last_executor takes precedence over effective_executor. Running tasks show “Исполнитель”; tasks with previous executions show “Последний исполнитель”, including tasks returned to planning. QUEUED executions are treated as assignments. Unstarted tasks show “Назначен: …”, or “Автоматический выбор” without an assignment. RUNNING/COMPLETED/REVIEW/ACCEPTED/FAILED tasks missing recorded identity show “Исполнитель: не записан”; no historical identity is inferred from current configuration. Built-in names include Codex, Claude Code and DeepSeek; unknown names retain their text with separators made readable and HTML escaping preserved.

Verification evidence

Command: .venv/bin/python -m pytest -q control_plane/tests/test_executor_label.py
Result: 5 passed, 17 subtests passed, 2 warnings in 0.59s (exit 0).
Coverage: execution identity beats a different assignment; missing history; assigned/automatic unstarted states; queued assignment; readable names and escaping; same-row markup and mobile wrap rules.
Warnings are existing FastAPI on_event deprecations. Initial edit command used unavailable python; it made no changes and the initial test run consequently failed. Reapplied with python3, then the focused suite passed.

Tests render the actual complete owner card with isolated fixtures and do not mutate production tasks. Mobile wrapping is checked structurally, not by a real-device visual test. No full regression suite or live deployment verification is claimed.

Runtime delivery

No service restart performed. Idle state was not established; a restart remains deferred until idle and runtime verification. No project acceptance/status changes, external outreach, or writes to Coral/L-IT projects. Owner may review the label visually after the safe runtime delivery window; no additional owner input is required for this source change.

Материалы