{"id":116685,"plugin_id":"plugin_asdk_app_6afee63c29748191bb53aa1b1ca92505","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-25T18:17:44.055Z","digest":"97b65913497010f749148fd5e393a873dd02757782c403dc4941fb3d3adce2ad","against":null,"payload":{"description":"Use before telling the user that a coding task is done, fixed, passing or ready to merge, and when a hook, CI job or reviewer reports that verification is missing. Builds a requirement ledger from the user's own words, ties each requirement to evidence gathered after the last edit (test output, command output, file:line), and reports every item as verified, failed or not verified instead of claiming success.","included_files":[{"relative_path":"agents/openai.yaml","size_in_bytes":133}],"name":"evidence-before-done","skill_md_contents":"---\nname: evidence-before-done\ndescription: Use before telling the user that a coding task is done, fixed, passing or ready to merge, and when a hook, CI job or reviewer reports that verification is missing. Builds a requirement ledger from the user's own words, ties each requirement to evidence gathered after the last edit (test output, command output, file:line), and reports every item as verified, failed or not verified instead of claiming success.\nlicense: Apache-2.0\n---\n\n# Evidence before done\n\n\"Done\" is a claim, so it needs evidence like any other claim. This protocol replaces \"Done, all tests pass\" with a short report the user can check.\n\nSkip it for replies that changed nothing. For a one-line change, the whole protocol fits in three lines.\n\n## 1. Build the requirement ledger\n\nReread the request, and any earlier messages in this conversation that still apply. Write down every sentence the user could check, quoting their words:\n\n- **Deliverables**: what to add, fix, change or remove.\n- **Constraints**, for example \"the whole suite must pass\", \"the output must stay identical to `expected.txt`\" or \"keep the public API\".\n- **Prohibitions**, for example \"don't edit the tests\", \"leave `config.toml` alone\", \"don't change anything else\" or \"don't push\".\n\nCount prohibitions as requirements. They are the easiest to break without noticing. Only checkable sentences belong in the ledger. Record a vague wish such as \"make it cleaner\" as a judgement call, not as something you verified.\n\n## 2. Gather evidence for each requirement\n\nPick the evidence that would convince a skeptical reviewer.\n\n| Change | Evidence |\n|---|---|\n| Bug fix | A regression test that fails without the fix and passes with it |\n| New behavior | Tests for the behavior, including edge cases |\n| Refactor | The existing tests, unchanged, still passing |\n| Rename or removal | The full suite, plus a repository-wide search showing no remaining references |\n| Performance | A measurement before and after, not just passing tests |\n| Migration | Evidence that old and new behavior are equivalent |\n| API, database, UI, model or infrastructure change | Contract tests, migration and integrity checks, component or end-to-end tests, evaluation metrics, or configuration and deployment validation |\n| Prohibition | `git status` or `git diff --stat` showing the protected paths untouched |\n\nRules for evidence:\n\n- **Run the tests that cover what you changed.** That means the tests for each changed file and for the code that imports it. Use the project's own command from its configuration, scripts or Makefile.\n- **Gather evidence after your last edit.** If you edited after a run, run again.\n- **Check that every changed source file still parses or compiles.** It is the cheapest check there is.\n- **Treat incomplete output as proof of nothing.** That covers a run that timed out, was cut off or was interrupted, and output you did not read.\n- **Reread any file you cite if it could have changed since you read it.**\n- **Skip tests that add nothing.** Changes only to documentation or comments, projects without a test runner, and requests that waive tests (\"no need to run the tests\") don't need a run. Say which case applies.\n- **Check the order of edits and runs.** If the Truthstone checks tools are available, call `check_test_runs` with your edits and the commands you ran since the task began, in order, with their exit codes and output, and with your draft report. Treat \"failing\" or \"unverified\" as evidence against \"done\". Without the tools, compare the order yourself.\n- **Report untested code.** If you changed code that no test covers, in a project that otherwise tests its code, and you added no test, say so.\n\n## 3. Classify each requirement, then the task\n\nEach ledger item is exactly one of:\n\n- **Verified.** Quote the evidence: the command and its result line, or `path:line`.\n- **Failed.** The evidence shows the requirement is not met. Fix it or report it, and don't call the task done.\n- **Not verified.** No evidence could be gathered, because no runner exists, commands cannot run here, or the output was unreadable. Say what blocked the check and give the exact command the user can run. \"Could not tell\" is never reported as a pass, and never as a failure.\n\nThen give the task as a whole one of these statuses:\n\n- **Done**: only when every item is verified or explicitly waived.\n- **Incomplete**: work or verification remains.\n- **Verification failed**: the evidence shows something is broken.\n- **Needs your decision**: the remaining call belongs to the user.\n\n## 4. Check your own summary for open doubts\n\nBefore sending, read your draft. Part of the request is still open if the draft says any of these:\n\n- you \"couldn't confirm\" something\n- you are \"not sure\"\n- a decision goes back to the user (\"if you know it's generated, it's safe to delete\")\n\nSettle the doubt with the project's evidence: read the file, script or build step that decides it, and act within what the request asks. If it stays open, report that item as open and don't describe the task as done.\n\n## 5. Report\n\nLead with the status, then list the ledger. For example:\n\n    Status: done. 3 of 3 requirements verified.\n    R1 \"fix the pagination off-by-one\": verified. tests/test_pager.py::test_last_page fails before the fix and passes after it.\n    R2 \"keep the public API\": verified. The signature of paginate() at src/pager.py:12 is unchanged; only its body changed.\n    R3 \"the whole suite must pass\": verified. `pytest -q` after the last edit printed \"214 passed\".\n\nSay exactly what ran. \"Ran tests/test_pager.py: 12 passed. The full suite was not run\" is a report. \"All tests pass\" is not a report unless you ran all of them. If you believe a failure predates your change, show it, for example the same test failing on the base commit. Don't just assert it.\n\n## Never\n\n- Never delete, skip, loosen or rewrite a test to make it pass unless the user asked for that. Report the failure instead.\n- Never present \"not verified\" as \"done\".\n\nThe user's explicit instructions, repository instructions such as AGENTS.md, and the platform's safety rules take priority over this skill. When one of them conflicts with a step, follow it and say which step you skipped.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}