# ModelMux Task Index
> **Source**: Tasks derived from [plan.md](../plan.md). Each task maps to specific plan steps.
> **Format**: Each task follows [AGENT.md](../AGENT.md) and [tools/task_template.md](../tools/task_template.md).
## How to Use
1. **Pick a task** from the phase you're working on
2. **Open the task file** (e.g. `TASK-001-integration-tests.md`)
3. **Follow the phases** — update status as you progress
4. **Log errors** in the task's Errors Encountered section
5. **Mark complete** when all acceptance criteria are met
---
## Phase 1: Foundation & Quick Wins (Weeks 1–3)
| [TASK-001](TASK-001-integration-tests.md) | Integration tests & fixtures | 1.1 | 3–4 days | None |
| [TASK-002](TASK-002-error-handling.md) | Error handling improvements | 1.2 | 2–3 days | None |
| [TASK-003](TASK-003-documentation-pass.md) | Documentation pass | 1.3 | 1–2 days | None |
| [TASK-004](TASK-004-openai-compatible-provider.md) | OpenAI-compatible provider | 2.1 | 3–4 days | None |
| [TASK-005](TASK-005-provider-configuration.md) | Provider configuration (TOML) | 2.2 | 1–2 days | TASK-004 |
| [TASK-006](TASK-006-vllm-integration-testing.md) | vLLM integration testing | 2.3 | 1–2 days | TASK-004, TASK-005 |
| [TASK-007](TASK-007-docker-image.md) | Docker, Compose, Binary releases | 3.1, 3.2, 3.3 | 3–4 days | None |
---
## Phase 2: Responses API (Weeks 4–7)
| [TASK-008](TASK-008-responses-api-research.md) | Responses API research & design | 4.1, 4.2, 4.3 | 5–6 days | None |
| [TASK-009](TASK-009-responses-api-types.md) | Responses API data types & parsing | 5.1 | 3–4 days | TASK-008 |
| [TASK-010](TASK-010-responses-request-converter.md) | Request converter (Responses → Chat) | 5.2 | 3–4 days | TASK-009 |
| [TASK-011](TASK-011-responses-response-converter.md) | Response converter (Chat → Responses) | 5.3 | 3–4 days | TASK-009 |
| [TASK-012](TASK-012-responses-endpoint-state.md) | State storage & /v1/responses endpoint | 7.1, 7.2, 7.3 | 7 days | TASK-010, TASK-011 |
---
## Phase 3: Advanced Features & Polish (Weeks 8–11)
| [TASK-013](TASK-013-prometheus-metrics.md) | Prometheus metrics | 8.1 | 2–3 days | None |
| [TASK-014](TASK-014-structured-logging.md) | Structured logging | 8.2 | 1–2 days | None |
| [TASK-015](TASK-015-health-checks-enhanced.md) | Enhanced health checks | 8.3 | 1 day | None |
| [TASK-016](TASK-016-request-caching.md) | Request caching | 9.1 | 3–4 days | None |
| [TASK-017](TASK-017-connection-pooling.md) | Connection pooling & perf testing | 9.2, 9.3 | 2–3 days | None |
| [TASK-018](TASK-018-configuration-presets.md) | Configuration presets | 10.1 | 2–3 days | TASK-005 |
| [TASK-019](TASK-019-better-error-messages.md) | Better error messages & troubleshoot | 10.2 | 1–2 days | None |
| [TASK-020](TASK-020-environment-auto-detection.md) | Environment auto-detection | 10.3 | 1 day | None |
| [TASK-021](TASK-021-comprehensive-docs.md) | Comprehensive documentation | 11.1 | 3–4 days | None |
| [TASK-022](TASK-022-code-examples.md) | Code examples | 11.2 | 2–3 days | None |
---
## Phase 4: Community & Extensibility (Ongoing)
| [TASK-023](TASK-023-contributor-guidelines.md) | Contributor guidelines & ARCHITECTURE | 12.1 | 1–2 days | None |
*Plan also includes: 12.2 Provider Plugin System (optional), 12.3 Community Features (ongoing)*
---
## Quick Start (Tomorrow)
Per plan.md "Next Actions":
1. Start **TASK-001** — create `tests/integration/`, write first integration test
2. Start **TASK-004** — implement `OpenAiCompatibleProvider`
3. Start **TASK-005** — update config schema for provider selection
---
## Plan Step → Task Mapping
| Step 1.1 Add Comprehensive Tests | TASK-001 |
| Step 1.2 Improve Error Handling | TASK-002 |
| Step 1.3 Documentation Pass | TASK-003 |
| Step 2.1 OpenAI-Compatible Provider | TASK-004 |
| Step 2.2 Provider Configuration | TASK-005 |
| Step 2.3 Test vLLM Integration | TASK-006 |
| Step 3.1 Docker Image | TASK-007 |
| Step 3.2 Docker Compose | TASK-007 |
| Step 3.3 Binary Releases | TASK-007 |
| Steps 4.1–4.3 Responses API Research | TASK-008 |
| Step 5.1 Data Types | TASK-009 |
| Step 5.2 Request Converter | TASK-010 |
| Step 5.3 Response Converter | TASK-011 |
| Steps 7.1–7.3 State & Endpoint | TASK-012 |
| Step 8.1 Prometheus | TASK-013 |
| Step 8.2 Structured Logging | TASK-014 |
| Step 8.3 Health Checks | TASK-015 |
| Step 9.1 Caching | TASK-016 |
| Steps 9.2–9.3 Pooling & Perf | TASK-017 |
| Step 10.1 Presets | TASK-018 |
| Step 10.2 Error Messages | TASK-019 |
| Step 10.3 Auto-Detection | TASK-020 |
| Step 11.1 Docs | TASK-021 |
| Step 11.2 Examples | TASK-022 |
| Step 11.3 Video/Blog | TASK-022 (Phase 3) |
| Step 12.1 Contributor Guidelines | TASK-023 |
---
## Task File Naming
- `TASK-NNN-short-name.md` — e.g. `TASK-001-integration-tests.md`
- Use kebab-case for the short name