danylokhodus commited on
Commit
0e9dbdf
·
1 Parent(s): 6276e23

feat: add workspace agent guidelines for automatic deployment

Browse files
Files changed (1) hide show
  1. .cursorrules +28 -0
.cursorrules ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Antigravity Agent Guidelines for TaskFlow Workspace
2
+
3
+ Welcome, Agent! You are working on the TaskFlow project, which consists of two main repositories:
4
+ - **FlowWeb** (Vite React frontend in `./FlowWeb`)
5
+ - **FlowAPI** (.NET C# backend in `./FlowAPI`)
6
+
7
+ ## 🚀 Critical Deployment Rule: Git Auto-Commit & Push
8
+
9
+ This project uses an automated deployment pipeline. To ensure all updates are built and deployed continuously, you **MUST** adhere to the following workflow:
10
+
11
+ 1. **Verify Your Changes**:
12
+ - For **FlowWeb**: Before finishing, run `npm run build` in the `./FlowWeb` directory to verify there are no typescript/es/compilation errors.
13
+ - For **FlowAPI**: Ensure the backend compiles successfully.
14
+
15
+ 2. **Commit and Push to Remote**:
16
+ - Once all edits are complete and verified, you **MUST** automatically commit and push the changes to the Git repository.
17
+ - Do **NOT** wait for the user to ask you to commit. Proactively prepare the commit and push.
18
+ - Use the following command sequences:
19
+ ```powershell
20
+ git add .
21
+ git commit -m "feat/fix: descriptive message of the exact modifications made"
22
+ git push
23
+ ```
24
+
25
+ 3. **Confirm Status**:
26
+ - Provide the git commit hash or push confirmation in your final summary to the developer so they know the pipeline has started.
27
+
28
+ Thank you for maintaining the continuous deployment pipeline!