# Pitfall Log / 踩坑日志

项目：huggingface/smolagents

摘要：发现 28 个潜在踩坑项，其中 6 个为 high/blocking；最高优先级：维护坑 - 来源证据：ENH: Add a way to insert custom chat history for multi-turn chat and what's the current best way?。

## 1. 维护坑 · 来源证据：ENH: Add a way to insert custom chat history for multi-turn chat and what's the current best way?

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个维护/版本相关的待验证问题：ENH: Add a way to insert custom chat history for multi-turn chat and what's the current best way?
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 证据：community_evidence:github | https://github.com/huggingface/smolagents/issues/1579 | 来源讨论提到 python 相关条件，需在安装/试用前复核。

## 2. 维护坑 · 来源证据：Real Memory summary for on-going conversations (avoid LLM size limits)

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个维护/版本相关的待验证问题：Real Memory summary for on-going conversations (avoid LLM size limits)
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 证据：community_evidence:github | https://github.com/huggingface/smolagents/issues/694 | 来源讨论提到 python 相关条件，需在安装/试用前复核。

## 3. 安全/权限坑 · 失败模式：security_permissions: [Feature Request] Memory Poisoning Protection for smolagents via OWASP Agent Memory Guard

- 严重度：high
- 证据强度：source_linked
- 发现：Developers should check this security_permissions risk before relying on the project: [Feature Request] Memory Poisoning Protection for smolagents via OWASP Agent Memory Guard
- 对用户的影响：Developers may expose sensitive permissions or credentials: [Feature Request] Memory Poisoning Protection for smolagents via OWASP Agent Memory Guard
- 证据：failure_mode_cluster:github_issue | https://github.com/huggingface/smolagents/issues/2332 | [Feature Request] Memory Poisoning Protection for smolagents via OWASP Agent Memory Guard

## 4. 安全/权限坑 · 来源证据：Feature: behavioral fingerprint hook for memory consolidation events in MultiStepAgent

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安全/权限相关的待验证问题：Feature: behavioral fingerprint hook for memory consolidation events in MultiStepAgent
- 对用户的影响：可能影响授权、密钥配置或安全边界。
- 证据：community_evidence:github | https://github.com/huggingface/smolagents/issues/2129 | 来源讨论提到 python 相关条件，需在安装/试用前复核。

## 5. 安全/权限坑 · 来源证据：[Feature Request] Memory Poisoning Protection for smolagents via OWASP Agent Memory Guard

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安全/权限相关的待验证问题：[Feature Request] Memory Poisoning Protection for smolagents via OWASP Agent Memory Guard
- 对用户的影响：可能阻塞安装或首次运行。
- 证据：community_evidence:github | https://github.com/huggingface/smolagents/issues/2332 | 来源讨论提到 python 相关条件，需在安装/试用前复核。

## 6. 安全/权限坑 · 来源证据：[Feature] Agent memory/history consolidation after a number of interactions

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安全/权限相关的待验证问题：[Feature] Agent memory/history consolidation after a number of interactions
- 对用户的影响：可能影响升级、迁移或版本选择。
- 证据：community_evidence:github | https://github.com/huggingface/smolagents/issues/901 | 来源讨论提到 python 相关条件，需在安装/试用前复核。

## 7. 安装坑 · 失败模式：installation: Save/Load agent memory

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this installation risk before relying on the project: Save/Load agent memory
- 对用户的影响：Developers may fail before the first successful local run: Save/Load agent memory
- 证据：failure_mode_cluster:github_issue | https://github.com/huggingface/smolagents/issues/1216 | Save/Load agent memory

## 8. 安装坑 · 失败模式：installation: v1.21.0

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this installation risk before relying on the project: v1.21.0
- 对用户的影响：Upgrade or migration may change expected behavior: v1.21.0
- 证据：failure_mode_cluster:github_release | https://github.com/huggingface/smolagents/releases/tag/v1.21.0 | v1.21.0

## 9. 安装坑 · 失败模式：installation: v1.22.0

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this installation risk before relying on the project: v1.22.0
- 对用户的影响：Upgrade or migration may change expected behavior: v1.22.0
- 证据：failure_mode_cluster:github_release | https://github.com/huggingface/smolagents/releases/tag/v1.22.0 | v1.22.0

