feat: implement JIT Tools RAG injection with SubAgent discovery and cache#3274
Closed
dahai9 wants to merge 3 commits intozeroclaw-labs:masterfrom
Closed
feat: implement JIT Tools RAG injection with SubAgent discovery and cache#3274dahai9 wants to merge 3 commits intozeroclaw-labs:masterfrom
dahai9 wants to merge 3 commits intozeroclaw-labs:masterfrom
Conversation
…ools-rag-cache-clean
Collaborator
|
Closing as stale — this PR has had no activity for over 2 weeks and is significantly behind |
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
Describe this PR in 2-5 bullets:
masterfor all contributions):masterfcc5de41had heavy merge conflicts with the newly refactoredmasterbranch.origin/master. Added fields toschema.rs, integrated initialization intostart_channels(), and modifiedrun_tool_call_loopparameters to support subset filtering viaToolRagIndex.tool_rag.rs.Label Snapshot (required)
risk: low|medium|high): risk: mediumsize: XS|S|M|L|XL, auto-managed/read-only):core|agent|channel|config|cron|daemon|doctor|gateway|health|heartbeat|integration|memory|observability|onboard|provider|runtime|security|service|skillforge|skills|tool|tunnel|docs|dependencies|ci|tests|scripts|dev, comma-separated): config, tool, agent, channel<module>: <component>, for examplechannel: telegram,provider: kimi,tool: shell):tool: ragtrusted contributor|experienced contributor|principal contributor|distinguished contributor, auto-managed/read-only; author merged PRs >=5/10/20/50):Change Metadata
bug|feature|refactor|docs|security|chore): featureruntime|provider|channel|memory|security|ci|docs|multi): multiLinked Issue
Supersede Attribution (required when
Supersedes #is used)#<pr> by @<author>, one per line):Co-authored-bytrailers added for materially incorporated contributors? (Yes/No)No, explain why (for example: inspiration-only, no direct code/design carry-over):\n): (Pass/Fail)Validation Evidence (required)
Commands and result summary:
cargo fmt --all -- --check cargo clippy --all-targets -- -D warnings cargo testSecurity Impact (required)
Yes/No): NoYes/No): NoYes/No): NoYes/No): NoYes, describe risk and mitigation:Privacy and Data Hygiene (required)
pass|needs-follow-up): passCompatibility / Migration
Yes/No): YesYes/No): YesYes/No): Noi18n Follow-Through (required when docs or user-facing wording changes)
Yes/No): NoYes, locale navigation parity updated inREADME*,docs/README*, anddocs/SUMMARY.mdfor supported locales (en,zh-CN,ja,ru,fr,vi)? (Yes/No)Yes, localized runtime-contract docs updated where equivalents exist (minimum forfr/vi:commands-reference,config-reference,troubleshooting)? (Yes/No/N.A.)Yes, Vietnamese canonical docs underdocs/i18n/vi/**synced and compatibility shims underdocs/*.vi.mdvalidated? (Yes/No/N.A.)No/N.A., link follow-up issue/PR and explain scope decision:Human Verification (required)
What was personally validated beyond CI:
Side Effects / Blast Radius (required)
Agent Collaboration Notes (recommended)
AGENTS.md+CONTRIBUTING.md):Rollback Plan (required)
tools_injection_mode= "rag", set back to "full"Risks and Mitigations
List real risks in this PR (or write
None).tools_rag_thresholdandtools_rag_core_setexist as config variables to manually bypass semantic failure loops.