Repository navigation
Commit 42d7a9a
committed
fix(runtime): the clone door's notice names the clone's own off-switch, its status
The notice every successful clone answers told the admin to switch the
clone off through the activation toggle. A clone carries no package
envelope, so the toggle, which switches packaged flows only, refuses it:
the notice prescribed a step the platform refuses. It now names the
clone's own switch, status 'obsolete' through PUT
/api/v1/automation/NAME with the complete definition, and says the toggle
is for packaged flows such as the one the clone was copied from.
Measured at the dispatcher seam with the real engine: the clone door
answered 200 with the old notice, the clone carried no _packageId, and
the toggle it named answered RESOURCE_CONFLICT / 409 for it.
Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XY5uCwTjZj7884yYtyur4H1 parent ebf3875 commit 42d7a9a
2 files changed
Lines changed: 18 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
150 | 157 | | |
151 | 158 | | |
152 | 159 | | |
153 | 160 | | |
154 | 161 | | |
155 | 162 | | |
156 | | - | |
157 | | - | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
158 | 167 | | |
159 | 168 | | |
160 | 169 | | |
| |||
0 commit comments