electron 0.1.0
The Electron repository's agent setup: Chromium and Node upgrade skills, PR triage and pre-allowed build commands.
Owner: Baudrier AI · MIT · from electron/electron at b5e057b
Claude Code nothing to guardCodex nothing to guardGitHub Copilot nothing to guard
Install
$ uv tool install baudrier # once
$ baudrier install electron --dry # look first: nothing is written
$ baudrier install electron # for the agents your repository uses; or --to claude|codex|copilot|generic
It shows what it will write, hook scripts first, and asks before it writes.
Last step: paste the line the install prints last into your agent, opened in your repository. It fits the harness to your repository. Don’t skip it. For Claude Code:
Read .baudrier/harness/electron/FINISH_SETUP.claude.md and follow it.
For another agent, the file ends in .codex.md, .copilot.md or .generic.md.
What each agent keeps
- Claude Code: 6 native, 0 emulated, 0 lost. Checks validated by the publisher: nothing to guard.
- Codex: 19 native, 0 emulated, 3 lost. Checks validated by the publisher: nothing to guard.
- GitHub Copilot: 5 native, 0 emulated, 1 lost. Checks validated by the publisher: nothing to guard.
- Any agent: 5 native, 0 emulated, 1 lost. Its guards are written as instructions: nothing enforces them.
What Codex rebuilds or loses (3)
chrome-release-cls: $ARGUMENTSlost, Codex does not substitute $ARGUMENTS; the agent reads the request insteadchrome-release-verify: $ARGUMENTSlost, Codex does not substitute $ARGUMENTS; the agent reads the request instead3 rule(s) for Read, Skilllost, Codex rules cover shell commands only. Nothing is less protected: Codex follows its own approval settings for these tools. The rules: Skill(electron-chromium-upgrade), Skill(electron-node-upgrade), Read(*)
What GitHub Copilot rebuilds or loses (1)
17 rule(s)lost, Copilot keeps allow and ask rules outside the repository (--allow-tool, its own approvals). Nothing is less protected: Copilot asks as it always does. The rules: Bash(e sync), Bash(e patches --list-targets:*), Bash(git add:*), Bash(git am:*), Bash(git commit:*), Bash(git log:*), Bash(git show:*), Bash(e patches:*), Bash(e sync:*), Skill(electron-chromium-upgrade), Skill(electron-node-upgrade), Read(*), Bash(echo:*), Bash(e build:*), Bash(tee:*), Bash(git diff:*), Bash(git rev-parse:*)
What Any agent rebuilds or loses (1)
17 rule(s)lost, your agent's own approval settings apply
Allowed 17
Bash(e sync)Bash(e patches --list-targets:*)Bash(git add:*)Bash(git am:*)Bash(git commit:*)Bash(git log:*)Bash(git show:*)Bash(e patches:*)Bash(e sync:*)Skill(electron-chromium-upgrade)Skill(electron-node-upgrade)Read(*)Bash(echo:*)Bash(e build:*)Bash(tee:*)Bash(git diff:*)Bash(git rev-parse:*)
Skills 5
chrome-release-clsGiven a Chrome Releases blog post URL (chromereleases.googleblog.com), extract every CVE/bug and find the underlying Gerrit CL that fixed it by searching the local Chromium checkout and sub-repos. Use when asked to map Chrome security release notes to fixing CLs, or to find which commits correspond to CVEs in a Chrome stable update.chrome-release-verifyEnd-to-end Chrome security backport for an Electron release branch. Given a Chrome Releases blog URL and a branch (e.g. 41-x-y), determines which CVE fixes are missing from the *actual synced source*, writes the cherry-pick patches locally, validates them with `e sync --3` + `lint --patches`, then pushes a single PR. Use when asked to backport a Chrome security release to N-x-y, "is CVE-X already in N-x-y?", or to produce/validate the cherry-pick set for a release branch.electron-chromium-upgradeGuide for performing Chromium version upgrades in the Electron project. Use when working on the roller/chromium/main branch to fix patch conflicts during `e sync --3`. Covers the patch application workflow, conflict resolution, analyzing upstream Chromium changes, and proper commit formatting for patch fixes.electron-node-upgradeGuide for performing Node.js version upgrades in the Electron project. Use when working on the roller/node/main branch to fix patch conflicts during `e sync --3`. Covers the patch application workflow, conflict resolution, analyzing upstream Node.js changes, building, running the Node.js test suite, and proper commit formatting for patch fixes.triage-prsTriage open electron/electron pull requests by CI check status — lists PRs that are green/passing, failing, still pending, or have no checks at all, annotated with their Status on the "PR Triage" project board and with the new-pr label. Can scope to a single named check, e.g. PRs whose "faraday/cage" check is pending. Use when asked to triage PRs or do PR triage, list green/passing or mergeable PRs, find PRs with failing or pending CI, find PRs with no checks running, check faraday/cage status, or show each PR's triage board status. Also triggers on the bare words "faraday" or "failing prs".
Files 17
- 1.3 kB
- 2.5 kB
- 1.4 kB
- 1.1 kB
- 7.7 kB
- 10.1 kB
- 14.2 kB
- 4.9 kB
- 8.4 kB
- 7.3 kB
- 21.0 kB
- 5.8 kB
- 6.3 kB
- 2.5 kB
- 4.1 kB
- 6.6 kB
- 10.5 kB
Loading harness.yaml...
MIT (recognised from the licence file), its licence file travels with every install; from electron/electron at b5e057b, absorbed on 2026-11-27. The files are the source repository authors' work, copied unchanged; Baudrier AI is not affiliated with that project.