## 10. 配置坑 · 失败模式：configuration: DOC: `evaluate_python_code` docstring is missing two parameters

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this configuration risk before relying on the project: DOC: `evaluate_python_code` docstring is missing two parameters
- 对用户的影响：Developers may misconfigure credentials, environment, or host setup: DOC: `evaluate_python_code` docstring is missing two parameters
- 证据：failure_mode_cluster:github_issue | https://github.com/huggingface/smolagents/issues/2372 | DOC: `evaluate_python_code` docstring is missing two parameters

## 11. 配置坑 · 失败模式：configuration: Enhanced memory module with integrations

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this configuration risk before relying on the project: Enhanced memory module with integrations
- 对用户的影响：Developers may misconfigure credentials, environment, or host setup: Enhanced memory module with integrations
- 证据：failure_mode_cluster:github_issue | https://github.com/huggingface/smolagents/issues/945 | Enhanced memory module with integrations

## 12. 配置坑 · 失败模式：configuration: Feature: behavioral fingerprint hook for memory consolidation events in MultiStepAgent

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this configuration risk before relying on the project: Feature: behavioral fingerprint hook for memory consolidation events in MultiStepAgent
- 对用户的影响：Developers may misconfigure credentials, environment, or host setup: Feature: behavioral fingerprint hook for memory consolidation events in MultiStepAgent
- 证据：failure_mode_cluster:github_issue | https://github.com/huggingface/smolagents/issues/2129 | Feature: behavioral fingerprint hook for memory consolidation events in MultiStepAgent

## 13. 配置坑 · 失败模式：configuration: [Feature] Agent memory/history consolidation after a number of interactions

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this configuration risk before relying on the project: [Feature] Agent memory/history consolidation after a number of interactions
- 对用户的影响：Developers may misconfigure credentials, environment, or host setup: [Feature] Agent memory/history consolidation after a number of interactions
- 证据：failure_mode_cluster:github_issue | https://github.com/huggingface/smolagents/issues/901 | [Feature] Agent memory/history consolidation after a number of interactions

## 14. 配置坑 · 失败模式：configuration: v1.20.0

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this configuration risk before relying on the project: v1.20.0
- 对用户的影响：Upgrade or migration may change expected behavior: v1.20.0
- 证据：failure_mode_cluster:github_release | https://github.com/huggingface/smolagents/releases/tag/v1.20.0 | v1.20.0

## 15. 能力坑 · 能力判断依赖假设

- 严重度：medium
- 证据强度：source_linked
- 发现：README/documentation is current enough for a first validation pass.
- 对用户的影响：假设不成立时，用户拿不到承诺的能力。
- 证据：capability.assumptions | github_repo:898968194 | https://github.com/huggingface/smolagents | README/documentation is current enough for a first validation pass.

## 16. 运行坑 · 失败模式：runtime: v1.25.0

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this runtime risk before relying on the project: v1.25.0
- 对用户的影响：Upgrade or migration may change expected behavior: v1.25.0
- 证据：failure_mode_cluster:github_release | https://github.com/huggingface/smolagents/releases/tag/v1.25.0 | v1.25.0

## 17. 维护坑 · 失败模式：migration: v1.24.0

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this migration risk before relying on the project: v1.24.0
- 对用户的影响：Upgrade or migration may change expected behavior: v1.24.0
- 证据：failure_mode_cluster:github_release | https://github.com/huggingface/smolagents/releases/tag/v1.24.0 | v1.24.0

## 18. 维护坑 · 维护活跃度未知

- 严重度：medium
- 证据强度：source_linked
- 发现：未记录 last_activity_observed。
- 对用户的影响：新项目、停更项目和活跃项目会被混在一起，推荐信任度下降。
- 证据：evidence.maintainer_signals | github_repo:898968194 | https://github.com/huggingface/smolagents | last_activity_observed missing

- 严重度：medium
- 证据强度：source_linked
- 发现：no_demo
- 证据：downstream_validation.risk_items | github_repo:898968194 | https://github.com/huggingface/smolagents | no_demo; severity=medium

