fix: bind only required wrapper inputs

This commit is contained in:
lda
2026-06-29 10:24:33 +07:00 Verified
parent 0425c697f3
commit 65ae699b42
11 changed files with 148 additions and 18 deletions
@@ -62,6 +62,14 @@ Top-level workflow output uses `path` / `target`, not step-level
4. Validate workspace.
5. Save artifact or wrapper from workspace.
Capability-backed creation auto-binds required capability inputs only. Optional
inputs remain declared by the capability but are omitted from the initial step
input map. Add one deliberately when the workflow should expose it:
```bash
wf draft bind report_ws --revision 2 --step call --from input.path --to local.path
```
If a patch returns `revision_conflict`, fetch the workspace again and retry
against the latest revision.