chore: post AI agent refactor. Gitea integration
This commit is contained in:
@@ -89,6 +89,40 @@ mvp-platform-services/{service}/
|
||||
- No cross-service dependencies to consider
|
||||
- Service directory is self-contained
|
||||
|
||||
## Sprint Workflow Integration
|
||||
|
||||
Follow the workflow contract in `.ai/workflow-contract.json`.
|
||||
|
||||
### Before Starting Work
|
||||
1. Check current sprint milestone via `mcp__gitea-mcp__list_milestones`
|
||||
2. List issues with `status/ready` via `mcp__gitea-mcp__list_repo_issues`
|
||||
3. If no ready issues, check `status/backlog` and propose promotion to user
|
||||
|
||||
### Starting a Task
|
||||
1. Verify issue has `status/ready` and `type/*` labels
|
||||
2. Remove `status/ready`, add `status/in-progress` via `mcp__gitea-mcp__replace_issue_labels`
|
||||
3. Create branch `issue-{index}-{slug}` via `mcp__gitea-mcp__create_branch`
|
||||
4. Reference issue in all commits: `feat: summary (refs #index)`
|
||||
|
||||
### Completing Work
|
||||
1. Ensure all quality gates pass (pytest, Swagger docs, health checks)
|
||||
2. Open PR via `mcp__gitea-mcp__create_pull_request` with:
|
||||
- Title: `feat: summary (#index)`
|
||||
- Body: `Fixes #index` + test plan + API changes documented
|
||||
3. Move issue to `status/review`
|
||||
4. Hand off to Quality Agent for final validation
|
||||
5. After merge: issue moves to `status/done`
|
||||
|
||||
### MCP Tools Reference
|
||||
```
|
||||
mcp__gitea-mcp__list_repo_issues - List issues (filter by state/milestone)
|
||||
mcp__gitea-mcp__get_issue_by_index - Get issue details
|
||||
mcp__gitea-mcp__replace_issue_labels - Update status labels
|
||||
mcp__gitea-mcp__create_branch - Create feature branch
|
||||
mcp__gitea-mcp__create_pull_request - Open PR
|
||||
mcp__gitea-mcp__list_milestones - Check current sprint
|
||||
```
|
||||
|
||||
## Key Skills and Technologies
|
||||
|
||||
### Python Stack
|
||||
|
||||
Reference in New Issue
Block a user