From 1a614e39a948e311be331ce898f44f19b32995fb Mon Sep 17 00:00:00 2001 From: Kundan-Krishna366 Date: Fri, 3 Jul 2026 11:23:49 +0530 Subject: [PATCH] fix(core): update fallback report path to utilize run_dir --- strix/core/runner.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/strix/core/runner.py b/strix/core/runner.py index 2353b0cc..2ffb4d4b 100644 --- a/strix/core/runner.py +++ b/strix/core/runner.py @@ -7,7 +7,6 @@ import json import logging import uuid from collections.abc import Callable -from pathlib import Path from typing import TYPE_CHECKING, Any from agents import RunConfig @@ -300,7 +299,7 @@ async def run_strix_scan( scan_id, ) # Automatically save the data into a fallback markdown report using Path - reports_dir = Path("reports") + reports_dir = run_dir / "reports" reports_dir.mkdir(parents=True, exist_ok=True) report_file = reports_dir / f"report_{scan_id}_fallback.md"