Skip to content

Reading

Appearance

Text size

Bookmarks

    No bookmarks yet. Use “Bookmark chapter” or “Bookmark this section” while reading.

    Your data

    Saved only in this browser on this device. It is not synced to other devices or sent anywhere.

    Chapter 17 of 22 · about 1 min

    17. Step 9: converge

    What it is

    It's the final audit. It compares the actual code with the spec, plan and tasks, and asks: did we really build everything we planned?

    How to run it

    /speckit-converge

    Run it only after implement has worked through the current tasks.md.

    Two possible outcomes

    1. "Converged — the implementation satisfies the spec, plan, and tasks." tasks.md is left unchanged and you're done.
    2. "Tasks appended." Something is missing or incomplete. Converge doesn't touch your code. Instead it appends new tasks under a Convergence section at the bottom of tasks.md.
    Learning aidThe final audit: two outcomes
    1. /speckit-convergeafter implement has worked through tasks.md
    2. actual code ↔ spec · plan · tasks“did we really build everything we planned?”

    Converged

    "Converged — the implementation satisfies the spec, plan, and tasks." tasks.md is left unchanged.

    Tasks appended

    Something is missing or incomplete. New tasks go under a Convergence section at the bottom of tasks.md; the code is not touched.

    ## Convergence
    - [ ] T041 (illustrative) …

    ↻ Then implement again, and converge again.

    Even after "Converged": run tests, test by hand, review. If the documents were wrong, the code is "correctly wrong".

    See all three feedback loops in chapter 18 →
    Choose an outcome to follow its path. converge compares the code with the documents and never edits code; its only write is appending tasks to tasks.md. The tasks.md excerpt is illustrative. The wider loops are drawn in chapter 18.

    Then the loop

    implement → converge → (tasks appended?) → implement → converge → ... → Converged ✅

    Even after "Converged"

    Still run tests, do manual testing and review. Converge checks against your documents, so if the documents were wrong, the code will be "correctly wrong."

    Optional reviewCheck yourself
    1. converge finds a missing requirement. What does it change?
    2. The result is "Converged". Can the code still be wrong?