Architecture-quality audit notes from hermescheck
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
Línea de trabajo
Empieza leyendo ms_agent/utils/utils.py, ms_agent/llm/openai_llm.py, webui/backend/session_manager.py, webui/backend/websocket_handler.py y los archivos bajo ms_agent/memory/. La auditoría identifica posibles problemas de recuperación, durabilidad de la sesión y actualización de la memoria, pero no proporciona ninguna prueba fallida, ningún cambio concreto, criterios de aceptación ni una definición de hecho.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hi maintainers — this is a friendly architecture-quality audit note, not a security report.
I’ve been building hermescheck, a small open-source scanner that reviews AI agent runtimes for state recovery, memory drift, tool boundaries, scheduler behavior, and other long-running agent failure modes. I ran it against modelscope/ms-agent because this repo is an active agent runtime/framework with real CLI, web UI, workflow, memory, and tool-execution surfaces.
Three runtime/architecture notes that looked worth sharing:
-
Recovery currently looks transcript-heavy rather than fully resumable.
ms_agent/utils/utils.pypersists config + message history, andms_agent/llm/openai_llm.pycontinues long generations, but I didn’t see the same level of durable environment / side-effect / restart contract around those flows. That can make interrupted work harder to resume deterministically. -
Web UI session state appears in-memory and explicit-delete driven.
webui/backend/session_manager.pykeeps sessions, messages, and deep-research events in process memory, andwebui/backend/websocket_handler.pymainly cleans up task/runner references on stop or completion. This felt a bit fragile for server restarts or abandoned sessions if the goal is durable operator-facing workflows. -
Memory surfaces look split across several layers without one obvious freshness contract.
I saw cache/history handling inms_agent/utils/utils.py, long-term memory logic inms_agent/memory/default_memory.py, and separate condenser/default-memory surfaces underms_agent/memory/. The architecture may benefit from a clearer “authoritative current memory vs derived/archive/cache layers” rule.
None of the above is meant as “you must change this”; it just looked like a useful maintainer-facing architecture snapshot from an external pass.
Repo for the tool: https://github.com/huangrichao2020/hermescheck
If this isn’t useful, feel free to close and I won’t take it personally.
- Lenguaje dominante
- Python
- Estrellas
- 4.4k
- Forks
- 532
- Merge medio
- 18 h 26 min
- PR fusionados (30 d)
- 10
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de modelscope/ms-agent
-
Skill search returns stale results after all skills are disabled or removedPosiblemente ocupada @AWUQAQ la tomó hace 40 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
modelscope/ms-agent#974 ·
Los mantenedores suelen responder en 1 día
-
fetch_page web tool performs unrestricted server-side HTTP fetch of agent-supplied URLs (SSRF)Posiblemente ocupada @SiyuanChenToDo la tomó hace 4 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
modelscope/ms-agent#1018 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
modelscope/ms-agent#1011 ·
Los mantenedores suelen responder en 1 día
-
[tool] Document authenticated Streamable HTTP MCP setupPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
modelscope/ms-agent#1003 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 68/100
modelscope/ms-agent#990 ·
Los mantenedores suelen responder en 1 día
Todos los issues de modelscope/ms-agent
Issues similares
-
push_gh-pages fails on master branch on forksPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertogood first issue infrastructure
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
kuznia-rdzeni/coreblocks#1135 ·
-
good first issue server
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
documentation priority: high
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
a-lex-s/mealie-telegram-bot#54 ·
Los mantenedores suelen responder en 1 día
-
type/test
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
SaltedTan/virgil-language-server#218 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
btclib-org/btclib-wallet#541 ·
Los mantenedores suelen responder en 1 día