Run Summaries, Failure Reports & Defect Tags
Groups failures by root cause, collects thumbs-up/down feedback, and tracks structured defect tags.
You have thousands of log lines but cannot answer "What are our top 3 failure reasons this week?"
One command (neusym report --by defect or --by refusal) instantly ranks your top failures and costs.
What It Does (In Plain English)
Diagnostics turns raw event logs into human-friendly run and session summaries. It automatically classifies failures (loop, model_error, budget, output_blocked), lets people rate runs (neusym feedback), and maintains a structured defect taxonomy (neusym defects) feeding your evaluation and learning loop.
Real-World Example
- 1A run gives an incomplete answer → operator runs
neusym feedback <runId> down --correction "...". - 2Operator tags it with a defect code (
missing-freshness). - 3
neusym report --by defecthighlights the pattern across sessions.
When Should You Turn It On?
Add at Level 1 (review) to unlock neusym runs, neusym report, neusym feedback, and neusym defects.
Safety level note: Level 1 · Review — Read-only. Can inspect and answer, never changes outside systems.
How to Add It (workspace.yaml)
kits:
- "@neusym/kit-diagnostics@0.1.0"Kits It Works With
Technical Details & Configuration Options (3 settings)
| Package | @neusym/kit-diagnostics |
|---|---|
| Provides Ports | diagnostics@1 |
| Requires Ports | None |
| Optional Ports | secrets@1 |
| Publishes Events | feedback.recordeddefect.taggeddefect.recorded |
| Owned DB Collections | run_summariesfeedback_recordssession_summariesdefect_definitionsrun_defects |
Configuration Options (kitConfigs.diagnostics)
| Setting | Type | Default | Description |
|---|---|---|---|
maxListedRuns | integer | 50 | — |
maxListedSessions | integer | 50 | — |
autoDefectRules | object | — | — |