Add bounded diagnostic prefix encoding
This commit is contained in:
@@ -492,6 +492,11 @@ invalid-byte runs, empty/small budgets, and truncation boundaries. Wiring into
|
||||
the public repair workflow follows in Stage 19; no interim alternative formatter
|
||||
is exposed or new contract created for a helper's exact allocation count.
|
||||
|
||||
Completion: bounded UTF-8 normalization and JSON-prefix encoding retain only
|
||||
the useful candidate prefix and report complete versus truncated results.
|
||||
Focused encoding and existing formatter tests pass on Go 1.27.3; formatter
|
||||
wiring remains in the next unit.
|
||||
|
||||
## Stage 19: Construct Repair Feedback Without Whole-Input Serialization
|
||||
|
||||
**Catalog:** 17, completion. **Files:** `formatRepairDiagnostics` and repair tests.
|
||||
|
||||
Reference in New Issue
Block a user