# P5 eval: iteration. A read-only task completes; the follow-up asks the
# agent to act on what it found (a config_mutation). The second followup
# is the approval ("go ahead") so the plan can execute. Asserts the session
# reopens, a second plan generation is created, and the agent completes
# both sub-tasks.
- name: iteration-followup
  prompt: "Check the live systemd timer on lxc:rclone — when did the last backup to Proton Drive actually run, and when is the next one scheduled? Inspect the actual service state, don't just read the DB."
  followups:
    - "The repos folder failed last time. Reset the failed service and re-run the backup."
    - "go ahead"
  assertions:
    - kind: completes
    - kind: plan_generations
      value: 2
    - kind: proposes_plan
    - kind: writes_back
    - kind: max_run_calls
      value: 40
