Skip to content

fix: stabilize Web tool evidence and Pi 1.6 compatibility - #924

Merged
tt-a1i merged 1 commit into
mainfrom
codex/openpi-pi16-web-stability
Nov 23, 2026
Merged

tt-a1i merged 1 commit into
mainfrom
codex/openpi-pi16-web-stability

Conversation

@tt-a1i

@tt-a1i tt-a1i commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

New stable Pi 1.6.0 exposes rendered terminal rows as readonly, which broke the OpenPI compatibility typecheck. Two native Session fixtures could also fail while removing temporary credentials or model files.

Web could show tool output as the command or file target, repeat a streaming tool row when another message interleaved, or lose its identity when switching Sessions. The exact gateway concurrency error also stopped instead of entering Pi's configured retry policy.

The project site displayed version 0.9 after 1.2.0 shipped.

Closes #907
Closes #910

Value

The latest Pi host can pass the compatibility gate. In Web, users can identify what ran, see whether output was retained, and inspect gateway concurrency failures with accurate retry feedback. The release link stays current across future releases.

Approach

  • Keep Pi's rendered rows readonly at the interface and copy them before appending tool rows. Use in-memory credentials and model configuration in the two permission and retry test fixtures.
  • Carry bounded argument evidence and native tool-call identity from the child Session through the observer, saved history, and Web renderers. Track assistant and custom message keys per native Session, including parked Sessions.
  • Recognize the exact gateway concurrency code and use Pi's native retry classifier, limits, quota exclusions, and cancellation. Keep the gateway code and message available in Web details.
  • Link both languages of the site to the canonical latest release. Regenerate the committed Web build.

This integrates the work in #909 and #847 and preserves credit for the original work.

Validation

  • With locked Pi 1.2.0, bun run check and bun run test passed. Node passed 2,498 with 8 skips. UI passed 1,669. The final test-fixture adjustment passed a focused rerun, and the committed Web build is reproducible.
  • With Pi 0.99.1, typecheck and 139 focused tests passed. The final retry fixture passed its focused rerun. With Pi 1.6.0 on the pushed revision, bun run check and the complete Node suite passed with 2,498 passes and 8 skips. The provider-retry fixture also passed three consecutive focused reruns. Real Pi displayed the Session picker at 68 and 125 columns in an isolated terminal.
  • Nine focused production WebHost and Chrome cases passed, including the prompt-admission case that failed on fix(web): stabilize tool transcripts and concurrency recovery #909, nested file targets, provider error details, and conversation layout. A provisional full local shard overlapped a rebuild; the clean CI environment covers both full shards. The site link passed in both languages at 390 and 1,366 pixels.
  • Retry behavior was exercised through the native Pi Session with a controlled provider response.

Impact

The Web transcript shows stable tool targets and available output evidence. Gateway concurrency uses the existing native retry configuration. Persisted child history remains readable with optional evidence fields and explicit unavailable output. The site resolves the latest GitHub release when the user follows the link. The change can be reverted through a normal Git revert.

Integrate the Web transcript and native retry work from #909 with the per-session message ownership from #847. Keep the affected tests deterministic across Pi versions and point the site to the canonical latest release.

Co-authored-by: testikun <320479488+testikun@users.noreply.github.com>
@tt-a1i
tt-a1i requested a review from testikun November 20, 2026 16:58
@github-actions github-actions Bot added the area:subagents Subagent delegation, skills, or tests label Nov 20, 2026
@tt-a1i
tt-a1i merged commit ef3f5fe into main Nov 23, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:subagents Subagent delegation, skills, or tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Keep streaming tool identities stable and recover gateway concurrency failures Web subagent tool summaries show output instead of command or filename

1 participant