harness-feedback

harness-feedback is a cursor rule for Cursor from andr-ca/agentharness. It costs 79 tokens per session (1,833 once invoked), scanned A, original, MIT.

A feedback process for recording problems encountered while using a coding-agent harness, such as failed hooks, unclear rules, or differences between documentation and actual behavior.

In plain words
What is it for?
Use it whenever the harness behaves unexpectedly, its guidance is ambiguous, or a required workflow is difficult to apply.
Why use it?
It ensures friction is handled immediately and documented locally and upstream instead of being forgotten.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it whenever the harness behaves unexpectedly, its guidance is ambiguous, or a required workflow is difficult to apply.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/andr-ca/agentharness/harness-feedback
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/andr-ca/agentharness

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for harness-feedback

README.md
[![agentmods](https://agentmods.dev/badge/rules/andr-ca/agentharness/harness-feedback/github.svg)](https://agentmods.dev/rules/andr-ca/agentharness/harness-feedback)
Your own site
<a href="https://agentmods.dev/rules/andr-ca/agentharness/harness-feedback"><img src="https://agentmods.dev/badge/rules/andr-ca/agentharness/harness-feedback/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for harness-feedback

Your own site · 80×15
<a href="https://agentmods.dev/rules/andr-ca/agentharness/harness-feedback"><img src="https://agentmods.dev/badge/rules/andr-ca/agentharness/harness-feedback.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,833 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00079 $0.01833
Opus 5.5 $0.00032 $0.00733
Sonnet 5.5 $0.00016 $0.00367
Haiku 4.5 $0.00008 $0.00183

Measured 1mo ago against content hash 502ac81c615a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

harness-feedback scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/harness-feedback.mdc · 154 lines

How it starts

The opening of the file, as written. The whole thing — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Harness Feedback Loop

When friction is discovered during harness usage — a hook that didn't fire, guidance that was contradictory, a mandate violated in practice, or tool output diverging from documentation — capture and escalate it by default. The goal is to ensure harness improvements flow upstream without requiring users to notice and report them manually.

Procedure

1. Address the immediate problem

Work around or fix the specific friction blocking your session — do not defer this step or leave it for later. Examples:

  • A hook expected to run but didn't? Inspect core.hooksPath, check hook file permissions, run it manually if necessary.
  • Guidance was unclear? Disambiguate it by reading related docs or asking for clarification.
  • A mandate was hard to apply? Document what made it hard and propose a better framing.
2. Log it locally

Append a dated entry to docs/operational/harness-feedback.md (create it with a short header if it doesn't exist). Use this template:

## [ISO 8601 date] – [one-line summary]

**Recurrence key:** `[stable-kebab-case-slug]`

**Harness version:** [commit SHA or tag of the harness in use]

**What happened:** [The friction event and when you noticed it]

**Root cause:** [Why did this happen? What in the harness design or docs caused it?]

**Impact:** [How did it affect your session or workflow?]

**What agentharness should change:** [Concrete recommendation — a new check, clearer guidance, a new tool, a code fix, etc.]

**Corrective action taken:** [What you did to work around or fix it] Logged upstream as #[issue-number] — or "Not filed upstream (opted out via .agentharness-no-upstream-feedback)".

Optional structured fields. Add any of these when you actually have the information — none are mandatory, and a one-off entry with just the fields above is still a complete, valid entry:

**Event class:** [hook-failure | ambiguous-guidance | mandate-violation | tool-output-mismatch | other]

**Observed vs. inferred:** [Directly observed (you saw the failure happen) or Inferred (you're reasoning from symptoms without a direct repro)]

**Evidence reference:** [Link or path to the transcript, log, or command output that shows this — not the raw content, a pointer to it]

**Severity:** [blocking | degraded | cosmetic]

**Workaround:** [What let the session continue despite the friction, if anything]

**Resolution:** [Fixed upstream in #N | Still open | Won't-fix, because ...]

Read the full file on GitHub · 154 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 154 lines · 79 tokens per session scan A 502ac81c615a

Subscribe to this mod's changes

harness-feedback is a cursor rule published in the GitHub repository andr-ca/agentharness (1 stars, last pushed 5d ago), licensed MIT. It adds 79 tokens to every session and 1,833 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.