1
0

cordis.yml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # Test-only composition: the SDK subagent backend on the real Loader/app path.
  2. # The scripted model delegates once; the child — a COMPLETE second harness
  3. # runtime speaking stdio JSON-RPC — echoes its process cwd, so parent-session
  4. # cwd inheritance is asserted keylessly end to end across the SDK wire.
  5. # `cwd` is deliberately omitted — the inheritance branch under test. The child
  6. # profile patch and isolated Harness home are machine-absolute, supplied by
  7. # the driving e2e.
  8. - id: mock-llm
  9. name: './mock-delegating-llm.ts'
  10. - id: subagent
  11. name: '@deepseek-ai/dsh-subagent'
  12. # providerName is omitted: the composition exercises the shipped default
  13. # (`dsh-sdk`) through the real Loader.
  14. - id: subagent-dsh-sdk
  15. name: '@deepseek-ai/dsh-subagent-dsh-sdk'
  16. config:
  17. profile: sdk
  18. patches: !!js JSON.parse(process.env.DSH_TEST_CHILD_PATCHES ?? '[]')
  19. dshHome: !!js process.env.DSH_TEST_CHILD_HOME
  20. provider: mock
  21. model: mock-echo
  22. env:
  23. DSH_TELEMETRY_DISABLED: '1'
  24. - id: tool-subagent
  25. name: '@deepseek-ai/dsh-tool-subagent'
  26. config:
  27. provider: dsh-sdk
  28. toolName: subagent
  29. # The SDK backend advertises no depthLimit: the child harness owns its own
  30. # recursion budget, so the local numeric default cannot apply here.
  31. maxDepth: 'provider-managed'
  32. - id: agent-spine
  33. name: '@deepseek-ai/dsh-agent-spine-demo'
  34. config:
  35. agents:
  36. - id: main
  37. provider: mock
  38. model: mock-delegate
  39. cwd: !!js process.cwd()
  40. persona: 'Test SDK subagent cwd inheritance.'
  41. workspaceContext: false
  42. - id: persistence
  43. name: '@deepseek-ai/dsh-session-persistence-jsonl'
  44. config:
  45. root: './.sessions'
  46. compression: 'none'
  47. - id: checkpoint-policy
  48. name: '@deepseek-ai/dsh-session-checkpoint-policy'