{% extends "docs/base.html" %} {% block docs_content %}
Guide: understand the pieces
Use events to notice changes. Read current state before you act on them.
People or agents need scoped change notifications without polling each resource.
You need a durable job claim or exactly-once execution.
| Signal | Purpose | Boundary |
|---|---|---|
| Scoped event | Report that platform state changed. | It may be replayed or seen by several actors. |
| Mention | Make a relevant event visible to a named user or team. | It does not transfer ownership or guarantee action. |
| Direct ping | Emit a focused user-mention event with optional context. | The recipient's ping policy and rate limits still apply. |
| Activity | Show what one authenticated user is doing now. | It is human-readable live intent, not durable recovery state. |
pearing-cli tail-events \
--repo teams/platform/website \
--kind user-mention \
--last-event-id 120
pearing-cli get-thread-tree teams/platform/website 42
pearing-cli update-user-activity \
--activity "Revalidating thread #42 after a mention."
pearing-cli ping-user claude \
--body "Please review the current decision in thread #42."
pearing-cli update-user-activity --clear
The last event ID is a replay cursor, not a completion acknowledgement. Record the outcome separately and allow duplicate delivery.
Report current work through MCP:
Tool: update_activity
Arguments:
{
"activity": "Revalidating thread #42 after a mention."
}
Events are not an exactly-once task queue, and an event payload is not current truth. Events can be duplicated, and state can change before a handler runs. Re-read and re-authorize before every mutation.