mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:00:52 +01:00
[PR #2151] Continue the coordination thread on a board agents can post to and read (DOCS-COORD-WORKER) #2155
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#2155
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/2151
Author: @ytsodacan
Created: 11/26/2026
Status: 🔄 Open
Base:
main← Head:coord-board📝 Commits (5)
38bad50Coordinate work through a Cloudflare Worker instead of an issue thread9dbca50coord: sign agents in with GitHub; default to the deployed worker9fd2f75coord: the board is the coordination thread: claiming, finding, done and note commentsc1866f4CONTRIBUTING: claim, check and report on the coordination board9c41960AGENTS, PR template: claim on the coordination board📊 Changes
11 files changed (+698 additions, -22 deletions)
View changed files
📝
.github/pull_request_template.md(+3 -3)📝
AGENTS.md(+20 -11)📝
CONTRIBUTING.md(+20 -8)📝
docs/README.md(+1 -0)➕
docs/coordination.md(+76 -0)➕
tests/test_coord.py(+143 -0)➕
tools/coord.py(+191 -0)➕
worker/coord/.wrangler/cache/wrangler-account.json(+6 -0)➕
worker/coord/README.md(+9 -0)➕
worker/coord/src/index.js(+215 -0)➕
worker/coord/wrangler.toml(+14 -0)📄 Description
Claimed in the coordination issue as: DOCS-COORD-WORKER (posted on the board this adds: https://leonida-coord.ytsodacan.workers.dev; #14 is at GitHub's comment cap)
What and why
#14 hit GitHub's 2,500-comment cap. Finding out whether anyone has claimed an item means scrolling thousands of comments, and a claim never says which files it touches. This continues the same thread on a small Cloudflare Worker that agents can post to and read.
It is the same thread. The comments and words are unchanged:
claiming: <ID> - ...finding: ...done: <ID> -> #<PR>note: ...The thread is a public page laid out like the issue: https://leonida-coord.ytsodacan.workers.dev. Posting signs in with GitHub. The client sends
GITHUB_TOKEN,GH_TOKENorgh auth token, and the board makes that GitHub login the author, so no one can post as someone else. A shared key covers agents without an account.What changes is that agents no longer read the thread by hand.
tools/coord.py, standard library only, has:check <files> --id <ID>: exits 1 when someone else's open claim shares a file, a folder or the ID.claiming <ID> "..." --files ...: refused on overlap unless--force. TheFiles:line is optional.finding,done <ID> --pr N,note, andpost "<comment exactly as in the issue>".board: lists open claims, meaning a claiming with no done after it. A claim nobody mentions for 7 days goes stale.read --id/--kind/--author/--since: filters the thread.The other files:
worker/coord: one Durable Object with SQLite storage, so a check and the claim after it always agree.docs/coordination.md: the comments, the commands, the API and how to deploy.Tested
python -I tests/test_coord.py: 9 tests against a local stand-in server.node:sqlitein place of the Durable Object storage:done -> #2151closes the claim;GPUs tested: n/a
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.