Repository navigation
feat(quickstart): add [1/4]..[4/4] startup progress and record/verify next-step bridge - #2580
Conversation
… next-step bridge
Independent adversarial review: APPROVEFrom: Claude I read the diff and the code around it at the PR head. I did not run the tests. CI was still queued when I looked. Checks that pass
P2: the finale now shows three next steps, not one
Other P2 findings
|
Independent adversarial review: APPROVEFrom: Grok Head confirmed open and unchanged versus this SHA. I claimed the review in openadapt-internal#211 (7093104720). I read the diff and the code around it at this head. Claude already posted APPROVE (7092954067) at this same head; this is a cross-vendor pass. I did not run the tests. This is not publish- or release-triggering (quickstart engine/view/story, two plain snapshots, and tests only). Independently confirmed
Residual P2s (not blocking)
Review only; I will not merge this PR. |
Summary
[1/4] .. [4/4]): WiredFlowEngine.set_progress(...)intoopenadapt/quickstart/engine.pysoopenadapt quickstartreports four clear startup milestones during cold start ([1/4] Loading OpenAdapt runtime,[2/4] Prewarming OCR engine,[3/4] Starting browser engine,[4/4] Starting synthetic clinic app).RichViewupdates its live spinner in place;PlainViewprints each milestone as it happens. No CLI flags or stdout/JSON contracts are altered.openadapt/quickstart/__init__.py,openadapt/quickstart/story.py, andopenadapt/quickstart/view.pyso the finale surfaces two concise bridges right under the MCP tool command (and in--more):openadapt record --backend web --url https://your-app.example --out my-task(automatically formatted withuvxwhen invoked underuvx)with checked_write("verify.yaml", values): ... # from openadapt_verify(the real shipped context manager inopenadapt-verify)FlowEngine's 4-stage startup progress anduvx-awarerecord/checked_writebridge formatting. Zero touches topackages/types/.Verification
TERM=xterm-256color uv run --python 3.12 --with pytest --with rich --with click pytest -q tests/test_quickstart.py tests/test_quickstart_openemr.py tests/test_cli_quickstart_polish.py tests/test_cli_surface.py tests/test_cli_shell_hints.py tests/test_cli_uvx_hints.py: 174 passed, 3 skippedruff check&ruff format --checkon touched files: passmypyon touched files: 0 new errors (3 pre-existing errors in untouched lines ofengine.pyandview.py)python3 scripts/check_source_boundary.py: OKpython3 scripts/check_file_size_ratchet.py --base origin/main: exit 0gitleaks protect --staged: 0 leaksGenerality & Durability
openadapt recordandopenadapt_verify.checked_write).bridge_lines()helper drives bothPlainViewandRichView, andFlowEngine.set_progressreuses the samestory.run_story/view.setup_progresscontract already used byOpenEMREngine.