test: add live dispatch scenarios#42
Merged
Merged
Conversation
Contributor
Author
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.

Summary
scripts/run_scenario.py, a live scenario runner that starts Dispatch with isolatedDISPATCH_HOMEandCODEX_HOMEtests/scenarios/basic_coordination.toml, which creates two synthetic Codex lanes through the public CLI and verifieslist/get/tailjust scenario -- tests/scenarios/basic_coordination.tomlin AGENTS, dev docs, and usage docsTesting
uv run pytest tests/test_scenarios.py -qjust scenario -- --dry-run tests/scenarios/basic_coordination.tomluv run ruff check .uv run ruff format --check .uv run mypy src testsjust scenario -- tests/scenarios/basic_coordination.tomljust checkLive scenario proof
just scenario -- tests/scenarios/basic_coordination.tomlpassed locally using isolated temp state. It selectedgpt-5.3-codex-spark, created two lanes (alphaandbeta), observed both latest turns transition fromstartedtocompleted, verified lane listing and transcript contents, then shut the daemon down and removed temporary state.Notes
This is intentionally opt-in and outside
just checkbecause it uses real Codex auth/model calls. SQLite audit remains next as LinearOUT-450.