Skip to content

fix(arena): finish repeatable five-CLI workflow and preserve late brief heads - #1063

Merged
LivioGama merged 10 commits into
mainfrom
brief-part-timeout
Oct 17, 2026
Merged

LivioGama merged 10 commits into
mainfrom
brief-part-timeout

Conversation

@LivioGama

@LivioGama LivioGama commented Oct 17, 2026 •

Copy link
Copy Markdown
Collaborator

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 gitignored eval/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.

just ultima-arena → repository launcher
  → install + record provenance → seeded grid → dispatch all five prompts
  → monitor brief + matching invocation → interrupt completed evidence
  → strict per-CLI verdict → dated receipt + local Markdown index

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 / metrics NO-CALL. Its retained session actually contained one exact Pixel call, the injected brief, and metrics #c42900 matching 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 #6ea330 and Devin #f02848 results, 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 .done cache 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, the ultima-arena skill, ARCHITECTURE.md agent integration and testing sections, and two changelog fragments. The CLI command surface is unchanged.

@pixelio-bot

pixelio-bot Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

🤖 Pixelio is repairing this PR

🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩⬜⬜⬜⬜ 80%

🔄 agent pass 1/1
⏱ elapsed 45m 7s

@LivioGama
LivioGama enabled auto-merge (squash) October 17, 2026 01:53
@LivioGama
LivioGama disabled auto-merge October 17, 2026 04:33
@LivioGama
LivioGama merged commit 861f9db into main Oct 17, 2026
18 checks passed
@LivioGama
LivioGama deleted the brief-part-timeout branch 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant