You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Deep Review / 代码审核团队 |`src/crates/core/src/agentic/deep_review/`、`src/crates/core/src/agentic/deep_review_policy.rs`、`src/crates/core/src/agentic/agents/definitions/hidden/deep_review.rs`、`src/crates/core/src/agentic/tools/implementations/{task_tool.rs,code_review_tool.rs}`、`src/web-ui/src/shared/services/review-team/`、`src/web-ui/src/flow_chat/deep-review/`、`src/web-ui/src/app/scenes/agents/components/ReviewTeamPage.tsx`|
228
-
| Mobile web 配对 / 远程控制 |`src/mobile-web/src/pages/PairingPage.tsx`、`src/mobile-web/src/pages/SessionListPage.tsx`、`src/mobile-web/src/pages/ChatPage.tsx`、`src/mobile-web/src/services/RemoteSessionManager.ts`、`src/mobile-web/src/services/RelayHttpClient.ts`、`src/mobile-web/src/services/store.ts`|
Session data is stored under `.bitfun/sessions/{session_id}/`.
210
-
211
177
## Verification
212
178
213
179
Run the smallest local precheck that matches the touched files. CI is expected to
@@ -221,7 +187,6 @@ change directly affects build, packaging, or CI cannot protect the path.
221
187
| Locale contract or shared terms |`pnpm run i18n:generate && pnpm run i18n:contract:test && pnpm run i18n:audit`|
222
188
| Web UI i18n runtime, namespace loading, or direct `i18nService.t(...)` usage |`pnpm run i18n:contract:test && pnpm run type-check:web && pnpm --dir src/web-ui run test:run src/infrastructure/i18n/core/I18nService.test.ts`|
223
189
| Mobile web UI, state, pairing, disconnect, or reconnect behavior |`pnpm --dir src/mobile-web run type-check`; include manual pairing / reconnect notes when behavior changes |
224
-
| Deep Review / Code Review Team behavior | Nearest Web UI check above, plus `cargo test -p bitfun-core deep_review -- --nocapture`; also run Rust / desktop checks when backend or Tauri APIs are touched |
225
190
| Shared Rust logic in `core`, `transport`, `api-layer`, or services |`cargo check --workspace`, plus the nearest focused `cargo test` when behavior changed |
226
191
| Desktop integration, Tauri APIs, browser/computer-use, or desktop-only behavior |`cargo check -p bitfun-desktop`, plus focused desktop tests when behavior changed |
227
192
| Behavior covered by desktop smoke/functional flows | Prefer the nearest focused E2E/smoke check; rely on CI for broad build/test coverage unless build behavior changed |
@@ -230,20 +195,6 @@ change directly affects build, packaging, or CI cannot protect the path.
| Deep Review / Code Review Team |`src/crates/core/src/agentic/deep_review/`, `src/crates/core/src/agentic/deep_review_policy.rs`, `src/crates/core/src/agentic/agents/definitions/hidden/deep_review.rs`, `src/crates/core/src/agentic/tools/implementations/{task_tool.rs,code_review_tool.rs}`, `src/web-ui/src/shared/services/review-team/`, `src/web-ui/src/flow_chat/deep-review/`, `src/web-ui/src/app/scenes/agents/components/ReviewTeamPage.tsx`|
239
-
| Mobile web pairing / remote control |`src/mobile-web/src/pages/PairingPage.tsx`, `src/mobile-web/src/pages/SessionListPage.tsx`, `src/mobile-web/src/pages/ChatPage.tsx`, `src/mobile-web/src/services/RemoteSessionManager.ts`, `src/mobile-web/src/services/RelayHttpClient.ts`, `src/mobile-web/src/services/store.ts`|
| Web/server communication |`src/web-ui/src/infrastructure/api/`, `src/crates/transport/src/adapters/websocket.rs`, `src/apps/server/src/routes/`, `src/apps/server/src/main.rs`|
246
-
247
198
## Agent-doc priority
248
199
249
200
Prefer the nearest matching `AGENTS.md` / `AGENTS-CN.md` for the directory you are changing. If local guidance conflicts with this file, follow the more specific, nearer document.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+12-10Lines changed: 12 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,12 +19,14 @@ Be respectful, kind, and constructive. We welcome contributors of all background
19
19
20
20
#### Windows: OpenSSL Setup
21
21
22
-
The desktop app includes SSH remote support, which pulls in OpenSSL. On Windows the workspace **does not use vendored OpenSSL**; link against **pre-built** binaries (no Perl/NASM/OpenSSL source build).
22
+
Most Windows contributors do not need to configure OpenSSL manually. Use
23
+
`pnpm run desktop:dev` or the normal `desktop:build*` scripts; they bootstrap a
24
+
pre-built OpenSSL package when needed.
23
25
24
-
-**Default**: `pnpm run desktop:dev` calls `ensure-openssl-windows.mjs` on Windows. `pnpm run desktop:preview:debug` does the same whenever it needs to fast-rebuild `bitfun-desktop` before preview. Every `desktop:build*` script runs via `scripts/desktop-tauri-build.mjs`, which does the same before invoking Cargo.
25
-
-**Manual / CI**: Download the [FireDaemon OpenSSL 3.5.5 LTS ZIP](https://download.firedaemon.com/FireDaemon-OpenSSL/openssl-3.5.5.zip), extract, set `OPENSSL_DIR` to the `x64` folder, `OPENSSL_STATIC=1`, or run`scripts/ci/setup-openssl-windows.ps1`.
26
-
-**Opt out of auto-download**: `BITFUN_SKIP_OPENSSL_BOOTSTRAP=1` and configure`OPENSSL_DIR`yourself.
27
-
-**`desktop:dev:raw`** skips the dev script (no OpenSSL bootstrap); set `OPENSSL_DIR` yourself, run `scripts/ci/setup-openssl-windows.ps1`, or `node scripts/ensure-openssl-windows.mjs` (warms `.bitfun/cache/`and prints PowerShell `OPENSSL_*` lines to paste).
26
+
Only handle OpenSSL yourself when the bootstrap fails, you are preparing CI, or
27
+
you intentionally use `pnpm run desktop:dev:raw`. In that case, run
28
+
`scripts/ci/setup-openssl-windows.ps1`, or set`OPENSSL_DIR`to a pre-built x64
29
+
OpenSSL directory and set `OPENSSL_STATIC=1`.
28
30
29
31
### Install dependencies
30
32
@@ -54,9 +56,10 @@ pnpm run e2e:test
54
56
55
57
### Desktop debugging tools
56
58
57
-
Desktop dev builds enable the `devtools` Cargo feature. Use
58
-
`Cmd/Ctrl + Shift + I` for the element inspector and `Cmd/Ctrl + Shift + J` for
59
-
native webview DevTools. These tools are disabled in end-user `release` builds.
59
+
Desktop dev builds enable the `devtools` Cargo feature. Use `F12` for native
60
+
webview DevTools. `Cmd/Ctrl + Shift + I` toggles the BitFun element inspector,
61
+
and `Cmd/Ctrl + Shift + J` also opens native DevTools. These tools are disabled
62
+
in end-user `release` builds.
60
63
61
64
## Code Standards and Architecture Constraints
62
65
@@ -73,8 +76,7 @@ terms:
73
76
payloads.
74
77
- Core decomposition, feature-boundary, dependency-boundary, and build-speed
75
78
work must follow `docs/architecture/core-decomposition.md`.
76
-
- Deep Review / Code Review Team changes must keep the core and Web UI guidance
77
-
aligned with the implementation.
79
+
- Feature-specific rules belong in the nearest module `AGENTS.md`.
0 commit comments