Scenes and engine configuration
The most common causes of a failed first task are covered here: the scene must be applied, and nodes must have engines bound.
A scene determines which Agents work in sequence, which Skill each one uses, and which engines receive the tasks. Ninety percent of first-task failures are caused by the scene not being applied. This page explains the configuration. For where templates live and which official scenes are available, see Scene Center.
When to use this page
- Before running the pipeline for the first time after creating a repository
- After adding a Worker and needing to distribute the new engine
- After changing a Skill or engine but seeing no change in task behavior
- When
engine_unavailableis returned
Prerequisites
- The repository is connected. A scene must be applied to a specific repository, and binding requires a repository. The target repository is visible in the repository list.
- At least one engine is registered and its health check is not
skip. The drop-down lists only registered engine instances whose health check is notskip; check Observability → Devices and engines and confirm that health checks are not "skipped".
Procedure
Step 1: Open Scene Center and select a scene
After selecting a repository, click Scene Center in the left navigation and select a scene from the drop-down. The default scene default already includes the full VOD → Issue → Coding → QA → SRE pipeline.
✓ Expected result: Five nodes are visible, and each node has an Engine configuration row.
Step 2: Select an engine for each node
| Agent node | Engine to select | Why |
|---|---|---|
| VOD | hermes |
Requirement analysis uses ACP |
| Issue | opencode |
Task breakdown |
| Coding | opencode |
Code implementation |
| QA | opencode |
PR review |
| SRE | hermes |
Cloud resources and deployment |
Only registered engine instances whose health check is not skip are available in the drop-down.
Step 3: Save, then Apply
⚠️ Note
Saving is not the same as taking effect. You must click Apply to bind the scene to the current repository; otherwise webhook events are still dispatched with the old configuration.
✓ Expected result: The scene status on the repository home page shows Applied.
Step 4: Verify
Create an Issue and check whether the pipeline nodes enter In progress / Running. If engine_unavailable is returned, at least one node is not bound to an online engine.
SRE Skill: use the Grape Skill development workflow
The SRE Agent does not automatically know how your project is built, started, or deployed. It executes the project's own SRE Skill bound to the SRE node.
Do not treat manually writing SKILL.md, creating a ZIP, or uploading a Skill as the primary path. Recommended approach:
- In Scene Center, find Grape Skill development workflow.
- Apply it to the current repository.
- Create a Skill requirement Issue that describes the environment, build, startup, health check, rollback, and prohibited operations.
- The workflow generates a repository-level SRE Skill.
- Return to Project scenes, confirm that the SRE node uses it, save, and apply.
For complete steps, see Step 3: Customize an SRE Skill.
Key fields
| Field | Default | Description | Consequence of an error |
|---|---|---|---|
skill |
Per-node default | Skill used by the node | A missing name means the Skill cannot be found |
mode |
emit |
Node output mode | A mismatch with the downstream next breaks the chain |
next |
Per chain | Downstream node | An incorrect value leaves the task stuck without progress |
engine_runtime_ids |
Empty (broadcast to all) | Hard dispatch constraint; if an engine in the list is offline, the task fails explicitly and does not fall back | An offline engine in the list makes the task permanently undispatchable |
A node Skill can be switched directly from the project Scene (PATCH /api/scenes/{scene_id}/nodes/{node_id}/skill). As with any other edit, it only takes effect after saving and applying the Scene; changing it without applying keeps dispatching on the old configuration.
What happens when it is configured incorrectly
| Symptom | Cause | Action |
|---|---|---|
engine_unavailable |
Apply was not clicked / the node has no engine / all engines are offline | Return to Step 3; also check the health-check column in Observability → Devices and engines |
| A new Worker is added but tasks still run on the old machine | The new engine was not assigned to a node | Return to Scene Center, reassign it, and apply the scene |
| Different repositories behave differently | Each repository can apply a different scene | Confirm each repository individually (a development repository can use default, while an operations repository can use an SRE scene) |
| A task is stuck at a node | next points to a node that does not exist |
Check the node ID and next |