Later steps can read a workflow.call's outputs #414

Closed
opened 2026-10-27 13:36:14 +00:00 by sam · 0 comments
Owner

Goal

A waited call exposes the callee's outputs as steps..result, checked at save against the callee's declared outputs.

Evidence

checkReference accepts it but runWorkflowCall never sets tc.stepResult (internal/domain/workflow/workflow_call.go, outputs.go:194).

Rules

Read CLAUDE.md. Do only what the Goal and Stop when need. File anything else you notice as a bead; do not fix it. Run task check once at the end; if it fails twice on the same problem, comment on this bead and stop.

Stop when

  • runWorkflowCall sets the step result from callee outputs.
  • Save checks referenced fields exist on the callee.
  • WORKFLOWS.md References table updated.
    Then commit (Conventional Commits, scoped by package), bd close this bead and stop.

Close reason

a waited call sets its step result from the callee's outputs; collection validation refuses undeclared output fields and results of non-waiting calls, in settings and when; WORKFLOWS.md References updated


Imported from beads archie-core-rcxb.6 · GitHub #1305 · type feature · priority P2 · created 2026-10-05 · closed 2026-10-05

## Goal A waited call exposes the callee's outputs as steps.<id>.result, checked at save against the callee's declared outputs. ## Evidence checkReference accepts it but runWorkflowCall never sets tc.stepResult (internal/domain/workflow/workflow_call.go, outputs.go:194). ## Rules Read CLAUDE.md. Do only what the Goal and Stop when need. File anything else you notice as a bead; do not fix it. Run `task check` once at the end; if it fails twice on the same problem, comment on this bead and stop. ## Stop when - [ ] runWorkflowCall sets the step result from callee outputs. - [ ] Save checks referenced fields exist on the callee. - [ ] WORKFLOWS.md References table updated. Then commit (Conventional Commits, scoped by package), `bd close` this bead and stop. ### Close reason a waited call sets its step result from the callee's outputs; collection validation refuses undeclared output fields and results of non-waiting calls, in settings and when; WORKFLOWS.md References updated --- _Imported from beads `archie-core-rcxb.6` · GitHub #1305 · type feature · priority P2 · created 2026-10-05 · closed 2026-10-05_
sam added the mediumfeature labels 2026-10-27 13:36:14 +00:00
sam self-assigned this 2026-10-27 13:36:14 +00:00
sam closed this issue 2026-10-27 13:36:14 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#414