[AAP-71569] Prefill workflow node prompts from the job template #3620
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 346 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.350
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #3620"
general
weight: 0.35
keithjgrant
Summary
0, an empty limit, or forks0when prompt-on-launch was enabled after the node was added, and finishing the editor can save that wrong override.0, and an in-session edit still win over the template default.Type of Change
3 Fields in a JT node with POL added after the node was added to a Workflow ob template:
Before:
<img width="1920" height="1012" alt="Screenshot From 2026-09-25 11-27-27" src="https://github.com/user-attachments/assets/48e486d7-b76d-4174-b835-d203d11a82b2" />
After:
<img width="1920" height="1012" alt="Screenshot From 2026-09-25 11-27-37" src="https://github.com/user-attachments/assets/09c29a84-36ca-43fc-a786-27cc7a24dd98" />
Risk Analysis - REQUIRED
Testing
Ephemeral E2E Tests
Once PR is ready and preliminary checks pass, trigger tests by posting a comment
/run-playwrighton this PR.Manual Testing
1. Create a job template with timeout
3000, a limit, and forks, and leave prompt-on-launch off for those fields.2. Add that job template as a node in a workflow job template and save.
3. Edit the job template and enable prompt-on-launch for timeout, limit, and forks. Save.
4. Edit the same workflow node. The prompt step should show
3000, the job template limit, and the job template forks.5. Finish the wizard and save the workflow. Reopen the node and confirm those values were kept, not reset to
0or blank.6. Confirm a node that already has an explicit timeout of
0still shows0.Unit Tests
useGetInitialValues.test.ts— null node prompts inherit launch defaults; explicit node overrides and in-session edits still win.Made with Cursor