agentscope-ai / agentscope-ai/QwenPaw

[Bug]: File Deletion Approval Flow Broken

Aperta
#2,851 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
TypeScript
Stelle
35k
Fork
3.1k
Merge medio
1g 13h
PR unite (30g)
228

Descrizione

## CoPaw Version

1.0.0

## Description

When executing a file deletion command, CoPaw pauses and asks user to reply with /approve to confirm the delete action. However, when user replies with /approve, CoPaw responds with "No pending approval" and "There is no tool-guard approval waiting for this session", causing the delete command to fail to execute.

**Related PR(s):** #(optional)

**Security considerations:** [If applicable, e.g. auth, env/config exposure]

## Component(s) Affected

- [ ] Core / Backend (app, agents, config, providers, utils, local_models)
- [ x ] Console (frontend web UI)
- [ ] Channels (DingTalk, Feishu, QQ, Discord, iMessage, etc.)
- [ ] Skills
- [ ] CLI
- [ ] Documentation (website)
- [ ] Tests
- [ ] CI/CD
- [ ] Scripts / Deploy

## Environment

- **CoPaw version:** [1.0.0]
- **OS:** []
- **Install method:** [Docker]
- **Python version (if applicable):** []

## Steps to Reproduce

## Actual vs Expected

- **Actual:**: CoPaw asks for /approve but then rejects it saying no pending approval exists
- **Expected:**: Either the delete should execute after approval, or the approval flow should work correctly
-

## Logs / Screenshots
Image
[Paste relevant log output or attach screenshots. Use code blocks for logs.]

```
(paste logs here)
```

## Additional Notes

[Optional: workarounds, similar issues, etc.]

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.