# v2026.1.4 - "Provider File Locations Fix" Release

**Released**: January 14, 2026

This release fixes provider-specific file deployment locations, ensuring `aiwg use --provider X` places files in the correct directories for each platform.

## Highlights

| What Changed | Why You Care |
|--------------|--------------|
| **Provider deployment fixes** | `aiwg use --provider X` now correctly places files in provider-specific directories |
| **Codex home directory paths** | Codex prompts/skills deploy to `~/.codex/` (home) not project directory |
| **Cursor rules location** | Cursor rules now deploy to `.cursor/rules/` not project root |
| **CLI addon provider pass-through** | `--provider` flag now correctly propagates to addon deployments |
| **Dead code removal** | Removed 115 lines of unreachable Windsurf code from deploy-agents.mjs |
| **Comprehensive test suite** | New `provider-file-locations.test.ts` validates all 8 providers |

## What Changed

### Codex Provider

Fixed command/skill deployment paths:

| Before | After |
|--------|-------|
| `<project>/.codex/prompts/` | `~/.codex/prompts/` (home) |
| `<project>/.codex/skills/` | `~/.codex/skills/` (home) |

### Cursor Provider

Fixed rules deployment path:

| Before | After |
|--------|-------|
| `<project>/*.mdc` | `<project>/.cursor/rules/*.mdc` |

### CLI Provider Pass-Through

The `--provider` flag now propagates to addon deployments:

```bash
# Before: addons always deployed to Claude format
aiwg use sdlc --provider codex

# After: addons deploy to correct provider format
aiwg use sdlc --provider codex  # Creates ~/.codex/prompts/
```

## Provider File Locations Reference

| Provider | Project Directories | Home Directories | Root Files |
|----------|---------------------|------------------|------------|
| Claude | `.claude/agents/`, `.claude/commands/`, `.claude/skills/` | - | - |
| Codex | `.codex/agents/` | `~/.codex/prompts/`, `~/.codex/skills/` | - |
| Factory | `.factory/droids/`, `.factory/commands/` | - | - |
| Copilot | `.github/agents/` | - | - |
| Cursor | `.cursor/rules/` | - | - |
| OpenCode | `.opencode/agent/`, `.opencode/command/` | - | - |
| Warp | - | - | `WARP.md` |
| Windsurf | `.windsurf/workflows/` | - | `AGENTS.md`, `.windsurfrules` |

## Installation

```bash
npm update -g aiwg
aiwg use all --provider <your-provider>  # Redeploy with correct paths
```

## References

- [Cross-Platform Overview](../integrations/cross-platform-overview.md) - Platform comparison
- [CHANGELOG](../../CHANGELOG.md) - Full changelog
