Repository navigation
Conversation
Adds an AI category to the workflow builder, gated on the workflows-llm-action flag, with a Generate text node whose panel renders the prompt, output-field rows that derive output_variable mappings (result_path fields.<key>), and a six-model picker pinned to the backend list. Output-field rows regenerate their own mappings on every change while hand-added rows survive; owned rows show as 'Set by this step' in the Output variables accordion. The node defaults to on_error abort so a billed but failed generation never continues into a send with empty variables. Run preview replaces Pick from response on this template: it runs the real prompt against the real model, keeps output_variable in the dispatch, and renders the generated text, extracted fields, and resulting variable values, with a preview-level notice when the 25-second deadline passes. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011XmQejLq5BhgHigZJUK97C
Silthus
force-pushed
the
feat/workflows-llm-action-frontend
branch
from
August 13, 2026 05:52
5da4f63 to
3a6dbd9
Compare
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The runtime from the layers below is unreachable: no builder surface offers the Generate text node, so an author cannot configure a prompt, declare output fields, or see what a run would produce.
Layer 3 of the Generate text stack. It ships the builder panel.
Changes
workflows-llm-actionflag, with one node: Generate text.output_variablemapping withresult_path: fields.<key>. Field edits regenerate only the rows they own; hand-added rows, includingresult_path: textfor the raw generation, survive. One exported predicate decides ownership for both the regeneration and the "Set by this step" tag, so the tag and the delete rule cannot disagree.output_variablein the dispatch, and renders generated text, extracted fields, and resulting variable values. Preview expiry after 25 seconds renders as a notice, not a node failure.on_error: abort, carried through node creation, so a billed but failed generation never continues into a send with empty variables.No screenshot: the panel needs a loaded workflow plus a seeded
template-workflow-llm, whichsync_hog_function_templatesdoes not provide in this environment, and no Storybook story covers the workflow editor panel. The panel is not rendered anywhere until the flag is on; reviewing it live behind the flag is the verification this PR could not do itself.How did you test this code?
on_error: abort.mock_async_functions: falsedispatch, stale-preview drop after switching nodes, the double-submit guard, and the deadline-versus-skip notice.on_errorcarry-through is driven through the real drop path, not asserted on the registry entry.Automatic notifications
Docs update
Docs, skills, and MCP updates ship in the next layer of this stack.
🤖 Agent context
Autonomy: Human-driven (agent-assisted)
Same orchestration: Opus 5 TDD implementation, three Fable 5 review lenses (12 findings, one blocker: a listener that wrote
output_fieldsto the workflow and immediately reverted it through a second persist path), Opus fix pass, Fable confirmation. Skills invoked: /tdd, /implement, /writing-tests, /writing-user-facing-copy, /adopting-generated-api-types (review lens), /writing-pr-descriptions, /stacking-prs. Session decisions: all business logic lives in a kea logic per repo rule; preview-expiry detection matches the runtime's exact strings rather than a structural guess after a reviewer showed the structural rule mislabeled filter-skipped previews.