Live verification (docs/cases/06 §7 S1) showed the session mapping recorded expectedArtifactDirs:[] for an md-producing task. openclaw-multi-session-plugins only scans the workspace-root deliverable dirs (reports/, artifacts/, ...) when expectedArtifactDirs is non-empty; empty → the root fallback is inert, so an agent that writes news.md to the workspace root (the common case) yields "no files". openClawArtifactContractForParams now defaults expectedArtifactDirs to reports//artifacts//exports/ when the task expects artifacts (requiresExport or inferred requiredExts) but declared no dirs, and marks requiresExport so the export path runs. Pure-chat turns (no artifact intent) are unaffected. Test: orchestrator_s1_artifact_dirs_test.go (md task gets dirs+export; chat gets neither). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| acp | ||
| desktop | ||
| gatewayruntime | ||
| geminiadapter | ||
| hermesadapter | ||
| memory | ||
| opencodeadapter | ||
| router | ||
| service | ||
| shared | ||
| skills | ||