AGENT SKILL

mawf-graph

Plan and inspect graph workflows with review gates, branching, checkpoints, and persistent execution state.

License 许可
MIT
最近更新
2026-11-09
Stars
★ 1
Forks
0

01 前言 Front Matter

name
mawf-graph
description
Plan and inspect graph workflows with review gates, branching, checkpoints, and persistent execution state.

03 SKILL.md 正文

MAW Graph Workflow (skill)

Use when you need predictable, inspectable control: HITL approval, persistence/checkpoints, branching, or high-risk work.

MAW models the workflow as nodes + edges (fixed or conditional). Structure is declarative; the path through it can be fully dynamic via conditional edges; loop nodes may self-reference.

What the graph gives you

  • Topological batches: groups of nodes that can run in parallel, with review/gate nodes forcing batch boundaries.
  • Validation: every edge endpoint exists; no unexpected cycles (only loop nodes may self-reference); every node reachable.
  • Persistence: .mawf/runtime/ holds concurrency + cost state so runs can resume.
  • Human-in-the-loop: review gates interrupt execution for approval before the next batch.

Inspect the graph

mawf graph --project .    # nodes/edges + batch count

Read .mawf/graph.json for the full structure. Edit .mawf/workflow.json to add nodes/edges and re-run mawf plan.

Predictability vs agency

As a system becomes more agentic it becomes less predictable. MAW lets you sit anywhere on this curve: the planner picks graph when predictability/HITL/persistence matter; dynamic/multi-agent when flexibility matters. You can layer them.

04 同仓库更多 Skills