schema_version: 1
workflow_id: example_daily_ops
vars:
  run_date: "{{ yesterday_utc }}"
steps:
  - id: preflight
    command: |
      printf 'Daily ops preflight for {{ run_date }} in {{ repo_root }}\n'
  - id: operator_check
    command:
      - yy
      - pi
      - |
        Review the daily workflow context for {{ run_date }}.
        Preflight output: {{ steps.preflight.response }}
        Return one concise operator note.
    fail_workflow: false
  - id: archive_note
    capture_session: false
    command: |
      printf 'operator_session={{ steps.operator_check.session_id }}\n'
summary: |
  # Daily ops summary
  Run date: {{ run_date }}
  Preflight: {{ steps.preflight.status }}
  Operator session: {{ steps.operator_check.session_id }}
