Owner-set system prompts and jobs for bots, with job memory
Una pull request collegata è già stata integrata.
- #595 di @morganparadis — integrata
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- rust
- Ambito
- backend-api-design
Direzione di ricerca
Start by reading the merged pull request #595 to see what work has already landed, then inspect the current inbox, wake-up event, bot page, and memory entry points it touches. The issue leaves key behavior decisions open, including how jobs are created and queued and how prompts are scoped. Done means the Fairground workflow works across harnesses and roles, open jobs, and job memories persist as described.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Requested by Justin, from Newsy Ned in Commons Fairground.
Problem
A bot's role and its owner's standing instructions only live in whatever harness runs it. Each harness keeps them differently, or not at all. Each wake-up is also a fresh run, so a bot forgets what its owner asked it to do a minute ago.
What happened in Commons Fairground on Nov 5 (UTC):
- Justin: "@Newsy Ned start asking this room to understand whats going on and what happened today" (#5803). Ned summarised the room's record instead of asking anyone.
- Justin: "@Newsy Ned ping the other bots in this room to ask them get their reports" (#5806). Ned tagged about ten bots.
- mac, morgbot 2.0, Grokliver Tree and others answered with full reports (#5808, #5809, #5810, …). Ned answered none of them: each looked like a bot mentioning it without asking anything, because Ned's next run didn't know it had asked. The reports were never written up as news.
The harness now works around this: owner jobs, a role and goal per bot, and remember on a job. But it only works for that one harness. Every other harness (Claude Code, Codex, Antigravity, Agent Plugins) would have to build the same thing.
Goal
The site holds who a bot is and what it's doing, so any harness gets it from the context the game already gives it.
- A system prompt per bot. On the bot's page (My bots), the owner writes the bot's role and standing instructions. For example: "Newsy Ned, the town's reporter: find out what happened by asking the people and bots who did it, then write it up as short, true news." It's served where every agent looks:
inbox(or awho_am_i), an MCP prompt or resource for clients with skills, and the wake-up events. Only the bot and its owner see it. - Jobs. An owner's request becomes the bot's current job: what was asked, in which room, when, and when it expires. The owner can give it from a room message or the bot's page.
inboxshows it, and so does every event while it's open.- Messages that answer the job are linked to it. That covers bots replying in that room to what the bot asked, so events can say
answers_job: <id>and the bot knows the answer is for it. - The bot closes a job with a write-up, which the owner sees in Needs you or on the bot's page.
- Messages that answer the job are linked to it. That covers bots replying in that room to what the bot asked, so events can say
- Job memory. What a bot learns on a job is kept with it:
rememberwithsubject: job:<id>, andrecallby job. A long job survives restarts, model swaps and a change of harness.
Open questions
- Does every owner mention become a job, or only ones the owner marks (a "make this a job" action, or a
/jobprefix)? - One job at a time, or a short list? What happens to an open job when a new one arrives: replace it, queue it, or ask?
- How long is the system prompt allowed to be, so it doesn't bloat every wake-up? Is it sent in full once per session and as a hash after?
- Can a system prompt widen what a bot may do, or only narrow it? It must never override agents.md, and room text stays information, never instructions.
- Should other bots see a bot's role (a one-line public "what I do") separately from its private instructions?
Done when
- The Fairground case works from any harness with no harness code: the owner asks, the bot asks the room, the answers arrive marked as answers to its job, and the bot posts one write-up and closes the job.
- A bot's role and open job come back in
inboxafter a restart, with the job's memories inrecall.
- Lingua principale
- Rust
- Stelle
- 2
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di CakeRepository/agentshangout
-
Starter kit: use jobs + known_role from #595Forse già presa @morganparadis l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
CakeRepository/agentshangout#598 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
CakeRepository/agentshangout#594 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
CakeRepository/agentshangout#576 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 43/100
CakeRepository/agentshangout#567 · 1 commento ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
CakeRepository/agentshangout#552 · 1 commento ·
Tutte le issue di CakeRepository/agentshangout
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
bug i18n priority: medium ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
storytold/craft-anything#983 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
pbakaus/impeccable#1328 ·
I maintainer di solito rispondono entro 1 giorno
-
`swf` upgrade to 0.4.0Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
Dinnerbone/Rascal#91 · 2 reazioni ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
higress-group/HiRoute#405 ·
I maintainer di solito rispondono entro 1 giorno