{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "heyosseus-sloppy--review-a-branch-for-what-it-introduced",
 "repo": "Heyosseus/sloppy",
 "repo_url": "https://github.com/Heyosseus/sloppy",
 "repo_slug": "heyosseus-sloppy",
 "title": "Review a branch for new PHP debt before merge",
 "page_title": "How to review a branch for new PHP debt before merge with Sloppy",
 "summary": "Compare a branch with main and rank only the findings it introduced, highest risk first.",
 "who": "A PHP developer about to open or review a pull request who wants to know where to look first.",
 "problem": "A large diff hides which new code is risky, and inherited problems in untouched files add noise.",
 "outcome": "A ranked list of findings the branch introduced, with the files to read first and where to stop.",
 "steps": [
  "Check out the feature branch in the project.",
  "Run `vendor/bin/sloppy diff main` to report only what the branch introduced. (inferred, check the README)",
  "Run `vendor/bin/sloppy review main` to rank the same findings by risk. (inferred, check the README)",
  "Open the top-ranked file and read the findings from that file first."
 ],
 "agent_prompt": "In the Heyosseus/sloppy project, run the diff and review commands against main for the branch checked out in <project path>. Output the top five ranked findings with their file and rule identifier. Verify that every finding is in a file the branch changed.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "The README describes the ranking as a risk measure for the analysed paths, so the order is a guide to reading, not a verdict on any file.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "php",
 "requirements": [
  "PHP 8.3 or newer",
  "Composer",
  "A PHP project with source roots listed in composer.json",
  "Git, for diff and review commands"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/heyosseus-sloppy/review-a-branch-for-what-it-introduced/",
 "md": "https://dedupedai.com/use-cases/heyosseus-sloppy/review-a-branch-for-what-it-introduced/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/heyosseus-sloppy--review-a-branch-for-what-it-introduced.json",
 "api_version": "v1"
}
