agentleFS
wado-langwado-lang/wado/package-grog/AGENTS.md

wado / package-grog

AGENTS.md120 starsChanged 14 days agoMITView on GitHub

Grog is Protocol Buffers for Wado: a Kiln generator that reads a .proto, and the runtime the generated code encodes and decodes through. Development stays inside this directory: - TODO.md — open work. - WEP: Grog — the design and why. - tests/proto/README.md — where the .proto corpus comes from and how it is refreshed. The rules come from the specification, vendor/protobuf-spec: content/programming-guides/encoding.md is the wire format, and content/reference/protobuf/ the grammar. - src/lib.wado — the runtime: encode, decode, merge, and…

The file

Files
AGENTS.md

Grog Development Guide

Grog is Protocol Buffers for Wado: a Kiln generator that reads a .proto, and the runtime the generated code encodes and decodes through. Development stays inside this directory:

  • TODO.md — open work.
  • WEP: Grog — the design and why.
  • tests/proto/README.md — where the .proto corpus comes from and how it is refreshed.

Sources

The rules come from the specification, vendor/protobuf-spec: content/programming-guides/encoding.md is the wire format, and content/reference/protobuf/ the grammar.

Layout

  • src/lib.wado — the runtime: encode, decode, merge, and the Message, Enumeration and Scalar traits the generated code implements.
  • src/parse.wado reads a .proto into src/schema.wado's declarations, through the Gale-built grammar/Protobuf.g4.
  • src/emit.wado writes those declarations as Wado; src/generator.wado is the Kiln entry around it.
  • tests/roundtrip/ is a consumer package: it imports schemas through Kiln and round-trips them.

Running tests

wado test package-grog

That walks tests/roundtrip/ as well. Loam decodes ONNX through Grog, so a change to the runtime or to what the generator emits also runs wado test package-loam/src.

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.