test(subagent-acp): cover inherited cwd through a Loader composition

The inheritance branch ran only under hand-mounted plugin tests, and
the with-key e2e always configures an explicit cwd. Add a test-only
cordis.yml (scripted delegating model + the scripted mock ACP child)
booting the stdio app through the real Loader with cwd omitted: the
child proves it ran in — and was announced — the parent session's
workspace, keylessly.
This commit is contained in:
Yichen Jiang
2026-07-21 16:51:51 +08:00
parent 04117b58bd
commit 822651a2c7
6 changed files with 191 additions and 0 deletions

View File

@@ -12,6 +12,7 @@
"echo-agent/src/*.ts",
"headless-agent/tests/fixtures/cli-mock-llm.ts",
"tui-agent/tests/fixtures/tui-scripted-llm.ts",
"acp-agent/tests/fixtures/subagent/subagent-acp/mock-delegating-llm.ts",
"*/tests/**/*.e2e.ts",
"*/tests/**/*.snapshot.ts"
],