Add a -u flag to targen to emit structured JSON progress events during patch generation.
Rationale
Advanced patch generation (especially iterative OFPS with adaptation) can take several minutes. A structured progress stream prevents host UIs from appearing frozen and avoids brittle regex parsing of stdout text.
### Description
Add a `-u` flag to `targen` to emit structured JSON progress events during patch generation.
### Rationale
Advanced patch generation (especially iterative OFPS with adaptation) can take several minutes. A structured progress stream prevents host UIs from appearing frozen and avoids brittle regex parsing of `stdout` text.
### Proposed Output
```json
{"event": "progress", "stage": "optimising", "percent": 45}
```
gronod
added this to the v3.5.1 - UI Subprocess Integration milestone 2026-08-21 09:12:02 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Description
Add a
-uflag totargento emit structured JSON progress events during patch generation.Rationale
Advanced patch generation (especially iterative OFPS with adaptation) can take several minutes. A structured progress stream prevents host UIs from appearing frozen and avoids brittle regex parsing of
stdouttext.Proposed Output
Implemented in #11 via commit
eba1838. Added-uswitch totargenfor structured JSON progress output.