00
In productionintermediateAI code review

The AI's node exits immediately

Make the generated node stay alive on the graph.

Pairs with Prompting an LLM for correct ROS 2 in Use AI efficiently with ROS 2. Read the concept first, then diagnose it here.

Open repair workspace

Operator report

The node runs and returns instantly; it never appears in `ros2 node list`.

Ubuntu 24.04, ROS 2 Jazzy, rclpy/rclcpp, an LLM coding assistant + MCP

01

System boundary

Trace only the relevant path.

3 nodes
  1. 01LLM main()
  2. 02rclpy.spin
  3. 03live nodeOUT
02

How this lab works

You diagnose it. No command list.

Open the repair workspace and gather your own evidence in a real terminal. No diagnostic commands are handed to you - finding the fault is the exercise. Stuck? Progressive hints unlock inside the workspace.

03

Verification

Pass more than the visible symptom.

4 checks
  • Node stays alive
  • Node appears in the graph
  • Hidden regression behavior
  • Root cause explanation