Milestone review and reset
What you need to know
A milestone is complete when its important behaviors have evidence, not merely when the file tree looks finished. A repeatable reset makes independent test runs comparable and prevents one learner operation from changing the starting state of another.
By the end, you can: specify test evidence; document recovery steps.
Write a reproducible test run manifest
{ "fixture": "editorial-sqlite-v8", "database": "fresh in-memory connection", "cases": [ "owner-save", "foreign-denied", "stale-revision", "rollback" ], "cleanup": "close connection", "frameworkIntegration": "NOT RUN"}Expected behavior: The manifest declares which environment is being tested and explicitly avoids implying a framework test.
How it works
Separate unit checks of policy and input, relational integration of constraints and transaction rollback, real HTTP checks, Next.js production build and request tests, browser interaction and accessibility. Run the independent V8 SQLite tests from a fresh in-memory connection: initialize schema and seed rows, execute test operations, assert state, then close the connection. For a later persistent local database, restrict reset to an explicitly lab-owned file or schema and ensure no application process is using it. Never point a reset at an unknown connection string. A production integration matrix should include anonymous/denied/allowed calls, public and private data exposure, stale revisions, validation, failure recovery, direct navigation, form submission and keyboard operation. Store runtime versions and source hashes alongside results. For a production rollback, reverting a deployment does not necessarily undo a database migration; plan compatible schema changes and verified backups separately. The V8 app is staged until dependencies and auth integration are reviewed.
Define a minimal evidence record
type Check={name:string;status:'PASS'|'FAIL'|'NOT RUN';evidence:string};const checks:Check[]=[ {name:'SQLite rollback',status:'NOT RUN',evidence:'Run fixture test and retain output'}, {name:'Browser keyboard',status:'NOT RUN',evidence:'Requires reviewed app dependencies'}];console.log(checks.filter(c=>c.status==='NOT RUN').length);Expected behavior: 2. This example starts with pending checks; only actual observations change their status.
Common mistake
Never reset a shared database simply to make a demonstration reproducible. A passing model test is not a reason to mark browser, deployment or platform grading checks passed.
Practice and verification
Follow the lab README, save the actual test output, and mark the remaining integration cases as NOT RUN. Add a recovery runbook covering interrupted writes, stale edits, fixture reset and a compatible production migration rollback.
Scope: App Router, proposed Next.js 16.x and React 19, Cache Components disabled. Framework snippets are staged, not executed; local policy, SQLite and HTTP transport evidence is separate. Exact patched dependencies and platform contracts are pending.
Further reading: Production · Security Data · Actions