kdeps-events-failure-error-bytes
v1.0.0kdeps event: failure-error-bytes
set events / shelf guardrails
PurposeThresholds the agent loop watches - tokens, rounds, bytes, repeated calls - and the action each runs when crossed.
LLM context: none - kdeps uses it without sending it to the model
Where it runs
Part of the events set, used in workflow and agent mode. Thresholds the agent loop watches - tokens, rounds, bytes, repeated calls - and the action each runs when crossed.
- the agent loop runs a turn
- kdeps measures tokens, rounds and calls
- an event's trigger is metevents/failure-error-bytes
- its action runs
- the turn continues
Loaded by: kdeps (agent loop), /update, kdeps run, kdeps konfig export, kdeps konfig import
In the code: kdeps (agent loop)agent.(*REPL).Runagent.eventPatternMatch
Install
A kdeps asset: installed with the first-run profile that includes its set, or the first time a command needs it, and updated without a new release.
Also installs what it requires, when missing or older: actions/truncate.
Pin a version with kdeps install events/failure-error-bytes@<version>.
Contents
- name
- failure-error-bytes
- items
- 1500
- run
- truncate
requires:
actions/truncate: ""
version: 1.0.0
# kdeps update installs these with this event: the action it runs
requires:
actions/truncate: ""
name: failure-error-bytes
# Limit on the efficiency failure brief. Turning the event off keeps the default.
items: 1500
run: truncate
Versions
| Version | Published | Status |
|---|---|---|
| 1.0.0 | 11/1/2026 | active |
Details
- Author
- kdeps
- License
- Apache-2.0
- Latest Version
- 1.0.0
- Published
- 11/1/2026