DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to design a custom workflow with fail and rollback paths with Grasp

Edit the FSM canvas to add nodes, guards, and fail or rollback edges.

Short answer: Open the workflow canvas after the setup wizard finishes; then add agent, input, output, assign, branch, or human gate nodes as needed; connect nodes with success, fail, and rollback edges and add when guards where needed. All steps.

Who it is forA developer or team lead who wants a repeatable delivery pipeline that retries or rolls back when a step fails.

The problemA fixed linear agent pipeline cannot route failed tests or rejected reviews back to the right step.

The outcomeA published workflow where each node has explicit success, fail, and rollback edges, with when guards controlling transitions.

What you need first

  • A Linux host with Git, Docker, and Docker Compose installed
  • An API key for at least one supported agent backend, or a ~/.codex/auth.json login for codex
  • Optional Git credentials if agents should push branches or open PRs or MRs

Steps

  1. Open the workflow canvas after the setup wizard finishes
  2. Add agent, input, output, assign, branch, or human gate nodes as needed
  3. Connect nodes with success, fail, and rollback edges and add when guards where needed
  4. Declare the required artifacts for each node so the engine knows what must be submitted
  5. Publish the workflow and start a run from the home page to confirm the path

Prompt for your agent

Using the Grasp repo (cocofhu/grasp), create a workflow in <Grasp workspace> on the FSM canvas that adds a rollback edge from the test node to the implement node. Verify the rollback edge is saved and report the node list and edge list.

Caveat. The README does not document the exact steps for declaring required artifacts on a node, so check the Concepts guide before relying on that step.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for cocofhu/grasp and "Design a custom workflow with fail and rollback paths"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer