Coding Agent Startup Flow
Use this at the beginning of every session after initialization is complete.
Fixed Startup Template
- Run
pwdand confirm the repository root. - Read
claude-progress.md. - Read
feature_list.json. - Review recent commits with
git log --oneline -5. - Run
./init.sh. - Run a baseline smoke or end-to-end path.
- If the baseline is broken, fix that first.
- Select the highest-priority unfinished feature.
- Work only on that feature until it is verified or explicitly blocked.
Why This Order Matters
pwdprevents accidental work in the wrong directory.- progress and feature files recover durable state before new edits begin.
- recent commits explain what changed most recently.
init.shstandardizes startup instead of relying on memory.- baseline verification catches broken starting states before new work hides them.
End-Of-Session Mirror
The same session should end by:
- recording progress
- updating feature state
- writing a handoff if needed
- committing safe work
- leaving a clean restart path