Prove a change by driving the running app, then reading the server's state. Use before reporting a UI change as done.
Install
npx skillscat add sambalicious/software-factory-article/verify Install via the SkillsCat registry.
Verify a change
Prove the change the way a user would meet it, then check the server agreed. This is
evidence for one change. It replaces no test, no review and no release gate.
Adapt the commands below to this project. The shape is the point: launch, drive, read
back, keep the evidence, clean up.
1. Launch
Start the app on a throwaway database and its own ports, so two worktrees can run at
once and neither touches real data.
RUN=$(mktemp -d); <project command> start "$RUN"Record the commit and dirty values the launcher prints. Evidence from a dirty tree
is not evidence.
2. Drive
Use a browser session scoped to this run. Find controls by role and accessible name, and
wait for text or a URL, never for a fixed time.
- Run every changed screen at the widths the design specifies. A phone and a laptop are
different products. - Check the state before the action, the action, and the state after.
3. Read back
Read the server's state, not the screen's summary of it. A toast is not evidence; a row
in the database or a value from the API is.
4. Keep
Save, for each change: the before state, the action, the after state, any console errors
(must be none), and the commit. Record the commit once, in the feature map, so a later
edit changes every entry that it invalidates.
5. Clean up
Stop the app and remove the container and any temporary credentials it created. Evidence stays. Never
stop processes by name; other sessions run the same ones.
Report
Say what you drove, what you saw, and which affected paths you did not drive. The
last part is the one that keeps the report honest.