Skip to content

Free public course · 7/40

Chapter 7: The Six-Step Workflow: The Core Process of AI-Assisted Coding

Lesson objectives

Required artifact: six-step milestone record

  1. O1 · Can trace the forward and feedback paths among decompose and instruct, code and validate and branch and update (artifact: six-step milestone record)

    Evidence: The six-step milestone record draws both a forward path and a return path across decompose and instruct, code and validate and branch and update

  2. O2 · Can construct a six-step milestone record with the input, decision and write-back evidence for every pass (artifact: six-step milestone record)

    Evidence: Every stage in the six-step milestone record states its input, decision, output and owner

  3. O3 · Can use the six-step method to reach a traceable milestone rather than optimize commit count (artifact: six-step milestone record)

    Evidence: The artifact retains all six steps and at least one version point tied to acceptance evidence

Before this lesson: Chapter 29: The Outer Knowledge Loop

Novice path

Chapter transfer task: Can use the six-step method to reach a traceable milestone rather than optimize commit count. Use the diagram's loop relationship to complete the first evidence item in the six-step milestone record, then check each owner and decision rule.

Experienced path

Apply this task to a current project before reading the explanation: Can use the six-step method to reach a traceable milestone rather than optimize commit count. Submit the six-step milestone record, then check the relationship type, missing evidence and authority boundary.

Chapter 7 teaching diagram for the six-step milestone record
Inspect both directions of the six-step milestone record and confirm that observed results change the next pass.
Diagram text description

The diagram moves forward from decompose and instruct through code and validate to branch and update, then returns by a dashed path. Forward arrows produce a result; the return path carries observation and correction. If results do not alter the next input, this is a one-way flow rather than a loop.

Relationship semantics: Three stages produce a result along the forward path, then observations return to change the next input; without write-back there is no loop.

Adapted public course. Concepts, procedures and examples are adapted from the internal textbook. Case sizes, timings, improvement figures and target thresholds are illustrative, not site delivery results or universal standards. Verify tools, platforms and skills in your environment. Prompts do not grant permissions and retry counts do not authorize recovery. Preserve work and verify targets, sharing and external-state effects first.

Lesson explanation

7.1 Why You Need a Process

Imagine you just installed an AI coding tool and want to try it out. You type: “Build me a notepad app.”

AI starts generating code. Files are created one by one, code is output line by line. It looks impressive — the interface is attractive, and the features seem complete.

But when you look closely, you find problems: the data is stored in the browser’s localStorage, but you wanted it on a server; the tech stack isn’t what your team uses; some code looks complex, but you only need simple functionality.

This is what happens without a process. AI is powerful, but if you don’t align on goals, it may build something entirely different from what you need.

Why? A model cannot access project facts that you have not supplied or authorized tools to read. If the team’s stack, data location and scale target are absent from context, it must fill the gaps. The result may run, but there is no evidence that it satisfies the real constraints.

A good process ensures AI always works in the right direction. It doesn’t limit AI’s capabilities — it channels them in the right direction.

From the “mental leap” in Part Two to here, the methodology starts to take shape. The Six-Step Workflow is the core track for guiding AI.

Sources and boundaries

Registered sources support only the external claims used here. The six-step milestone record, example numbers and exercise scenario are internal instructional design and require project-specific validation.

  • Git reference

    Git project · 2026-09-17 · Versions, branches, commits and recovery operations must be verified against repository state.

Record lesson practice

When you are signed in, your ticks are saved to your account. When you are not, they last only while this page is open. A self-check is not a review or certification, so keep your own evidence and note any gaps.

Save my practice

You can read the exercises without signing in. With an account, your practice text, plain-text attachments and the self-assessment for each submission can be saved to it. Unsaved input is lost when you leave the page or switch accounts.

Go to the learning hub for more free practice →