Retain repair diagnostics and correction lineage
This commit is contained in:
@@ -101,6 +101,9 @@ holds logical calls and PromptKit execution events. Interaction request/response
|
||||
artifacts and input snapshots are also debug-only. Records carry zero-based
|
||||
`stage_index` and optional `stage_id` where an entry is identified.
|
||||
These files are diagnostic evidence, not an alternate ordinary report schema.
|
||||
For a repaired proposal, one ledger row preserves the original proposed edit,
|
||||
the final applied segment and span when applicable, and repair attempts with
|
||||
revision decisions and interaction artifact paths.
|
||||
Each candidate-backed ledger entry includes `proposed_corrected_text`, the
|
||||
literal replacement span, even when it is `""` for a deletion. Applied entries
|
||||
also include `applied_corrected_text`, likewise `""` for an applied deletion.
|
||||
|
||||
Reference in New Issue
Block a user