You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🔧 fix(ops): make migration key recipes container-safe
Update migration/master-key just recipes to run via uv across repo and container contexts without direct python invocation, and codify approval requirements for justfile and python command patterns in AI-first docs.
Copy file name to clipboardExpand all lines: justfile
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,10 @@ bench-kdf:
74
74
uv run --with argon2-cffi python bot/scripts/argon2_benchmark.py
75
75
76
76
migrate-wallet-crypto-v2args="--dry-run":
77
-
cd bot && uv run --package mmwb-bot python scripts/migrate_wallet_crypto_v2.py {{args}}
77
+
if [ -f bot/scripts/migrate_wallet_crypto_v2.py ]; then cd bot && uv run --package mmwb-bot scripts/migrate_wallet_crypto_v2.py {{args}}; elif [ -f scripts/migrate_wallet_crypto_v2.py ] && [ -f ../pyproject.toml ]; then cd .. && cd bot && uv run --package mmwb-bot scripts/migrate_wallet_crypto_v2.py {{args}}; else uv run --no-project scripts/migrate_wallet_crypto_v2.py {{args}}; fi
78
+
79
+
manage-master-keyargs="--help":
80
+
if [ -f bot/scripts/manage_keys.py ]; then cd bot && uv run --package mmwb-bot scripts/manage_keys.py {{args}}; elif [ -f scripts/manage_keys.py ] && [ -f ../pyproject.toml ]; then cd .. && cd bot && uv run --package mmwb-bot scripts/manage_keys.py {{args}}; else uv run --no-project scripts/manage_keys.py {{args}}; fi
78
81
79
82
start-tasktask_idtitle="":
80
83
uv run python .linters/create_exec_plan.py {{task_id}} --title "{{title}}"
0 commit comments