Status — 2026-11-05
This page is generated from the project corpus and rewritten on every docs build. Edit the source in corpus/, not here.
origin/main is at ade9e76, the end of the 2026-11-02 brief run; the
corpus commits since and the 2026-11-04 and 2026-11-05 brief runs are local, not pushed.
Typecheck is clean and the bot's npm test passes 114 tests, given a valid
WICKET_URL (see Known issues). Production runs the 2026-10-07
container. Brief numbering restarted at 01 on 2026-11-02 (see
../log.md, "Briefs reset").
By area
- Scope (2026-08-27). Discord-only: the Slack, WhatsApp and dice-table
Activity bots are gone, and so is
/dicetable. Workspaces areshared,bots/discordanddocs-site(decisions.md, decisions-removals.md). - Removed commands (2026-10-06).
/dndand/postare deleted, not shelved. - The 2026-09-26 audits (fixed 2026-10-02). Crash guard, users-only
mentions, per-turn and per-phase timers, counted trades, atomic JSON writes,
/helpfrom the registry,/quote addpermissions, real dates, anode:testsuite (audit-fixes.md). - Production (2026-10-07). A container from
infrastructure/, deployed byvps-deploy; state in two bind mounts at/srv/just-a-bot/state/, outside the rsync mirror. The owner purged the old state, so the bot started fresh. Since brief 15 (2026-11-04, not deployed) the image runsnode --import tsxas PID 1 with no npm in front (architecture.md). - Music: the Jukebox (built 2026-10-09). The bot plays atrium's library in
voice, steered by atrium over a long-poll;
/jukeboxis the Discord remote. Since 2026-10-13 it signs in as a local atrium user with thejukeboxrole, not a Ward account. Run against a local atrium with a stand-in speaker; not heard in Discord and not deployed (jukebox.md). - Docs site (2026-10-19).
docs-site/rendersdocs/andcorpus/with Docusaurus at/just-a-bot/docs; the rendered pages are generated on every build and gitignored.vps-deployflipped the stack to Docusaurus the same day; not deployed. - Knowledge layers. Root
CLAUDE.mdpoints at the corpus;docs/is the how and ranks last; the code graph is installed for impact queries only (code-graph.md). - Rest of the bot. Games, gambling, AI chat, image cards, reminders, RPG,
quotes and confessions work as before. They have no wiki pages; their
manuals are under
docs/discord/. The RPG manual was rewritten against the code on 2026-11-04 (brief 12): places and buttons, not the tile grid it used to describe. Since brief 16 (2026-11-05, not deployed) the Town sells a spare copy of a worn item.
Open briefs
12, the RPG manual, was done on 2026-11-04 (docs only). 13, done on
2026-11-04, not deployed: /ask always uses OLLAMA_MODEL (no model option)
and fails privately. 14, done on 2026-11-05, not deployed: /ask goes through
Wicket, the estate's LLM queue, with a ticket line while it waits; production
needs WICKET_URL and WICKET_TOKEN in the bot's .env first (the owner's
step). 15, done on 2026-11-04, not deployed: the container starts the bot
with node and tsx's loader directly, not through npm (the owner's memory
review of the VPS). The eleven briefs from the 2026-10-20 improvement sweep were built on
2026-11-02, one commit each plus a corpus commit (see ../log.md):
01-05 the Jukebox's failure paths, checked against atrium's source, 06-09 the
Now items (shutdown drain, private-thread quotes, RPG names, the /confess
race), 10-11 the Next items (RPG proposals and pruning, /ask limits). None of
it is deployed or run in Discord. 16, done on 2026-11-05, not deployed: the
Town sells a spare copy of a worn item (the sell checks were redundant from
the start, since equipping takes the item out of the bag). 17, done on 2026-11-05
(docs only, ships with the docs site): the architecture and reminders
manuals no longer describe the RPG's old grid, mob tick or map renderer. No
brief or todo is open.
Next (owner)
- The Jukebox in production, in order: seed a
jukeboxuser in atrium; putJUKEBOX_ATRIUM_URL,JUKEBOX_ATRIUM_USERNAMEandJUKEBOX_ATRIUM_PASSWORDin the server's.envand drop the oldJUKEBOX_WARD_*names (a partial set stops the bot at boot, naming what is missing); deploy atrium, then the bot; remove the bot's oldatriumgrant at Ward. - Hear it in Discord: the checks in jukebox.md, on a dev application or after the deploy.
- Deploy the docs site from
vps-deploy; it ships whenever the bot does, so the deploy below carries brief 17 too. - The 2026-10-02 fixes in Discord: the list at the end of audit-fixes.md.
- The 2026-11-02 briefs in Discord (each brief's outcome has its check):
/jukebox playfrom a channel without Speak is refused (01); a song atrium cannot serve is skipped once, not twice (02); a slow/jukebox skipstays visible to a second account (05);/quote addinto a private thread you are not in is refused (07); a duel challenge notifies the defender once (08, 10);/askrefuses a second question in flight (11). - Fix
WICKET_URLin the bot's.envbefore any deploy (see Known issues), then briefs 13-17: deploy (node cli.ts just-a-bot allfrom vps-deploy: pre-deploy, deploy, then the server phase; it re-registers the commands, which brief 13 changed). Then/askoffers onlyprompt, a failing question leaves nothing in the channel and tells the asker privately, anddocker topon the bot's container shows onenodeand nonpm. Brief 16: wear a Rusty Dagger with a second in the bag, sell the spare in 🏪 Town at the Plaza, and the first stays worn. - Rotate the Activity secrets:
DISCORD_CLIENT_SECRET,SESSION_HMAC_KEYandENGINE_AUTH_TOKENfrom the 2026-08 experiment, or delete that app in the developer portal. Deleting the local.envdid not invalidate them.
Known issues
WICKET_URLin the localbots/discord/.envis not a valid URL (found 2026-11-05: the file changed after brief 14 was committed; the value has nohttp(s)://in front).env.tsthrows at import, so a deploy with it stops the bot at boot, andhelp.test.tsandjukebox.test.tsfail; run the tests with a dummyWICKET_URLin the shell until the owner fixes it.- The local
bots/discord/.envis production's: the owner restored it on 2026-11-02 after a day without one, and the deploy pushes it as it is. Never edit it or replace it with dev values, and never run the bot,discord:registeror any script that callsloadEnv()with it in place: they would use the production token, atrium and Wicket. Unit tests that importenv.tsread it but make no network calls. docusaurus.config.tshas the placeholderurlhttps://example.org(it only feeds the sitemap and og tags), and the site has no favicon./help's Social group is near Discord's 1024-character field limit; the next social command spills into a "(cont.)" field by design.