Create a hackbot CLI tool that can interact with Hackbot
I maintainer di solito rispondono entro 3 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 10/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- python
- Ambito
- api, authentication, cli, security
Direzione di ricerca
This spans three parts: token verification in hackbot-api, the client in libs/hackbot-client, and a new CLI. Start by reading how hackbot-api currently accepts allow-listed service accounts and how libs/hackbot-client authenticates, then settle the two open questions (action permissions and whether to create libs/hackbot-cli). Done means the design is agreed and the work is split into smaller issues, one per part.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Add a hackbot command-line tool, built on libs/hackbot-client, that lets Mozilla staff trigger and manage Hackbot runs from the terminal. Users sign in through their browser with their @mozilla.com Google account.
Scope
- hackbot-api: accept individual Google ID tokens alongside the allow-listed service accounts:
- Use a dedicated Desktop OAuth client ID as the token audience.
- Require a verified email and hd == "mozilla.com".
- Attribute user-initiated runs to the token's email (requested_by) and reject a mismatched X-On-Behalf-Of, so users can't create runs in someone else's name.
- hackbot-client:
- Add support for user credentials.
- Add the missing methods: list_agents, list_runs, get_run, list_actions, get_artifact_url.
- CLI:
- login / logout / whoami: browser OAuth flow with a cached refresh token, plus a fallback for headless machines.
- agents
- run (with --wait)
- runs (--mine, --agent, --status)
- show / watch
- actions / apply
- artifact
Open questions
- Should users be able to apply actions on any run (as they can in the UI today), or only on runs they requested?
- Should the CLI live in its own package (libs/hackbot-cli) so the services that use hackbot-client don't pull in its dependencies?
With this, we could also create a plugin so that local CLI agents can trigger hackbot.
- Lingua principale
- Python
- Stelle
- 579
- Fork
- 369
- Merge medio
- 3g 5h
- PR unite (30g)
- 139
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun 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 mozilla/bugbug
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
I maintainer di solito rispondono entro 3 giorni
-
Replace the direct useag of `recorder.record()` in agent with the tool usageForse già presa @SanyaKor l’ha presa 11 giorni fa. Apertahackbot
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 3 giorni
-
hackbot
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
I maintainer di solito rispondono entro 3 giorni
-
hackbot
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 3 giorni
-
Fix ASYNC109 Ruff violationsForse già presa @reginaldalfret l’ha presa 44 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
mozilla/bugbug#6987 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
Tutte le issue di mozilla/bugbug
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
readthedocs/readthedocs-builder#73 ·
I maintainer di solito rispondono entro 1 giorno
-
area: ci bug good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
hffgzktbcc-blip/ounce-core#484 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
vllm-project/vllm-torchtpu#3395 ·
I maintainer di solito rispondono entro 1 giorno
-
Hermes plugin: MITM-domain discovery misses the model: block (provider/base_url nested under model:) — traffic blind-tunnels silently, zero compressionForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
ranxianglei/billion-context#7063 ·
I maintainer di solito rispondono entro 1 giorno