This repository was archived by the owner on Oct 19, 2026. It is now read-only.
Repository navigation
The prompt goes to pi on stdin, never as an argument - #6
Merged
Merged
Conversation
Linux hands one argument at most 128 KiB (MAX_ARG_STRLEN), and AIRO's joint prompt passed that on 2026-10-19 when every incident rung became a deaths question and a damages question. pi reads piped stdin as its first prompt, verbatim but for surrounding whitespace, so harness.run now writes the prompt to pi's stdin and pi_command carries no positional message. Every caller -- AIRO's instrument, the ForecastBench driver -- is uncapped by it. harness.PROMPT_ON_STDIN lets a caller check before sending a prompt that would not fit an argument. Tests: the fake pi records what arrived on stdin; the real pi (0.99.2) receives a prompt past the limit and the scripted model sees it, verbatim but for pi's trim, as the first user message. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Linux hands one argument at most 128 KiB (
MAX_ARG_STRLEN), and AIRO's joint prompt passed that on 2026-10-19 when every incident rung became a deaths question and a damages question (forecastingresearch/airo#11). pi reads piped stdin as its first prompt, verbatim but for surrounding whitespace (checked in pi 0.99.2'sreadPipedStdin/buildInitialMessage: with no positional message, the first prompt is exactly the trimmed stdin, no wrapper).harness.runwrites the prompt to pi's stdin;pi_commandcarries no positional message. Every caller is uncapped by it: AIRO's instrument and the ForecastBench driver alike.harness.PROMPT_ON_STDINlets a caller check before sending a prompt that would not fit an argument (AIRO'spi_loopdoes, and refuses by name instead of letting pi die with E2BIG).Follow-up on the box: reinstall
fri-forecasterinto the cron venv at this commit (theuv pip install … agent-box@<sha>step) before the first run under AIRO's v11.🤖 Generated with Claude Code