Skip to content

Support ordered mixed managed and runner-native tool batches#166

Merged
mostlydev merged 2 commits intomasterfrom
issue-165-mixed-tool-call-ordering
Apr 16, 2026
Merged

Support ordered mixed managed and runner-native tool batches#166
mostlydev merged 2 commits intomasterfrom
issue-165-mixed-tool-call-ordering

Conversation

@mostlydev
Copy link
Copy Markdown
Owner

Summary

Support ordered mixed managed and runner-native tool batches by serializing a managed prefix before handing runner-native execution back to the runner.

What Changed

  • update ADR-020 and the public tools docs to allow monotonic mixed ownership instead of rejecting all mixed same-response batches
  • add a live OpenClaw spike that proves the real model path with same-response managed+native tool calls
  • update the submodule pointer to the cllama runtime change that serializes managed-prefix/native-suffix batches and logs the intervention marker

Verification

  • go test ./internal/proxy/... (in cllama/)
  • go test -tags spike ./cmd/claw -run TestDoesNotExist
  • go test -tags spike ./cmd/claw -run TestSpikeOpenClawAdditiveToolsLive -count=1 -v

Dependency

Closes #165

@mostlydev mostlydev marked this pull request as ready for review April 16, 2026 18:57
@mostlydev mostlydev merged commit 6c28b73 into master Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support mixed managed and runner-native tool-call responses with ordered execution and agent feedback

1 participant