hypothesis-ranking-pipeline — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited hypothesis-ranking-pipeline (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.
Goal:
Inputs:
hypotheses/<id>/HYPOTHESIS.jsonstate/PROXIMITY_GRAPH.jsonstate/RESOLVED_RUN_CONFIG.jsonOutputs:
tournaments/*.jsonhypotheses/<id>/HYPOTHESIS.json artifacts with Elo and match referencesstate/PIPELINE_STATE.jsonstate/CURRENT_STAGE.jsonSub-skills:
hypothesis-placement-tournamenthypothesis-ranked-tournamentranking-elo-updateContext Loading:
skills/shared-references/schema-index.md.packages/agent_contracts/hypothesis.py and confirm the exact HypothesisContract shape before writing any touched HYPOTHESIS.json artifact.packages/agent_contracts/ranking.py and confirm the exact TournamentMatchContract plus HypothesisMatchupContract shapes.packages/agent_contracts/resolved_config.py for placement_match_count and tournament_top_k.packages/agent_contracts/pipeline_runtime.py before updating state/PIPELINE_STATE.json or state/CURRENT_STAGE.json.state/PROXIMITY_GRAPH.json exists, read packages/agent_contracts/state.py and load the exact ProximityGraphContract.packages/agent_contracts/proximity.py before interpreting state/proximity_receipts/<hypothesis_id>.json or state/PROXIMITY_STATUS.json.Execution Contract:
tools.from tools import sync_pipeline_stage_artifacts as the canonical paired write surface for entering the Ranking substage.tools.sync_pipeline_stage_artifacts(run_dir, current_phase="Ranking", current_skill="hypothesis-ranking-pipeline").from tools import select_placement_opponents as the canonical placement-opponent selector when state/PROXIMITY_GRAPH.json is available.from tools import select_fallback_placement_opponents only for receipt-gated placement fallback when usable proximity state is unavailable.from tools import get_top_k_hypotheses to derive the canonical current top-k frontier.from tools import should_run_ranked_tournament to decide whether the candidate must enter ranked play.from tools import select_ranked_opponents to derive the canonical ranked-tournament opponents when ranked play is warranted.packages/agent_mechanics/top_k_select.py.ranking-elo-update after tournament winners are already decided. It is the canonical Elo and match-reference update step.ranking-elo-update must close the batch by calling tools.apply_and_persist_elo_updates(...) before convergence or downstream routing reads the frontier again.REVIEW/*.json stage artifacts and writes a RankingUpdateReceiptContract.state/PROXIMITY_GRAPH.json is missing, invalid, or does not contain usable state for the candidate, first check state/proximity_receipts/<candidate_id>.json and state/PROXIMITY_STATUS.json.hypothesis-proximity-update instead of choosing opponents manually.tools.select_fallback_placement_opponents(candidate, hypotheses, placement_match_count) and write an explicit trace/rationale that names the candidate receipt status and states that placement was not embedding-, proximity-, or similarity-informed.Execution Steps:
skills/shared-references/schema-index.md, then read the exact ranking, hypothesis, resolved-config, optional proximity, and pipeline-runtime contracts before writing artifacts.tools.sync_pipeline_stage_artifacts(run_dir, current_phase="Ranking", current_skill="hypothesis-ranking-pipeline").state/RESOLVED_RUN_CONFIG.json.state/PROXIMITY_GRAPH.json is available and contains usable proximity state for the candidate, call tools.select_placement_opponents(graph, candidate, hypotheses, placement_match_count) to derive the placement opponents.state/PROXIMITY_GRAPH.json is unavailable, invalid, or candidate-incomplete, inspect the candidate proximity receipt/status. If the bridge artifacts record a skipped, disabled, failed, or provider-unavailable outcome, record an explicit receipt-gated fallback rationale in the trace, name the fallback status, state that placement was not embedding-, proximity-, or similarity-informed, and call tools.select_fallback_placement_opponents(candidate, hypotheses, placement_match_count). If no such bridge artifact exists, stop ranking and return to hypothesis-proximity-update. Do not treat fallback selection as equivalent to tools.select_placement_opponents(...) when the graph exists.hypothesis-placement-tournament for each placement matchup and persist the resulting TournamentMatchContract artifacts.ranking-elo-update exactly once for the placement batch immediately after placement winners are decided, and confirm it writes every touched hypotheses/<id>/HYPOTHESIS.json artifact plus a ranking update receipt before ranked gating. Match ref arrays must remain duplicate-free.tools.get_top_k_hypotheses(hypotheses, tournament_top_k) to derive the post-placement frontier and tools.should_run_ranked_tournament(candidate, top_k_hypotheses, tournament_top_k) to decide whether ranked play is required.tools.select_ranked_opponents(candidate, hypotheses, tournament_top_k) and run hypothesis-ranked-tournament for each resulting matchup. If ranked play is required but no ranked opponents exist because the frontier has no other viable hypotheses, record that as a traceable no-op.ranking-elo-update exactly once for the ranked batch and confirm it writes every touched hypotheses/<id>/HYPOTHESIS.json artifact plus a ranking update receipt again. Do not copy opponent-side ranked refs into the current child's evolution-round receipt unless the child was hypothesis_1_id for that ranked match.hypotheses/<id>/HYPOTHESIS.json artifacts.Artifact Rules:
packages/agent_mechanics/top_k_select.py is the canonical frontier-selection implementation; the pipeline skill must not fork its semantics in prompt prose.tools.select_placement_opponents(...).tools.select_fallback_placement_opponents(...), and ranking artifacts and traces must describe the fallback as receipt-gated deterministic placement, not as proximity-informed ranking.tools.should_run_ranked_tournament(...), not from an ad hoc narrative threshold.tools.select_ranked_opponents(...), not from a manually re-sorted custom frontier.Completion Rule:
ranking-elo-update has persisted the touched hypothesis artifacts and ranking update receipt, and the run validates for downstream evolution or overview work.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.