Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/GETTING_STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/IMPLEMENTATION.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
3 changes: 2 additions & 1 deletion docs/MANAGEMENT_API.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion docs/UI_SURFACES_DISPATCH.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading