← Plugins

Gitea Workflow

CoDevAI.cc2installs

Gitea Issue-to-PR automated workflow and quality gate workbench

$ paseo plugin add codevai-cc/gitea-workflow
Gitea Workflow screenshot 1Gitea Workflow screenshot 2Gitea Workflow screenshot 3Gitea Workflow screenshot 4

Gitea Workflow turns Gitea issues into reviewed pull requests inside Paseo. Label an issue for the agent and the plugin claims it, opens an isolated Git worktree, lets a coding agent implement the change, runs verification and an independent review gate, then delivers the pull request back to your Gitea server, with a human approval checkpoint whenever you want one.

How it works

  1. Discovery: Each project's Git origin identifies the Gitea server, owner, and repository. github.com and gitlab.com are ignored.
  2. Trigger: The plugin watches enabled projects for issues carrying your ready label (default agent-ready) plus agent-auto or agent-plan. agent-auto runs the zero-gate direct_pr flow; agent-plan runs grill_plan, which pauses for your approval on the plan before any code is written.
  3. Implementation and verification: A coding agent works in an isolated worktree. A quality gate then runs your typecheck, lint, and test scripts together with a read-only review agent, and resumes the coding session to fix findings (2 cycles by default). When gates pass, the pull request is opened; if blockers remain after the last cycle, a [WIP] pull request is delivered instead.
  4. Review: Every run appears in the workspace panel with live DAG steps, questions the agent asks you mid-run, approval and denial buttons, and evidence such as test results, screenshots, diffs, and a review audit trail.

Credentials and identity

The plugin never sends a token to a server it cannot tell is your Gitea. Credentials resolve per host from, in order: a GITEA_TOKEN_<HOST> environment variable (for example GITEA_TOKEN_GITEA_CORP_COM), a local tea CLI login whose URL or SSH host matches, or a member identity from the optional Team Collab plugin. A bare GITEA_TOKEN is used only when the host is otherwise known to be your Gitea, and no token is ever sent over plaintext http://. Commits made in created worktrees use the matched member's author name, email, and SSH key.

Setup

  • Gitea: Designed for self-hosted Gitea servers. Issue polling needs a token that can read issues and open pull requests.
  • Issue labels: Add agent-ready (or your configured ready label) to issues, together with agent-auto for fully automated delivery or agent-plan for a plan checkpoint.
  • Host tools: git on the Paseo daemon host. tea is optional and enables automatic login discovery.

Settings

Enable the plugin globally, then authorize projects one by one; unauthorized projects are never queried. Per project you can override the ready label, base branch, workflow policy (direct_pr / grill_plan), Gitea identity, and the prompt templates handed to the coding and review agents. Global options cover the poll interval (default 60 seconds), concurrent run limit (3), automatic repair cycles (2), the labels written back to issues while a run is in flight (agent-in-progress, agent-reviewed), and evidence retention (90 days, pruned afterwards).

Known limits

  • Background polling starts when a Paseo client connects or a plugin RPC runs; a fully headless daemon restart stays dormant until then.
  • agent-harness role routing and live Team Collab roster sync are available only on hosts that expose paseo.plugins.invoke; elsewhere the plugin falls back to tea and environment credentials with static settings.
  • Run state and evidence are stored on the daemon host under the Paseo home directory (~/.paseo by default); nothing is sent to the plugin author.

Related plugins

Browse all plugins →