First Governed Change
In this tutorial you will run a small docs-only change through Slipway. The goal is not the README edit; the goal is to see how Slipway exposes lifecycle state, skill handoffs, evidence, review, and fail-closed recovery.
What You Will Build
Section titled “What You Will Build”You will add one short “Usage” section to a disposable README.
Prerequisites
Section titled “Prerequisites”- A working
slipwaybinary. - Git installed.
- An AI coding tool that can read the generated Slipway skill or command surface, such as Codex, Claude, Cursor, or OpenCode.
If you are working from a Slipway source checkout instead of an installed
binary, replace slipway with go run . from that checkout.
Step 1: Create A Tutorial Repo
Section titled “Step 1: Create A Tutorial Repo”Use a disposable directory:
mkdir slipway-first-changecd slipway-first-changegit initprintf '# Slipway First Change\n\nA tiny repo for trying Slipway.\n' > README.mdgit add README.mdgit commit -m "chore: initial readme"Step 2: Initialize Slipway
Section titled “Step 2: Initialize Slipway”Pick the adapter for your AI tool:
slipway init --tools codexOther examples:
slipway init --tools claudeslipway init --tools opencodeslipway init --tools allCheck the repo state:
git status --shortCommit .slipway.yaml and generated adapters only if your team wants them
tracked. For this tutorial, it is fine to leave the generated files unstaged
until you inspect them.
Step 3: Create A Governed Change
Section titled “Step 3: Create A Governed Change”slipway new "add a small README usage note" --profile docs --preset standardInspect the active change:
slipway status --jsonslipway next --json --diagnosticsRead the JSON as the current authority. It will name the next skill, blocker, or command to run. Do not infer the next stage from memory.
Step 4: Let The AI Author Intake
Section titled “Step 4: Let The AI Author Intake”Paste this into your AI coding tool from the tutorial repo:
Use the active Slipway change. Inspect `slipway next --json --diagnostics`.Complete only the surfaced intake or artifact-authoring handoff. The objectiveis to add one README Usage section later; do not edit README.md during intake.Do not edit change.yaml, lifecycle events, verification records, or runtimeevidence by hand.When the AI reports the handoff is complete, inspect again:
slipway status --jsonslipway next --json --diagnosticsIf Slipway reports a missing artifact, run the command it names. For example:
slipway instructions requirements --jsonThe instructions command gives the authoring contract. The AI must write the real artifact content; copying the placeholder template is intentionally rejected by the gates.
Step 5: Run Planning
Section titled “Step 5: Run Planning”Advance through planning using the CLI surface:
slipway run --json --diagnosticsIf this returns another skill handoff, paste this prompt:
Continue the active Slipway change from the current `slipway next --json`handoff. Author only the required planning artifact. Keep the eventualimplementation scoped to README.md. If the task plan needs target files, useREADME.md only.Repeat the read-only inspection after each handoff:
slipway validateslipway next --json --diagnosticsPlanning is ready for implementation only after plan-audit gates pass. If Slipway fails closed, follow the named artifact or review recovery. Do not skip the planning gate.
Step 6: Implement The README Change
Section titled “Step 6: Implement The README Change”When Slipway reaches implementation, paste this prompt:
Execute the active Slipway implementation handoff. Change only README.md. Add ashort Usage section with a command example that tells readers to run`slipway status --json` before relying on lifecycle state. Run any targetedverification command named by the task. Record task evidence only through theSlipway command or generated execution skill that owns task evidence.The intended README shape is small:
## Usage
Inspect the current governed state before acting:
```bashslipway status --json```After the AI finishes, inspect the diff:
git diff -- README.mdslipway validateslipway next --json --diagnosticsIf validation reports scope_contract_drift, the change touched files outside
the task’s target_files. Repair the scope or amend the plan through the
surfaced Slipway path; do not hide the file in evidence.
Step 7: Review And Close
Section titled “Step 7: Review And Close”Let Slipway run review:
slipway run --json --diagnosticsIf selected review evidence is missing or stale, rerun the selected reviewer
named by next --json --diagnostics. If review finds issues, use:
slipway fix --jsonSend the returned repair contract to a fresh AI context. After repair, rerun the affected reviewers.
When the state reports done-ready:
slipway doneThen inspect what changed:
git status --shortfind artifacts/changes -maxdepth 3 -type f | sortCommit the README and archived Slipway record together if this was real work.
What You Learned
Section titled “What You Learned”status,next, andvalidateare read-only authority checks.runadvances only until a skill, blocker, or done-ready state.- Artifacts are authored from
slipway instructions, not copied from templates. - Implementation scope comes from
tasks.mdtarget files. - Stale evidence is repaired by rerunning the owning stage or reviewer.
donearchives the change only after governed readiness.