Skip to content

refactor(workflow): delete dead step-input resolution surface (A13 residue) - #520

Merged
ScriptedAlchemy merged 3 commits into
codex/tracedecay-total-redesign-planfrom
cursor/delete-dead-workflow-step-input-surface-8712
Aug 19, 2026
Merged

refactor(workflow): delete dead step-input resolution surface (A13 residue)#520
ScriptedAlchemy merged 3 commits into
codex/tracedecay-total-redesign-planfrom
cursor/delete-dead-workflow-step-input-surface-8712

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

Summary

Closes out audit item A13. The WorkflowStepExecutionService / execute_ready_step parallel executor was already deleted on this base branch (514937401, "refactor(workflow): delete unmounted step executor"), and production workflow step execution is mounted through the Work fan-out path (workflow_run_control.rsreconcile_workflow_fan_out, readiness from WorkflowTopology::ready_steps). No second workflow runtime is needed or added.

What remained was the executor's dead-public query surface in tracedecay-domain, whose only caller was one domain contract test:

  • WorkflowRunProjection::ready_steps() — production readiness comes from the runtime-core topology snapshot, never this projection query.
  • WorkflowRunProjection::resolved_inputs() / resolve_input() and the WorkflowStepInput type — production fan-out records WorkflowStepOutput / WorkflowOutputArtifact and passes fan-out inputs from the start request; nothing resolves declared inputs through the projection. WorkflowStepInput is not in the generated dashboard schema or the TypeScript SDK.
  • WorkflowRunStateError::InputsUnavailable — only producible by the deleted resolve_input.

This PR deletes all of it and rewrites the one test (run_projection_releases_a_dependent_with_the_exact_predecessor_artifact) to assert the same dependent-release behavior through the surviving surface: step statuses (BlockedReady) and the predecessor's recorded canonical outputs.

No version bump. No wire contract changes (verified: WorkflowStepInput absent from dashboard/codegen/schemas/dashboard-contracts.schema.json, dashboard/src/contracts/generated.ts, and sdks/typescript).

Verification

  • cargo test -p tracedecay-domain --test workflow_definition_contract — 21 passed, 0 failed.
  • cargo check --workspace --all-features --all-targets — clean.
Open in Web Open in Cursor 

The A13 step executor was already deleted (5149374); its projection
query surface survived with only a domain test caller. Production
execution flows through Work fan-out, which records WorkflowStepOutput
and never resolves WorkflowStepInput. Remove ready_steps,
resolved_inputs, resolve_input, WorkflowStepInput, and the now
unproducible InputsUnavailable state; re-assert dependent release via
step statuses and recorded outputs.

Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
@ScriptedAlchemy
ScriptedAlchemy marked this pull request as ready for review August 19, 2026 16:27
@changeset-bot

changeset-bot Bot commented Aug 19, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 224b8d8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

cursoragent and others added 2 commits August 19, 2026 16:46
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
@ScriptedAlchemy
ScriptedAlchemy merged commit cf4cacd into codex/tracedecay-total-redesign-plan Aug 19, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants