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
2 changes: 1 addition & 1 deletion docs/development/communications-e2e.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ pnpm --dir src/web-ui run test:run src/infrastructure/peer-device src/infrastruc
真实 Docker 集成测试需显式提供测试容器名(该容器允许创建及删除测试文件):

```bash
OPENBITFUN_TEST_DOCKER_CONTAINER=openbitfun-comm-fixture cargo test --locked -p openbitfun-services-integrations --no-default-features --features remote-ssh-concrete --lib remote_ssh::manager::tests::local_docker_workspace_round_trip -- --ignored
OPENBITFUN_TEST_DOCKER_CONTAINER=openbitfun-comm-fixture cargo test --locked -p openbitfun-services-integrations --no-default-features --features remote-ssh-concrete --lib remote_ssh::manager::tests::container_execution::local_docker_workspace_round_trip -- --ignored
```

Desktop 命令闭包和 Core 行为变更还需执行其最近 [Desktop guide](../../src/apps/desktop/AGENTS.md)、[Core guide](../../src/crates/assembly/core/AGENTS.md) 指定的检查;MCP、ACP 和 SDK 分别遵循各 owner guide。清单没有运行日志时,不得把这里的命令标成已通过。
Expand Down
26 changes: 22 additions & 4 deletions scripts/core-boundaries/rules/source/required-rules.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3280,16 +3280,28 @@ export const requiredContentRules = [
regex: /\bpub async fn start_dialog_turn_with_existing_context\b/,
message: 'missing existing-context dialog turn entry point',
},
{
regex: /\bstart_dialog_turn_with_existing_context_persists_turn_and_snapshot\b/,
message: 'missing existing-context dialog turn persistence regression',
},
],
},
{
path: 'src/crates/assembly/core/src/agentic/session/session_manager/tests/prompt_cache.rs',
reason: 'core prompt cache tests must cover cloning both runtime and persisted entries',
patterns: [
{
regex: /\bclone_prompt_cache_copies_runtime_and_persisted_entries\b/,
message: 'missing prompt cache clone runtime/disk regression',
},
],
},
{
path: 'src/crates/assembly/core/src/agentic/session/session_manager/tests/turn_admission.rs',
reason: 'core session turn admission must cover persistence with existing context',
patterns: [
{
regex: /\bstart_dialog_turn_with_existing_context_persists_turn_and_snapshot\b/,
message: 'missing existing-context dialog turn persistence regression',
},
],
},
{
path: 'src/crates/assembly/core/src/agentic/tools/pipeline/tool_pipeline.rs',
reason:
Expand Down Expand Up @@ -4508,6 +4520,12 @@ export const requiredContentRules = [
regex: /\bSftpSession\b/,
message: 'missing SFTP session owner path',
},
],
},
{
path: 'src/crates/services/services-integrations/src/remote_ssh/manager/tests/saved_profiles.rs',
reason: 'SSH saved profile tests must cover missing vault credentials',
patterns: [
{
regex: /\bretains_password_connection_and_workspace_without_vault_entry\b/,
message: 'missing saved credential retention regression',
Expand Down
15 changes: 12 additions & 3 deletions scripts/core-boundaries/self-test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3375,10 +3375,16 @@ export function runManifestParserSelfTest({
contracts: [
'clone_prompt_cache',
'start_dialog_turn_with_existing_context',
'start_dialog_turn_with_existing_context_persists_turn_and_snapshot',
'clone_prompt_cache_copies_runtime_and_persisted_entries',
],
},
{
path: 'src/crates/assembly/core/src/agentic/session/session_manager/tests/prompt_cache.rs',
contracts: ['clone_prompt_cache_copies_runtime_and_persisted_entries'],
},
{
path: 'src/crates/assembly/core/src/agentic/session/session_manager/tests/turn_admission.rs',
contracts: ['start_dialog_turn_with_existing_context_persists_turn_and_snapshot'],
},
{
path: 'src/crates/assembly/core/src/agentic/persistence/session_branch.rs',
contracts: ['SessionBranchRequest', 'SessionBranchResult', 'build_branched_session_metadata'],
Expand Down Expand Up @@ -4833,9 +4839,12 @@ export function runManifestParserSelfTest({
'SSHConnectionManager',
'russh::client::connect_stream',
'SftpSession',
'retains_password_connection_and_workspace_without_vault_entry',
],
},
{
path: 'src/crates/services/services-integrations/src/remote_ssh/manager/tests/saved_profiles.rs',
contracts: ['retains_password_connection_and_workspace_without_vault_entry'],
},
{
path: 'src/crates/services/services-integrations/src/remote_ssh/remote_exec.rs',
contracts: ['RemoteExecProcessManager', 'GLOBAL_REMOTE_EXEC_MANAGER', 'remote_exec_session_ids_match_local_test_baseline'],
Expand Down
4 changes: 2 additions & 2 deletions src/crates/assembly/core/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ For smart routing, unchanged subagent model policy and resumed subagent choices:
```bash
cargo test --locked -p openbitfun-core --no-default-features --features agent-runtime,git --lib subagent_model
cargo test --locked -p openbitfun-core --no-default-features --features agent-runtime,git --lib round_model_routing
cargo test --locked -p openbitfun-core --no-default-features --features agent-runtime,git --lib coordinator::tests::reused_subagent
cargo test --locked -p openbitfun-core --no-default-features --features agent-runtime,git --lib coordinator::tests::subagent_input::reused_subagent
```

These fixtures cover host-owned configuration, nested delegation and Router protocol
Expand Down Expand Up @@ -645,7 +645,7 @@ cargo test -p openbitfun-core --no-default-features --features external-sources,
cargo test -p openbitfun-core --no-default-features --features external-sources,git,product-search --lib agentic::persistence::manager::tests
cargo test -p openbitfun-core --no-default-features --features external-sources,git,product-search --lib session_fork_
cargo test -p openbitfun-core --no-default-features --features external-sources,git,product-search --lib agentic::persistence::session_branch::tests
cargo test -p openbitfun-core --no-default-features --features external-sources,git,product-search --lib agentic::session::session_manager::tests::restore_session_
cargo test -p openbitfun-core --no-default-features --features external-sources,git,product-search --lib restore_session_
```

For installed-source acceptance, set `OPENBITFUN_TEST_SESSION_ECOSYSTEM` and
Expand Down
Loading
Loading