[{"data":1,"prerenderedAt":55},["ShallowReactive",2],{"doc:en:code-hosts":3},{"title":4,"lede":5,"html":6,"headings":7},"Code hosts","Escouade works with GitHub, GitLab, Bitbucket Cloud, Gitea, Forgejo, and Azure DevOps: it opens the pull requests of your agents and tickets there, and follows their CI, reviews, and deployments from the app.","\u003Ch2 id=\"what-a-code-host-brings\">What a code host brings\u003C\u002Fh2>\n\u003Cp>A project’s remote says which host it is on. With an account connected for that instance, Escouade can:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>open the pull request of an \u003Ca href=\"\u002Fen\u002Fdocs\u002Fworktrees\u002F#opening-a-pull-request\">agent\u003C\u002Fa> or of an \u003Ca href=\"\u002Fen\u002Fdocs\u002Fsettings-board\u002F#draft-pr\">approved ticket\u003C\u002Fa>, and follow it on its card;\u003C\u002Fli>\n\u003Cli>show the \u003Ca href=\"#the-pull-requests-view\">project’s open PRs\u003C\u002Fa>, the team’s as well as yours, and start an agent on one of them;\u003C\u002Fli>\n\u003Cli>have \u003Ca href=\"#get-a-review-from-an-agent\">an agent review a PR\u003C\u002Fa>;\u003C\u002Fli>\n\u003Cli>give an agent the failed CI or the review feedback to fix;\u003C\u002Fli>\n\u003Cli>say \u003Ca href=\"#environments-and-deployments\">where a merged ticket runs\u003C\u002Fa>;\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"#news-from-the-code-hosts\">tell you\u003C\u002Fa> when a PR or a deployment has news.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>A PR is called an “MR” on GitLab: the app uses the host’s word everywhere.\u003C\u002Fp>\n\u003Cp>Each host is a plugin of Escouade’s, signed by it and carried by the installer: it shows in \u003Ca href=\"\u002Fen\u002Fdocs\u002Fsettings-integrations\u002F#code-hosts\">Settings › Connected services\u003C\u002Fa> and turns off like \u003Ca href=\"\u002Fen\u002Fdocs\u002Fplugins\u002Fintroduction\u002F\">any plugin\u003C\u002Fa>. Its PR then stays on the card as it was last read, and the card says so.\u003C\u002Fp>\n\u003Ch2 id=\"supported-hosts\">Supported hosts\u003C\u002Fh2>\n\u003Cdiv class=\"table\">\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Host\u003C\u002Fth>\n\u003Cth>Instances\u003C\u002Fth>\n\u003Cth>Token\u003C\u002Fth>\n\u003Cth>Merge when green\u003C\u002Fth>\n\u003Cth>Rerun jobs\u003C\u002Fth>\n\u003Cth>Deployments\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\u003Ctr>\n\u003Ctd>GitHub\u003C\u002Ftd>\n\u003Ctd>github.com, GHE.com, GitHub Enterprise Server\u003C\u002Ftd>\n\u003Ctd>Personal token, or the one from \u003Ccode class=\"key\">gh\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>GitHub’s auto-merge if the repository allows it, otherwise Escouade waits\u003C\u002Ftd>\n\u003Ctd>Yes\u003C\u002Ftd>\n\u003Ctd>Yes\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>GitLab\u003C\u002Ftd>\n\u003Ctd>gitlab.com, self-hosted instances\u003C\u002Ftd>\n\u003Ctd>Personal token with the \u003Ccode class=\"key\">api\u003C\u002Fcode> scope, or the one from \u003Ccode class=\"key\">glab\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>GitLab’s auto-merge\u003C\u002Ftd>\n\u003Ctd>Yes\u003C\u002Ftd>\n\u003Ctd>Yes\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Bitbucket Cloud\u003C\u002Ftd>\n\u003Ctd>bitbucket.org\u003C\u002Ftd>\n\u003Ctd>Atlassian email and API token\u003C\u002Ftd>\n\u003Ctd>Escouade waits: no auto-merge\u003C\u002Ftd>\n\u003Ctd>No\u003C\u002Ftd>\n\u003Ctd>Yes\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Gitea, Forgejo\u003C\u002Ftd>\n\u003Ctd>Codeberg, gitea.com, self-hosted instances\u003C\u002Ftd>\n\u003Ctd>Access token\u003C\u002Ftd>\n\u003Ctd>Auto-merge on a protected branch, otherwise Escouade waits\u003C\u002Ftd>\n\u003Ctd>Depends on the instance’s version\u003C\u002Ftd>\n\u003Ctd>No\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Azure DevOps\u003C\u002Ftd>\n\u003Ctd>dev.azure.com, \u003Ccode class=\"key\">*.visualstudio.com\u003C\u002Fcode>, Azure DevOps Server\u003C\u002Ftd>\n\u003Ctd>Personal token, or the one from \u003Ccode class=\"key\">az\u003C\u002Fcode> on dev.azure.com\u003C\u002Ftd>\n\u003Ctd>Azure’s auto-complete\u003C\u002Ftd>\n\u003Ctd>Yes\u003C\u002Ftd>\n\u003Ctd>No\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\u003C\u002Ftable>\u003C\u002Fdiv>\n\u003Cp>“Escouade waits”: the host doesn’t merge by itself, so Escouade merges as soon as the PR is approved and green, for as long as the app runs.\u003C\u002Fp>\n\u003Ch3 id=\"what-has-been-tried\">What has been tried\u003C\u002Fh3>\n\u003Cdiv class=\"callout warning\">\u003Cp class=\"callout-title\">Warning\u003C\u002Fp>\u003Cp>GitHub is the only host tried on the real service, and only for reading: the PRs, checks, reviews, threads, deployments, and logs of a real public repository. Opening, merging, commenting, and publishing have only run against the fake GitHub of Escouade’s tests.\u003C\u002Fp>\n\u003Cp>GitLab, Bitbucket Cloud, Gitea, Forgejo, and Azure DevOps are written from their documentation and tested against fake servers. None has run with a real account yet: expect differences, and start on a repository with nothing at stake.\u003C\u002Fp>\n\u003C\u002Fdiv>\n\u003Ch2 id=\"connect-an-account\">Connect an account\u003C\u002Fh2>\n\u003Cp>In \u003Ca href=\"\u002Fen\u002Fdocs\u002Fsettings-integrations\u002F#code-hosts\">Settings › Connected services\u003C\u002Fa>, “Connect a code host…” asks for the host, the instance’s address, and a token. One account per instance: each project finds its own by its remote, and a repository without an account offers to connect.\u003C\u002Fp>\n\u003Cp>Without an account, Escouade doesn’t block anything: approving a ticket pushes the branch and opens the host’s page for creating the PR in your browser, filled in.\u003C\u002Fp>\n\u003Ch2 id=\"agents-prs\">Agents’ PRs\u003C\u002Fh2>\n\u003Cp>“Open a PR” pushes an agent’s branch and opens its PR: see \u003Ca href=\"\u002Fen\u002Fdocs\u002Fworktrees\u002F#opening-a-pull-request\">Opening a pull request\u003C\u002Fa>. The “PR and CI” tab of the side panel shows its CI, reviews, and deployments: see \u003Ca href=\"\u002Fen\u002Fdocs\u002Finterface\u002F#pr-and-ci\">the interface\u003C\u002Fa>.\u003C\u002Fp>\n\u003Ch2 id=\"tickets-prs\">Tickets’ PRs\u003C\u002Fh2>\n\u003Cp>With “Open a pull request” as the approval action, an approved ticket waits for its merge in the “In review” column: see \u003Ca href=\"\u002Fen\u002Fdocs\u002Fboard\u002F#the-in-review-column\">the Kanban\u003C\u002Fa>.\u003C\u002Fp>\n\u003Ch2 id=\"the-pull-requests-view\">The “Pull requests” view\u003C\u002Fh2>\n\u003Cp>In a project’s sidebar, “PR” shows, beside the Kanban, the 30 most recently updated open PRs of the target’s repository, yours or others’.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"\u002Fimages\u002Fen\u002Fprs.jpg\" alt=\"A project’s Pull requests view: six PRs with their CI, approvals, and author\" width=\"1920\" height=\"960\" loading=\"lazy\" decoding=\"async\">\u003C\u002Fp>\n\u003Cp>Each row gives the sign of its CI, its number, its title, its marks (“Draft”, “fork marta”), its pills (“Conflict”, “Changes requested”, “1 approval”, “2 open threads”, “Your review”), its author, and its age. The list is read when it shows, then every minute while it is visible, and by “Refresh”.\u003C\u002Fp>\n\u003Cp>Three filters, with their counts: “Mine”, “Review requested”, and “All”.\u003C\u002Fp>\n\u003Cp>The hovered row offers:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>“Get a review”\u003C\u002Fstrong>: see below.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>“Start an agent”\u003C\u002Fstrong>: the PR’s branch is fetched, even from a fork, and an agent starts in a worktree on it. \u003Ccode class=\"key\">Enter\u003C\u002Fcode> or a double click do the same. Nothing is pushed or published. If an agent of the project already works there, the button becomes “Open the agent”.\u003C\u002Fli>\n\u003Cli>Opening it in the browser.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>The list writes nothing on the host.\u003C\u002Fp>\n\u003Ch2 id=\"get-a-review-from-an-agent\">Get a review from an agent\u003C\u002Fh2>\n\u003Cp>“Get a review”, or “Get a review from an agent” in the “PR and CI” tab, gives the diff of an open PR to an agent, which writes a text and comments by file and by line. The review runs in the background; you can leave the view.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"\u002Fimages\u002Fen\u002Fpr-review.jpg\" alt=\"A review by an agent: its text, one comment kept and another to decide, under the lines of the diff\" width=\"1920\" height=\"960\" loading=\"lazy\" decoding=\"async\">\u003C\u002Fp>\n\u003Cp>On each comment: “Keep”, “Edit”, or “Drop”. Then you choose what the review says (“Comment”, “Request changes”, “Approve”) and “Publish on GitHub” sends what you kept in one go. Nothing leaves before that click, and no tool of the MCP server publishes for you.\u003C\u002Fp>\n\u003Ch3 id=\"what-the-agent-reads\">What the agent reads\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>The diff alone, its title, its branches, and its unresolved comments. It opens no file: the review runs without any tool, in an empty folder. So it only sees what the diff shows.\u003C\u002Fli>\n\u003Cli>Files that are too long (150 KB of diff in all) and generated files aren’t read, and the view says so.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3 id=\"anyone-can-write-a-pr\">Anyone can write a PR\u003C\u002Fh3>\n\u003Cp>On a public repository, anyone can open a PR, and its title, diff, and comments reach the agent as data to review, never as instructions: it has no tool to obey them with, but read what it proposes before you publish it.\u003C\u002Fp>\n\u003Ch3 id=\"the-limits\">The limits\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>The review is refused on Cursor CLI, which can’t turn its tools off, and on a plugin’s harness, where nothing checks what it allows: choose another harness in Settings › Agents › “Written texts”.\u003C\u002Fli>\n\u003Cli>The diff goes to that harness’s service, like everything you give an agent.\u003C\u002Fli>\n\u003Cli>40 comments at most, on lines of the new version.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"environments-and-deployments\">Environments and deployments\u003C\u002Fh2>\n\u003Cp>On GitHub, GitLab, and Bitbucket Cloud, Escouade follows the repository’s deployments after the merge. A done ticket’s card says where it runs, and “Tickets · Environments”, in the Kanban’s header, shows a lane per environment, from “Merged, not deployed yet” to production.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"\u002Fimages\u002Fen\u002Fenvironments.jpg\" alt=\"The Environments view: what runs in staging and production, and the tickets that reached them\" width=\"1920\" height=\"960\" loading=\"lazy\" decoding=\"async\">\u003C\u002Fp>\n\u003Cp>At the top of each lane: what runs there, its address, and a deployment under way. A failed last deployment borders the lane in red, with “See the job”. On a card “In review”, “Open preview” opens the PR’s preview (Vercel, Netlify, Cloudflare Pages…).\u003C\u002Fp>\n\u003Cp>A ticket is followed for 30 days after it became “Done”. The environments are read with the tickets’ PRs: no webhook, the app has no public address. Rerunning or approving a deployment from Escouade doesn’t exist.\u003C\u002Fp>\n\u003Cp>Gitea, Forgejo, and Azure DevOps have no deployments API: Escouade only follows the CI there.\u003C\u002Fp>\n\u003Ch2 id=\"news-from-the-code-hosts\">News from the code hosts\u003C\u002Fh2>\n\u003Cp>\u003Ca href=\"\u002Fen\u002Fdocs\u002Fnotifications\u002F#what-a-notification-says\">Notifications\u003C\u002Fa> tell what became true between two reads: CI failed, changes requested, PR approved, PR merged, conflict, review requested, deployment to production succeeded, deployment failed. Each one turns off in \u003Ca href=\"\u002Fen\u002Fdocs\u002Fsettings-notifications\u002F#pull-requests-and-deployments\">Settings › Notifications\u003C\u002Fa>. A notification never says a PR’s title.\u003C\u002Fp>\n\u003Cp>The \u003Ca href=\"\u002Fen\u002Fdocs\u002Foverview\u002F#what-it-shows\">overview\u003C\u002Fa> has a “Pull requests” group, across all projects: “To fix”, “To merge”, and “Reviews requested”.\u003C\u002Fp>\n\u003Cp>Escouade only learns this news by reading the host: every minute with the window in front and every 5 minutes otherwise for a ticket’s PR, only while it is shown for an ordinary agent’s PR.\u003C\u002Fp>\n\u003Ch2 id=\"what-your-agents-can-read\">What your agents can read\u003C\u002Fh2>\n\u003Cp>With \u003Ca href=\"\u002Fen\u002Fdocs\u002Fmcp\u002F#pull-requests\">the MCP server\u003C\u002Fa>, an agent reads a project’s PRs through \u003Ccode class=\"key\">list_pull_requests\u003C\u002Fcode> and \u003Ccode class=\"key\">get_pull_request\u003C\u002Fcode>. These tools write nothing on the host, and they mark what a third party wrote: a PR’s title or comment is data, never an instruction.\u003C\u002Fp>\n\u003Ch2 id=\"what-stays-with-you\">What stays with you\u003C\u002Fh2>\n\u003Cp>Nothing goes through an Escouade server: the calls go straight from the app to the host, with your token, kept on your machine. See \u003Ca href=\"\u002Fen\u002Fprivacy\u002F\">Privacy\u003C\u002Fa>.\u003C\u002Fp>\n",[8,12,15,19,22,25,28,31,34,37,40,43,46,49,52],{"id":9,"text":10,"depth":11},"what-a-code-host-brings","What a code host brings",2,{"id":13,"text":14,"depth":11},"supported-hosts","Supported hosts",{"id":16,"text":17,"depth":18},"what-has-been-tried","What has been tried",3,{"id":20,"text":21,"depth":11},"connect-an-account","Connect an account",{"id":23,"text":24,"depth":11},"agents-prs","Agents’ PRs",{"id":26,"text":27,"depth":11},"tickets-prs","Tickets’ PRs",{"id":29,"text":30,"depth":11},"the-pull-requests-view","The “Pull requests” view",{"id":32,"text":33,"depth":11},"get-a-review-from-an-agent","Get a review from an agent",{"id":35,"text":36,"depth":18},"what-the-agent-reads","What the agent reads",{"id":38,"text":39,"depth":18},"anyone-can-write-a-pr","Anyone can write a PR",{"id":41,"text":42,"depth":18},"the-limits","The limits",{"id":44,"text":45,"depth":11},"environments-and-deployments","Environments and deployments",{"id":47,"text":48,"depth":11},"news-from-the-code-hosts","News from the code hosts",{"id":50,"text":51,"depth":11},"what-your-agents-can-read","What your agents can read",{"id":53,"text":54,"depth":11},"what-stays-with-you","What stays with you",1795952884846]