Repository navigation
v0.6.1
0.6.1 - 2026-10-13
Closes the v0.2.x completion gate "every recommendation has resolvable
source-span provenance".
Changed
ModelSwapRecommenderrecommendations now identify their step
(step_id,step_name,step_type), useoptimization_type="model_swap"
instead of the generic default, and recordcurrent_model,
suggested_model,current_cost, andsuggested_costinmetadata.
Previously they named no step, so the engine could only attach unresolved
workflow.recommendationevidence.ChaosImpactRecommenderrecommendations now carry the resolvedstep_id
andstep_type(by eventstep_id, then by step name only when that name is
unique in the workflow). Events are grouped by step identity, so same-named
steps get separate findings. When the step is
not part of the workflow, the producer'sstep_idis kept. Evidence is one
workflow.chaos_evententry per source event, with the event ID, fault
type, outcome, timestamp, and message.
Added
tests/test_recommendation_provenance.py: every default recommender's
output must resolve to a workflow step and carry evidence with that step's
span ID.