diff --git a/.claude/launch.json b/.claude/launch.json index 43a6c535b..371f5ecb5 100644 --- a/.claude/launch.json +++ b/.claude/launch.json @@ -22,6 +22,20 @@ "cwd": "backend/src/apis/app_api", "autoPort": false }, + { + "name": "app-api-branch", + "runtimeExecutable": "/Users/philmerrell/Repos/agentcore-public-stack/backend/.venv/bin/python", + "runtimeArgs": [ + "-m", + "uvicorn", + "apis.app_api.main:app", + "--port", + "8010" + ], + "port": 8010, + "cwd": "backend/src", + "autoPort": false + }, { "name": "inference-api", "runtimeExecutable": "/Users/philmerrell/Repos/agentcore-public-stack/backend/.venv/bin/python", diff --git a/.claude/skills/cutting-a-release/SKILL.md b/.claude/skills/cutting-a-release/SKILL.md index fa41973d3..e196f96b4 100644 --- a/.claude/skills/cutting-a-release/SKILL.md +++ b/.claude/skills/cutting-a-release/SKILL.md @@ -225,12 +225,27 @@ required" — that is the note that sends someone digging through `git log`: > for tool rows written before it existed. Idempotent; dry-run by default. > > ```bash -> AWS_PROFILE= python backend/scripts/backfill_tool_catalog_index.py \ +> AWS_PROFILE= backend/.venv/bin/python backend/scripts/backfill_tool_catalog_index.py \ > --table -app-roles --region us-west-2 --apply > ``` > -> Verify `skipped=0 failed=0` and that the index item count matches the tool -> count before considering the deploy complete. +> Verify `skipped=0 failed=0`, then confirm with a live Query on the index. + +Two details that cost real time on the v1.21.0 prod run, both worth carrying +into whatever backfill note you write: + +- **Give the backend venv's interpreter, not a bare `python`.** These scripts + need `boto3`, which is not in the system Python — a bare `python` fails with + `ModuleNotFoundError: No module named 'boto3'` before it does anything. All + six `backfill_*.py` scripts are runnable as + `backend/.venv/bin/python backend/scripts/