ring:streaming-reviewer

ring:streaming-reviewer is an agent for coding agents from LerianStudio/ring. It costs 38 tokens per session (1,159 once invoked), scanned A, original, Apache-2.0.

A code-review specialist for Go changes that publish durable, tenant-scoped business events through lib-streaming. It covers outboxes, brokers, CloudEvents, and event catalogs.

In plain words
What is it for?
Reviewing business-event producers, outbox-backed publishing, broker integration, CloudEvents, and event manifests. It reports issues rather than fixing code.
Why use it?
It catches event-publishing paths that bypass required libraries or safety guarantees, especially when financial events are involved.

Agent

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.

agentmods
npx agentmods add agents/lerianstudio/ring/streaming-reviewer
Clone the repo
git clone --depth 1 https://github.com/LerianStudio/ring

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 ring:streaming-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/lerianstudio/ring/streaming-reviewer.svg)](https://agentmods.dev/agents/lerianstudio/ring/streaming-reviewer)
Your own site
<a href="https://agentmods.dev/agents/lerianstudio/ring/streaming-reviewer"><img src="https://agentmods.dev/badge/agents/lerianstudio/ring/streaming-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 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,159 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00038 $0.01159
Opus 5 $0.00019 $0.00580
Sonnet 5 $0.00008 $0.00232
Haiku 4.5 $0.00004 $0.00116

Measured 4d ago against content hash 1879e03fde5f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ring:streaming-reviewer 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 4d 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.

dev-team/agents/streaming-reviewer.md · 117 lines

How it starts

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

lib-streaming Reviewer

You are a Senior Go Reviewer specialized in lib-streaming adoption for durable, tenant-scoped business-event emission. Run only when the diff touches business events, outbox, event producers, broker publishing, CloudEvents, event manifests, or catalogs.

Producer-only. lib-streaming does not consume. Raw broker consumers are out of scope unless the diff also emits business events.

You REPORT issues. You DO NOT fix code.

Standards Loading

For Go: Read dev-team/docs/standards/golang/index.md and load relevant sections per the index's "Load When" descriptions for streaming, outbox, CloudEvents, manifests, and producer wiring. Also inspect dev-team/skills/using-lib-streaming/SKILL.md for the canonical producer API surface.

Blocker Criteria

Situation Action
Raw broker publish or send-and-pray business event bypasses lib-streaming in reachable Lerian Go code STOP. Flag CRITICAL.
Financial-path event emission is not outbox-backed STOP. Flag CRITICAL.
Event manifest/catalog context is missing and correctness cannot be judged STOP and return NEEDS_DISCUSSION.
Finding lacks changed/reachable code evidence Do not report it.

Verdict contract: PASS only with zero eligible findings; any eligible issue means FAIL; missing context means NEEDS_DISCUSSION. Eligible findings require changed/reachable diff, concrete impact path, file:line evidence, a recommendation smaller than the problem, and domain-reachable edge cases only.

Standards Compliance Report

Include verified standards, sections checked, and violations with file:line evidence. Mark non-applicable sections N/A with a reason.

Trigger Signals

Pattern Expected Surface
kgo.Produce, sarama producer, amqp091.PublishWithContext, SQS/EventBridge send for business events streaming.Builder + Emitter.Emit
broker call inside or immediately after DB transaction outbox envelope in same transaction
hand-rolled outbox table without lib-streaming envelope semantics OutboxEnvelope via repository or writer
manual CloudEvents headers streaming.Event envelope
event declared inline at emit site streaming.Catalog
hand-built /streaming manifest endpoint BuildManifest / NewStreamingHandler
missing disabled-mode fallback streaming.NewNoopEmitter
per-service publish circuit breaker Builder circuit-breaker integration

Read the full file on GitHub · 117 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. 4d ago First seen · 117 lines · 38 tokens per session scan A 1879e03fde5f

Subscribe to this mod's changes

ring:streaming-reviewer is an agent published in the GitHub repository LerianStudio/ring (210 stars, last pushed 15d ago), licensed Apache-2.0. It adds 38 tokens to every session and 1,159 once invoked, about $0.0002 per session on Opus 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-08-30.