sandbase-harness
sandbaseai
Local-first, self-hosted AI agent runtime and MCP bridge with sandboxed sessions, memory, credentials, audit/replay, and a local Console.
166767/dsh-error-audit
DeepSeek Harness 实时 AI 自审插件:任何报错/警告第一时间连同时间、错误码、会话、用户原话、AI 动作与工作区写入专用日志目录,并主动通知 AI、内置 read_error_logs 工具随时读取。Real-time AI self-audit for DeepSeek Harness — captures every error/warning with timestamp, error code, session, user prompt, AI action and workspace into a dedicated log folder; instantly notifies the agent and ships a read_error_logs tool.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:166767/dsh-error-audit
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
DeepSeek Harness 实时 AI 自审插件:报错 / 警告第一时间连同时间、错误码、会话、用户原话、AI 动作与工作区写入日志目录,并主动通知 AI、内置 read_error_logs 工具随时读取。
agent/error、agent/request-error、tools/result,错误发生瞬间落盘 + 打印。read_error_logs 工具可列表、过滤、读单条报告(合并读磁盘,重启不丢)。dsh plugin --profile web add "github:166767/dsh-error-audit#main"
dsh web
dsh --profile web --dump-config | findstr error-audit
装好后,日志写入 $DSH_HOME/error-audit/,AI 直接调用 read_error_logs 即可。
默认开箱即用。需要改可在 $DSH_HOME/profiles/<name>/cordis.patch.yml 覆盖该行 config:
| 项 | 默认值 | 说明 |
|---|---|---|
logDir |
$DSH_HOME/error-audit |
日志目录(也可用环境变量 DSH_ERROR_AUDIT_DIR) |
notify |
true |
error 级是否主动通知 AI |
notifyMode |
auto |
auto / inject / followup |
windowSize |
50 |
每条错误携带的最近会话事件数 |
docs/:开发经验手记等详细说明。MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: error-monitoring。