Skip to content

refactor(bringup): one Python owner of the start scripts' launch defaults - #460

Merged
Vortiago merged 3 commits into
mainfrom
exp/357-qwen
Sep 29, 2026
Merged

Vortiago merged 3 commits into
mainfrom
exp/357-qwen

Conversation

@Vortiago

Copy link
Copy Markdown
Owner

start.sh and start.ps1 now read their launch defaults from one module, not from two copies.

  • tapscribe/bringup_defaults.py owns the host, the recorder and live ports, the model and the language. It resolves the SX_* overrides and --lan, then prints KEY=value lines.
  • Both start scripts shell out to python -m tapscribe.bringup_defaults and parse its output.
  • python -m tapscribe argparse defaults import the same constants.
  • tests/test_bringup_defaults.py covers resolve, the output format, and a check that each script uses the module.

Gate: python3 -m pytest tests --ignore=tests/e2e && ruff check tapscribe tests && ruff format --check tapscribe tests is green.

Delegated slice (experiment 357, winner leg qwen). Claude reviewed the result with /code-review and /simplify.

Closes #357

model=koishi/qwen3.8-flash-next-mtp gate='python3 -m pytest tests --ignore=tests/e2e && ruff check tapscribe tests && ruff format --check tapscribe tests'
…ults

start.sh and start.ps1 no longer derive the host, ports, model and
language each on their own. Both run `python -m tapscribe.bringup_defaults`
and parse its KEY=value lines. `__main__.build_parser` imports the same
constants, so a bare `python -m tapscribe` launch gets the same values.

Closes #357
@Vortiago
Vortiago merged commit 44d214c into main Sep 29, 2026
59 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.

start.sh and start.ps1 re-derive the same bring-up values in parallel

1 participant