Commit 3d0b07b
fix(execute-command): throw on unresolved block refs, block env var override
- Throw a clear error when a block reference cannot be resolved instead
of leaving raw <blockName.output> in the command (which the shell
interprets as I/O redirection). Skip special prefixes (variable, loop,
parallel) which are handled by their own collectors.
- Filter user-supplied env vars to prevent overriding safe base env keys
(PATH, HOME, SHELL, etc.) and block process-influencing variables
(LD_PRELOAD, BASH_ENV, DYLD_INSERT_LIBRARIES, etc.).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 281f5bb commit 3d0b07b
1 file changed
+33
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
38 | 63 | | |
39 | 64 | | |
40 | 65 | | |
| |||
135 | 160 | | |
136 | 161 | | |
137 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
138 | 169 | | |
139 | 170 | | |
140 | 171 | | |
| |||
207 | 238 | | |
208 | 239 | | |
209 | 240 | | |
210 | | - | |
| 241 | + | |
211 | 242 | | |
212 | 243 | | |
213 | 244 | | |
| |||
0 commit comments