# Implementation Plan: ad-hoc-pair-programming — Pair Programming Prompt & Workflow

> Snapshot of approved requirements as of 2026-04-07.
> See `requirements.md` for the full specification.

## Steps

### Step 1 — Create `pair-programming.prompt.md`
- **File**: `.github/prompts/pair-programming.prompt.md`
- **Changes**: Write the full prompt with step-locked loop, correction handling, complexity-gated `typecheck`/`lint`, per-step commits, and cache updates.
- **Verification**: All 8 ACs covered; commit format, correction loop, approval keywords, and ad-hoc mode explicitly described.

### Step 2 — Register the prompt in the catalogue and AGENTS.md
- **Files**: `.github/base/prompts-definition.md`, `AGENTS.md`
- **Changes**: Add one row to each catalogue table.
- **Verification**: Both tables reference `pair-programming.prompt.md` with correct trigger description.

---

## Phase Log

| Date | Step | Status | Notes |
|---|---|---|---|
| 2026-04-07 | Requirements approved | ✅ Done | — |

