From 828a0483a880cfd819c5941ef4c86ac783420309 Mon Sep 17 00:00:00 2001 From: abrichr Date: Wed, 28 Oct 2026 23:29:40 -0400 Subject: [PATCH] fix(flow): spell the skill pull hint the way the person ran the engine skill pull printed 'openadapt-flow skill bind' and 'openadapt-flow skill qualify' as literals. Under the launcher that names a program the person never typed, and test_cli_hints.py's test_printed_hints_never_hard_code_the_engine_spelling fails on it, which turned main's flow core unit shard red after #1623 (run 40809648930). The hint now goes through cli_hints.command(), like every other next step. --- packages/flow/openadapt_flow/registry.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/flow/openadapt_flow/registry.py b/packages/flow/openadapt_flow/registry.py index 1f18c9a4b..392a05c4a 100644 --- a/packages/flow/openadapt_flow/registry.py +++ b/packages/flow/openadapt_flow/registry.py @@ -791,10 +791,12 @@ def cmd_pull(args: Any) -> int: print( "Status: example, not certified. Rehearse it on a test copy of the app first." ) + from openadapt_flow.cli_hints import command + print( "It won't run until it is qualified on your instance:\n" - f" openadapt-flow skill bind {dest} ...\n" - f" openadapt-flow skill qualify {dest} --certify clinical-write" + f" {command('skill bind')} {dest} ...\n" + f" {command('skill qualify')} {dest} --certify clinical-write" ) params = entry.raw.get("params") or [] if params: