mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-11-23 14:04:41 +00:00
* fix(sandbox): derive bash tool status from process exit codes Carry native exit codes in string-compatible command output and stamp bash tool results before content-based normalization. Preserve redaction, truncation, timeout markers, scoped execution, and legacy provider string returns. Add real subprocess and graph regressions for error-like stdout, JSON data, forged exit markers, redaction, nonzero exits, timeouts, and result copying. Validate sync and async execution with tool progress enabled and disabled. * docs(sandbox): explain local bash execution status Document that native bash status follows the exit code while error-like output remains command data. Clarify that redaction and output limits do not change execution status. * fix(sandbox): include provider exit codes in bash metadata Carry numeric process exit codes in producer-stamped bash tool results. Extend the progress metadata schema and regression coverage so the additional field preserves progress tracking and graph receipts. * fix(subagents): prefer provider exit codes for test evidence Use validated producer exit codes before output markers when harvesting bash execution evidence. Preserve text fallback for legacy results and malformed metadata without weakening test-summary acceptance. Cover real pytest reporter conflicts, checkpoint round trips, failure and unverified summaries, and legacy metadata. Document the exit-code precedence and compatibility behavior.