Skip to content

Commit 40be3b0

Browse files
glittercowboyclaude
andcommitted
feat(verify-work): auto-inject cold-start smoke test for server/db phases
When a phase modifies server, database, seed, or startup files, verify-work now prepends a "Cold Start Smoke Test" that asks the user to kill, wipe state, and restart from scratch — catching warm-state blind spots. Closes #904 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent cdfa391 commit 40be3b0

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

get-shit-done/workflows/verify-work.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,19 @@ Examples:
108108
→ Expected: "Clicking Reply opens inline composer below comment. Submitting shows reply nested under parent with visual indentation."
109109

110110
Skip internal/non-observable items (refactors, type changes, etc.).
111+
112+
**Cold-start smoke test injection:**
113+
114+
After extracting tests from SUMMARYs, scan the SUMMARY files for modified/created file paths. If ANY path matches these patterns:
115+
116+
`server.ts`, `server.js`, `app.ts`, `app.js`, `index.ts`, `index.js`, `main.ts`, `main.js`, `database/*`, `db/*`, `seed/*`, `seeds/*`, `migrations/*`, `startup*`, `docker-compose*`, `Dockerfile*`
117+
118+
Then **prepend** this test to the test list:
119+
120+
- name: "Cold Start Smoke Test"
121+
- expected: "Kill any running server/service. Clear ephemeral state (temp DBs, caches, lock files). Start the application from scratch. Server boots without errors, any seed/migration completes, and a primary query (health check, homepage load, or basic API call) returns live data."
122+
123+
This catches bugs that only manifest on fresh start — race conditions in startup sequences, silent seed failures, missing environment setup — which pass against warm state but break in production.
111124
</step>
112125

113126
<step name="create_uat_file">

0 commit comments

Comments
 (0)