## 20. 安全/权限坑 · 存在评分风险

- 严重度：medium
- 证据强度：source_linked
- 发现：no_demo
- 对用户的影响：风险会影响是否适合普通用户安装。
- 证据：risks.scoring_risks | github_repo:898968194 | https://github.com/huggingface/smolagents | no_demo; severity=medium

## 21. 安全/权限坑 · 来源证据：DOC: `evaluate_python_code` docstring is missing two parameters

- 严重度：medium
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安全/权限相关的待验证问题：DOC: `evaluate_python_code` docstring is missing two parameters
- 对用户的影响：可能影响授权、密钥配置或安全边界。
- 证据：community_evidence:github | https://github.com/huggingface/smolagents/issues/2372 | 来源讨论提到 python 相关条件，需在安装/试用前复核。

## 22. 能力坑 · 失败模式：capability: ENH: Executor support for microsandbox

- 严重度：low
- 证据强度：source_linked
- 发现：Developers should check this capability risk before relying on the project: ENH: Executor support for microsandbox
- 对用户的影响：Developers may hit a documented source-backed failure mode: ENH: Executor support for microsandbox
- 证据：failure_mode_cluster:github_issue | https://github.com/huggingface/smolagents/issues/2368 | ENH: Executor support for microsandbox

## 23. 运行坑 · 失败模式：performance: ENH: Add a way to insert custom chat history for multi-turn chat and what's the current best...

- 严重度：low
- 证据强度：source_linked
- 发现：Developers should check this performance risk before relying on the project: ENH: Add a way to insert custom chat history for multi-turn chat and what's the current best way?
- 对用户的影响：Developers may hit a documented source-backed failure mode: ENH: Add a way to insert custom chat history for multi-turn chat and what's the current best way?
- 证据：failure_mode_cluster:github_issue | https://github.com/huggingface/smolagents/issues/1579 | ENH: Add a way to insert custom chat history for multi-turn chat and what's the current best way?

## 24. 运行坑 · 失败模式：performance: Real Memory summary for on-going conversations (avoid LLM size limits)

- 严重度：low
- 证据强度：source_linked
- 发现：Developers should check this performance risk before relying on the project: Real Memory summary for on-going conversations (avoid LLM size limits)
- 对用户的影响：Developers may hit a documented source-backed failure mode: Real Memory summary for on-going conversations (avoid LLM size limits)
- 证据：failure_mode_cluster:github_issue | https://github.com/huggingface/smolagents/issues/694 | Real Memory summary for on-going conversations (avoid LLM size limits)

## 25. 运行坑 · 失败模式：performance: v1.23.0

- 严重度：low
- 证据强度：source_linked
- 发现：Developers should check this performance risk before relying on the project: v1.23.0
- 对用户的影响：Upgrade or migration may change expected behavior: v1.23.0
- 证据：failure_mode_cluster:github_release | https://github.com/huggingface/smolagents/releases/tag/v1.23.0 | v1.23.0

## 26. 维护坑 · issue/PR 响应质量未知

- 严重度：low
- 证据强度：source_linked
- 发现：issue_or_pr_quality=unknown。
- 对用户的影响：用户无法判断遇到问题后是否有人维护。
- 证据：evidence.maintainer_signals | github_repo:898968194 | https://github.com/huggingface/smolagents | issue_or_pr_quality=unknown

## 27. 维护坑 · 发布节奏不明确

- 严重度：low
- 证据强度：source_linked
- 发现：release_recency=unknown。
- 对用户的影响：安装命令和文档可能落后于代码，用户踩坑概率升高。
- 证据：evidence.maintainer_signals | github_repo:898968194 | https://github.com/huggingface/smolagents | release_recency=unknown

## 28. 维护坑 · 失败模式：maintenance: v1.26.0

- 严重度：low
- 证据强度：source_linked
- 发现：Developers should check this maintenance risk before relying on the project: v1.26.0
- 对用户的影响：Upgrade or migration may change expected behavior: v1.26.0
- 证据：failure_mode_cluster:github_release | https://github.com/huggingface/smolagents/releases/tag/v1.26.0 | v1.26.0
