{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "lakeday-org-perch--check-a-fix-before-committing",
 "repo": "lakeday-org/perch",
 "repo_url": "https://github.com/lakeday-org/perch",
 "repo_slug": "lakeday-org-perch",
 "title": "Confirm a fix works without recording it",
 "page_title": "How to confirm a fix works without recording it with Perch",
 "summary": "Re-ask Perch about a finding after you change the code, without saving anything.",
 "who": "A developer who has edited code to resolve a flagged issue and wants a second opinion before committing.",
 "problem": "It is unclear whether an edit actually fixed the defect, and a full rescan may not be needed for one finding.",
 "outcome": "A fresh answer on the finding after your change, with nothing recorded in the scan history.",
 "steps": [
  "Finish the change to the flagged code",
  "Run `perch check <id>` with the finding ID from `perch issues` (inferred, check the README)",
  "Read the new answer and confirm the problem is gone",
  "Run `perch scan` again if you want a full recorded result"
 ],
 "agent_prompt": "In the perch repo at <project path>, after editing the code for finding <id>, run `perch check <id>`. Report whether the problem still appears. Verify that the check did not add a new record to the scan results.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README gives the `perch check` command without showing its argument format, so confirm the exact syntax with `perch check --help` or the docs before relying on it.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "javascript",
 "requirements": [
  "Node.js with npm, to install the @lakeday/perch package",
  "A Perch Cloud account, created by running perch login (the first $5 is free)",
  "A project folder with source code to scan"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/lakeday-org-perch/check-a-fix-before-committing/",
 "md": "https://dedupedai.com/use-cases/lakeday-org-perch/check-a-fix-before-committing/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/lakeday-org-perch--check-a-fix-before-committing.json",
 "api_version": "v1"
}
