Commit 2e42bfb
fix(flows): report an entry position, not the caller's step id
A step id is a caller-controlled key, and these rejections reach the usage
log unmasked the same way a value would. Nothing echoed a NESTED caller key
before this directive existed — the walker's supplied_keys reports only
top-level names — so this was new exposure rather than an existing one.
Errors now name the entry's position (step_values entry #2) and its types.
That still says which entry is wrong, and cannot carry anything the caller
typed.
Found by CodeRabbit review on homeassistant-ai#2256.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012d29UJTiH4Uy2Pm37SBPtr1 parent 08e3931 commit 2e42bfb
2 files changed
Lines changed: 28 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
883 | 883 | | |
884 | 884 | | |
885 | 885 | | |
886 | | - | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
887 | 894 | | |
888 | 895 | | |
889 | 896 | | |
890 | 897 | | |
891 | 898 | | |
892 | | - | |
893 | | - | |
894 | | - | |
| 899 | + | |
| 900 | + | |
895 | 901 | | |
896 | 902 | | |
897 | 903 | | |
898 | 904 | | |
899 | 905 | | |
900 | | - | |
| 906 | + | |
901 | 907 | | |
902 | 908 | | |
903 | 909 | | |
| |||
911 | 917 | | |
912 | 918 | | |
913 | 919 | | |
914 | | - | |
915 | | - | |
| 920 | + | |
916 | 921 | | |
917 | 922 | | |
918 | 923 | | |
919 | | - | |
| 924 | + | |
920 | 925 | | |
921 | 926 | | |
922 | 927 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1301 | 1301 | | |
1302 | 1302 | | |
1303 | 1303 | | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
1304 | 1319 | | |
1305 | 1320 | | |
1306 | 1321 | | |
| |||
0 commit comments