Investigate evaluator overhead between independent read actions
Follow-up
Nubs will look into this later. This is a deferred optimization investigation, not a confirmed correctness bug or an approved implementation change.
A combined Notes and Calendar read used four foreground model calls: response handler, planner, evaluator after Notes, and the same evaluator again after Calendar. The first evaluation decided whether to continue; the second checked completion and produced the answer.
Investigate whether demonstrably independent, read-only actions can complete before a single evaluation, without weakening conditional execution, permissions, failure handling, evidence checks, or final-answer validation. Do not simply remove the intermediate evaluation: dependent requests may need it to decide whether the next action should run.
Acceptance for any future proposal:
- Explicitly distinguish independent work from conditional or dependent work.
- Preserve cases where the second read must not execute.
- Compare actual trajectories, correctness, call counts, token usage, and latency.
- Retain the existing behavior unless a simpler safe alternative is supported by evidence.
No runtime behavior is changed as part of filing this issue.
Source: elizaOS/eliza