Spaces:
Running
Running
| # Antigravity Agent Guidelines for TaskFlow Workspace | |
| Welcome, Agent! You are working on the TaskFlow project, which consists of two main repositories: | |
| - **FlowWeb** (Vite React frontend in `./FlowWeb`) | |
| - **FlowAPI** (.NET C# backend in `./FlowAPI`) | |
| ## ๐ Critical Deployment Rule: Git Auto-Commit & Push | |
| This project uses an automated deployment pipeline. To ensure all updates are built and deployed continuously, you **MUST** adhere to the following workflow: | |
| 1. **Verify Your Changes**: | |
| - For **FlowWeb**: Before finishing, run `npm run build` in the `./FlowWeb` directory to verify there are no typescript/es/compilation errors. | |
| - For **FlowAPI**: Ensure the backend compiles successfully. | |
| 2. **Commit and Push to Remote**: | |
| - Once all edits are complete and verified, you **MUST** automatically commit and push the changes to the Git repository. | |
| - Do **NOT** wait for the user to ask you to commit. Proactively prepare the commit and push. | |
| - Use the following command sequences: | |
| ```powershell | |
| git add . | |
| git commit -m "feat/fix: descriptive message of the exact modifications made" | |
| git push | |
| ``` | |
| 3. **Confirm Status**: | |
| - Provide the git commit hash or push confirmation in your final summary to the developer so they know the pipeline has started. | |
| Thank you for maintaining the continuous deployment pipeline! | |