feat: убрать mcp.json из tracking и добавить инструкцию по локальным коммитам

- mcp.json удалён из git-tracking (.gitignore уже содержал исключение)
- в role-developer.mdc добавлен раздел про явную идентичность при локальных коммитах

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-11 19:34:08 +07:00
parent 0e863ecb7d
commit b43cf47adc
2 changed files with 10 additions and 26 deletions
-26
View File
@@ -1,26 +0,0 @@
{
"mcpServers": {
"gitea-developer": {
"command": "gitea-mcp",
"args": [
"-t", "stdio",
"--host", "https://git.3crabs.ru",
"--tools", "get_my_user_info,list_my_repos,search_repos,create_branch,list_branches,get_repository_tree,get_file_content,get_dir_content,create_file,update_file,list_repo_commits,get_commit,create_pull_request,create_pull_request_reviewer,get_pull_request_by_index,list_repo_pull_requests,list_repo_issues,get_issue_by_index,search_users"
],
"env": {
"GITEA_ACCESS_TOKEN": "${env:GITEA_DEV_TOKEN}"
}
},
"gitea-reviewer": {
"command": "gitea-mcp",
"args": [
"-t", "stdio",
"--host", "https://git.3crabs.ru",
"--tools", "get_my_user_info,get_file_content,get_dir_content,get_repository_tree,list_repo_issues,get_issue_by_index,create_issue_comment,get_pull_request_by_index,get_pull_request_diff,list_repo_pull_requests,list_pull_request_reviews,get_pull_request_review,list_pull_request_review_comments,create_pull_request_review,submit_pull_request_review,dismiss_pull_request_review,merge_pull_request"
],
"env": {
"GITEA_ACCESS_TOKEN": "${env:GITEA_LEAD_TOKEN}"
}
}
}
}
+10
View File
@@ -104,6 +104,16 @@ alwaysApply: false
5. **Сообщи Owner'у** ссылку на PR и попроси открыть чат с ролью `role-reviewer`
### Локальные git-коммиты
При локальной работе с репозиторием коммит нужно делать с явной идентичностью — иначе используется системный git config владельца машины:
```bash
GIT_AUTHOR_NAME="dev_cursor" GIT_AUTHOR_EMAIL="dev_cursor@teh.org" \
GIT_COMMITTER_NAME="dev_cursor" GIT_COMMITTER_EMAIL="dev_cursor@teh.org" \
git commit -m "feat: ..."
```
### Правила
- Один PR — одна задача; не мешай несвязанные изменения