Skip to content

Workflow Philosophy

Workflow MCP is built on a simple premise: AI-assisted development is more effective with structure.

When working with AI assistants on complex tasks, several challenges emerge:

  1. Context loss - Important decisions are forgotten across conversations
  2. Scope creep - Tasks expand without clear boundaries
  3. Inconsistency - Different approaches in different sessions
  4. Lack of traceability - No record of what was tried and why

Workflow MCP introduces a methodology that addresses these challenges:

Each workflow command represents a distinct phase with its own purpose:

PhasePurposeArtifacts
ResearchGather information, explore optionsFindings, requirements
PlanDesign implementation approachDecisions, task breakdown
ImplementWrite code, execute planTask completions, issues
ReviewVerify against requirementsGaps, recommendations
DebugDiagnose and fix problemsFaults, investigations, fixes

Every significant event is logged with:

  • Entry-ID: Unique identifier for cross-referencing
  • Timestamp: When it occurred
  • Type: Category of entry (finding, decision, task, etc.)
  • Context: Relevant details and evidence

When transitioning between phases, a handoff message summarizes:

  • What was accomplished
  • Key findings or decisions
  • Recommended next steps
  • Any blockers or open issues

Not all tasks need the same level of rigidity. DPS levels let you control flexibility:

LevelNameBehavior
0OffStop on any deviation, pure role adherence
1MinimalAsk clarifying questions, minor adjustments
2LightCan make small fixes within scope
3ModerateCan propose alternatives when issues arise
4SignificantCan redesign components if needed
5FullMaximum flexibility, exploratory mode
  • Research: 4 (exploratory by nature)
  • Plan: 1 (should follow research closely)
  • Implement: 1 (should follow plan strictly)
  • Review: 3 (can propose fixes for gaps)
  • Debug: 4 (root cause analysis needs flexibility)
  • Archive: 0 (mechanical process)

Even for “obvious” tasks, a quick research phase:

  • Identifies constraints you might miss
  • Documents decisions for future reference
  • Creates a foundation for the plan

One topic per session. If scope expands:

  1. Log a finding noting the expansion
  2. Consider splitting into multiple topics
  3. Complete current scope before expanding

If Claude makes a decision, it should be logged. Future-you will thank present-you.

When logging findings, include file:line references:

mcp__workflow__log_entry({
tag: "finding",
fields: {
title: "Auth middleware location",
content: "JWT verification happens here",
evidence: "src/middleware/auth.ts:42-58"
}
})

The review phase catches gaps between research/plan and implementation. Don’t skip it for non-trivial changes.