fix: run BOOT.md for each configured agent at startup#20569
Merged
gumadeiras merged 5 commits intoopenclaw:mainfrom Feb 19, 2026
Merged
fix: run BOOT.md for each configured agent at startup#20569gumadeiras merged 5 commits intoopenclaw:mainfrom
gumadeiras merged 5 commits intoopenclaw:mainfrom
Conversation
Contributor
Author
|
Note: the linked issue #13000 was closed by @sebslight as a duplicate of #11717, but these are distinct bugs:
The fix in this PR addresses the per-agent boot execution, which is not covered by #11717. |
ecaff9c to
4067ebe
Compare
4067ebe to
2c463d5
Compare
Member
anschmieg
pushed a commit
to anschmieg/openclaw
that referenced
this pull request
Feb 19, 2026
Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 9098a4c Co-authored-by: mcaxtr <[email protected]> Co-authored-by: gumadeiras <[email protected]> Reviewed-by: @gumadeiras
yneth-ray-openclaw
pushed a commit
to yneth-ray-openclaw/openclaw
that referenced
this pull request
Feb 19, 2026
Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 9098a4c Co-authored-by: mcaxtr <[email protected]> Co-authored-by: gumadeiras <[email protected]> Reviewed-by: @gumadeiras
vignesh07
pushed a commit
to pahdo/openclaw
that referenced
this pull request
Feb 20, 2026
Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 9098a4c Co-authored-by: mcaxtr <[email protected]> Co-authored-by: gumadeiras <[email protected]> Reviewed-by: @gumadeiras
HenryChenV
pushed a commit
to HenryChenV/openclaw
that referenced
this pull request
Feb 20, 2026
Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 9098a4c Co-authored-by: mcaxtr <[email protected]> Co-authored-by: gumadeiras <[email protected]> Reviewed-by: @gumadeiras
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
Fixes #13000
listAgentIds) instead of runningBOOT.mdonly for the default agent's workspace.runBootOnce()accepts an optionalagentIdparameter and resolves the per-agent session key when provided.resolveAgentWorkspaceDir, so each agent loads its ownBOOT.mdindependently.Test plan
boot.test.tsverifies per-agent session key resolution (resolveAgentMainSessionKey)handler.test.tsverifies the handler iterates over all agents and passes correctworkspaceDir+agentIdtorunBootOncecfgin contextGreptile Summary
Updated the boot-md hook handler to run
BOOT.mdfor each configured agent at gateway startup instead of only for the default agent. The handler now iterates through all agent IDs vialistAgentIds()and resolves each agent's workspace directory independently usingresolveAgentWorkspaceDir(). TherunBootOnce()function was extended to accept an optionalagentIdparameter that determines the correct per-agent session key viaresolveAgentMainSessionKey().listAgentIds()andresolveAgentWorkspaceDir()to iterate over all agentsrunBootOnce()accepts optionalagentIdparameter for per-agent session key resolutioncfgis missing from contextConfidence Score: 5/5
Last reviewed commit: ecaff9c