INNER CODE UNIT · Python
_cmd_create_scenarios
hadriansecurity/OpenHack · src/openhack/cli.py:86
def _cmd_create_scenarios(args: argparse.Namespace) -> None:
prompt = prepare_scenario_router(args.target, args.run_id)
print(format_checkpoint(
"Prepare Scenario Routing",
"Wrote the scenario-router prompt from routing units, compact recon evidence, and the expert registry.",
artifacts=[prompt],
next_note=(
"No separate human gate is required here when recon-to-backlog "
"routing was already approved. Have the scenario-router produce "
"JSON with a top-level scenarios array, then record it."
),
next_command=(
f"openhack record-scenario-backlog {args.target} {args.run_id} "
"router-result.json"
),
next_command_label="Next command in approved routing phase:",
proceed_prompt=None,
))