Skip to content

Forward --asec-education-source to staged children#422

Merged
MaxGhenis merged 1 commit into
mainfrom
stage-cli-education-forward
Jul 13, 2026
Merged

Forward --asec-education-source to staged children#422
MaxGhenis merged 1 commit into
mainfrom
stage-cli-education-forward

Conversation

@MaxGhenis

Copy link
Copy Markdown
Contributor

base-r4 died in six seconds at source_construction: #421 added --asec-education-source to the locked run config but not to _stage_cli_args, so --stage all locked the parent context with the sidecar and spawned every child without it — the child's recomputed config differed and the run-context guard (correctly) refused. Diagnosis credit: the Build M runner agent, whose report named the exact missing block.

Two changes:

  • Forward the flag in _stage_cli_args beside the other appended inputs.
  • test_stage_cli_round_trips_the_locked_run_config: parse a full parent argv → reconstruct child argv → re-parse → assert _stage_run_config equality. Verified to FAIL without the forwarding fix and pass with it, so any future input that enters the run config without entering the reconstruction dies in CI, not in a build.

🤖 Generated with Claude Code

#421 added the education sidecar to the locked run config but not to
_stage_cli_args, so --stage all locked the parent context with the
sidecar and spawned every child without it: the first child recomputed
a config lacking asec_education_source, hit the run-context guard, and
base-r4 died in six seconds. Forward the flag beside the other appended
inputs, and pin the whole class with a round-trip regression test:
_stage_run_config(parent) must equal _stage_run_config over the
_stage_cli_args-reconstructed child argv, so any future input that
enters the run config without entering the reconstruction fails in CI.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@MaxGhenis MaxGhenis merged commit 6d06410 into main Jul 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant