mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-02 02:13:49 +00:00
1.2 KiB
1.2 KiB
I'll help you complete this full-stack scenario. Let me break this down:
- Read
/tmp/scenario_full/flag.txt - Create
/tmp/scenario_full/result.txtwith the word "PASS"
Let me execute this step by step.
Step 1: Read the flag file
cat /tmp/scenario_full/flag.txt
Expected output: ready
Step 2: Create the result file
echo "PASS" > /tmp/scenario_full/result.txt
Step 3: Verify the result
cat /tmp/scenario_full/result.txt
Expected output: PASS
Summary
The workflow progresses through these stages:
- setup (command) ✓ — Created the directory and flag file
- read_flag (agent or command) — Read the flag content
- create_result (command) — Write "PASS" to result file
- human_gate (human) — Manual verification step (if needed)
- goal_gate (goal) — Verify the final state matches expectations
The commands above will:
- ✓ Read
/tmp/scenario_full/flag.txt→ outputs "ready" - ✓ Create
/tmp/scenario_full/result.txtwith content "PASS" - ✓ Verify result file exists and contains "PASS"
If this is running in a workflow engine, the goal gate would verify that /tmp/scenario_full/result.txt exists and contains exactly "PASS".