Scripts and templates
Local AI development setup
To review a local coding agent’s work, I needed its patch and the actual test output.
My contribution
I assembled two model profiles and a Windows workflow. PowerShell collects the changes and check logs from each Git worktree.
Outcome
The kit includes reusable scripts and paired task and review templates.
A task and its review
The task
Show the local API’s health on a web page. Include a test of the response.
The review
Read the patch and check log. Does the page read the API’s response, or always display “healthy”?
How it’s built
Link to this sectionWorkflow
- PowerShell 7 and Git
- Scripts start a task in its own worktree, run checks and collect changes for review. The human operator decides whether to merge.
- Windows workstation
Data and storage
- Markdown, patch files, logs and JSON
- Task files capture scope and acceptance criteria. The review bundle combines the diff, command output and run metadata on the local filesystem.
Development tools
- Codex CLI and LM Studio
- Codex reads the repository, edits and runs commands. LM Studio serves the chosen model on the same computer through an OpenAI-compatible interface.
- Local Windows process
- LM Studio fast executor
- The fast profile is intended for a small, well-defined change with known checks.
- Documented executor profile · Ornith-1.0-9B Q6_K · Local inference
- LM Studio deep executor
- The second profile is intended for harder debugging and changes that span several files.
- Documented executor profile · KAT-Coder-V2.5-Dev 35B-A3B Q4_K_M · Local inference
- ChatGPT
- An external planning and review step turns an objective into acceptance criteria and checks the returned patch. The operator chooses what to share.
- OpenAI cloud
Verification
- pnpm, Vitest and Playwright
- The sample task requests unit and browser checks. The verification script discovers the project’s declared commands and runs its available format, lint, type, test and build checks.