(bug) create_app files do not appear in the agent's working folder on the local sandbox
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 52/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- backend
Direzione di ricerca
Start by tracing the create_app tool's write path to the session drive and how the local sandbox exposes that drive through its geesefs-mounted working folder. Reproduce the reported sequence and check whether files appear after a delay; the issue says Daytona and in-process sandboxes are not yet checked. Done means the starter files are visible in the agent's working folder when create_app returns, with the reproduction no longer requiring a hand-written copy.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
When an agent on a local sandbox builds an app the way the apps skill says (list apps/*/app.json, then call create_app(starter, "apps/<slug>")), create_app reports success but the files it wrote do not exist in the agent's working folder. The agent then rebuilds the app by hand, and says so to the user. I expect the starter files to be in the working folder as soon as create_app returns.
Seen on a v0.122.3 release stack (EE dev compose, one runner, local sandbox, Claude Code on Sonnet 5.5, store-backed working folder).
Steps
- Create an agent on the local sandbox, policy Allow all.
- Send: "Build me a small kanban board HTML app in your files using the board starter from your apps skill. Keep "access": "read-write" in its app.json so it can save. Tell me the path to its index.html when done."
- Watch the tool calls.
What happens
The session records, in order:
tool_call Terminal ls apps/*/app.json agent-files/.apps/registry/ agent-files/.apps/layout.json
tool_result ls: cannot access 'apps/*/app.json': No such file or directory (expected, nothing yet)
tool_call mcp__agenta-tools__create_app {"dir": "apps/kanban", "starter": "board"}
tool_result {"paths": ["apps/kanban/app.json", "apps/kanban/index.html", "apps/kanban/config.json"], "template": "board@1"}
tool_call Terminal cd apps/kanban && cat app.json config.json; ls
tool_result /bin/bash: line 1: cd: apps/kanban: No such file or directory
tool_call Read File <cwd>/apps/kanban/app.json
tool_result File does not exist.
tool_call Terminal sleep 5; ls -la apps
tool_result ls: cannot access 'apps': No such file or directory
tool_call Terminal mkdir -p apps/kanban && cat > app.json ... (the agent writes the board by hand)
The final reply tells the user: "create_app reported success, but its files did not show in my working folder. I wrote the board by hand with the same layout instead. It is a copy of the board starter, not the starter output."
The user ends up with a hand-written app instead of the maintained starter (board@1), and the agent spends extra turns and tokens (1.7M tokens for this one request).
Notes for debugging
create_appwrites to the session's own drive (thecwdmount). After the turn, the drive API listsapps/kanban/{app.json,index.html,config.json,board.json}, so the objects exist in the store; the agent's later hand-written copy overwrote them, so the original starter output cannot be compared now.- The local sandbox's working folder is a geesefs mount of that drive prefix (
--endpoint http://seaweedfs:8333 --no-detect --fsync-on-close, default cache settings). - The skill's first step (
ls apps/*/app.json) runs beforecreate_app, so the working folder has just looked upappsand found nothing. - Not checked yet: the Daytona and in-process sandboxes, and whether the files appear after a minute.
- Lingua principale
- TypeScript
- Stelle
- 4.8k
- Fork
- 690
- Merge medio
- 20h 5m
- PR unite (30g)
- 420
Preparare l'ambiente
- 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 Agenta-AI/agenta
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Agenta-AI/agenta#7468 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
(bug) The Stop button disappears for a moment before an approval card showsForse già presa @rishu685 l’ha presa 6 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Agenta-AI/agenta#7446 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
Agenta-AI/agenta#7441 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
bug frontend
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
Agenta-AI/agenta#7426 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
No CI job runs the mobile app's unit testsForse già presa @Mahaboob-Ashraf l’ha presa 6 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
Agenta-AI/agenta#7326 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Agenta-AI/agenta
Issue simili
-
Create/import wallet form shows raw "password must be at least 1 characters" instead of the translated messageForse già presa @CapThunder19 l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
joinmarket-webui/jam#1538 ·
I maintainer di solito rispondono entro 1 giorno
-
t0ggles
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
nolimits4web/swiper#8240 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
modelcontextprotocol/inspector#2723 ·
I maintainer di solito rispondono entro 1 giorno
-
status:approved type:bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 70/100
egdev6/quorb#109 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno