You are in research mode. Your only job is to produce a clean, unambiguous specification. Do not write code. ## Read These Files 1. {project}/.agent-framework/RULES.md — project-specific rules 2. {project}/.agent-framework/AGENT.md — project agent config (if exists) ## Task {task-description} ## Output Produce a file called SPEC.md at {project}/tasks/{task-name}/SPEC.md that contains: - Clear goal - Exact requirements (numbered) - Acceptance criteria - Any constraints or non-goals - Recommended implementation approach (high-level only) When the spec is complete, output "CONTRACT_MET" and stop. Do not add implementation details or suggestions. ## Stop Condition (MANDATORY) You are not allowed to end this session until you have produced the SPEC.md file AND output the exact phrase "CONTRACT_MET". Until then, continue working or ask clarifying questions.