Skip to content

kernel_workflow.js silently fails to start via the Claude Code Workflow tool (no transcript, no run dir) #300

Description

@rodosingh

Trying to run the single-kernel workflow via the dynamic Workflow tool (the way the README describes), and it never starts.

Launching kernel_workflow/kernel_workflow.js returns a task id, but then nothing happens — no transcript dir, no run dir under exp_root, no error surfaced. The task just quietly disappears.

What makes me think it's this script specifically:

  • On the same box/session, PerfSkills v0.6's team_workflow.js (the predecessor, basically the same engine) runs fine, and trivial inline workflows run fine — so the runtime itself is healthy.
  • A quick bisect (running just the top ~347 lines with a trivial body) also produced no transcript, so it looks like a top-level load/parse thing — but I couldn't pin the exact line (no node/JS engine on the box to lint it).

Repro:

Workflow({
  scriptPath: "<repo>/kernel_workflow/kernel_workflow.js",
  args: {
    kernel_path: "<op task dir>",
    workflow_dir: "<repo>/kernel_workflow",
    exp_root: "<out>/runs",
    gpu_ids: "0,1,2,3",
    task: "optimize the kernel (kernel-level)"
  }
})

Tried both scriptPath on a network mount and a local copy — same result. Inline trivial workflows and PerfSkills team_workflow.js work, so it's not the mount or the launcher.

Env: AMD MI300X, ROCm 7.2, Claude Code dynamic Workflow feature. GEAK_v4 @ 0a3ca8a.

A diff of kernel_workflow.js against PerfSkills team_workflow.js is probably the fastest way to spot the regression. Happy to test a patch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions