Skip to content

fix(agent): preserve reasoning tool-call batches and native platform imports - #6732

Merged
M4n5ter merged 1 commit into
rust-previewfrom
fix/durable-replay-platform-followup
Nov 10, 2026
Merged

M4n5ter merged 1 commit into
rust-previewfrom
fix/durable-replay-platform-followup

Conversation

@M4n5ter

@M4n5ter M4n5ter commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

Summary

Follow-up to #6713. Merged into rust-preview as bb914bde38fc3365f9d3ae666b177ea44e54188f at the maintainer’s explicit direction without waiting for CI; no admin/protection bypass.

  • Migrate every remaining Linux/Windows TerminalSize consumer to maka-plugin-core, and use maka-sandbox::account_home for the Windows guard registry. No compatibility re-exports.
  • Keep reasoning, visible output and tool calls from the same model attempt in one assistant message. Retain the original producing request per batch and clear it at every flush boundary, including omitted reasoning-only batches.
  • Exercise normal Host/send, two real todo_read calls and loopback ChatCompletions HTTP. Check actual assistant/tool-result ordering, same-message reasoning_content, and the original producer on the subsequent frozen request after a hash transition.
  • Add a Windows subprocess regression proving HOME/USERPROFILE overrides do not redirect the guard registry. Extend the existing Windows shell suite to run process integration and guard tests with the full workspace feature union; test actual CI consumer selection.

No changes to Root schemas, authority contracts, migration gist, local data, SDK or UI.

Verification

  • Local macOS full workspace: cargo check --workspace --all-targets --features maka-cli/desktop-tests --locked --offline --keep-going passed (37.26s).
  • CI routing: node --test scripts/ci.test.mjs 14 passed, 0 failed/cancelled/skipped.
  • Rustfmt, Biome and diff checks passed.
  • Actual Linux archive/replay and Windows/macOS runtime results: not awaited, per maintainer instruction (original PR CI). Compilation is not counted as runtime acceptance. The known local Cargo fork issue is not worked around or hidden by reducing tests.
  • Focused independent Gemini re-review: original grouping finding resolved; 0 new substantive findings. This was a static review, not runtime acceptance.

AI use

  • No generative tool made a substantive contribution
  • Generative tooling made a substantive contribution

Maka using OpenAI models for implementation and tests and Gemini for bounded independent static review. AI review does not replace human review. Material commits include Generated-by: Maka.

Checklist

  • Focused behavioral regressions added
  • Local full-workspace compilation and formatting pass
  • Related standard CI and new runtime regressions pass

Behavior change: yes — provider requests retain same-attempt reasoning with tool calls; native platform consumers use the current shared types and OS account lookup.

@M4n5ter
M4n5ter merged commit bb914bd into rust-preview Nov 10, 2026
1 check passed
@M4n5ter
M4n5ter deleted the fix/durable-replay-platform-followup branch November 10, 2026 04:48
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.

1 participant