# Responsibilities

This skill writes files to disk on the developer's behalf. Step 2 is the only
step with side effects — the developer should review output files before using
them in production.

## Stage Ownership

| Stage | Agent | Developer | Notes |
|-------|-------|-----------|-------|
| 0. Validate inputs | **Leads** | Informed | Agent checks paths exist; stops and asks if arguments are missing |
| 1. Gather inputs | **Leads** | Informed | Fully automated read and parse |
| 2. Process and transform | **Leads** | **Reviews output** | Agent writes `-processed` files; developer reviews before use |
| 3. Final report | **Leads** | Informed | Agent summarises; developer acts on warnings |

## Agent Responsibilities

- Validate that all argument paths exist before doing any work
- Read and parse input files without modifying them
- Write output only to `-processed` suffixed files — never overwrite originals
- Report errors clearly and stop rather than silently skipping files
- Wait for developer review of output files before declaring completion

## Developer Responsibilities

- Provide valid file paths as arguments
- Review `-processed` output files before using them in production
- Decide whether to retry, abort, or continue when warnings are reported
- Confirm that the transformations applied match intent
