adrianco/retort/file-run-issues
Claude Code and agent skill by adrianco/retort
- community
Checking that the SKILL.md file is still in the repository.
Aggregate a retort run's findings.jsonl into a machine-readable assessment.json summary with severity counts, penalty score, requirement coverage, and top findings.
Install
npx vskill@latest install adrianco/retort/file-run-issuesSKILL.md
File Run Issues
Overview
evaluate-run produces a findings.jsonl per run — one JSON object per observation. This skill aggregates those findings into assessment.json, a compact machine-readable summary used by FindingsScorer and downstream reporting. It does not create beads issues or GitHub issues.
Parameters
- run_dir (required): Same path
evaluate-runused, e.g.experiment-1/runs/language=rust_model=opus_tooling=beads/rep2/ - min_severity (optional, default:
info): Skip findings below this severity when computing counts. Options:critical,high,medium,low,info - dry_run (optional, default:
false): Print the assessment JSON without writing assessment.json
Steps
1. Load findings
Read the file line-by-line. Each line is one finding with at minimum these fields:
2. Filter by severity
Drop findings whose severity is below min_severity. The severity ordering from highest to lowest is: critical, high, medium, low, info.
3. Count severities
Count how many findings fall into each severity bucket:
4. Compute penalty_score
A run with no findings scores 1.0. A run with one critical finding scores 0.75. A run with four critical findings scores 0.0 (clamped).
5. Collect top findings
Select the top 5 findings by severity (critical first, then high, medium, low, info). Within the same severity level, preserve the original order from findings.jsonl. Include all fields from the original finding object.
6. Compute requirement_coverage
Count findings with kind in requirement_missing or requirement_partial — these represent requirements the agent did not fully implement. Estimate total requirements from R<N> IDs present in findings plus any implemented ones (inferred from evaluation.md if available, otherwise estimate from the highest R-number seen).
If total requirements cannot be determined, set requirement_coverage to null.
7. Read model from stack.json
If stack.json is absent or has no model/agent field, use "unknown".
8. Write assessment.json
Write atomically (via .tmp rename):
Constraints:
- You MUST write atomically — write to
{run_dir}/assessment.json.tmpthen rename to{run_dir}/assessment.json. evaluated_atMUST be an ISO 8601 UTC timestamp.penalty_scoreMUST be rounded to 4 decimal places.requirement_coverageMAY benullif total requirements cannot be determined.
9. Emit a summary
Print a terminal-readable summary:
If --dry-run was specified, print the JSON to stdout and skip the file write.
Constraints Summary
- You MUST NOT create beads issues, GitHub issues, or any external tracker records.
- You MUST write assessment.json atomically.
- You MUST be safe to re-run repeatedly — re-running overwrites assessment.json with fresh aggregation.
- You MUST respect
--dry-runby only printing what would be written. - You MUST finish quickly — this is aggregation only, no LLM calls, no network calls.
Interaction with retort
FindingsScorerinsrc/retort/scoring/scorers/findings.pyreads{run_dir}/assessment.jsonand returnspenalty_scoredirectly.- The retort CLI MAY invoke this skill automatically after
evaluate-runcompletes. - If
assessment.jsonis absent,FindingsScorerreturns 0.5 (neutral) rather than failing.
Troubleshooting
findings.jsonl is empty
- Write assessment.json with all-zero severity counts, penalty_score 1.0, empty top_findings.
stack.json is missing
- Use
model: "unknown". Do not abort.
assessment.json.tmp rename fails (permissions)
- Fall back to direct write. Log a warning.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/file-run-issues/SKILL.md
Popularity
- Repository stars
- 120
- Repository forks
- 7
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/adrianco/retort/file-run-issues)