From 70f8b96d1742b335abf27e5c1f735f03d2475fab Mon Sep 17 00:00:00 2001 From: HODLCLONE Date: Sun, 21 Jun 2026 18:28:41 -0400 Subject: [PATCH] fix: preserve Nous runtime auth path label --- hermes_cli/auth.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hermes_cli/auth.py b/hermes_cli/auth.py index ec106db7470c..218040e673cd 100644 --- a/hermes_cli/auth.py +++ b/hermes_cli/auth.py @@ -5940,7 +5940,11 @@ def resolve_nous_runtime_credentials( "expires_at": expires_at, "expires_in": expires_in, "source": NOUS_AUTH_PATH_INVOKE_JWT, - "auth_path": str(state_source_path or _auth_file_path()), + # Preserve the public semantic source label while exposing the concrete + # store separately for diagnostics. Refresh persistence uses + # state_source_path internally and must not overload this field. + "auth_path": NOUS_AUTH_PATH_INVOKE_JWT, + "state_path": str(state_source_path or _auth_file_path()), }