Skip to content

fix(dag): harden workflow spec handoffs - #140

Merged
LeXwDeX merged 1 commit into
devfrom
fix/workflow-file-input
Jul 30, 2026
Merged

fix(dag): harden workflow spec handoffs#140
LeXwDeX merged 1 commit into
devfrom
fix/workflow-file-input

Conversation

@LeXwDeX

@LeXwDeX LeXwDeX commented Jul 30, 2026

Copy link
Copy Markdown
Owner

Summary

  • move start, extend, and replan graph payloads from nested tool arguments into reusable YAML spec files
  • derive protocol version, admission state, and brief fingerprint at the workflow boundary
  • render structured template inputs as indented JSON instead of [object Object]
  • update orchestration guidance and regression coverage

Root cause

Weak-model accuracy triggered malformed nested arguments, but the structural cause was a shallow capability exposed through a large writable schema. The second retry could also submit a server-owned CONSUMED state. Separately, template interpolation used JavaScript string coercion for structured values.

Verification

  • packages/opencode: bun test test/dag --timeout 30000 — 263 pass
  • packages/opencode: bun typecheck
  • packages/core: bun typecheck
  • packages/core: bun test test/plugin/command.test.ts --timeout 30000 — 16 pass

No HTTP API shape changed, so SDK regeneration is not required.

@LeXwDeX
LeXwDeX merged commit 7cbcd07 into dev Jul 30, 2026
4 checks passed
@LeXwDeX
LeXwDeX deleted the fix/workflow-file-input branch July 30, 2026 03:13
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.

1 participant