Commit 53d431e
committed
ci: tell Claude it MUST call Write tool, not emit JSON as text
Previous run: allowedTools=Read,Write granted, permission_denials_count=0,
Claude reported success in 3 turns — but the assistant message contained
the JSON inline ("Quiet day" payload composed correctly) instead of
invoking the Write tool. POST to Slack then errored on the absent file.
Stronger imperative + warning: spell out the Write call signature and
state explicitly that printing JSON does not count. If this still
doesn't trigger Write, next iteration switches to parsing the action's
execution_file output and writing the payload ourselves.1 parent ae4f5bb commit 53d431e
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
152 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
153 | 161 | | |
154 | 162 | | |
155 | 163 | | |
| |||
0 commit comments