Skip to content

How to contribute to the codebase

Agents is built by people and agents working the same way. A contributor, a coding agent on someone’s own computer, and an agent that the app runs in a cloud container all make their change in a copy of the repo and send it through the same gates. This section covers that path from the first command to the merge. Everything here runs on a developer’s own computer and on the ship loop’s runners, never on the team’s server. The team’s server is https://gomoe.dev on AWS. Once following is on, a merge to main deploys it, as Run a server says.

AGENTS.md at the repo root is the file every contributor and every agent reads first, in full. It names the goal, what is off limits on the live system, the gates every pull request meets, and the rules for writing and design. The coding standards in .claude/skills/coding-standards/SKILL.md list the bugs the code keeps out, each with what enforces it. Reviewers judge every change by those two files. The rules in AGENTS.md says what each section of the file covers, and does not copy it.

  1. Start a copy of the repo on a branch of its own. Start work in a copy covers agents-git start and the hooks that guard the copy.
  2. Make the change, and run the checks that cover it. Run the checks covers npm run check, check slots, and how to show that a check fails when what it guards breaks.
  3. Show the change working in a running copy of the app. Prove a change with agentsctl covers bin/agentsctl and the feature map.
  4. Send the branch to GitHub, and open its pull request ready once the change is whole. Send a change through the loop covers agents-git finish, the size cap and the pull request text.
  5. GitHub judges the pull request and merges it. What every pull request passes covers the gates, the review, the verdict and the landing.

A session that works inside the playbook plugin follows the same path. How a session loads the playbooks explains how a session gets them.

A person who works from a computer other than Tayler’s Mac reads Contribute from your own computer first. It covers who grants access, the commit email, the model line on each commit, and which checks need a Mac.

The app’s own coding agents follow a version of this path on any repo a team gives a policy. Run a change through a repo policy covers that.

Run Node from ~/.local/node/bin, so put that folder first on PATH. Run agents-git as node daemon/agents-git/main.ts <command>. A command it does not know prints the use of every command. Its exit codes are 0 for done, 1 for failed and safe to retry, 2 for a usage error, and 3 for refused with nothing changed.