Six deterministic tools for agent workflows, and the heraldry they share.
quartermaster |
conclave |
bridgekeeper |
bopeep |
orderly |
thresher |
| Tool | What it does | Motto |
|---|---|---|
| quartermaster | Reads every seat's usage pools and routes work to whichever has headroom. | Rationes finitae sunt: the rations are finite |
| conclave | Seats a council of model voters on a brief; a judge returns one decision. | Quot capita, tot sententiae: as many heads, as many opinions |
| bridgekeeper | Hooks and gates on every step that leaves the machine: push, PR ready, review post and merge. | Thou shalt not push |
| bopeep | Shepherds every open pull request, yours and your team's, to its next step, and merges the safe ones. | They will NOT come home on their own |
| orderly | The orderly room board: the day's business on a browser new-tab page. | Audite, audite: hear ye, hear ye |
| thresher | Harvests small, sourced tasks from review leftovers and backlogs, winnows out the chaff, and turns each sheaf into a tiny PR. | Triticum a palea: the wheat from the chaff |
index.html is the full style sheet: crests, small-size tests, palette, and image-model prompts for the painted character crests. It is published with GitHub Pages at https://rymiwe.github.io/guild/.
- Three shared colors, one per tool. Parchment
#efe4c8, ink#1d1a16, tarnished gold#b8892f, plus the tool's field color. - Thick, wobbly ink outlines. The wobble is an SVG displacement filter, so every crest gets it the same way.
- The glyph must read at 16px. The painted character crests are for READMEs and pages; the glyph is for everything small.
The tools are public and carry no employer names. Every org fact (repo names, logins, ticket prefixes, persona names) lives in .guild.json files under the work root, which git never sees:
| File | Holds |
|---|---|
<work root>/.guild.json |
Org-wide: persona names, colleague handles, author logins and emails, secret references (never values). |
<work root>/<repo>/.guild.json |
Per repo: ticket prefixes, changelog route, CI workflow, lint allowances. List it in that checkout's .git/info/exclude. |
- The work root is each
work_path_prefixesentry in~/.config/work-account/config.json. Itswork_github_ownerssay which repos are work. That file keeps those two keys only. - Lookup. Repo slug (an argument, or the
originremote) → owner must be a work owner → canonical checkout<work root>/<repo>→ its.guild.json, then each parent's up to the work root. The nearer file wins; objects merge key by key. Clones and worktrees elsewhere read the canonical checkout's file. - Sections. Top-level keys are shared. A tool keeps its own keys under its name.
- Fail closed. A missing or malformed file, or a missing key, exits 3 and names the file and key. No environment variable bypasses it. A tool that posts, merges or pushes loads the file itself and never treats "not work" as "config present".
- No tool paths. One tool calls another by command name on
PATH, and fails closed when it is absent. - No
.guild.jsonin a tool repo. Tests use made-up names such asAcmeCorp. - One loader:
guild-configin quartermaster. Shell callers runguild-config [--repo OWNER/NAME | --org] KEY; Python callers import it. - The roster.
rosterlists the tools, one per line.bopeep syncreads it, so a new tool joins sync by being added there. - Every command is a wrapper. Each tool's
install.shwrites its commands as two-lineguild-execwrappers and--checkcompares their text; onlyguild-execitself is a link. - Wrappers run the main checkout. A machine-local wrapper calls
guild-exec TOOL PATH "$@"(quartermaster), which runs~/code/TOOL/PATHonly when that checkout is clean and on its default branch, and otherwise exits 3. Branch work goes in a worktree;bopeep syncfast-forwards the main checkouts.
A starting org file, with made-up values:
{
"personas": ["Pat"],
"colleagues": {"alex": "alex-gh"},
"author_logins": ["you-gh"],
"author_emails": ["you@example.com"],
"secrets": {"review_token": "<a secret manager reference>"},
"conclave": {"lint_names": ["Pat"]}
}bin/grokbot-pace-check is an opt-in usage stop for routine pre-check scripts and bots. It reads quartermaster's seat-usage cache ($SEAT_USAGE_CACHE_DIR/latest.json, default ~/.cache/seat-usage/latest.json) and prints one line.
- pace = % of the week's Grok Bot usage used ÷ % of the week elapsed, both at the reading's time. The unrounded pace is compared; it is rounded only for display.
- One threshold, 1.1x. Above it the check exits 1 and the caller stops and reports the line to its owner. At or below it exits 0. There are no other tiers.
- 5% floor. Below 5% of the week used, the check passes at any pace. Two hours after the reset, 1.1x is 1.3% used, so one busy session would otherwise stop every routine.
- Fail closed. A missing, unparseable or incomplete meter, a
bot_pctoutside 0..100, a reading stamped more than 60 s in the future, a reading from a week that already reset, or a reading older than the staleness window exits 3. The window is 1 hour fromas_of.grokbot; set--max-age-sorGUILD_PACE_MAX_AGE_Sto change it.
grokbot-pace-check || exit "$?" # preserve the checker’s exit codebin/guild-ledger keeps one append-only record of what each tool decided and what happened next, in ${GUILD_LEDGER:-~/.local/state/guild/ledger.jsonl}. guild-ledger append writes one validated event from stdin and skips an id already present. guild-ledger backfill joins Conclave's posted review findings to GitHub over REST. guild-ledger-refresh.timer runs both backfills daily on BLD and pings on a failure. No wrapper is installed: run it from the Guild checkout. Schema, proxy and limits: docs/outcome-ledger.md.
bin/poteto-watch is the deterministic BLD boundary for the Grok Bot automation that reads @poteto posts on X and opens small, tested draft PRs in public Guild repositories (guild plus roster). It enforces the personal-repo allowlist, kill switch (~/.config/guild/poteto-watch.off), grokbot-pace-check, idempotent post deduplication, daily/open PR caps, diff/secret/work-owner guards, true-check reporting, and guild-ledger logging. Standing instructions and rollout phases: docs/poteto-watch.md.
index.html holds the source. Its hidden SVG sprite defines each glyph as a <symbol>.
- Edit the symbol in
index.html. - Run
scripts/build-crests.py. It rewritescrests/*.svg. Standard library only. - Copy the new file to the tool's repo as
assets/logo.svg.