Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a repo-tracked architecture note that explains MicroClaw's current concurrency model in direct response to issue #307.
The issue is valid in one important sense: one individual agent run is still sequential through
src/agent_engine.rs, so a single turn can still be busy while it is inside LLM calls, tool execution, or compaction.At the same time, the repo already has several non-blocking lanes that are easy to miss if you only look at the shared agent loop in isolation:
src/runtime.rssrc/web/stream.rssrc/scheduler.rssrc/tools/subagents.rsThe goal of this PR is to make that distinction explicit in the docs, so we do not answer the issue with either overclaiming or underselling the current architecture.
User impact
Users asking for a more Spacebot-like model now have a canonical document that explains:
/api/send_stream,sessions_spawn, subagent announce/tuning) already help with responsivenessChanges
docs/operations/concurrency-and-responsiveness.mdREADME.mdValidation
This PR changes documentation only.
I validated the technical claims against the current code paths referenced above while preparing the note.