In progress
Some checks failed
Code Coverage / Generate Coverage Report (push) Has been cancelled
Tests / Run Tests (9.0.x) (push) Has been cancelled
Tests / Docker Build Test (push) Has been cancelled
Tests / Test Summary (push) Has been cancelled

This commit is contained in:
Yaojia Wang
2025-11-04 10:31:50 +01:00
parent ef409b8ba5
commit 6d2396f3c1
9 changed files with 5289 additions and 44 deletions

View File

@@ -1,19 +1,22 @@
{
"permissions": {
"allow": [
"Bash(Stop-Process -Force)",
"Bash(tasklist:*)",
"Bash(dotnet test:*)",
"Bash(tree:*)",
"Bash(dotnet add:*)",
"Bash(timeout 5 powershell:*)",
"Bash(Select-String -Pattern \"Tenant ID:|User ID:|Role\")",
"Bash(Select-String -Pattern \"(Passed|Failed|Skipped|Test Run)\")",
"Bash(Select-Object -Last 30)",
"Bash(Select-String -Pattern \"error|Build succeeded|Build FAILED\")",
"Bash(Select-Object -First 20)",
"Bash(cat:*)",
"Bash(npm run build:*)"
"Bash(npm install:*)",
"Bash(dotnet remove:*)",
"Bash(npm run lint)",
"Bash(npm run build:*)",
"Bash(timeout 10 npm run dev:*)",
"Bash(npx tsc:*)",
"Bash(timeout /t 10)",
"Bash(kill:*)",
"Bash(Select-String \"error\" -Context 0,2)",
"Bash(powershell.exe -ExecutionPolicy Bypass -File test-project-api.ps1)",
"Bash(powershell.exe -ExecutionPolicy Bypass -File test-project-simple.ps1)",
"Bash(powershell.exe -ExecutionPolicy Bypass -File test-project-debug.ps1)",
"Bash(Select-String -Pattern \"error\" -Context 0,2)",
"Bash(git add:*)",
"Bash(git restore:*)",
"Bash(git commit -m \"$(cat <<''EOF''\nfeat(agents): Enforce mandatory testing in backend agent\n\nUpdate backend agent to enforce testing requirements:\n- Extended workflow from 8 to 9 steps with explicit test phases\n- Added CRITICAL Testing Rule: Must run dotnet test after every change\n- Never commit with failing tests or compilation errors\n- Updated Best Practices to emphasize testing (item 8)\n- Removed outdated TypeScript/NestJS examples\n- Updated Tech Stack to reflect actual .NET 9 stack\n- Simplified configuration for better clarity\n\nChanges:\n- Workflow step 6: \"Run Tests: MUST run dotnet test - fix any failures\"\n- Workflow step 7: \"Git Commit: Auto-commit ONLY when all tests pass\"\n- Added \"CRITICAL Testing Rule\" section after workflow\n- Removed Project Structure, Naming Conventions, Code Standards sections\n- Updated tech stack: C# + .NET 9 + ASP.NET Core + EF Core + PostgreSQL + MediatR + FluentValidation\n- Removed Example Flow section for brevity\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude <noreply@anthropic.com>\nEOF\n)\")"
],
"deny": [],
"ask": []