# Simple linear pipeline: A -> B -> C
# Tests basic sequential job execution

rule all:
    input:
        "output/final.txt"

rule step_a:
    output:
        "output/step_a.txt"
    shell:
        """
        echo "Step A output" > {output}
        """

rule step_b:
    input:
        "output/step_a.txt"
    output:
        "output/step_b.txt"
    shell:
        """
        cat {input} > {output}
        echo "Step B processed" >> {output}
        """

rule step_c:
    input:
        "output/step_b.txt"
    output:
        "output/final.txt"
    shell:
        """
        cat {input} > {output}
        echo "Step C - Final output" >> {output}
        """
