Repository navigation
fix(arena): finish repeatable five-CLI workflow and preserve late brief heads - #1063
Merged
Merged
Conversation
|
🤖 Pixelio is repairing this PR
🔄 agent pass 1/1 |
This was referenced Oct 17, 2026
LivioGama
enabled auto-merge (squash)
October 17, 2026 01:53
LivioGama
disabled auto-merge
October 17, 2026 04:33
LivioGama
added a commit
that referenced
this pull request
Nov 25, 2026
…ef heads (#1063) * fix(arena): finish repeatable five-CLI workflow and preserve late brief heads * fix(brief): wait for late stores and invalidate cache before the deadline * chore(brief): keep compatibility helpers in test builds * fix(brief): create the marker directory before a late store * fix(arena): capture native terminal output and detect exited agents * fix(arena): capture wrapped native evidence and clean crashed Pi panes * fix(arena): preserve separate command counts and valid release fragment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1055, closes #1035
Summary
Finish the five-CLI Ultima Arena as
just ultima-arena: reuse the current Herdr tab, start a fixed seeded grid, dispatch every prompt before monitoring, and interrupt each turn once its brief and matching Pixel metrics are evidenced. Save dated Markdown/JSON receipts, run logs, session evidence, commit provenance and a local run index under gitignoredeval/arena-results/.Pi now uses a fresh fullscreen session. Its verdict comes from persisted injection and paired tool-call/result records, so a stale viewport cannot produce a false
NO-CALL. Claude starts verbose, and Codex's detailed transcript is opened when completed output is hidden. The runner rejects overlapping runs before modifying panes. Native brief hooks get eight seconds, with late first-slice recovery and a missing-head marker that lets part 2 preserve the brief head after part 1 gives up.Final capture reads the exact pane's scrollback, normalizes wrapped tokens without merging separate commands, and expands Codex's hidden result once. Cleanup recognizes a crashed Pi shell only with its recorded terminal identity and exact crash signature.
Evidence
Before: Run 8 captured Pi's older fullscreen viewport and reported brief
FAIL/ metricsNO-CALL. Its retained session actually contained one exact Pixel call, the injected brief, and metrics#c42900matching the action log. Run 4 separately reproduced lost first brief slices at the six-second decision bound.After: The new Pi parser replayed Run 8's real transcript and action log: one exact call, injected brief, matching metrics
PASS, final turn complete. Regression fixtures cover stale viewports, unrelated commands/results, stale timestamps and cross-session attribution. Focused Rust coverage exercises timeout recovery, response/marker ordering and missing-head recovery.Focused checks: 27 brief-parts tests passed; the native follower deadline integration case passed; seven capture/cleanup cases passed, followed by both focused command-count regression cases. Independent review approved the changes.
Latest completed live run: Run 10, installed/repository commit
e98ace2e59e2, seed 42, same Herdr tab. All five prompts dispatched in two seconds. Pi and agy proved both signals and were interrupted. The original receipt reports 3/5 briefs and 2/5 metrics; diagnosis identified narrow-pane/collapsed-output capture gaps in Codex, Claude and Devin. The raw receipt remains unchanged. A crashed old Pi pane was verified and removed, restoring grid widths from 31–48 to 105–159 columns.Saved capture replay: wrapped-token fixtures and native pane reads identified the capture fixes. A clipped four-character Devin ID remains FAIL; hidden output and assistant claims are never promoted to PASS.
Native capture audit: the existing Run 10 native stores recover the complete Codex
#128cf8, Claude#6ea330and Devin#f02848results, each paired to its exact command and matching repository action record. Together with Pi/agy's already verified store evidence and brief records, the separate retained audit proves 5/5 delivered briefs and 5/5 matching metrics. The raw automated receipt remains unchanged; this is delivery evidence, not a claim that every line was on screen or that a new live run covered the final commit.Local rerun: cancelled during installation, before creating panels or sending prompts, after the user directed validation to the existing capture. No completed live run covers the final commit.
Current-head CI:
eefdec788a7d21c320271b76bafb7f5ca5f2c088— 17 checks passed, 0 failed, 0 pending, 2 skipped/neutral.cargo nextest run --workspace --locked --profile ci: 5,408 passed, 8 skipped.python3 .agents/skills/ultima-arena/ultima_arena.py --self-test: 39 passed in 80.280s. Test + Format, Record the green verdict, all three cross-builds, Clippy/feature lanes, MSRV, ranking, install checks, board sync and all three CodeQL analyses succeeded. GitHub additionally requires one eligible non-author approval of the latest push.Merge Danger
Door: Two-way for the runner and hook logic. The short-lived
.donecache marker gains a missing-head status; older empty markers retain their existing meaning. No user settings format changes.Blast radius: Every agent — prompt-submit deadlines and split-brief delivery change for native hook hosts. Arena changes affect maintainers running the explicit command; abort only closes panes recorded as created by this workflow.
Docs touched
scripts/README.md, theultima-arenaskill,ARCHITECTURE.mdagent integration and testing sections, and two changelog fragments. The CLI command surface is unchanged.