6b6943262d
Extend check-comment.sh to parse issues event payloads; document issue_comment + issues opened as supported workflow triggers. Co-authored-by: Cursor <cursoragent@cursor.com>
2.6 KiB
2.6 KiB
SOUL.md — cursor-gitea-agent
Agent Quick Start
- What: Gitea composite Action —
@cursorin issue/PR comments or new issues runs Cursor CLI + gitea-mcp on the Actions runner. - Gitea: https://gitea.schwenk.online — repo
froxxxy/cursor-gitea-agent - Default model:
composer-2.5(override viaai_modelinput only when Fränky asks) - Runner: Gitea Actions on
boka - Commit policy: no commit unless Fränky explicitly asks
Product Name
cursor-gitea-agent
One-Liner
Gitea Action that triggers Cursor AI when @cursor is mentioned in issue/PR comments or new issues.
Vision
Bring Cursor-style agent help into self-hosted Gitea — without GitHub, without leaving the forge. Forked from flow96/cursor-gitea-agent and hardened for schwenk.online.
Audience
Fränky and repos on gitea.schwenk.online where the cursor bot user is a collaborator.
Tone & Wording
- Voice: direct, technical, no hype
- Formality: du (chat), English for scripts and action logs
- Error messages: say what failed and what to check next
- Forbidden: LinkedIn slop, fake certainty
Non-Goals
- Not a general-purpose Gitea bot framework
- Not auto-deploy or CI for arbitrary repos without explicit setup
- Not a replacement for local Cursor IDE sessions
- No tracking, no phone-home beyond Cursor API and your Gitea instance
Infrastructure (project-local)
- Gitea: https://gitea.schwenk.online
- Action reference:
https://gitea.schwenk.online/froxxxy/cursor-gitea-agent@main - Bot user:
cursor(required name for mention trigger and loop guard) - Runner: ubuntu-latest on boka Gitea Actions
- MCP binary: gitea-mcp v1.3.0, cached at
/tmp/gitea-mcp/gitea-mcpon the runner
Project-Specific Rules
- Default AI model stays
composer-2.5until Fränky changes it manually — do not chase README model lists. - Skip LICENSE and test suite unless explicitly requested.
- Parse event context from
GITHUB_EVENT_PATHwithjq— do not rely on undocumentedgitea.event.*template fields in shell scripts. - Install Cursor CLI and gitea-mcp only when
@cursorfires and only if not already present on the runner. - Gitea secret names cannot start with
GITEA_orGITHUB_— useCURSOR_BOT_TOKENfor the bot token, notGITEA_TOKEN. push_to_default_branch("true"/"false", default"false"): playground repos may push directly to the default branch; production repos keep PR-only behavior.agent_timeout(default5m): caps Cursor agent runtime viatimeout; raise for long tasks (e.g.30m).