Isolate cost accounting for prepared executions

This commit is contained in:
2026-11-22 18:30:02 +00:00
parent d77e3e2f83
commit ba4de9d11e
4 changed files with 138 additions and 1 deletions

View File

@@ -56,7 +56,8 @@ attempts above the first in a generation, and repair generations with at least
one dispatch. A terminal event is an aggregate and must not be added to its
attempt events.
Ordinary runs install invocation-local cost accounting even without an observer.
Ordinary runs and claimed prepared executions install invocation-local cost
accounting even without an observer.
The generation coordinator resolves cost once per dispatched attempt and adds
it to that state independently of event delivery. The result and recorder read
the same accumulator; groups merge first terminal costs independently of