health-fb01f2 — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited health-fb01f2 (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.
Diagnostic. Runs a battery of checks against a run's state, reports findings with severity + suggested repair commands.
/ultra-analyzer:health [run-name] [--fix]
With --fix, applies repairs automatically (with a 3-second confirmation countdown). Without --fix, only reports.
run, current_step, status, counters, ultra_gates)For each candidate lockdir (<run>/topics/.claim.lock.d/ and <run>/state.json.lock.d/):
holder.pid file exists and kill -0 <pid> succeeds → lock is held bya live worker; leave alone.
stat -f %m (macOS) / stat -c %Y (Linux):SEVERITY=WARN, REPAIR=rmdir <lockdir>.
rmdir <lockdir>.This logic mirrors /ultra-analyzer:resume-run's Step 1b auto-heal so a single implementation rules both surfaces. Resume runs the heal automatically, health surfaces it as a check + reports it.
topics/in-progress/ but no active worker process owns them.run.log since then → orphaned.pending/ with retry tag: mv <topic> <run>/topics/pending/$(basename ${topic%.md})__retry-$(date +%s)-orphaned.mdcounters.topics_done match ls topics/done | wc -l?counters.findings_passed match ls validation/findings/*.json | jq 'select(.verdict=="PASS")' | wc -l?Run this assertion on EVERY /ultra-analyzer:health invocation. Failure exits the health check non-zero so a CI pipeline or operator script notices.
# topics_total must equal done + failed + pending + in_progress.
inv=$(jq -r '
.counters as $c
| ($c.topics_total == ($c.topics_done + $c.topics_failed
+ $c.topics_pending + $c.topics_in_progress))
| tostring
' "$RUN_PATH/state.json")
if [[ "$inv" != "true" ]]; then
echo "[health] CRITICAL: counter-sum invariant broken" >&2
jq '.counters' "$RUN_PATH/state.json" >&2
exit 12
fiThis is the WS-2 invariant tested in plugins/ultra-analyzer/tests/run.sh (the AC1.* assertions). Health invokes the same check at runtime against live state — if a bug, a manual edit, or a future skill breaks it, the operator finds out immediately instead of after synthesis produces nonsense counters.
state/schemas.json missing? discover-topics didn't finish cleanly.ultra_gates["pre-discover"].verdict == "PASS" but no report file exists at the recorded path → state-artifact mismatch.<run>/connector.md exists?bash ${CLAUDE_PLUGIN_ROOT}/bin/adapter.sh <run> enumerate returns non-empty?connector.md for $VARNAME references.df -h on the run's filesystem.ultra-analyzer health: <run-name>
Checked: 10 / Passed: 7 / Warn: 2 / Critical: 1
=== CRITICAL ===
[CRIT] connector.md smoke-test failed: enumerate returned empty
Cause: likely missing $MONGO_URI env var
Repair: export MONGO_URI=... && retry smoke-test
=== WARN ===
[WARN] Counter drift: state.counters.topics_done=42, ls topics/done | wc -l = 45
Repair: bash ${CLAUDE_PLUGIN_ROOT}/bin/health-rebuild-counters.sh <run>
(provided by --fix mode)
[WARN] 3 orphaned topics in topics/in-progress/ (mtime > 30 min)
Repair: move back to pending/ with retry tag
(provided by --fix mode)
=== PASSED ===
✓ state.json integrity
✓ stale locks
✓ missing adapter outputs
✓ validator coverage
✓ gate verdict files
✓ env vars
✓ disk spaceFor each repairable issue, print the repair command and a 3-second countdown. On timeout or user Enter → execute. Ctrl-C to abort.
Repairs that require user involvement (set env var, restore from checkpoint, run connector-init) are never auto-applied — they're listed but left to the user.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.