docs: complete workflow contract graph
This commit is contained in:
@@ -103,16 +103,17 @@ Implementation order:
|
||||
[`composite input expressions`](superpowers/specs/2026-08-12-composite-input-expressions-design.md).
|
||||
Implementation:
|
||||
[`composite input expressions plan`](historical/superpowers/plans/2026-08-12-composite-input-expressions.md).
|
||||
- Slice 6: workflow contract graph. Add selectable Input, State, Output, and
|
||||
Outcomes projections with focused forms for workflow contracts, explicit
|
||||
outcomes, entry point, and final workflow output bindings. Add one
|
||||
backend-owned, node-scoped authoring contract inventory so workflow-scoped
|
||||
binding pickers can discover input, state, selected-step, and applicable
|
||||
runtime-context fields without high-level hardcoding or raw JSON hunting.
|
||||
- Slice 6 is complete: workflow contract graph adds selectable Input, State,
|
||||
Output, and Outcomes projections with focused forms for workflow
|
||||
contracts, explicit outcomes, entry point, and final workflow output
|
||||
bindings. One backend-owned, node-scoped authoring contract inventory
|
||||
supplies discoverable input, state, selected-step, and applicable
|
||||
runtime-context choices without high-level hardcoding or raw JSON hunting.
|
||||
The standalone capability playground remains literal-only until it has a
|
||||
real workflow scope.
|
||||
Design:
|
||||
real workflow scope. Design:
|
||||
[`workflow contract graph`](superpowers/specs/2026-08-14-workflow-console-contract-graph-design.md).
|
||||
Implementation:
|
||||
[`workflow contract graph plan`](historical/superpowers/plans/2026-08-14-workflow-console-contract-graph.md).
|
||||
- Slice 7: explicit End authoring and a typed Add step palette. End nodes are
|
||||
real stored steps; Input, State, Output, and Outcomes remain graph
|
||||
projections of workflow-level contracts rather than fake runtime steps.
|
||||
|
||||
@@ -58,6 +58,15 @@ projection and controls live in
|
||||
`web/apps/console/src/workspace/authoring/input-expression-editor.ts` and
|
||||
`InputExpressionControl.tsx`. These editors emit one expression binding for a
|
||||
constructed array or object rather than synthetic indexed targets.
|
||||
`authoring-contract-models.ts` and `authoring-contract-client.ts` carry the
|
||||
revision-scoped, backend-owned inventory used by the graph's derived Input,
|
||||
State, Output, and Outcomes projections. `WorkflowContractInspector.tsx`
|
||||
edits those workflow-level contracts through the existing focused draft
|
||||
mutations; `AuthoringPathPicker.tsx` offers normal grouped choices first and an
|
||||
explicit Advanced custom-path fallback. The inventory may advertise
|
||||
node-scoped runtime context only for a selected step where conservative
|
||||
execution-scope analysis proves it applicable. It does not make context a
|
||||
permanent graph node or expose it as a final workflow-output source.
|
||||
|
||||
## Important Entry Points
|
||||
|
||||
|
||||
Reference in New Issue
Block a user