Unofficial demo. This is not a page of the Leonida project and is not run or endorsed by its maintainers. It is a proposal; whether anything like it is adopted is up to them.
Page: https://ttd0x.github.io/leonida-coordination/ · Data: state.json · STATUS.md · Limits and next steps: ROADMAP.md
A read-only, derived view of who works on what in ItsNotRexed/Leonida. It is built from the claim comments in the coordination issues (#156, #374, #634) and from the coordinator's board, which has been in #634 since #374 reached 300 comments.
Not authoritative. The issue comments and the board remain the source of truth. Claim work as before with
claiming: <ID> in the coordination issue. The view does not reserve anything and does not prevent two people from
taking the same item; it shows what the comments and the board say at the fetch time.
GET https://ttd0x.github.io/leonida-coordination/state.json (schema leonida-coord-state/3)
- If the current time is past
stale_after(fetch time + 60 min), treat every item ascheckand do not use the snapshot for a claim decision. - Otherwise
items[ID].guidanceis one of:owned: an owner was observed in the comments or on the board;done;check: a conflict, a lapsed claim, a status from someone without an active claim of their own, an unclear comment that names the item, or missing information;no_observed_claim: this snapshot saw no claim. This is not permission to start.
- Claim with
claiming: <ID>as before. Pick at random among candidates, and re-check the item before you start.
Poll at most every 5–10 minutes, and send If-None-Match: the site returns an ETag, and a 304 when the file has not
changed.
-
Fetch (GET only). It reads the coordination issues and their comments, and checks the fetch before using it:
- the comment count matches what GitHub reports;
- comment ids are unique across all issues;
- there is no unexplained mass drop compared with the previous fetch. If that previous fetch is missing or fails
verification,
sources.shrink_checksays "skipped: …" with the reason, never "checked"; - every file is listed with its SHA-256, and the fetch time is bound to the content, so a changed file or a changed fetch time is refused later. A fetch time in the future is refused.
-
Board. It reads the board by its column headers. Reordered, renamed (known aliases) or extra columns are fine. A board it cannot read unambiguously stops the publication, and the previous site stays. That includes an unknown item table, a missing column, a malformed row, duplicate IDs, or a sudden drop in rows. A board body that says "moved to #N" stops the run with that number.
-
Comments. It resolves the existing
claiming:/status:/releasing:/done:commands (resolver v5). Ambiguous cases go to a review list and never change ownership. Other lines, such asfinding:and free text, do not change the state. -
Publication.
state.json,STATUS.mdand the page are published as one generation. A failed run leaves the previous site in place. -
Page. Tabs:
- Items;
- Up for grabs (board), which shows what the comments say about each item the board offers;
- Needs a coordinator (the review list);
- Conflicts;
- Differences from the board.
The page looks for a newer snapshot every 5 minutes. When the snapshot expires, every item turns to
check. All comment text is shown as plain text.
No claims, comments, labels, PR changes, merges or required checks in Leonida. No server, no database, no schedule (runs are started by hand). PR states are not read yet. See ROADMAP.md.
On GitHub: Actions → pages-live → Run workflow. Each run tests the code on the frozen fixture, fetches live,
builds one snapshot and deploys it. Start a new run rather than "Re-run": a re-run of a Pages deployment fails on a
duplicate artifact. The first run after a cache loss reports "skipped: no previous generation" once.
When the board moves to a new issue (the run stops with "the board has moved to #N"): add the new number to
--issues, and set --board N, in .github/workflows/pages.yml.
Locally (Python 3, standard library only; CI uses 3.12):
cd coord && python -B -m unittest test_resolver test_state_export && cd ..
# frozen fixture: the page shows it as stale, with every item as "check"
python -B coord/state_export.py --data coord/data --out live/out
# or live (GET only; without a token GitHub allows 60 requests per hour, about 15 per run)
python -B coord/fetch.py --root live/data --issues 156 374 634 --board 634
python -B coord/state_export.py --data live/data --out live/out
python -B build_site.py --snapshot live/out --site _site
python -m http.server -d _site 8000
| Path | |
|---|---|
coord/resolver.py |
the claim rules for the comment commands (v5) |
coord/board.py |
strict, header-based parser for the coordinator's board |
coord/fetch.py |
GET-only fetch into integrity-checked data generations |
coord/state_export.py |
builds state.json and STATUS.md and publishes them as one generation |
coord/generations.py |
build, verify, then switch one CURRENT pointer |
coord/test_*.py |
tests; they read only the frozen fixture |
coord/data/ |
frozen fixture: a saved copy of the public comments of #156 and #374 and the #374 body from 2026-11-21, used only by the tests and for reproducible numbers |
site/index.html |
the page; reads state.json in the browser |
build_site.py |
assembles _site/ from one snapshot generation |
.github/workflows/pages.yml |
pages-live, manual runs only. Actions are pinned to commit SHAs, and only the deploy job can write (to this repository's Pages). |