AGENT SKILL

zeugnis-agentic-reliability

Use when the user asks to audit this plugin repository's own skill, agent, or workflow definitions for agentic-loop reliability defects, wants to check for unbounded retries, missing escalation paths, unwired Find/Verify phases, or excessive tool grants, or asks 'is our own agent design safe'. Verification runs by default and only skips if the user explicitly says skip_verification. Findings fall into exactly four categories.

License 许可
MIT
所属仓库
Anselmoo/werkstoff
最近更新
2026-11-02
Stars
★ 1
Forks
0

01 前言 Front Matter

name
zeugnis-agentic-reliability
description
Use when the user asks to audit this plugin repository's own skill, agent, or workflow definitions for agentic-loop reliability defects, wants to check for unbounded retries, missing escalation paths, unwired Find/Verify phases, or excessive tool grants, or asks 'is our own agent design safe'. Verification runs by default and only skips if the user explicitly says skip_verification. Findings fall into exactly four categories.

03 SKILL.md 正文

Audit this repository's own skills/, agents/, commands/, and workflows/ files for four specific agentic-loop reliability defect categories: unbounded-retry, no-escalation-path, find-no-verify-wiring, excessive-tool-grant. These four categories are fixed — never report a fifth category, and never rename one.

Steps

  1. Determine repo_root and the set of skill/agent/workflow files to scan (default: everything under skills/, agents/, commands/, workflows/). Determine skip_verification: default false, same rule as zeugnis-contract-drift — only true on an explicit user request.
  2. Dispatch the agentic-reliability-auditor agent in Find mode over those files. Ask for {"findings": [...]} (category must be one of the four above) plus, separately, any trivial-scope exceptions it noticed (a broad-looking tool grant on a genuinely trivial skill) as {"exceptions": [{"evidence": "...", "reason": "..."}]}. Write both to scratch files.
  3. Unless skip_verification is true: dispatch the agentic-reliability-auditor agent again in Verify mode, independently re-checking each Find-phase finding against the actual file. Write {"findings": [{"evidence": "...", "confirmed": true|false}, ...]} with a literal boolean for every Find-phase finding: any other answer is kept as verification: "unverified" and counted in unverifiedCount.
  4. Run:
    python3 -B "${CLAUDE_PLUGIN_ROOT}/scripts/agentic_reliability.py" <repo_root> \
        --find-json <path-from-step-2> \
        [--verify-json <path-from-step-3>] \
        [--skip-verification] \
        [--trivial-exceptions-json <path-from-step-2>]
    
    The script rejects any finding whose category isn't one of the four, forces fixability: "advisory" on every category except excessive-tool-grant, and writes analysis/zeugnis/reports/AGENTIC_RELIABILITY.md (grouped into four sections, one per category, plus a separate trivial-exceptions section) and analysis/zeugnis/agentic_reliability_summary.json. A rejected finding is dropped silently from the script's own perspective: it prints WARNING: dropping invalid finding: ... to stderr and still exits 0, so the finding count alone will not reveal the drop. Check the script's stderr for any WARNING: dropping invalid finding lines before trusting the reported finding count as complete. If any appear, re-dispatch Find mode with the category constraint restated rather than accepting the count as-is.
  5. Report the per-category finding counts to the user. Call out excessive-tool-grant findings specifically as "auto-fixable via zeugnis-cycle in fix mode" since that's the only category zeugnis-remediator is allowed to touch.

What NOT to do

  • Do not fold a trivial-scope exception into the findings table — it has its own report section precisely so it doesn't inflate the finding count.
  • Do not mark any category other than excessive-tool-grant as fixability: "fixable" — the writer script rejects it, but don't ask the agent to produce it in the first place.

04 同仓库更多 Skills