From 4348e31bb32fe8ad76b2d6885242f1c343185755 Mon Sep 17 00:00:00 2001 From: Nathaniel Ramm Date: Tue, 30 Jun 2026 11:04:35 +1000 Subject: [PATCH 1/2] Adds .superpowers to gitignore - Adds .superpowers directory to ignore list - Prevents accidental commit of local development files - Maintains clean repository state --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index ae7c01c..74bf7b9 100644 --- a/.gitignore +++ b/.gitignore @@ -179,3 +179,4 @@ coverage.* #hiivmind .hiivmind/github/user.yaml .benchmarks/ +.superpowers/ From dbd94ab3c38758ae299825a440fc8a15e85108a2 Mon Sep 17 00:00:00 2001 From: Nathaniel Ramm Date: Tue, 30 Jun 2026 11:17:22 +1000 Subject: [PATCH 2/2] fix: snowflake oauth2 adapter reads OAuth2AuthProfile.ACCESS_TOKEN (was .TOKEN) --- src/mountainash_data/core/settings/adapters/snowflake.py | 4 ++-- tests/test_unit/core/settings/adapters/test_auth_adapters.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mountainash_data/core/settings/adapters/snowflake.py b/src/mountainash_data/core/settings/adapters/snowflake.py index c3e6cfc..095b227 100644 --- a/src/mountainash_data/core/settings/adapters/snowflake.py +++ b/src/mountainash_data/core/settings/adapters/snowflake.py @@ -24,8 +24,8 @@ def token(auth, base): def oauth2(auth, base): - # token-only: never reads CLIENT_ID/SECRET/SERVER_URI/SCOPE (smell #1) - return {**base, "authenticator": "oauth", "token": auth.TOKEN.get_secret_value()} + # token-only: never reads CLIENT_ID/SECRET/SCOPE (smell #1) + return {**base, "authenticator": "oauth", "token": auth.ACCESS_TOKEN.get_secret_value()} def certificate(auth, base): diff --git a/tests/test_unit/core/settings/adapters/test_auth_adapters.py b/tests/test_unit/core/settings/adapters/test_auth_adapters.py index 80d4a9b..2df168c 100644 --- a/tests/test_unit/core/settings/adapters/test_auth_adapters.py +++ b/tests/test_unit/core/settings/adapters/test_auth_adapters.py @@ -26,7 +26,7 @@ def test_snowflake_token_oauth(): def test_snowflake_oauth2_token_only(): - assert _snow.oauth2(OAuth2AuthProfile(TOKEN="t"), {}) == {"authenticator": "oauth", "token": "t"} + assert _snow.oauth2(OAuth2AuthProfile(ACCESS_TOKEN="t"), {}) == {"authenticator": "oauth", "token": "t"} def test_snowflake_password():