empty-payload-sentinel-guard-1d9aa9 — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited empty-payload-sentinel-guard-1d9aa9 (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Domain: tool-orchestration Trigger: Apply this when a tool_result block might legitimately be empty (shell commands with no stdout, MCP commands returning content: [], statements that finish silently) so the assistant still sees something to react to. Source Pattern: Distilled from reviewed tool-loop and result-shaping patterns.
Run the same emptiness check used inside isToolResultContentEmpty: undefined/null, whitespace strings, empty arrays, or arrays whose text blocks are themselves empty count as empty. When the check fires, log tengu_tool_empty_result with the sanitized tool name and short-circuit the persistence path by returning the original block with content: "({toolName} completed with no output)", guaranteeing the model always sees at least one token even when the tool produced nothing.
isToolResultContentEmpty so structured arrays and whitespace-only strings are treated identically.sanitizeToolNameForAnalytics before logging so GrowthBook metrics stay consistent.content; leave tool_use_id, tool_version, and other metadata untouched.({toolName} completed with no output) message.Invoke this guard inside maybePersistLargeToolResult before any size checks; if the guard fires, it returns the sentinel immediately and prevents the empty </function_results> tail from tricking Claude into ending the turn.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.