Orchestrator refactoring + planned amounts
This commit is contained in:
@@ -176,10 +176,28 @@ message StepExecution {
|
||||
ReportVisibility report_visibility = 9;
|
||||
// Optional user-facing operation label.
|
||||
string user_label = 10;
|
||||
// Final amount processed by this step (if known).
|
||||
common.money.v1.Money executed_money = 11;
|
||||
// Converted amount produced by this step (for FX operations).
|
||||
common.money.v1.Money converted_money = 12;
|
||||
// Structured money envelope for this step lifecycle.
|
||||
StepExecutionMoney money = 11;
|
||||
|
||||
// Former flat money fields intentionally removed.
|
||||
reserved 12, 13, 14, 15;
|
||||
reserved "executed_money", "converted_money", "planned_money", "planned_converted_money";
|
||||
}
|
||||
|
||||
// StepExecutionMoney groups planned and executed monetary snapshots.
|
||||
message StepExecutionMoney {
|
||||
// Monetary instruction bound by planner before execution.
|
||||
StepExecutionMoneySnapshot planned = 1;
|
||||
// Monetary outcome observed/confirmed after execution.
|
||||
StepExecutionMoneySnapshot executed = 2;
|
||||
}
|
||||
|
||||
// StepExecutionMoneySnapshot captures base and converted amounts.
|
||||
message StepExecutionMoneySnapshot {
|
||||
// Base amount for the step.
|
||||
common.money.v1.Money amount = 1;
|
||||
// Converted amount for FX-like steps.
|
||||
common.money.v1.Money converted_amount = 2;
|
||||
}
|
||||
|
||||
// Kept local on purpose: no shared enum exists for orchestration step runtime.
|
||||
|
||||
Reference in New Issue
Block a user