go-agent/codex/qa/commands/fix.md
Snider 61e01bfdf1 feat: initial go-agent — agentci + jobrunner + plugins marketplace
Consolidates three codebases into a single agent orchestration repo:

- agentci (from go-scm): Clotho dual-run verification, agent config,
  SSH security (sanitisation, secure commands, token masking)
- jobrunner (from go-scm): Poll-dispatch-report pipeline with 7 handlers
  (dispatch, completion, auto-merge, publish draft, dismiss reviews,
  send fix command, tick parent epic)
- plugins marketplace (from agentic/plugins): 27 Claude/Codex/Gemini
  plugins with shared MCP server

All 150+ tests passing across 6 packages.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-21 15:47:19 +00:00

57 lines
1 KiB
Markdown

---
name: fix
description: Fix a specific QA issue
args: <issue-description>
---
# Fix Issue
Fix a specific issue from QA output.
## Usage
```
/qa:fix undefined: ErrNotFound in pkg/api/handler.go:42
/qa:fix TestCreateUser failing - expected 200, got 500
/qa:fix pkg/api/handler.go needs formatting
```
## Process
1. **Parse the issue**: Extract file, line, error type
2. **Read context**: Read the file around the error line
3. **Understand**: Determine root cause
4. **Fix**: Make minimal change to resolve
5. **Verify**: Run relevant test/lint check
## Issue Types
### Undefined variable/type
```
undefined: ErrNotFound
```
→ Add missing import or define the variable
### Test failure
```
expected 200, got 500
```
→ Read test and implementation, fix logic
### Formatting
```
file needs formatting
```
→ Run `core go fmt` or `core php fmt`
### Lint warning
```
ineffectual assignment to err
```
→ Use the variable or remove assignment
### Type error
```
cannot use X as Y
```
→ Fix type conversion or function signature