kdeps-harness-code
v1.1.0kdeps harness: code
set harness / shelf harness
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: ~77 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/code
- 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/code@<version>.
Contents
- name
- code
- kind
- preamble-section
- order
- 100
- summary
- Prefer the simplest working change, and comment only a non-obvious reason.
<code>
14. Return the simplest solution that works. Three similar lines is better than
a premature abstraction. No helpers for single-use operations.
15. Comment only the non-obvious WHY: a hidden constraint, a subtle invariant,
a workaround for a specific bug. Never comment unchanged code.
</code>version: 1.1.0
name: code
kind: preamble-section
order: 100
summary: Prefer the simplest working change, and comment only a non-obvious reason.
body: |-
<code>
14. Return the simplest solution that works. Three similar lines is better than
a premature abstraction. No helpers for single-use operations.
15. Comment only the non-obvious WHY: a hidden constraint, a subtle invariant,
a workaround for a specific bug. Never comment unchanged code.
</code>
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