Your development workspace
This app is private. Sign in with your authorized Google account.
Before the first production edit on a material change, name the consumer, expected result, plausible failure with the largest impact and a test that distinguishes correct from broken behavior. Exercise the highest-risk case early and compare the observed result with the plan.
| 1 | { |
| 2 | "change": "Cache the second page of a list", |
| 3 | "verification": "Run existing list tests after implementation" |
| 4 | } |
Explanation (EN)
This plan could pass even if a cold read repeats the first page.
Objašnjenje (HR)
Ovaj plan može proći i kad hladno čitanje ponovi prvu stranicu.
| 1 | { |
| 2 | "consumer": "List API", |
| 3 | "fixture": { |
| 4 | "orderedIds": [ |
| 5 | 1, |
| 6 | 2, |
| 7 | 3, |
| 8 | 4 |
| 9 | ], |
| 10 | "pageSize": 2, |
| 11 | "after": 2 |
| 12 | }, |
| 13 | "expect": { |
| 14 | "ids": [ |
| 15 | 3, |
| 16 | 4 |
| 17 | ], |
| 18 | "nextCursor": null |
| 19 | }, |
| 20 | "test": [ |
| 21 | "Request this page with an empty cache.", |
| 22 | "Request it again with a warm cache.", |
| 23 | "Assert the expected IDs and next cursor on both responses." |
| 24 | ] |
| 25 | } |
Explanation (EN)
The fixture defines the answer independently of either path and exposes repeated results or a wrong cursor.
Objašnjenje (HR)
Podaci određuju rezultat neovisno o objema putanjama te otkrivaju ponovljene stavke ili pogrešan kursor.
Apply when a change affects a service boundary, persisted state, cache recovery, concurrent ownership, compatibility or rollout. Even one line can change the contract. Read the request, verified Project Knowledge, current callers and relevant decided Review Learning lessons. State the normal outcome, a failure condition and what existing users rely on. Derive the expected result independently of the implementation. Reproduce a bug on the old code, characterize existing behavior for a refactor, or verify new behavior at its real entry point. At handoff report the actual results and remaining uncertainty. For a critical contract, consult its CI tests entry in private Project Knowledge. Open the pinned test and actual job or test report, verify runner selection and service dependencies on the current branch, and use the focused command. Record whether the available evidence names the case or the suite and which failure still lacks coverage. Before editing, identify the assumption that could change the design. Cite a specific caller, representative input or accepted decision and give a concrete expected result. Resolve conflicting sources when the answer changes the implementation. During an explicit review, before opening changed code or tests, derive counterexamples from the accepted contract or base callers. Cover each material contract and use distinct failure dimensions where applicable, such as an in-flight consumer, an operator diagnosing degraded service or a producer and consumer with different identities. Record the actor, source, starting input, expected result and actual observation. Explain when one dimension is sufficient. Select rules against these contracts, added and removed code, applicable project decisions and clean-code concerns. Audit exclusions using alternative terms for missing behavior and inspect each selected rule and its exceptions against the actual files. When a behavior has multiple observable representations, check their agreement: an unavailable control and its visible affordance, initial and subsequent state transitions, or the same failure across supported configurations. Verify that test inputs and surrounding documentation still describe the same contract. Before any user-visible web UI edit, including a small presentation or input change, enumerate all relevant states and transitions. For each state record the trigger, what a user sees, what actions are available and their expected effects, including unavailable actions. Check the same expectations on the reviewed revision locally with Playwright during an explicit pre-PR review. Record observed appearance and action results for each state. Missing local evidence keeps the review incomplete. Before reusing a component baseline, compare its revision, source files and behavior-affecting dependencies against the target checkout and intervening history. Preserve the dated plan, actual observations and component screenshots as private repository knowledge. Identify unverifiable changes explicitly. Before a material change, look up up to three confirmed failures from other components or projects with the same observable behavior. Match the trigger and failure mechanism to the current caller. For each relevant case cite its source revision, concrete input and observed failure, then adapt a test with an action and observable assertion. Return fewer when evidence is sparse. Keep private examples private and distinguish a proposed test from an executed check.
A mechanical change with local impact needs ordinary focused verification. If a dependency cannot be exercised, state the expected behavior, verify what can be observed locally and record the remaining uncertainty.
Use this to align rules with the senior-level structure (P0/P1/P2, scope, exceptions/tradeoffs).