Replies: 2 comments
|
This maps directly to UEA's staged verification pipeline. Universal Engineering Agent (repo) implements exactly these three failure-mode detectors as structural pipeline gates:
The 10-class failure taxonomy:
npm install universal-engineering-agent-kit | MIT | 31 self-tests |
|
For the lint slice of this, I built a concrete implementation: dsh-lint-loop runs the repo's own eslint / biome / ruff / golangci-lint / cargo clippy on edit, injects only the new findings, and on https://github.com/lemonxiny55/dsh-lint-loop — feedback welcome, especially on whether an error-budget / baseline (only-new-issues) gate would be more useful than "any error blocks". |
Uh oh!
There was an error while loading. Please reload this page.
Summary
I've implemented a new guard plugin for dsh that detects three empirically validated agent failure modes. The code is ready in my fork and I'd love to get feedback / shepherd it into the mainline once PRs are re-opened.
Fork:
chancelu/deepseek-harness:feat/guard-failure-modesPackage:
packages/guard/failure-modesThe Three Detectors
1. One-shotting Detector
Catches agents that try to do everything in a single turn.
2. Premature Victory Detector
Catches agents claiming completion while tools returned errors.
3. Unverified Done Detector
Catches agents marking code tasks complete without running tests/lint.
Design Principles
step/end,tools/post-execute,agent/turn-stopping)cordis.yml, no hardcoded tunablesguard/interventionsession eventConfiguration Example
Test Coverage
14 unit tests covering all three detectors:
Background
These patterns are drawn from Mitchell Hashimoto's Harness Engineering work (OpenAI 100万行代码 / 5个月实践) and my own production incident data running OpenClaw agents. The keywords include Chinese defaults because many dsh users operate in Chinese contexts.
Next Steps
packages/guard/or its own repo.cc: dsh maintainers — would love to get this into the guard suite.
All reactions