All plugins

DSH / BUNDLE / BUNDLES

dsh-fail-logger

v0.4.1Areium / dsh-fail-logger36a943632b

External Git bundleBundlesBundles & other modulesCommunity · Topic auto-analysis
Open on GitHub
Runtime anatomy
HOSTCLIENTUITOOLDATAFLOW

Overview

dsh-fail-logger

DSH 插件:全模式工具失败自动实录——把原生工具、PTC(Code Mode) run_code、代码内嵌工具调用的失败按错因去重计数,自动写入 skill 的机器维护区段,越用越少错。Auto-record tool failures from every execution mode into a skill's machine-maintained section (dedup + counts).

Community · Topic auto-analysis — Automatically discovered through the dsh-plugin GitHub Topic. Static checks verified a pinned public root bundle contract and committed files without executing third-party code. This is not a human review, security audit, runtime smoke test, publisher identity check, or official endorsement.

Install

Install this bundle from GitHub

The CLI validates the bundle, invokes native DSH, then reports completion.

npx dshpub add Areium/dsh-fail-logger --ref 36a943632b5f6363d76b98ad8c6ad851fc582429

Capabilities

What it contributes

HostCordis loadableNot inspected
Client / UIHost onlyNot inspected
Model toolsNot inspectedNot inspected
Profile stateNot inspectedNot inspected

README / EN

Package documentation

中文 | English

LIMITATIONS

Known limitations

- **Only failures that reach the session log**: catastrophic process death during tool execution is out of scope. - **Corrupt state is backed up**: an unparseable `.failures.json` is renamed to `.failures.json.bak-<timestamp>` before reset. - **Non-zero exit codes are not recorded**: see the trigger conditions (DSH semantics, not a plugin bug). - **Dedup is heuristic**: keyed on the normalized first 1-3 lines of text; the same root cause with different wording may split, and different causes with identical wording may merge — acceptable, but be aware. - **Display keeps the original text**: path/username normalization affects the dedup key only; messages display the original (except redaction rules). For stricter privacy, configure `config.redact` per workspace.