subagent-inheritance.cordis.snapshot.yml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # Keyless real-Loader composition for the parent-only override inheritance
  2. # snapshot. The deployment default stays WIDE (workspace-write) while the
  3. # seeded parent session carries a session-scoped read-only override; the
  4. # resumed parent delegates, and only the inheritance capture can confine the
  5. # child — remove it and the child writes successfully under the deployment
  6. # default, so this scenario is the assembled-app red/green anchor for the
  7. # delegation bypass.
  8. - id: persistence
  9. name: '@deepseek-ai/dsh-session-persistence-jsonl'
  10. config:
  11. root: './.sessions'
  12. compression: none
  13. # file/override/childFiles all default to their DSH_SNAPSHOT_* env vars.
  14. - id: replay
  15. name: '@deepseek-ai/dsh-llm-replay'
  16. # The confining filesystem stack: the wide deployment default lives on the
  17. # shared policy home; the seeded parent's read-only override must beat it
  18. # INSIDE the child for the scenario to deny.
  19. - id: sandbox-policy
  20. name: '@deepseek-ai/dsh-sandbox-policy'
  21. config:
  22. mode: workspace-write
  23. workspaceRoot: !!js process.cwd()
  24. - id: fs-sandbox
  25. name: '@deepseek-ai/dsh-fs-sandbox'
  26. - id: fs-policy
  27. name: '@deepseek-ai/dsh-fs-policy'
  28. - id: tool-fs
  29. name: '@deepseek-ai/dsh-tool-fs'
  30. # This scenario probes filesystem confinement only, so the bash stack is absent:
  31. # without it the bundle's `toolBash: false` is required, because `tool-bash` would
  32. # otherwise wait forever for a `bash` executor this tree never mounts.
  33. - id: agent
  34. name: '@deepseek-ai/dsh-agent-spine-demo'
  35. config:
  36. agents: []
  37. workspaceContext: false
  38. skills:
  39. enabled: false
  40. toolBash: false
  41. toolTasks: false
  42. goals: false
  43. - id: subagent
  44. name: '@deepseek-ai/dsh-subagent'
  45. - id: subagent-spawn
  46. name: '@deepseek-ai/dsh-subagent-spawn'
  47. config:
  48. providerName: spawn
  49. - id: tool-subagent
  50. name: '@deepseek-ai/dsh-tool-subagent'
  51. config:
  52. provider: spawn
  53. toolName: subagent
  54. maxDepth: 1
  55. # Await the persisted resume before the headless driver inspects root agents.
  56. - id: resumed-agent
  57. name: './tests/fixtures/subagent-inheritance-agent.ts'