Repository navigation
Add batch and child run_agents metadata fields - #398
Open
warp-agent-staging[bot] wants to merge 1 commit into
Open
warp-agent-staging[bot] wants to merge 1 commit into
warp-agent-staging[bot] wants to merge 1 commit into
Conversation
Contributor
Author
|
This PR was generated with Warp. Comment |
This was referenced Oct 9, 2026
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.



Description
Add sensitive string metadata maps to
RunAgents(batch defaults) andAgentRunConfig(child overrides). Regenerate the checked-in Go bindings; Rust and TypeScript remain build-generated.Justification
Part of REMOTE-3439. Orchestrators need to label children without changing parent inheritance.
Requester context: “Yep, I think the idea is roughly to add metadata as an option that you can set in the run_agents tool. That would then populate the metadata field on the ai_task for the child run. Then in the subagents execution, we'd resolve the metadata associated with that run and flatten it to injected vars.”
Companions: server #19546, client #16396, and worker #167.
Optional/additive fields preserve old-client compatibility. Merge and environment validation live in the client/server consumers, not the protocol. Consumers pin commit
6b33333f17ae74f1d18769672d6594d095b3f3da; merge this dependency first.Validation passed:
./script/generate -a multi_agent -v v1, Go binding tests,npm ci,npm run generate:ts, andcargo build(writable temporary Cargo caches). Go generation used protoc 36.1 and protoc-gen-go 1.36.6.Sensitive Fields
sensitive.Plans: