retry.cordis.yml 1.4 KB

123456789101112131415161718192021222324252627282930
  1. # Retry-scenario overlay: pin the bounded transient retry policy to a
  2. # deterministic 1 ms zero-jitter delay so the durable `llm/retry` event
  3. # (`delayMs`) and replay wall time stay reproducible. The overlay changes no
  4. # tool or prompt composition, so its scenarios share the default header class.
  5. # A config patch replaces the whole app config, so the base fields are restated
  6. # verbatim; the model is re-pinned to `deepseek-v4-flash` like the other
  7. # snapshot overlays because the recorded corpus was captured on flash.
  8. - id: base
  9. name: '@cordisjs/plugin-include'
  10. config:
  11. path: ./cordis.yml
  12. patches:
  13. - id: acp-agent
  14. name: '@deepseek-ai/dsh-acp-demo'
  15. config:
  16. provider: deepseek
  17. model: deepseek-v4-flash
  18. persistenceRoot: !!js process.env.DSH_SNAPSHOT_SESSIONS_ROOT ?? './.sessions'
  19. persistenceCompression: !!js "process.env.DSH_SNAPSHOT === undefined ? 'zstd' : 'none'"
  20. workspaceContext:
  21. maxBytes: 65536
  22. llmRetry:
  23. maxTransientRetries: 2
  24. initialDelayMs: 1
  25. maxDelayMs: 1
  26. jitterRatio: 0
  27. persona: |
  28. You are a coding assistant powered by the {{model}} model. Your working directory is {{cwd}}. Your bash tool runs under a file sandbox — a `[sandbox: file access denied …]` result is policy, not a command bug.
  29. Verify your work by running the code or tests. Keep answers brief and factual.