Optional Zettly Planning & Task Tracking
Connect DevWorkflow to Zettly for visual architecture canvases, Pareto 80/20 priority ranking, and automated journal logs.
The Problem
Engineering leaders need high-level visibility into AI agent progress, priority queues, and architecture diagrams without interrupting developers.
Who It Is For
Teams using Zettly for project management, personal knowledge bases, and sprint planning.
Prerequisites & Tools
- Running Zettly instance (self-hosted or cloud)
- Zettly API access token
| Tool / Command | Type | Role in Tutorial |
|---|---|---|
| devwf zettly connect | cli | Connect per-user Zettly credentials securely |
| sync_zettly_task | mcp | Synchronize active task and DoD checklist to Zettly Todo |
| create_feature_flow | mcp | Sync visual flowchart to Zettly Draw canvas |
Example Task Contract
Exact start_task payload representing this workflow in DevWorkflow local-first governance.
{
"description": "Connect Zettly workspace and synchronize feature flow with Draw canvas #742",
"type": "feature",
"plan": [
"Connect Zettly API token via devwf zettly connect",
"Start task under focus #186",
"Sync architecture flow to Zettly Draw",
"Complete task and record daily outcome in Zettly Journal"
],
"definitionOfDone": [
"Zettly Todo synchronized with active plan and DoD",
"Zettly Draw canvas updated with valid Mermaid diagram",
"Work outcome recorded in daily activity journal upon completion"
]
}Step-by-Step Tutorial Workflow
Follow these sequential actions with validated copyable commands and expected outputs.
Connect Zettly Account Securely
Supply your API token via hidden stdin. Raw tokens are never logged or stored in shell history.
printf '%s' "$ZETTLY_API_TOKEN" | devwf zettly connect --url https://zettly.example.com --token-stdin[zettly] Account connected: mahar (ID: 1)
[zettly] Workspace URL: https://zettly.example.com
Connection verified successfully.Verify Sync & Focus Binding
Tasks started under active focuses automatically link to canonical Zettly Todos and Draw canvases.
devwf zettly doctor --json{"status": "healthy", "user": "mahar", "activeFocuses": 4}Inspect Visual Canvas in Zettly Draw
Feature flows created via create_feature_flow sync directly to https://zettly.example.com/draw/{id}.
// AI Tool Call: create_feature_flow
// Canvas URL generated: https://zettly.example.com/draw/742Verification Steps
Verify that your work genuinely satisfies the task contract before closing.