Fix concurrent write safety for sol call commands
Add file locking to todo operations (add/done/cancel) using fcntl.flock
with retry+backoff, matching the existing detected entities pattern.
Refactor attached entity commands (update/aka/attach) to write only the
affected entity's files instead of the load-all/save-all pattern that
could lose concurrent updates to different entities in the same facet.
Add file locking to entity observation writes to prevent lost updates
when multiple agents observe the same entity concurrently.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>