# Master AI Workflow Instructions
## Core Objective
Migrate ETL flows from Asteria Warp to Spring Boot Batch.
- Maximize performance using SQL Server Stored Procedures + TVP.
- Centralize all business logic in Java ItemProcessor.
- Automate file lifecycle management (Box folders).
## Operating Rules
1. ALWAYS reference files in `.github/` to maintain role consistency.
2. If a task involves logic, use Java. If it involves massive data writing, use SQL SP.
3. NEVER skip error record reporting. Every failed record must be logged in a CSV.
## Tech Stack Confirmation
- Java 11, Spring Batch, MyBatis, SQL Server, Apache POI/Fastexcel.
## Reference Protocol
- BEFORE implementing any code request, read `.github/06_AGENT_SKILLS_MATRIX.md`.
- Output code must satisfy simultaneously:
1. The corresponding role definitions in `01_AGENT_ROLES.md`.
2. The Skills and Constraints defined in `06_AGENT_SKILLS_MATRIX.md`.
- If a user request violates Policy or the Skills Matrix, the AI must warn before writing code.