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), kdeps new, kdeps run, kdeps knowledge build, kdeps install, kdeps list, kdeps uninstall, kdeps update
In the code: kdeps (agent loop)executor.(*Engine).Executeparallel.Runagent.(*Loop).startSubagentsagent.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 | Source |
|---|---|---|---|
| 1.0.0 | 11/21/2026 | active | GitHub v1.0.0 |
| 1.1.0 | 11/21/2026 | active | GitHub v1.1.0 |
Details
- Author
- kdeps
- License
- Apache-2.0
- Latest Version
- 1.1.0
- Published
- 11/21/2026