Files
ironclaw/tools
Henry Park ee3b42a47d feat(tools): add bounded selectable JSON result views (#7928)
* feat(tools): add selectable JSON result views

* Address PR review feedback (#7928)

- harden structured JSON paging redaction, validation, and continuation progress
- preserve unified durable result reads across live-shell and stress harness paths
- correct first-look sizing and E2E result-read selection
- split and extend integration coverage for structured and legacy result views

* Simplify first-look observation sizing (#7928)

Reuse the canonical observation constructor as the fit check instead of duplicating serialized envelope accounting. This also restores the enforced composition mass budget.

* Preserve typed result preview provenance (#7928)

- keep LoopResultRef typed through first-look rendering
- carry structured-page provenance out of band on host tool-result messages
- reject provider attempts to forge structured observation provenance
- retain the composition mass budget and trace recording behavior

* Fix result-view CI regressions (#7928)

- preserve safe-summary fallback for invalid stored observations
- carry structured-view provenance through the shared trace harness
- correlate Responses API tool results by provider call IDs

* Update result-view integration contracts (#7928)

* Tighten result-view integration assertions (#7928)

* test: follow durable extension result continuations

* style: avoid implicit path concatenation

---------

Co-authored-by: Henry Park <16583448+henrypark133@users.noreply.github.com>
2026-08-27 16:20:41 +00:00
..