agentscope-ai / agentscope-ai/QwenPaw
[Feature] Add optional PowerContext pluggable long-term memory backend
- Lingua principale
- TypeScript
- Stelle
- 35k
- Fork
- 3.1k
- Merge medio
- 1g 13h
- PR unite (30g)
- 228
Descrizione
## Summary
Add an optional PowerContext-backed long-term memory backend for QwenPaw through the existing BaseMemoryManager and memory_registry extension points.
## Motivation
The default local memory backend is suitable for single-machine use, but deployments may need a shared, persistent, explicitly scoped memory service. PowerContext provides cross-session continuity, scope isolation, citation-aware retrieval, and a remote HTTP boundary without coupling QwenPaw to a database driver.
## Proposed scope
- Add PowerContextMemoryManager as a selectable peer of ReMeLightMemoryManager.
- Support automatic pre-turn retrieval and non-blocking post-turn task_state persistence.
- Expose memory_search and memory_remember only when PowerContext is selected.
- Preserve PowerContext citation metadata in search results.
- Add optional Console configuration for URL, token, scope, timeout, and auto-search settings.
- Register dynamic tools with the unified governance registry.
- Keep the default backend and Agent main flow unchanged.
## Non-goals
This proposal does not add Handoff, Experience, Skill, Candidate, Artifact, or database-driver integration to QwenPaw. PowerContext remains an external HTTP service.
## Validation
The prototype has 181 QwenPaw unit tests passing, Console TypeScript and locale checks passing, and has been exercised against a local PowerContext service for remember/search, citation preservation, cross-session recall, and scope isolation.
A PR with the implementation will reference this issue.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start by tracing the existing BaseMemoryManager and memory_registry extension points, then compare ReMeLightMemoryManager and the Console configuration paths. Done means an optional PowerContext backend supports retrieval, persistence, scoped citation-preserving search, conditional tools, and unified registry registration without changing the default backend or Agent main flow; use the stated QwenPaw unit, Console TypeScript, and locale checks for validation.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python, typescript
- Ambito
- ai, api, backend
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Attiva
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 42/100