Skip to main content
IntermediateOptional IntegrationsEst. Time: 15-25 min

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

Prerequisites Checklist:
  • Running Zettly instance (self-hosted or cloud)
  • Zettly API access token
Tool / CommandTypeRole in Tutorial
devwf zettly connectcliConnect per-user Zettly credentials securely
sync_zettly_taskmcpSynchronize active task and DoD checklist to Zettly Todo
create_feature_flowmcpSync visual flowchart to Zettly Draw canvas

Example Task Contract

Exact start_task payload representing this workflow in DevWorkflow local-first governance.

AI Tool Call: start_task payload
{
  "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.

1

Connect Zettly Account Securely

Supply your API token via hidden stdin. Raw tokens are never logged or stored in shell history.

Copyable Command
Terminal Command
printf '%s' "$ZETTLY_API_TOKEN" | devwf zettly connect --url https://zettly.example.com --token-stdin
Expected Terminal Output
[zettly] Account connected: mahar (ID: 1)
[zettly] Workspace URL: https://zettly.example.com
Connection verified successfully.
2

Verify Sync & Focus Binding

Tasks started under active focuses automatically link to canonical Zettly Todos and Draw canvases.

Copyable Command
Terminal Command
devwf zettly doctor --json
Expected Terminal Output
{"status": "healthy", "user": "mahar", "activeFocuses": 4}
3

Inspect Visual Canvas in Zettly Draw

Feature flows created via create_feature_flow sync directly to https://zettly.example.com/draw/{id}.

Code / Tool Payload
Execution Payload
// AI Tool Call: create_feature_flow
// Canvas URL generated: https://zettly.example.com/draw/742

Verification Steps

Verify that your work genuinely satisfies the task contract before closing.

Open your Zettly dashboard to verify linked Todo #1086 is committed in Today
Open Zettly Draw URL to verify visual flowchart nodes

Limitations & Troubleshooting

Issue: Zettly token expired or revoked
Resolution: Run `printf '%s' '$NEW_TOKEN' | devwf zettly switch --url <url> --token-stdin --confirm` to update credentials without losing local history.