agentleFS
CloudflareKnown publishercloudflare/cloudflare-os/packages/gatekeeper-kit/AGENTS.md

cloudflare-os / gatekeeper-kit

AGENTS.md11k starsChanged 2 months agoApache-2.0View on GitHub

@gadgets/gatekeeper-kit is a library, not a deployable Worker. Do not add a cloudflare.config.ts: the wrangler.jsonc generated from it is what makes release tooling treat this package as a gatekeeper deployment. - Only Layer 1 leaf modules are shipped. Layer 2 remains a proposal in ../../plans/gatekeeper-kit.md. - Keep leaf modules independently usable. Do not make one depend on a future assembly layer. - Accept the narrowest structural KV surface a module needs. Pass stable ctx.storage.kv objects to modules that coordinate work…

Trending

Less talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 28 mentionsSep 2026: 3 mentionsOct 2026: 10 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the cloudflare/cloudflare-os repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about cloudflare/cloudflare-os

The biggest 5 of 41 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 41

Talked about on GitHub and Bluesky (41 times).

On GitHub · 27

22 more on GitHub

On Bluesky · 14

9 more on Bluesky
  • 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 repository5 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Only Layer 1 leaf modules are shipped.

    line 9
  2. Distinctive:

    Keep leaf modules independently usable.

    line 11
  3. Distinctive:

    Treat shipped storage keys and prefixes as compatibility.

    line 14
  4. Very specific:

    Use Node tests for pure logic.

    line 29

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Gatekeeper Kit contributor notes

@gadgets/gatekeeper-kit is a library, not a deployable Worker. Do not add a cloudflare.config.ts: the wrangler.jsonc generated from it is what makes release tooling treat this package as a gatekeeper deployment.

Package boundaries

  • Only Layer 1 leaf modules are shipped. Layer 2 remains a proposal in ../../plans/gatekeeper-kit.md.
  • Keep leaf modules independently usable. Do not make one depend on a future assembly layer.
  • Accept the narrowest structural KV surface a module needs. Pass stable ctx.storage.kv objects to modules that coordinate work by storage identity.
  • Treat shipped storage keys and prefixes as compatibility. Use existing key and prefix options when porting a gatekeeper with a different layout.
  • Public modules are explicit subpath exports in package.json. Document new public symbols with JSDoc and add the subpath to the README inventory.

Documentation ownership

  • README.md maps the package and its modules.
  • USAGE.md owns cross-module integration guidance and operational sharp edges.
  • Exported-symbol JSDoc owns the exact API contract visible in editors.
  • ../../plans/gatekeeper-kit.md is the design record, including the unshipped Layer 2 proposal. Do not duplicate that proposal into current usage documentation.

Verification

Use Node tests for pure logic. Use the workerd project for persisted RPC stubs, RpcTarget, Durable Object behavior, and crypto.subtle.timingSafeEqual.

From the repository root:

pnpm --filter @gadgets/gatekeeper-kit test:run
vp run -F @gadgets/gatekeeper-kit build

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.