# Comment
<!--
ref: @protocol/comment
type: protocol
tags: [commenting, feedback, triage, issue tracking]
triggers: [feature missing, unexpected behavior, successful interaction, general observation]
trigger_prompt: When you notice something that could be improved, a bug that needs addressing, or a moment that should be remembered, reach for this protocol to file a comment.
version: 4
updated_at: 2026-07-14T23:23:53.017Z
-->
How an agent files comments — bugs, suggestions, wins, magic moments — against any element of protocol or its surface.
When you hit friction, find a missing feature, or notice a moment that
worked unusually well — file a comment. It goes to the user's own triage
queue with the surrounding context preserved, so a human can act without
back-and-forth.
## When to file
| Type | When |
|---|---|
| `bug` | Something returned wrong, broke, or behaved unexpectedly |
| `suggestion` | An idea for how something could work |
| `feature_request` | A capability that doesn't exist and you wished it did |
| `change_request` | An existing capability that should work differently |
| `comment` | A general note or observation that doesn't fit above |
| `win` | This worked and you want it remembered |
| `magic_moment` | An unusually good moment — pitch-worthy, candidate for the tips canon |
If you're unsure between two types, pick the more specific one. The
review process can re-tag.
## How to file
### Targeting
Every comment is *about* something. Two ways to express the target:
**Concrete** — pass `target.id` (any ashid). Backend derives the kind from
the prefix (`entr_` → entry, `ipls_` → impulse, `repo_` → repo, `bsi_` →
bootstrap include, etc.). Use this whenever you have an ashid to point at.
**Abstract** — omit `target.id`, pass `target.kind` for non-ashid targets:
`platform`, `site`, `endpoint`, `error`, or any free-form label. Use
`target.ref` to carry a human-readable pointer (URL, error code, page).
### Anchor (entries only)
When commenting on an entry, optionally pin to a specific section, quote,
or line range:
```
"target": {
"id": "entr_1k7m2na9b3c4d5e6f7g8h9",
"anchor": {
"section": "## Acceptance criteria",
"quote": "must hit a real database",
"lineStart": 42,
"lineEnd": 47
}
}
```
Section is most stable across edits (use it when the entry has clear
headings). Quote disambiguates within a long section. Line numbers are
brittle but useful when there's no heading. All fields optional.
### Body — write the friction story
Triage humans need context. The body should answer:
1. **What were you trying to do?** ("Tried to fetch the loop protocol
while debugging a stuck loop.")
2. **What did you expect?** ("Expected the response to include the
trigger map.")
3. **What happened?** ("Got the body but no trigger map; had to make a
second call to /bootstrap.")
4. **Why does it matter?** ("Two round-trips when one would do; ~600
tokens of context wasted.")
Keep it terse — bullets work fine — but include all four. The harder it is
for a human to reconstruct the moment, the longer the comment sits open.
### Example
```bash
curly protocol /comment -X POST -d '{
"type": "bug",
"title": "Search returns raw imports without --type filter",
"body": "Tried /search?q=lupus expecting filtered hits. Got 8 results, 7 were raw imports. Expected: raw imports hidden by default, surfaced only when type=raw filter is set. Cost: had to make a second call with type filter to get useful results.",
"target": { "kind": "endpoint", "ref": "/search/entries" },
"context": "openclaw"
}'
```
## Lifecycle
A comment moves through digest entries, not status flags:
- **filed** — the initial create (no digest entry; this is the row's birth)
- **triaged** — `POST /comment/{id}/triage` — acknowledged, reading
- **escalated** — `POST /comment/{id}/escalate` — forward to platform support
- **resolved** — `POST /comment/{id}/resolve` — closed (sets state=satisfied)
- **rejected** — admin-only — closed without action (sets state=skipped)
Caller can resolve their own comments. Escalation forwards a copy to the
platform-support queue with full context. Rejection is admin-only — the
canonical "we acknowledged but won't act."
## What good looks like
A well-filed comment:
- Has a precise title (a triage human reading 50 of these can sort yours
by glancing at the title)
- Targets the most specific thing it can (entry id, not "the docs"; an
anchored section, not the whole entry)
- Body answers the four context questions
- Tags `context` so multi-agent filers can be filtered
A poorly-filed comment is "search is broken" with no body. Don't.
## Read your own backlog
```bash
curly protocol /comment/mine?status=open # what's still open
curly protocol /comment/stats # rolled-up counts
curly protocol /comment/by-target?targetRef=@protocol/loop
```
When you're about to file, check first — you might already have an open
comment for the same target. Edit it via PATCH instead of stacking.
## Future
v1: every comment is private to the filer. Public commenting (peer
visibility, threaded replies surfaced in UI) is on the roadmap. The API
shape is forward-compatible — adding a `visibility` field doesn't break
existing callers.
---
*Related: `@content/youtube/nate-herk/i-tested-jev-on-12-real-use-cases-my-honest-thoughts` · `@content/youtube/hormozi/how-to-make-progress-faster-than-everyone` · `@content/youtube/sequoia/2026-05-07-twitter-ex-ceo-dick-costolo-the-operators-case-against-found` · `@protocol/capture` · `@knowledge/frameworks/logs-are-not-learning-environments`*
---
*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*
*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*