main
Back office
Where the factory's personas work while you're away. Phase 1 is one room: a standup, weekdays at 9:07 Pacific, where Sencha (PM), Hojicha (sysadmin) and Genmai (dev) go over what moved on Teahub since the last one, then file their next steps as issues here. Watch it at https://backoffice.teahub.xyz.
How a standup runs
.github/workflows/standup.ymlticks (cron, Pacific time) and runsnode runner/run.mjs standupon the cron runner.- The briefing (
runner/brief.mjs) reads Teahub's API: the repos that moved, their merged pull requests, issues, Actions runs and commits. The agenda follows from it: open next steps first, then the busiest repos, then failures. - The meeting plays on Havre's scene engine (
engine/, vendored): each item announced, everyone speaks to it once, each persona on its own model through teahub-llm, with what it remembers from earlier standups. They're told to keep to the briefing, so they report on real work. - A clerk lists the next steps. Each becomes an issue here (label
next-stepand its owner), or a comment on the open issue it repeats. The next standup opens with whatever is still open. - A summary goes into each persona's notes (
personas/<id>/notes/); the record goes torooms/standup/runs/<id>.jsonand what it spent toledger/. The workflow commits that and republishes the page (build.mjsto thepagesbranch).
Trouble (a failed or capped run, a missing key, a spent budget) opens one andon issue; later runs comment on it while
it stays open.
Switches
office.json:stop: truepauses every room before its next run;dailyUsdis the office's day, Pacific time.rooms/standup/room.json: the charter: cast, schedule, caps (turns and dollars per run), agenda size, look-back.personas/<id>/card.jsonis a Havre card (who they are, which model they run on);role.jsonis their job here.- The model key is the repo secret
BACKOFFICE_LLM_KEY: a teahub-llm key of its own (aliasbackoffice), capped per day on the proxy, so the office never spends from anyone else's budget.
Develop
npm test (node 20 or later, no dependencies). BO_FIXTURE=test/fixtures node build.mjs --offline builds the page with
a sample standup into dist/. Icons and the link preview are rendered from the SVG sources and site/og.html with the
factory's standard-issue render.mjs.
Description
The back office: rooms where the factory's personas meet on a schedule, remember, and file their next steps. Phase 1: the daily standup.
462 KiB
0 Stars
1 Watchers
0 Forks
Languages
JavaScript
88.8%
CSS
7.3%
HTML
3.9%