Skip to content

Proposal: publish an sdd-with-anchors Responsible Vibe MCP workflow #466

Description

@rdmueller

Context

The Semantic Anchors site already endorses Responsible Vibe MCP as a tool that "enforces agentic workflows with phase gates and review checkpoints" (source). The 5-phase / 12-step workflow itself, though, lives only in human-readable prose. The agent re-derives the phase model from AGENTS.md and the website every session.

This issue proposes publishing a Responsible Vibe MCP workflow file (sdd-with-anchors) that encodes the workflow as a formal state machine. Any RVMCP-capable agent could then call whats_next() and proceed_to_phase() and receive deterministic step guidance — without burning context window on re-deriving the phase structure each time.

Why this fits the framework's own logic

Eichhorst's Principle frames the LLM as a noisy channel and prescribes closed-loop error correction. The current workflow does this for content (compiler, tests, reviews) but not for workflow state. When the agent compacts mid-session, the phase position is part of what gets lost. A workflow file moves phase state out of the channel and into a server — exactly the redundancy Shannon's theorem recommends for noisy channels.

Phrased in the framework's own slogan style: better state beats better prompts is the same principle as better tests beat better prompts, applied to workflow position instead of code correctness.

Deliverable sketch

A workflow file (location TBD — see open questions) that encodes:

  • Phase 0 (Brownfield, optional): Scope Bounded Context (DDD)
  • Phase 0.5 (Brownfield, optional): Socratic Code Theory Recovery, three sub-phases — Question Tree → Team Q&A → Synthesis
  • Phase 1: Requirements Discovery (Steps 1, 2, 3, 4a, 4b, 4c, 4d)
  • Phase 2: Architecture (Steps 5, 6)
  • Phase 3: Implementation Planning (Step 7)
  • Phase 4: Implementation Loop (Step 8, with TDD sub-loop)
  • Phase 5: Quality Assurance (Steps 9, 10, 11, 12)

Each step reuses the verbatim prompts from the existing 13-row Prompt Cheat Sheet (greenfield) and 7-row Cheat Sheet (brownfield). Each phase declares an exit criterion (artifact presence) so transitions are verifiable rather than aspirational.

Illustrative shape (final schema aligned to RVMCP's existing workflows):

name: sdd-with-anchors
description: |
  Spec-driven development workflow following the Semantic Anchors
  methodology (5 phases / 12 steps). Greenfield by default;
  Phase 0 and 0.5 enable brownfield onboarding via
  Socratic Code Theory Recovery.
phases:
  - id: phase-1-requirements-discovery
    steps:
      - id: step-2-socratic
        instructions: |
          Use the Socratic Method combined with MECE to clarify
          requirements. Max 3 questions at a time. Challenge
          assumptions.
        anchors: [socratic-method, mece]
        exit_criteria:
          - artifact: src/docs/specs/clarified-requirements.adoc
      # ...
  - id: phase-2-architecture
    steps:
      - id: step-5-arc42
        instructions: |
          Fill the arc42 template in src/docs/arc42/ based on the
          specification. Use PlantUML C4 diagrams. For each
          architecture decision: ADR nach Nygard with Pugh Matrix
          (-1, 0, +1). Create a GitHub issue first.
        anchors: [arc42, c4-diagrams, adr-nygard, pugh-matrix]

Acceptance criteria

  • Workflow file is installable via npx responsible-vibe-mcp setup or equivalent
  • All 12 numbered steps and the four sub-steps of Step 4 are represented
  • Brownfield Phase 0 and 0.5 are available either as a separate workflow or via a config flag
  • Each phase's instruction text reuses anchor names from the catalogue verbatim
  • Each phase has at least one verifiable exit criterion (artifact, marker file, or content predicate)
  • An end-to-end smoke test exists that runs through all 12 steps on one of the existing OSS example projects (dacli is the obvious candidate)

Non-goals

  • Not changing the methodology. The 5 phases and 12 steps stay as published.
  • Not replacing the Prompt Cheat Sheets. They remain the human-readable reference; the workflow file is the machine-readable equivalent.
  • Not requiring website prose changes (except one tooling-section link once the workflow exists).

Open questions

  1. Repo placementLLM-Coding/Semantic-Anchors, mrsimpson/responsible-vibe-mcp, or a new LLM-Coding/sdd-with-anchors repo? Trade-off between discoverability and ownership.
  2. Anchor references — embed anchor descriptions inline (self-contained) or reference by URL (shorter, requires the catalogue to be online)?
  3. Brownfield variant — separate workflow sdd-with-anchors-brownfield, or a brownfield: true flag on the same workflow?
  4. Smoke-test corpus — which of the four OSS examples (dacli, Bausteinsicht, Vibe Coding Risk Radar, Semantic Anchors site) is the right reference?

References


Happy to take a first cut at the YAML once the four open questions above have a direction. Comments welcome before any implementation work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions