mem0
AGENTS.md67k starsChanged 3 months agoApache-2.0View on GitHub
Do not modify any workflow without explicit approval from a maintainer. Publishing credentials are bound to workflow filenames, and the gate workflows decide whether contributions are accepted. Read this file before proposing any change here. ci-gate.yml (CI Gate) is the single entry point. It runs on every PR, detects which packages changed, and calls only the relevant package workflows as reusable workflows (workflow_call). Its final CI Gate job aggregates the results: skipped pipelines pass, failed or cancelled ones fail. It…
- Reads credentials
Trending
Less talk lately.about the whole repository
Who's talking about mem0ai/mem0
- A Hacker News story“Show HN: Mem0 – open-source Memory Layer for AI apps”Hacker News · Sep 4, 2024 · 201 points
- kuzudb/kuzu“Release 0.11.0”GitHub · May 14, 2025 · 14 reactions
- anomalyco/opencode“Feature Request: Model-Agnostic Memory Layer (Global & Per-Project)”GitHub · Jan 12, 2026 · 13 reactions
- A Hacker News story“Show HN: OpenMemory – Make your MCP clients more context-aware”Hacker News · May 13, 2025 · 8 points
- getzep/zep-papers“Revisiting Zep’s 84% LoCoMo Claim: Corrected Evaluation & 58.44% Accuracy”GitHub · May 8, 2025 · 7 reactions
The biggest 5 of 62 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 62
Talked about on GitHub, Bluesky and Hacker News (62 times).
On GitHub · 50
- May 14, 2025Release 0.11.0 — kuzudb/kuzu14 reactions · 1 comment
- Jan 12, 2026Feature Request: Model-Agnostic Memory Layer (Global & Per-Project) — anomalyco/opencode13 reactions · 4 comments
- May 8, 2025Revisiting Zep’s 84% LoCoMo Claim: Corrected Evaluation & 58.44% Accuracy — getzep/zep-paperssays it tested it7 reactions · 3 comments
- Jul 22, 2024mem0 compatabile with openwebui and ollama? — open-webui/open-webui4 reactions
- Sep 1, 2025Add memory — pollen-robotics/reachy_mini_conversation_app3 reactions · 1 comment
45 more on GitHub
- Nov 5, 2026fix(serve): what a run learns is kept item by item, by the grader and by the checks — Parcha-ai/agentrun2 reactions · 2 comments
- Jul 17, 2026chore(deps): bump the pip group across 2 directories with 20 updates — CaffeeLake/MemOS2 reactions · 4 comments
- Jun 24, 2026chore(deps): bump the pip group across 2 directories with 20 updates — CaffeeLake/MemOS2 reactions · 1 comment
- Jun 17, 2026plugin: official mem0 client (add_memory / search_memories hooks for cross-session memory) — Kilo-Org/kilocode2 reactions · 2 comments
- May 28, 2026chore(deps): bump the pip group across 9 directories with 5 updates — HarleyCoops/Dakota18902 reactions · 1 comment
- May 28, 2026chore(deps): bump the uv group across 23 directories with 15 updates — HarleyCoops/awesome-llm-apps2 reactions · 1 comment
- May 28, 2026chore(deps): bump mem0ai from 0.1.63 to 2.0.0b2 in /examples/demo-viewer/agent/demo/crewai_crew_enterprise/restaurant_finder_crew — HarleyCoops/copilotkit2 reactions · 1 comment
- May 28, 2026chore(deps): bump mem0ai from 0.1.63 to 2.0.0b2 in /examples/coagents-enterprise-crewai-crews/agent-py — HarleyCoops/copilotkit2 reactions · 1 comment
- May 28, 2026chore(deps): bump the pip group across 9 directories with 9 updates — HarleyCoops/Dakota18902 reactions · 3 comments
- May 28, 2026chore(deps): bump the pip group across 9 directories with 12 updates — HarleyCoops/Dakota18902 reactions · 3 comments
- May 13, 2026Bump mem0ai from 0.1.81 to 2.0.0b2 in /A2A/samples/python — HarleyCoops/Agent2Agent2 reactions · 1 comment
- May 13, 2026Bump mem0ai from 0.1.81 to 2.0.0b2 in /samples/python — HarleyCoops/A2A2 reactions · 1 comment
- May 13, 2026Bump mem0ai from 0.1.93 to 2.0.0b2 in /workflows — HarleyCoops/workflow-use2 reactions · 3 comments
- May 12, 2026chore(deps): update mem0ai requirement from >=0.1 to >=2.0.2 — EvezArt/evez666-arg-canon2 reactions · 1 comment
- Oct 26, 2026deps(python): bump the python-runtime group across 1 directory with 172 updates — JoeElder21/Joeyyy1 reaction · 2 comments
- Sep 7, 2026Chore(deps): bump mem0ai from 2.0.19 to 2.0.20 — MoonLadderStudios/MoonMind1 reaction
- Aug 31, 2026Chore(deps): bump mem0ai from 2.0.18 to 2.0.19 — MoonLadderStudios/MoonMind1 reaction
- Aug 17, 2026Chore(deps): bump mem0ai from 2.0.17 to 2.0.18 — MoonLadderStudios/MoonMind1 reaction
- Aug 10, 2026Chore(deps): bump mem0ai from 2.0.14 to 2.0.17 — MoonLadderStudios/MoonMind1 reaction
- Jul 27, 2026Chore(deps): bump mem0ai from 2.0.12 to 2.0.14 — MoonLadderStudios/MoonMind1 reaction
- Jul 20, 2026Chore(deps): bump mem0ai from 2.0.11 to 2.0.12 — MoonLadderStudios/MoonMind1 reaction
- Jul 16, 2026Evaluate + implement mem0 as a memory backend (kind: mem0) — fagerbergj/quack1 reaction · 13 comments
- Jul 6, 2026Bump mem0ai from 2.0.10 to 2.0.11 — MoonLadderStudios/MoonMind1 reaction
- Jun 29, 2026Bump mem0ai from 2.0.7 to 2.0.10 — MoonLadderStudios/MoonMind1 reaction
- Jun 28, 2026Expose memory over MCP: official 8 KG tools + remember/recall REST — joelfuller2016/KanbanFlow-v21 reaction · 2 comments
- Jun 28, 2026Add hybrid retrieval service (sqlite-vec + FTS5 BM25 + recency/usefulness fusion) — joelfuller2016/KanbanFlow-v21 reaction · 2 comments
- Jun 28, 2026Epic: AI memory store — semantic memory for agents over the kanban graph — joelfuller2016/KanbanFlow-v21 reaction · 6 comments
- Jun 28, 2026Epic: AI Memory & Ops Hub — KanbanFlow as memory + PM + knowledge store for AI — joelfuller2016/KanbanFlow-v21 reaction · 5 comments
- Jun 22, 2026Bump mem0ai from 2.0.6 to 2.0.7 — MoonLadderStudios/MoonMind1 reaction
- Jun 15, 2026Bump mem0ai from 2.0.4 to 2.0.6 — MoonLadderStudios/MoonMind1 reaction
- May 23, 2026docs(readme): link MemPalace, Mem0, Basic Memory in Comparison header — kitfunso/hippo-memory1 reaction
- May 8, 2026Bump mem0ai from 0.1.65 to 2.0.0b2 in /mem0-agent — cicero-im/ottomator-agents1 reaction · 1 comment
- May 8, 2026Bump mem0ai from 0.1.65 to 2.0.0b2 in /mem0-agent/studio-integration-version — cicero-im/ottomator-agents1 reaction · 1 comment
- May 8, 2026Bump mem0ai from 0.1.29 to 2.0.0b2 in /advanced_llm_apps/llm_apps_with_memory_tutorials/ai_travel_agent_memory — cicero-im/awesome-llm-apps1 reaction · 1 comment
- May 8, 2026Bump mem0ai from 0.1.93 to 2.0.0b2 in /advanced_ai_agents/multi_agent_apps/ai_news_and_podcast_agents/beifong — cicero-im/awesome-llm-apps1 reaction · 1 comment
- May 8, 2026Bump mem0ai from 0.1.29 to 2.0.0b2 in /advanced_llm_apps/llm_apps_with_memory_tutorials/llm_app_personalized_memory — cicero-im/awesome-llm-apps1 reaction · 1 comment
- May 8, 2026build(deps): bump mem0ai from 1.0.1 to 2.0.0b2 — cicero-im/cuga-agent1 reaction · 1 comment
- May 8, 2026Bump mem0ai from 0.1.102 to 2.0.0b2 in /advanced_ai_agents/multi_agent_apps/agent_teams/ai_travel_planner_agent_team/backend — cicero-im/awesome-llm-apps1 reaction · 1 comment
- May 8, 2026Bump mem0ai from 0.1.29 to 2.0.0b2 in /advanced_llm_apps/llm_apps_with_memory_tutorials/local_chatgpt_with_memory — cicero-im/awesome-llm-apps1 reaction · 1 comment
- May 8, 2026chore(deps): bump mem0ai from 0.1.73 to 2.0.0b2 — cicero-im/camel1 reaction · 1 comment
- May 8, 2026Bump mem0ai from 0.1.29 to 2.0.0b2 in /advanced_ai_agents/single_agent_apps/ai_customer_support_agent — cicero-im/awesome-llm-apps1 reaction · 1 comment
- Feb 3, 2026提供集成 https://github.com/mem0ai/mem0的例子 — smallnest/langgraphgo1 reaction
- Jan 17, 2026Core: Mem0 Integration Framework — Arithmomaniac/copilot-session-tools1 reaction · 1 comment
- Nov 17, 2025GitMCP — tbrandenburg/shai1 reaction · 5 comments
- Sep 28, 2025Add support for FalkorDB MemoryGraph — FalkorDB/mem01 reaction · 3 comments
On Bluesky · 9
- Jul 18, 2024今日のGitHubトレンド mem0ai/mem0 mem0ai/mem0リポジトリは、パーソナライズされたAI体験を実現するためのメモリーレイヤーを提供するものです。… — @dailygithubtrends.bsky.social2 likes and reposts
- Aug 19, 2026🚀 GitHub Intelligence Drop rustlings (Rust • 🟢) ⭐ 63.9K → https://github.com/rust-lang/rustlings mem0 (Python • 🟢) ⭐ 63.5K →… — @githubfeed.bsky.social1 likes and repost
- May 17, 2025今日のGitHubトレンド mem0ai/mem0 このリポジトリは、AIアシスタントやエージェントにインテリジェントな記憶層を追加することを目的としています。 ユーザーの嗜好を記憶し、個々のニーズに適応し、継続的に学習することで、パーソナライズされたAI対話を実現します。… — @dailygithubtrends.bsky.social1 likes and repost
- Mar 8, 2025github.com/mem0ai/mem0 — @rdenadai.dev1 likes and repost
- Sep 4, 2024Show HN: Mem0 – open-source Memory Layer for AI apps Discussion — @hackernewsbot.bsky.social1 likes and repost
4 more on Bluesky
- Jul 17, 2024🔥 Hot Repo! 🔥 (100+ new stars) 📦 mem0ai / mem0 ⭐ 9,249 (+171) 🗒 Python The memory layer for Personalized AI — @github-trending.bsky.social1 likes and repost · 1 reply
- Jul 16, 2026**GODDAMMIT, #GOOGLE!!** So, I'm trying to set up mem0 to act as a "memory" service for my #OpenClaw configuration. Except, OpenClaw is six… — @ferricoxide.blahaj.zone.ap.brid.gy0 likes and reposts · 1 reply
- Dec 8, 2025build v buy, control v convenience. it was gemini's metaphor. i found it fascinating learning how this stuff really works. vector matching… — @songbirddigital.bsky.social0 likes and reposts · 1 reply
- Jul 21, 2024💎 Hidden Gem! 💎 (1000+ new stars) 📦 mem0ai / mem0 ⭐ 12,313 (+1,405) 🗒 Python The memory layer for Personalized AI — @github-trending.bsky.social0 likes and reposts · 1 reply
On Hacker News · 3
- Sep 4, 2024Show HN: Mem0 – open-source Memory Layer for AI apps201 points · 61 comments
- May 13, 2025Show HN: OpenMemory – Make your MCP clients more context-aware8 points
- Aug 1, 2024Mem0: The Memory Layer for Personalized AI2 points
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository24 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- integrations/AGENTS.mdAGENTS.md
- mem0/AGENTS.mdAGENTS.md
- mem0-ts/AGENTS.mdAGENTS.md
- server/AGENTS.mdAGENTS.md
- skills/AGENTS.mdAGENTS.md
- tests/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- docs/CLAUDE.mdCLAUDE.md
- .github/CLAUDE.mdCLAUDE.md
- integrations/CLAUDE.mdCLAUDE.md
- mem0/CLAUDE.mdCLAUDE.md
- mem0-ts/CLAUDE.mdCLAUDE.md
- server/CLAUDE.mdCLAUDE.md
- skills/CLAUDE.mdCLAUDE.md
- tests/CLAUDE.mdCLAUDE.md
- docs/llms.txtllms.txt
- mem0-cliSkill
- mem0-integrateSkill
- mem0-oss-to-platformSkill
- mem0Skill
- mem0-test-integrationSkill
- mem0-vercel-ai-sdkSkill
The file
We split this AGENTS.md into the rules it gives an agent
1 rule. About 1 is common, 0 are distinctive, and 0 are very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 69
All publishing uses OIDC trusted publishing.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CI/CD and repository automation (.github/)
Do not modify any workflow without explicit approval from a maintainer. Publishing credentials are bound to workflow filenames, and the gate workflows decide whether contributions are accepted. Read this file before proposing any change here.
CI: one gate, many pipelines
ci-gate.yml (CI Gate) is the single entry point. It runs on every PR, detects which packages changed, and calls only the relevant package workflows as reusable workflows (workflow_call). Its final CI Gate job aggregates the results: skipped pipelines pass, failed or cancelled ones fail. It is the only CI status check that needs to be required in branch protection.
Package workflows keep their own push-to-main and manual triggers. Their pull_request triggers live in the gate's path filters instead.
| Workflow | File | Standalone triggers | Runs |
| CI Gate | ci-gate.yml | All PRs | Routes to and aggregates everything below |
| Python SDK | ci.yml | Push to main | Ruff + pytest on Python 3.10, 3.11, 3.12 |
| TypeScript SDK | ts-sdk-ci.yml | Push to main (mem0-ts/) | Prettier + build + jest on Node 20, 22 |
| Python CLI | cli-python-ci.yml | Push to main (cli/python/), manual | Ruff + pytest + hatch build on Python 3.10, 3.11, 3.12 |
| Node CLI | cli-node-ci.yml | Push to main (cli/node/), manual | Biome + tsc + vitest + tsup on Node 20, 22 |
| OpenClaw | openclaw-checks.yml | Push to main (integrations/openclaw/), manual | tsc + vitest (Codecov) + tsup on Node 20, 22 |
| Agent Plugins Python | agent-plugins-python-checks.yml | Push to main (shared Python core and native/portable plugin directories), manual | Runtime tests on Python 3.10; full pytest on 3.11, 3.12; ruff + generated-package drift on 3.12 |
| Agent Plugins TypeScript | agent-plugins-typescript-checks.yml | Push to main (integrations/agent-plugin-core/typescript/), manual | tsc + node:test on Node 22 |
| OpenCode Plugin | opencode-plugin-checks.yml | Push to main (integrations/opencode-plugin/), manual | Bun: tsc + build + dist artifact check |
| Pi Agent Plugin | pi-agent-plugin-checks.yml | Push to main (integrations/pi-agent-plugin/), manual | tsc + vitest + tsup on Node 20, 22 |
| DeepSeek Harness Plugin | deepseek-plugin-checks.yml | Push to main (integrations/deepseek-plugin/), manual | tsc + vitest + tsup on Node 20, 22 |
| n8n Node | n8n-nodes-mem0-checks.yml | Push to main (integrations/n8n-nodes-mem0/), manual | ESLint + tsc build on Node 20 |
| Zapier App | zapier-mem0-checks.yml | Push to main (integrations/zapier-mem0/), manual | tsc + zapier validate + offline unit tests on Node 22 |
| mem0-strands | mem0-strands-checks.yml | Push to main (integrations/mem0-strands/), manual | Ruff + mypy + pytest + hatch build on Python 3.10, 3.11, 3.12 |
| docs llms.txt | docs-llms-txt-check.yml | Manual | docs/llms.txt coverage |
| GitHub Scripts | inline in ci-gate.yml | none | node over every .github/scripts/*.test.js |
Adding a package CI workflow: give it workflow_call plus push / workflow_dispatch as needed but no pull_request trigger, then register it in ci-gate.yml with a path filter under the changes job, a call job, and an entry in the gate job's needs list.
GitHub Scripts is the one row that is a plain job inside ci-gate.yml rather than a called workflow, because a reusable workflow wrapping two node invocations would be more file than test. It runs on the github_scripts filter, which covers .github/scripts/** plus every file those tests read: pr-gate.yml, vouch-check-pr.yml, issue-labeler.yml, and VOUCHED.td. Add a new .github/scripts/*.test.js and it is picked up with no wiring; make a test read a new file and that file belongs in the filter.
Branch protection on main
A repository ruleset named Main Branch Rule, id 11813754. It enforces squash-only merges, linear history, no deletion, no force-push, and one approving review. Two status checks belong in its required_status_checks rule:
| Context | Posted by | Why |
CI Gate | ci-gate.yml | Aggregates every package pipeline |
license/cla | CLA Assistant | Proves the CLA is signed, not merely requested |
Editing the ruleset requires repo admin. maintain is not enough, and the API returns 404 rather than 403 in that case. Until license/cla is required, the claim in CONTRIBUTING.md that unsigned PRs are blocked from merging holds by convention only.
Requiring CI Gate also means fork PRs from first-time contributors cannot merge until a maintainer approves the workflow run. Those sit at action_required, which is intended behavior.
CD: one router, many publishers
release.yml (Release Router) is the only workflow listening to release: published. It matches the tag prefix and dispatches the matching package workflow through workflow_dispatch, so one release produces exactly one routed run.
| Workflow | File | Tag prefix | Target |
| Release Router | release.yml | all releases | dispatches the rows below |
| Python SDK | cd.yml | v* | PyPI (mem0ai) |
| TypeScript SDK | ts-sdk-cd.yml | ts-v* | npm (mem0ai) |
| Python CLI | cli-python-cd.yml | cli-v* | PyPI (mem0-cli) |
| Node CLI | cli-node-cd.yml | cli-node-v* | npm (@mem0/cli) |
| Vercel AI SDK | vercel-ai-cd.yml | vercel-ai-v* | npm (@mem0/vercel-ai-provider) |
| OpenClaw | openclaw-cd.yml | openclaw-v* | npm (@mem0/openclaw-mem0) |
| OpenCode Plugin | opencode-plugin-cd.yml | opencode-v* | npm (@mem0/opencode-plugin) |
| Pi Agent Plugin | pi-agent-plugin-cd.yml | pi-agent-v* | npm (@mem0/pi-agent-plugin) |
| DeepSeek Harness Plugin | deepseek-plugin-cd.yml | deepseek-plugin-v* | npm (@mem0/deepseek-plugin) |
| n8n Node | n8n-nodes-mem0-cd.yml | n8n-nodes-mem0-v* | npm (@mem0/n8n-nodes-mem0) |
| mem0-strands | mem0-strands-cd.yml | mem0-strands-v* | PyPI (mem0-strands) |
- Package CD workflows are
workflow_dispatch-only, withtagandprereleaseinputs. They check out and build the given tag. - All publishing uses OIDC trusted publishing. No tokens, no secrets.
- Registry trusted-publisher settings are pinned to each package's own workflow filename. Renaming a CD workflow breaks publishing for that package.
- First publish of a new npm package must be done manually. OIDC works from the second version onward.
- To re-publish a release, do not delete and recreate the GitHub release. Dispatch the workflow directly:
gh workflow run <package>-cd.yml --ref refs/tags/<tag> -f tag=<tag>. - The Zapier app deploys to Zapier's platform, not npm, so it is not in the router. Deploy with
gh workflow run zapier-mem0-cd.yml --ref main. - Adding a package: add its CD workflow, then register its tag prefix in the
caseblock inrelease.yml, keeping the barev*arm last.
Contribution gates
| Workflow | File | Purpose |
| PR Gate | pr-gate.yml | Closes PRs that do not link an issue labeled accepted, and reopens them when that label arrives. Exempts members, bots, drafts, and docs-only changes. Never checks out PR code. |
| Vouch (check PR) | vouch-check-pr.yml | Closes PRs from authors denounced in VOUCHED.td. Comments once on PRs from authors merely absent from it, and blocks nothing in that case. |
| Vouch (manage list) | vouch-manage-by-issue.yml | Maintainers edit the trust list by commenting !vouch @user, !denounce @user, or !unvouch @user on any issue. Opens a PR against VOUCHED.td through a GitHub App token, for a maintainer to merge. |
| Issue Labeler | issue-labeler.yml | Labels issues from the component field in the issue forms |
| PR Labeler | pr-labeler.yml | Path-based labels, plus propagating labels from linked issues |
| Stale Bot | stale.yml | Marks stale issues and PRs |
| llms.txt Check | docs-llms-txt-check.yml | Blocks PRs touching docs/**/*.mdx when docs/llms.txt is out of sync |
pr-gate.yml and vouch-check-pr.yml use pull_request_target, which is required to label and close fork PRs. Neither checks out PR code and neither has a run: step, so there is no pwn-request or script-injection surface. Keep it that way: any future run: step in these files must never interpolate github.event.* text.
Both workflows exempt maintainers twice, and the second guard is the one that holds. author_association is rendered for the viewer, and a webhook payload has no privileged viewer: MEMBER needs the author's org membership to be public, COLLABORATOR needs a direct repository invite. An org member with private membership whose maintain comes through a team matches neither and arrives as CONTRIBUTOR, which is how PR #6948 was closed by its own author's gate. So the guard also skips any PR whose head branch lives in this repository (head.repo.full_name == github.repository). Pushing a branch here already requires write access and outside contributors always arrive from a fork, so that test means the same thing without depending on who is looking. Keep both: the author_association arm still covers members who work from their own fork.
pr-gate.yml carries two jobs whose if: conditions are deliberately disjoint. gate closes, and only ever runs on opened, reopened, and ready_for_review. reopen reopens, and only ever runs on edited or on issues: labeled with the accepted label. Nothing can both close and reopen on the same event, which is the property to preserve when editing either guard.
That split exists because the two halves of a gated PR's recovery arrive in either order. A maintainer usually labels the issue accepted at triage, before the author has linked it; sometimes the link lands first and the label follows. So reopen handles both directions. From issues: labeled it walks closedByPullRequestsReferences back to the pull requests that link the issue. From edited it takes the edited pull request directly. Both paths then apply the same four tests: the author is not denounced in VOUCHED.td, the PR is CLOSED, it links an issue labeled accepted, and it carries the <!-- pr-gate --> marker comment. Without the label path, a maintainer's label is inert. Without the edited path, an author who links the issue after it was labeled is stuck, since no other event fires.
The denounce test is what keeps the two gates from cancelling each other out. A denounced author whose PR also lacked an accepted issue was closed by both workflows, so it carries the <!-- pr-gate --> marker, and labeling the linked issue would otherwise reopen it. Vouch cannot undo that: reopening runs through GITHUB_TOKEN, which raises no events, so vouch-check-pr.yml never fires a second time. Reading the list here is the only place the check can live. It fails open like vouch does, warning and treating nobody as denounced if the file cannot be read, and it is the one piece of vouch semantics duplicated outside vouch-check-pr.yml, because pr-gate.yml never checks out the repository and so cannot import a shared parser. .github/scripts/vouch-decision.test.js covers the parsing and asserts pr-gate.yml still filters the list the same way.
edited must never reach the gate job. It fires on any title or description change, so when gate listened for it the gate re-judged pull requests that had been open for days and closed them the moment their author touched the description, which is what closed #6948. Rescuing on edited is safe for the same reason closing on it was not: the job can only move a PR from closed to open.
Reopening runs through GITHUB_TOKEN, which by design raises no further workflow events, so gate cannot bounce a freshly reopened PR straight back out.
The concurrency group is keyed on github.event.action as well as github.event_name and the number, and both keys carry weight. Without the event name, a maintainer applying bug right after accepted cancels the reopen mid-flight, since cancel-in-progress is on for pull_request_target and both label events would land in the same group. Without the action, opened and edited share a group on the same pull request, and an author who ticks a template checkbox in the seconds after opening cancels the run that was about to gate them: gate skips edited and reopen skips an open pull request, so the cancelled run is never replaced and the pull request stays ungated forever, since opened fires exactly once. Rapid successive edits still cancel each other, which is the dedup that was wanted.
The edited arm of reopen requires github.event.pull_request.state == 'closed', so ordinary description edits on open pull requests do not start a runner.
Two known gaps, both mild. A PR that the gate closed, that someone reopened, and that a maintainer then closed deliberately still carries the marker, so labeling its issue reopens it again; a maintainer closes it once more. And an author who strips Closes #<number> out after passing keeps an open PR, which a reviewer sees anyway.
GATE_EFFECTIVE_FROM in pr-gate.yml is a created_at cutoff. reopened and ready_for_review still fire on PRs opened long before the gate existed, so without the cutoff part of the open backlog would be closed by a rule that did not exist when those PRs were filed. Set it to the actual merge date in UTC.
The gate's docs-only exemption covers docs/ plus a named allowlist of four root files: README.md, CONTRIBUTING.md, CODE_OF_CONDUCT.md, and SECURITY.md. It is an allowlist rather than a rule about top-level markdown because the repository root also holds AGENTS.md, CLAUDE.md, and LLM.md, which are the instructions coding agents read before touching this codebase. Those are functional files that happen to be written in prose, and rewriting them is a change to behaviour, so they stay gated. Markdown nested anywhere else stays gated for the same reason: skills/**/*.md and everything under .github/ are functional too. Adding a genuinely prose root file means adding it to rootDocs in pr-gate.yml.
.github/scripts/pr-gate-docs-exemption.test.js covers that predicate. It pulls the rootDocs and isDocs lines out of pr-gate.yml and evaluates them, so it exercises the shipped rule rather than a copy that could drift from it, and it pins AGENTS.md, CLAUDE.md, and LLM.md on the gated side along with skills/**/*.md, nested .github/ files, and the empty file list. It only accepts those two declarations in a literal one-line form, so keep rootDocs a Set of quoted names and isDocs a single arrow expression.
The two contribution gates answer different questions and neither covers for the other. pr-gate.yml judges the change, and the accepted label is how a maintainer says yes to it. vouch-check-pr.yml judges the author, and VOUCHED.td is how a maintainer says no to one. A vouched author with no accepted issue is still closed by the gate; a denounced author with an accepted issue is still closed by vouch. Read either one as a backstop for the other and both get weakened.
Vouch enforces on the denounce axis only, through require-vouch: false with auto-close: true. That pair is not the obvious reading of either input, so the decision table from v1.5.0 (vouch/github.nu at pinned SHA d66fa29) is worth stating outright:
| Author | status | Effect |
ends in [bot] | skipped | nothing |
| collaborator with write or admin | vouched | nothing |
listed in VOUCHED.td | vouched | nothing |
listed as -handle | closed | action comments and closes |
| absent from the file | allowed | workflow comments, nothing closed |
require-vouch: true would close every first-time contributor, which is the opposite of what a trust list is for: the funnel has to stay open or nobody ever earns a vouch. auto-close: false is the setting that looked safe and did nothing at all, since in v1.5.0 both the unvouched and the denounced branch return before posting anything, leaving only a line in the run log. That is why !denounce was decorative until this pair landed.
Only the allowed arm is ours: a github-script step posts the soft comment, keyed on a <!-- vouch-check --> marker so a reopen does not comment twice. The closed arm belongs to the action, message and all. Keeping the two arms disjoint is what stops a denounced author getting two comments, so if that step is ever re-keyed off allowed, check the overlap first.
.github/scripts/vouch-decision.test.js holds that table as a decide() function and asserts the workflow's require-vouch, auto-close, and comment-step gating still produce it, comment counts included. Be clear about what that does and does not prove. decide() is a hand transcription of gh-check-pr, read from vouch/github.nu at the pinned SHA; the test cannot run the action, so it cannot notice the action changing underneath it. Left alone it would agree with itself forever, which makes bumping the pinned SHA the one edit it would otherwise sail through. So it also asserts vouch-check-pr.yml still pins PINNED_VOUCH_SHA, and a bump fails it on purpose: re-read gh-check-pr at the new revision, correct decide() and the table above, then move the constant. CI runs it through the GitHub Scripts job on any change to the scripts or the files they read.
Failure is open by design. If the action cannot read VOUCHED.td it falls back to an empty list, every author reads as absent, and nobody is closed by an API hiccup.
vouch-manage-by-issue.yml runs with merge-immediately: "false". The Main Branch Rule ruleset requires one approving review and has no bypass actors, so the action's immediate PUT /pulls/{n}/merge would return 405 and leave VOUCHED.td unchanged on main. The bot opens the PR, a maintainer merges it. Setting pull-request: "false" is not an alternative: the same ruleset blocks direct pushes.
That workflow also needs VOUCH_APP_ID and VOUCH_APP_PRIVATE_KEY repository secrets. Without them it fails at the token step before doing anything. vouch-check-pr.yml needs neither.
Issue forms and templates
ISSUE_TEMPLATE/*.yml are GitHub issue forms, not markdown templates. Only forms support required: true and machine-parseable field ids. Blank issues are disabled in config.yml.
issue-labeler.yml reads only the component field id through stefanbuck/github-issue-parser and redhat-plumbers-in-action/advanced-issue-labeler, so adding new field ids is safe. Renaming component is not.
Current field ids:
| Form | Ids |
bug_report.yml | component, description, verification, ai_assistance |
feature_request.yml | component, description, ai_assistance |
documentation_issue.yml | description, ai_assistance |
Trust list
VOUCHED.td is one GitHub username per line, # for comments. Seeded from every author with at least one merged PR in this repository, then filtered: accounts at or below a 16% merge rate across five or more attempts were dropped, since landing one change out of many is the signature of automated submission rather than contribution.
Vouch's only built-in exemptions are accounts ending in [bot] and repo collaborators with write or admin. Organization membership alone is not one of them. So vouch-check-pr.yml carries a job-level if: that skips the check for OWNER, MEMBER, and COLLABORATOR authors, the same exemption pr-gate.yml already applies. Org members are still listed in the file as a fallback, but the workflow guard is what actually holds.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

