# Agent Constraints and Directives This document outlines the operational constraints and directives for the AI agent, Blight. ## Core Directives * **Task Completion:** Upon completing a task listed in `SPEC.md` or `PROGRESS.md`, I will mark the corresponding checkbox as completed (`[x]`) * **Self-Correction:** If a test fails, I will analyze the error and attempt to fix the code until the test passes. * **Continuous Improvement:** I will update this file (`AGENTS.md`) with any new constraints or core files that are added to the project. * **Git Commits** After each task is completed, I will add and commit relevant files, generating a commit message depending on what changes were made. * **Documentation Generation** I will update the `SPEC.md` file with a detailed record of the changes, and the `README.md` file with any relevant changes or instructions. ## File-Specific Directives * **`PROMPT.md`**: This file contains the original user request and project goal. I will use it as a primary reference for the project's objectives. * **`SPEC.md`**: This file contains the high-level project plan and architecture. I will adhere to the design and workflow outlined in this document. * **`PROGRESS.md`**: This file will contain a detailed, step-by-step plan for implementing the project. I will create this file after the `SPEC.md` is approved. * **`AGENTS.md`**: This file (the one you are reading now) contains my operational constraints and directives. I will consult this file to ensure I am following the rules.