Skip to main content

Module fix_round

Module fix_round 

Source

Structs§

ConfirmedFallback
A confirmed fallback sent to the implementer during a fix round.
FixRoundSummary
Summary fields recorded for a completed fix round.

Enums§

FixRoundRecord
Persistent state file .wt/<id>.fixround.json.

Constants§

COMMIT_MESSAGE
Exact commit message instructed for a fix round with only fallbacks.
CONCERNS_COMMIT_MESSAGE
Exact commit message instructed for a fix round that includes review concerns.

Functions§

append_check_flag
Append a flag to .wt/<id>.checks.json.
collect_confirmed_fallbacks
Extract confirmed fallbacks from a succeeded model review and its checks file or worktree.
combined_final_message
Combine the first pass’s final message with the fix round’s when the round was kept.
concerns_left
Count concerns in the standing review; None when no review ran or it failed.
confirmed_count
Count verdicts equal to "fallback" in a model review result.
failure_flag
Flag appended to the checks file when a fix round did not produce a kept change.
fallbacks_left
Count confirmed fallbacks in the standing review; None when no review ran or it failed.
load_record
Read and parse .wt/<id>.fixround.json. Returns Ok(None) only when the file does not exist.
record_path
Path to .wt/<id>.fixround.json.
should_run
Decide whether a fix round should run after the first pass and its review.
sum_costs
Sum optional dollar costs across two passes.
task_text
Build the task text passed to the implementer for a fix round.
write_record
Write .wt/<id>.fixround.json.