-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Source
ChatGPT security review feedback
Problem
Blocking std::fs and std::io operations inside async fn execute in tools/file.rs and agent execution/checkpointing. This causes:
- Unstable multi-agent concurrency
- Potential deadlocks
- "It hangs sometimes" reputation damage
Fix
- For filesystem ops requiring sync-only crates (atomic tempfiles), wrap in
tokio::task::spawn_blocking - For everything else, move to
tokio::fsandtokio::io - Audit all
async fninsrc/tools/andsrc/agent/for blocking calls
Note: Some blocking I/O in context_management.rs and interactive.rs was already converted to tokio::fs in recent work. This issue tracks completing the job across all remaining call sites.
Priority
P0 — unlocks stable multi-agent concurrency
Labels
performance, P0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request