delete draft workspace!

This commit is contained in:
lda
2026-05-19 05:58:50 +07:00 Verified
parent 8921fffc55
commit 4fac6d06d2
10 changed files with 102 additions and 0 deletions
+2
View File
@@ -511,6 +511,8 @@ Concrete MCP sequence:
7. `wf.workflow.create_artifact_from_workspace` after validation is clean.
8. `wf.workflow.save_deployment`, then `validate_deployment`, then
`run_deployment`.
9. `wf.workflow.delete_draft_workspace` when the mutable authoring session is no
longer needed.
`create_artifact_from_workspace` also uses a `request` object:
+1
View File
@@ -353,6 +353,7 @@ resending the full draft each turn.
| Fetch current draft workspace | `wf.workflow.get_draft_workspace` |
| Patch current draft workspace | `wf.workflow.patch_draft_workspace` |
| Save final workspace as artifact | `wf.workflow.create_artifact_from_workspace` |
| Clean up a draft workspace | `wf.workflow.delete_draft_workspace` |
Workspace patches are optimistic-concurrency guarded. Pass the current
`revision` from `get_draft_workspace`; a stale revision returns