Статус: ACCEPTED
Структурированная сводка для этой задачи не записана. Показан сохранённый результат без изменений.
A signed-in user can now approve the Architect's project specification with one button. That queues a Builder run, and the project page shows its progress and then a private preview per site language. Nothing is ever published to production. The new test passes, but I only ran it against a fake engine: no real DeepSeek build was run because the checkout has no network or credentials. Nothing is committed or deployed, and no live service was touched.
How approval works (app/site-workflow.php)
index.html for the main language and index-<code>.html for each other language. Any other files are dropped, and a missing language page fails the build.Worker and engine (app/worker.php, DeepSeekEngine.php)
ai_usage with role builder, including when the output is later rejected.Console (console/index.php, console/chat.js)
/preview accepts one page per language, but only names like index-de.html. Previews use the same locked-down sandbox as before.Tests
php -l passes on app/site-workflow.php, console/index.php and every other PHP file in app/, console/ and tests/. site-workflow.php is about 15 KB.tests/builder-handoff-regression.php passes. It covers each refusal above, building from the approved copy even after the spec changes, usage recording, preview only with production left empty, failure and retry, and the full browser flow including the security token and blocking other users' projects. I temporarily disabled the fingerprint check and the duplicate check, and the test failed both times.legacy-deployment-removal.php and managed-server-sudoers.php fail, [truncated]
Принято владельцем. Действий не требуется.