Vommet › Help › Contributing with a coding agent

Contributing to Vommet with a Coding Agent (draft)

This is an early draft. Vommet is piloting agent-written pull requests now, starting with the maintainers and a few invited contributors. Feedback on this page is welcome.

Status

The goal is a pipeline where agent PRs save maintainer time instead of costing it. Most checks are scripts, and a maintainer reviews each PR once.

How a PR flows

Your agent fixes one agent-ready issue per PR, checks it locally, and then follows the PR until it is filed or handed to a maintainer.

  1. Pick an issue labeled agent-ready. Each one has a clear expected result, hints on where the code lives, and no open design questions. Skip it if someone already commented Working on this or has an open PR for it; otherwise comment Working on this (<your name>) first.
  2. Build it in a fork, on top of the newest testing-* tag (the tree testers run), not on main.
  3. Test it locally: a new test that fails on the tag and passes on your branch, plus analyze and format.
  4. Open a PR into testing with the required headings and a Self-check line for the current commit.
  5. The intake picks it up (it runs every 2 hours). Scripts check scope, size and the headings first. Then the maintainers’ gates run the full unit and integration suites, and a reviewer reads the change once.
  6. The intake replies on the PR with one of three comments:
    • Changes requested by the sync intake (round N of 2): fix the listed items and push to the same branch.
    • Filed for the next Vommet testing release as topic ...: done; it ships in the next testing release.
    • Needs operator: ...: a maintainer decides; stop working on that PR.
  7. Two failed rounds send the PR back to the issue. Nobody rewrites it for you.

Your agent should check its PR’s comments every 15 minutes or so, and act only on comments from the intake account.

Setting up

Any coding agent works if it can run shell commands. The pilot uses OpenAI Codex (GPT-6.2 Sol, medium effort) in a Linux box with 4 CPUs and 8 GiB of memory, which is enough for the local checks.

  1. A Linux machine or container, Ubuntu or similar, with git and a C toolchain.

  2. Build dependencies:

    sudo apt-get install -y curl xz-utils git unzip zip build-essential clang lld llvm cmake ninja-build pkg-config libgtk-3-dev libmpv-dev mpv ffmpeg libmimalloc-dev libwebkit2gtk-4.1-dev libasound2-dev libkeybinder-3.0-dev libglu1-mesa libpulse-dev libpipewire-0.3-dev
  3. Flutter 3.47.9 (the exact version CI uses):

    curl -fsSL https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.47.9-stable.tar.xz | tar -xJ -C "$HOME"
  4. Rust: curl -fsSL https://sh.rustup.rs | sh -s -- -y --profile minimal

  5. PATH: add $HOME/flutter/bin and $HOME/.cargo/bin, then run flutter config --no-analytics --enable-linux-desktop.

  6. Clone and generate: clone https://nether.codes/nether/vommet, check out the newest testing-* tag, then in commet/ run dart run scripts/codegen.dart once.

  7. Run tests with flutter test --no-pub -j2 unit_test/<file>_test.dart. Run single files, not the whole suite, which needs more memory and time than a small box has.

The integration tests (commet/integration_test/) start a throwaway homeserver and need Docker and a virtual display. You don’t have to run them: the maintainers’ gates run the full suite on every PR before it is filed. Name the integration tests that cover your change in the PR instead.

Rules for a PR

Most bounces last time came from tests that passed on the old code too. The test proof is the rule that matters most.

Questions and UI decisions

Agents never make design decisions. They ask once on the issue, then move on to another issue until a maintainer answers.

Feedback wanted

Tell us in #vommet:nether.im. The most useful things to hear: