agentleFS
kirubaharan181kirubaharan181/sdlc-agentic-skills/skills/cross-cutting/evidence-quality-gates/SKILL.md

evidence-quality-gates

Skill1 starsChanged 19 days agoMITView on GitHub

Use when a gate needs proof: classifies, checks, accepts or rejects evidence. Do NOT use to produce the evidence itself.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No external API keys, paid services or network access are required.

    line 29

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Evidence and gate evaluation

Purpose

Decides whether the evidence offered for a claim is good enough to pass a gate. It classifies the evidence, checks provenance and reliability, ties it to the claim and revision, assigns a confidence level, handles conflicting or missing evidence, and returns PASS, FAIL, BLOCKED, INCONCLUSIVE, NEEDS_HUMAN_APPROVAL or WAIVED with reasons.

When to Use

  • A gate, sign-off or approval depends on evidence.
  • Evidence from different sources disagrees.
  • A report claims work was done and the proof must be checked.

When NOT to Use

  • Producing the evidence: use the specialist skill.
  • Checking task completion overall: use definition-of-done.
  • Auditing controls across teams: use enterprise-governance.

Prerequisites and Requirements

  • The claim being gated and its gate id.
  • The evidence artifacts or immutable links.
  • templates/evidence-record.json as the record shape.
  • No external API keys, paid services or network access are required; work uses files and tools already approved in the repository.

Inputs and Outputs

Required inputs:

  • claim and gate
  • evidence records or artifacts
  • revision or build identifier

Optional inputs:

  • previous results
  • tool versions
  • reviewer identity

Outputs and deliverables:

  • evidence classification and provenance check
  • confidence level with reasons
  • traceability from claim to evidence to revision
  • gate decision with status and limitations

Procedure

  1. Define gate criteria and required evidence before execution.
  2. Pin evidence to commit, artifact digest, environment, command, executor and timestamp.
  3. Distinguish PASS, FAIL, BLOCKED, INCONCLUSIVE and approved waiver.
  4. Reject stale, incomplete or self-approved evidence; retain decision and follow-up.

Shared rules (evidence, approvals, failure, handoff): references/CORE_PROCEDURE.md.

Decision Rules

SituationAction
Evidence has no revision or timestampTreat as INCONCLUSIVE.
Evidence is for a different buildFAIL for this claim; request the correct evidence.
Two sources conflictPrefer the one closer to the system and reproducible; record the conflict; do not average.
Evidence is an example or illustrationNever count it; examples are marked example true.
Only the producer vouches for the workRequest independent confirmation for high-risk gates.
Critical evidence missingBLOCKED; list exactly what is needed.

Quality Gates

  • Each claim links to evidence with revision, method, executor and time
  • Confidence level is stated with reasons
  • Conflicts and gaps are listed
  • Rejection reasons are specific and fixable

Examples

Illustrative only: these show expected behavior and were not executed against a real project.

Example 1: Accept test evidence

Request: Gate: all unit tests pass for build 2.8.0.
Context: A CI log and report are attached.
Agent behavior: Check build id, command, executor, time and result in the log, then confirm that raw output matches the summary.
Output: PASS with confidence high; limitation: unit tests only.
Acceptance: Record lists artifact link, revision and limitations.

Example 2: Reject a claim

Request: Security scan passed.
Context: Only a screenshot without date or revision.
Agent behavior: Mark INCONCLUSIVE because provenance is missing and request the scan output.
Output: INCONCLUSIVE with the exact missing items.
Acceptance: Reason is specific and fixable.

Example 3: Conflicting evidence

Request: Load test shows pass; monitoring shows errors at the same time.
Context: Both from the last release.
Agent behavior: Compare timestamps and environment, record the conflict, and prefer production-measured data for production claims.
Output: Conflict record with decision rationale and escalation if unresolved.
Acceptance: Conflict is recorded, not averaged away.

Limitations

  • Judges the evidence offered; it cannot discover evidence that does not exist.
  • Cannot prove authenticity beyond provenance fields it can check.
  • Gate decisions that need approval go to a named human.

Troubleshooting

ErrorCauseResolution
Evidence link expiredMutable or temporary URLRequest an immutable copy or hash.
Evidence is redactedSensitive data removedAccept with a stated limitation or request a safer form.
Conflicting sourcesDifferent scope or timeNormalize scope and time, then compare.

Tools

  • CI/test reports
  • artifact provenance
  • evidence schema validator
  • approval and waiver log

Stages covered

None. This is a cross-cutting skill applied alongside stage skills.

Handoffs

Hands to:

  • enterprise-governance: evidence assessments for audits
  • release-deployment: gate decisions for release readiness

Receives from:

  • definition-of-done: evidence sets that need deeper evaluation
  • enterprise-governance: evidence sets for quality evaluation
  • master-orchestration: evidence set for evaluation

Contract: references/HANDOFF_CONTRACT.md.

Related

  • Selection and handoff guidance: the skill selection guide in the repository documentation.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.