{ "skill_name": "work-item-verification", "evals": [ { "id": 1, "prompt": "Verify whether this work item is done.\n\nWork item WI-77: \"Password reset links expire.\"\nAcceptance criteria:\n1. Reset tokens expire after 30 minutes.\n2. Using an expired token shows \"This link has expired\" and a button to request a new link.\n3. A token can be used only once.\n4. The README's \"Account recovery\" section documents the expiry.\n\nEvidence: The diff adds `expiresAt = now + 30min` in `ResetTokenService.cs` and a test `Token_expires_after_30_minutes` (passing). The build is green. The README was not changed. No UI changes are in the diff.", "expected_output": "Should map each criterion to direct evidence and mark it met, unmet, or unverified. Criterion 1: met (code plus passing test). Criterion 2: unmet or unverified (no UI change in the diff). Criterion 3: unverified (no evidence of single-use enforcement). Criterion 4: unmet (README not changed). Should not treat the green build as proof of criteria 2-4. Should give a concise completion status of not complete, listing what could not be checked.", "assertions": [ "Lists each of the four criteria separately with a status", "Marks criterion 1 as met citing the code change and passing test", "Marks criterion 2 as unmet or unverified because no UI change is present", "Marks criterion 3 as unverified or unmet due to no evidence of single-use enforcement", "Marks criterion 4 as unmet because the README was not changed", "States that the green build does not prove the behavioral criteria", "Concludes the work item is not complete" ], "files": [] }, { "id": 2, "prompt": "Check WI-102 is complete. Scope: \"Add a `--json` output option to the `report` command only; do not change other commands.\" Criteria: (a) `report --json` prints valid JSON; (b) existing text output unchanged. Evidence: tests for (a) and (b) pass. The diff also changes `export.ts` to default its output format to JSON and modifies `generated/cli-reference.md` by hand, while the generator script `scripts/gen-cli-docs.ts` was not run.", "expected_output": "Criteria (a) and (b) are met by the passing tests. However, should confirm the implementation stayed within scope: the export.ts change violates the explicit scope boundary and changes behavior of another command. Should flag that generated output was hand-edited instead of regenerated, risking inconsistency. Should not claim completion while these issues remain; should record limitations and unresolved decisions.", "assertions": [ "Marks criteria (a) and (b) as met citing the passing tests", "Flags the export.ts change as outside the stated scope", "Flags the hand-edited generated documentation and that the generator was not run", "Does not declare the work item complete without qualification", "Records the scope violation as a limitation or unresolved decision" ], "files": [] }, { "id": 3, "prompt": "WI-140: \"Upgrade to Polly 8 and keep the existing retry policy behavior: 3 retries with exponential backoff starting at 200ms, retrying only on HTTP 5xx and 408.\" The diff replaces `Policy.Handle().WaitAndRetryAsync(...)` with a `ResiliencePipelineBuilder` using `AddRetry(new RetryStrategyOptions { MaxRetryAttempts = 3, BackoffType = DelayBackoffType.Exponential, Delay = TimeSpan.FromMilliseconds(200) })`. No ShouldHandle predicate is set. The developer looked up Polly docs and says it's equivalent. All unit tests pass. Is it done?", "expected_output": "The criterion depends on external technology behavior (Polly 8 defaults), so must apply the technical-research verification checkpoint: check the actual Polly 8 sources for what the default ShouldHandle covers and the exponential delay semantics, for the installed version, not merely accept that a lookup occurred. Without an explicit ShouldHandle limited to 5xx and 408, the 'retry only on 5xx and 408' criterion is unmet or at least unverified. Passing unit tests do not prove the retry conditions unless tests cover them. Should give criterion-by-criterion results and not claim completion.", "assertions": [ "Applies or references the technical-research verification checkpoint for Polly 8 behavior", "Checks the Polly 8 source or documentation for the installed version rather than accepting the developer's claim", "Flags the missing ShouldHandle predicate as failing or leaving unverified the retry-only-on-5xx-and-408 criterion", "Evaluates the 3 retries and 200ms exponential backoff criterion separately", "States that passing unit tests do not prove the retry conditions unless they cover them", "Does not claim the work item is complete" ], "files": [] } ] }