Skip to content
Concepts

Reports

What an agent files, and what it never files.

A report is one write-once record. An agent files it when something slowed it down and it would otherwise tell you "this should have been written down": a missing or wrong document, a tool that behaved unlike its name, configuration pointing at a dead service, several attempts at something that should have been a line in a README.

What a report holds

  • A kind. friction is the common one: a category, a one-line summary, the details, a suggested fix. review records the outcome of a review run. Any other kind is accepted and stored as sent.
  • Context the client collects. The repository (from the git remote), the machine, the harness and the model, the command that failed where there was one. The client collects it; the agent does not type it.
  • An identity. A content hash over the normalised report. A keyed retry returns the existing record when kind, key and content agree; reusing that key with different content is a conflict. Without a key, matching content is deduplicated only against an unprocessed record within the server's dedupe window (24 hours by default). Records are never overwritten: a correction is a new report.
  • A processed mark, set later by whoever works the inbox: a verdict (fixed, invalid, duplicate, wont_fix, deferred, upstream, unverifiable), free-text resolution and a reference.

Collection and sensitive data

The client adds repository and harness context to the text the agent submits. A report's payload is separate from transcript upload. Local session reads and explicit submit --context-from are separate operations; supported harness hooks and eligible remote CLI invocations, including MCP startup, can launch a background sessions push --due sweep under cached consent. The upload worker refreshes server policy before uploading and checks collection permissions, so a manual integration without hooks can still trigger permitted uploads. The owner switch governs official automatic collection, not session content manually sent through the submission API. Collection controls and pattern-based scrubbing reduce disclosure but cannot recognise every secret or sensitive detail. Local reporting makes no network call; a server-configured client sends to that server. Read the security reference before enabling collection or sending reports remotely.

How the agent decides

The agentfeedback skill, installed by init, tells the agent when a report is warranted and when it is not. A hook nudges the agent after repeated tool failures, bounded so it never nags. Past sessions can be mined too: agentfeedback sessions reads the harness's own session store into harness-neutral digests, and submit --context-from files a report from one.

The wire format is the API reference and its JSON schemas; every server, open-source or cloud, implements that contract.