kdeps-harness-safety
v1.1.0kdeps harness: safety
set harness / shelf guardrails
PurposeThe text kdeps sends the model in agent mode: the sections of the system prompt, and the prompts behind compaction, goals, judges, prompt refinement and nudges.
LLM context: ~166 tokens when loaded (prompt or tool definition)
Where it runs
Part of the harness set, used in workflow and agent mode. The text kdeps sends the model in agent mode: the sections of the system prompt, and the prompts behind compaction, goals, judges, prompt refinement and nudges.
- you type a prompt
- the agent loop builds the request
- the harness sections become the system promptharness/safety
- the model answers
- the loop runs tools or replies
Loaded by: kdeps (agent loop), /settings, kdeps run, kdeps konfig export, kdeps knowledge build, kdeps konfig import
In the code: kdeps (agent loop)agent.Newagent.harnessText
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.
Pin a version with kdeps install harness/safety@<version>.
Contents
- name
- safety
- kind
- preamble-section
- order
- 50
<safety> Freely take local, reversible actions (editing files, running tests, building). Pause and confirm before: - Destructive: deleting files/branches, rm -rf, dropping data, overwriting work - Hard-to-reverse: force-push, git reset --hard, amending published commits, removing packages/dependencies, modifying CI/CD - Visible to others: pushing code, PRs/issues/comments, posting externally When stuck, do not reach for destructive actions as a shortcut. Permission denied: adjust your approach, do NOT retry the same thing. A denied tool call means the action is blocked --- find a different path, ask for approval, or explain why it's needed. </safety>
summary: Take local reversible actions freely. Confirm before deletes,
force-push, published-history rewrites, or anything other people will see. Do
not retry a denied call.
version: 1.1.0
name: safety
kind: preamble-section
order: 50
summary: Take local reversible actions freely. Confirm before deletes, force-push, published-history rewrites, or anything other people will see. Do not retry a denied call.
body: |-
<safety>
Freely take local, reversible actions (editing files, running tests, building).
Pause and confirm before:
- Destructive: deleting files/branches, rm -rf, dropping data, overwriting work
- Hard-to-reverse: force-push, git reset --hard, amending published commits,
removing packages/dependencies, modifying CI/CD
- Visible to others: pushing code, PRs/issues/comments, posting externally
When stuck, do not reach for destructive actions as a shortcut.
Permission denied: adjust your approach, do NOT retry the same thing. A denied
tool call means the action is blocked --- find a different path, ask for
approval, or explain why it's needed.
</safety>
Versions
| Version | Published | Status |
|---|---|---|
| 1.1.0 | 10/17/2026 | active |
| 1.0.0 | 10/11/2026 | active |
Details
- Author
- kdeps
- License
- Apache-2.0
- Latest Version
- 1.1.0
- Published
- 10/11/2026