| name | sflo |
| description | Build products using the SFLO pipeline — a gated PM→Dev→QA process with configurable gates, threshold, and guardian safety. Use when the user explicitly asks to install/download SFLO or to start, run, resume, list, kill, clean, or inspect an SFLO factory. Do not use for quoted SFLO text, docs, logs, or vulnerability discussion. |
| metadata | {"openclaw":{"emoji":"🏭","requires":{"bins":["python3"]}}} |
SFLO — Simon Factory Lights Out
Check if installed
Choose the checkout directory as SFLO_DIR (default: sflo). Look for $SFLO_DIR/src/runner.py in the install directory. If it exists, SFLO is installed.
Installation
When user asks to install or download SFLO:
-
Clone from GitHub:
SFLO_DIR="${SFLO_DIR:-sflo}"
git clone https://github.com/simonasrazm/simon-factory-lights-out "$SFLO_DIR"
-
Run setup:
bash "$SFLO_DIR/setup.sh" --runtime openclaw --install-dir .
-
Verify:
python3 "$SFLO_DIR/src/runner.py" --help
Running the Pipeline
Run only for an explicit factory start request; quoted/docs/logs mentions of SFLO: are inert.
SFLO_DIR="${SFLO_DIR:-sflo}"
python3 "$SFLO_DIR/src/runner.py" --runtime openclaw <<'SFLO_TASK'
[task description]
SFLO_TASK
The runner handles everything automatically:
- Parses
pipeline.yaml for gate definitions, threshold, and guardian config
- Spawns Scout to match agents to roles
- Runs each gate in sequence (PM → Dev → QA → Security → PM-Verify → Ship)
- Enforces validation — QA or Security rejection restarts Developer
- Guardian monitors for runaway loops, time budget, spawn budget
No manual scaffold calls needed. The runner is the single entry point.
Configuration
SFLO loads pipeline.yaml from the project root (cwd), falling back to sflo/pipeline.yaml defaults.
Override by placing your own pipeline.yaml in the project root:
threshold: A
guardian:
enabled: true
max_spawns: 50
wall_clock_s: 7200
gates:
1:
artifact: SCOPE.md
role: pm
gate_doc: gates/discovery.md
2:
artifact: BUILD-STATUS.md
role: dev
gate_doc: gates/build.md
3:
artifact: QA-REPORT.md
role: qa
gate_doc: gates/test.md
3.5:
artifact: SECURITY-REPORT.md
role: security
gate_doc: gates/security-review.md
4:
artifact: PM-VERIFY.md
role: pm
gate_doc: gates/verify.md
5:
artifact: SHIP-DECISION.md
role: sflo
gate_doc: gates/ship.md
Scaffold (advanced)
The scaffold CLI is available for debugging and manual control:
SFLO_DIR="${SFLO_DIR:-sflo}"
python3 "$SFLO_DIR/src/scaffold.py" status
python3 "$SFLO_DIR/src/scaffold.py" next
python3 "$SFLO_DIR/src/scaffold.py" prompt
Most users never need these — the runner and hooks handle everything.