diff --git a/docs/GETTING_STARTED.md b/docs/GETTING_STARTED.md index 3ec91373d..ebee30d05 100644 --- a/docs/GETTING_STARTED.md +++ b/docs/GETTING_STARTED.md @@ -51,6 +51,7 @@ docker build \ 在仓库根目录运行管理端用例。运行 DS-Bot 插件测试时使用 Node.js 22 或 24。 ```sh +python3 -m pip install 'PyYAML==6.0.2' # isolated Bot Social overlay contract test python3 -m unittest discover -s tests node --test tests/chat_page.test.mjs tests/discover_page.test.mjs node --test runtime/flybot-workspace-web/test/*.test.js diff --git a/docs/IMPLEMENTATION.md b/docs/IMPLEMENTATION.md index 49428a464..5ffb5c106 100644 --- a/docs/IMPLEMENTATION.md +++ b/docs/IMPLEMENTATION.md @@ -1,6 +1,6 @@ # Implementation handoff -First implementation PR: Python 3.11+ standard library, SQLite v1 schema, WSGI application and unittest. Test: `python3 -m unittest discover -s tests -v`. No third-party packages or upstream code are imported. +First implementation PR: Python 3.11+ standard library, SQLite v1 schema, WSGI application and unittest. Test: `python3 -m pip install 'PyYAML==6.0.2'` then `python3 -m unittest discover -s tests -v`. No third-party package is imported at runtime and no upstream code is; the test suite alone needs PyYAML 6.0.2 to parse the isolated Bot Social overlay. This PR delivers authentication/session/CSRF and owner-scoped workspace records, not the complete runtime lifecycle MVP. Deployment may keep the separate dependency-free Node command planner; no Compose planner or executor is duplicated here. The management Web process never executes Docker. Next PR should implement durable desired/revision/operation jobs and the fake RuntimeBackend before wiring a separately reviewed manager adapter. diff --git a/docs/MANAGEMENT_API.md b/docs/MANAGEMENT_API.md index 9abc9369e..802946bdd 100644 --- a/docs/MANAGEMENT_API.md +++ b/docs/MANAGEMENT_API.md @@ -6,9 +6,10 @@ Related: #2 (lifecycle MVP, **not completed**) and #1 (full parity). This PR is ## Stack and execution -Python 3.11+ standard library, SQLite, WSGI, unittest. No pip packages, copied upstream source or private control-plane implementation. POSIX file ownership/mode and `O_NOFOLLOW` support are required. Local tests use Python 3.13; CI exercises 3.11/3.13 separately. +Python 3.11+ standard library, SQLite, WSGI, unittest. No pip packages at runtime, copied upstream source or private control-plane implementation; the test suite alone installs PyYAML 6.0.2 to parse the isolated Bot Social overlay. POSIX file ownership/mode and `O_NOFOLLOW` support are required. Local tests use Python 3.13; CI exercises 3.11/3.13 separately. ```sh +python3 -m pip install 'PyYAML==6.0.2' # isolated Bot Social overlay contract test python3 -m unittest discover -s tests -v python3 -m compileall -q flybot-workspace tests python3 -m flybot_workspace.server --help diff --git a/docs/UI_SURFACES_DISPATCH.md b/docs/UI_SURFACES_DISPATCH.md index 0d7a26cd8..563f4c864 100644 --- a/docs/UI_SURFACES_DISPATCH.md +++ b/docs/UI_SURFACES_DISPATCH.md @@ -5,7 +5,8 @@ Related: #3393. Part of [UI_SURFACES.md](UI_SURFACES.md). Measured on `34a80ca5a - `flybot_workspace/static/**` → `node --test tests/*.test.mjs` → CI `Web and compose planner`; screenshot if the change is visible. - `static/shell/system-locale*.mjs` → `node --test tests/system_locale*.test.mjs` → same check. -- `flybot_workspace/**/*.py` → `unittest discover -s tests -v` and `compileall -q` under `python -m`; +- `flybot_workspace/**/*.py` → `python3 -m pip install 'PyYAML==6.0.2'` then `unittest discover -s tests -v` + and `compileall -q` under `python -m`; CI `Management API · 3.11` / `3.13`; screenshot only if page output changes. - `runtime/flybot-workspace-web/**` → `npm test` in that directory → CI `runtime-image / Image recipe contract tests`; no screenshot, fixtures are Python side.