Context Slicing: A Free-Tier Workflow for AI-Assisted OSS Patch Review A developer has introduced a workflow called 'context slicing' for AI-assisted open source patch review, which involves selecting only the relevant lines of code for the AI to analyze. The approach, detailed in a blog post, uses a shell script to generate a compact review context file and a structured prompt to improve model accuracy while staying within free-tier token limits. The post also mentions MonkeyCode, an open source project offering free model access and server options, as part of its product outreach. A maintainer once watched an AI assistant confidently recommend merging a pull request that deleted a test file. The prompt had included the entire issue thread, the last three commits, and a README from another branch. The model trusted every word because the prompt gave it no reason to filter. The result was a confident but false analysis. The root cause was not a bad model. It was context pollution: unrelated diffs, stale comments, and duplicate code snippets pushed the actual change below the model's attention threshold. For open source reviewers on a free tier, every wasted token also makes the loop slower. The fix is not a bigger context window. It is a smaller, better one. Long paste sessions fail for reasons that have little to do with model quality. The following failure modes appear regularly in OSS review flows when someone dumps everything into a chat: Earlier articles on this account covered the reproduce-patch-test loop, but the missing discipline is context slicing. Slicing means choosing exactly which lines the AI sees, and nothing more. The practice breaks into three layers, each with a clear source for truth: Together those layers describe "what changed, what it touches, and how to prove it works." That is enough for a reviewer model to produce a focused analysis. A small shell script can harvest those layers without leaving the terminal. The following script takes a commit range and writes a compact review context file that fits inside a free-tier prompt window: bash /usr/bin/env bash slice review.sh