INNER CODE UNIT · Python

_cmd_init_run

hadriansecurity/OpenHack · src/openhack/cli.py:28

def _cmd_init_run(args: argparse.Namespace) -> None:
    path = init_run(args.target, args.git_url, args.run_id, args.branch)
    run_id = path.name
    print(format_checkpoint(
        "Initialize Run",
        f"Created run {args.target}/{run_id} from a fresh source checkout.",
        artifacts=[path, path / "run-config.yaml", path / "plan.md"],
        review=(
            "Confirm scope, branch, commit, and choose security experts before "
            "recon. Options:\n" + expert_options_text()
        ),
        next_command=f"openhack run-recon {args.target} {run_id} --all-agents",
    ))


def _cmd_run_recon(args: argparse.Namespace) -> None:
    try:
        rows = run_recon(

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…