Статус: COMPLETED
Структурированная сводка для этой задачи не записана. Показан сохранённый результат без изменений.
The Result button, owner summary page and report fallback are built, and the 8 new tests pass. Nothing is live yet: I did not restart the console or dispatcher or touch the production DB. I have not checked the mobile layout in a browser, because none is available here, so that check remains for you.
/tasks/{id}/summary): a Russian page with Итог, Проблемы and Решение, shown in full without truncation, plus links to the task's deliverables and artifacts.## Сводка для владельца block right after the FACTORY_OUTCOME line. It only takes effect after a dispatcher restart./tasks/{id}/report: a missing or unmentioned Markdown file now returns a normal page with the stored result instead of the missing-file JSON. An unknown task still gives 404. The detailed technical report still renders when its file exists.secrets/, privileges/, backups/ and dot-directories. The old code would have served secrets/*.md.markdown_it isn't installed in the venv, and I didn't install packages on production. I wrote a small renderer that escapes everything first, so scripts, raw HTML and javascript: links come out inert.The new tests cover relative, absolute, missing and absent report paths, path confinement, link safety and Markdown sanitising. The mobile layout is only checked as a markup and CSS contract: viewport meta, wrapping, a 44px button, scrollable tables.
The full suite runs 140 tests and 15 fail. The same 15 fail with my template and dispatcher edits reverted, so I left them alone: 4 in test_owner_decisions and 11 fallback and runtime tests in test_runtime, test_supervisor, test_approved_runtime and test_executor_policy.
Files are in /home/iovon/ai-factory:
data/project_materials/FACTORY-INTERFACE/review/owner-result-report.md (evidence)console/owner_result.py (new)control_plane/tests/test_owner_result.py (new)console/app.pyconsole/templates/owner_task.htmlconsole/static/app.cssdispatcher/control_plane_dispatcher.pyОжидает вашего решения: принять, вернуть на доработку или отложить.