agentleFS
SAIL-PUC-RioSAIL-PUC-Rio/Agentic-Software-Engineering-Skills/skills/engineering/evidence/SKILL.md

evidence

Skill19 starsChanged 9 days agoMITView on GitHub

Produce a factual, auditable evidence pack for completed work and publish it to the task's issue tracker — the scope-to-proof map, verification results, and negative evidence. Use when the user wants proof a change works, an evidence pack, an audit trail for a commit, or after implement finishes a piece of work.

14 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 14 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use EVIDENCE_TEMPLATE.md verbatim — don't duplicate its structure here.

    line 51

“Common” is measured: kept by at least 6 in 10 of the 14 edited versions of this file we could read. “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

Trust is earned through verifiable evidence, not a confident narrative. evidence connects claims about completed work to reproducible proof — it does not repeat the implementation summary.

The issue tracker should have been provided to you — run /setup-sail-skills if docs/agents/issue-tracker.md is missing. Without it, evidence cannot know where to publish and falls back to the ambiguous-mode path below.

Process

1. Resolve the task context

Determine task mode, task reference, repository root, current branch, and base/current commit, in this order of precedence:

  1. Explicit context passed by implement in the current conversation (spec, tickets, issue reference already discussed).
  2. Canonical state in docs/agents/issue-tracker.md — this is the Issue tracker setup-sail-skills configured. Read it; don't guess which tracker is in play.
  3. Existing active-work-item metadata in the repo, resolved the way the configured tracker resolves it — see github-implementation.md, gitlab-implementation.md, local-implementation.md, or other-implementation.md.
  4. Conservative repository inspection, as a last resort.

If the mode is still ambiguous once you've exhausted the above: do not publish externally. Write the pack to .scratch/_evidence/<UTC-timestamp>-<slug>.md instead, and mark publication as blocked in the pack's executive result, naming exactly what metadata was missing (usually: /setup-sail-skills was never run).

2. Identify the claims

Pull claims from acceptance criteria, Definition of Done, the implementation plan, invariants, and the final implementation summary. Give each a stable ID (CLM-001, CLM-002, …). "Implementation completed" is never itself a claim's evidence.

3. Build the scope-to-proof map

For each claim, record its source, the implementation surface it maps to, how it's verified, the evidence IDs backing it, and a status. The full status vocabulary and its rules live in claim-labels.md — use it as-is, never a status outside that table.

4. Collect evidence — reuse before rerunning

Prefer the commands, exit codes, and output implement already produced in this same conversation — reusing them is what keeps this step's token cost down. Run an additional command only to close a specific gap, and never rerun anything expensive, destructive, production-facing, or credential-sensitive merely to manufacture evidence.

For every command (reused or newly run), keep the exact command, working directory, UTC time, exit code, and a concise result.

5. Record negative evidence honestly

Failed tests, skipped validations, missing credentials, unresolved assumptions, inconclusive commands, publication failures — all stay visible. Never fabricate a log, command, timestamp, checksum, or test result to fill a gap.

6. Compare plan to execution

A compact ledger: the conceptual plan, what was actually executed, meaningful deviations and why, and whether each stayed in scope. Concise engineering rationale only — no chain-of-thought.

7. Capture provenance

Per evidence artifact: an ID, producer, UTC generation time, command/tool used, repo/branch/commit, a pointer to the artifact, and a SHA-256 checksum — only when one was actually computed over a real file.

8. Assemble the pack

Use EVIDENCE_TEMPLATE.md verbatim — don't duplicate its structure here. Fill it depth-first: executive result, then claim/criteria status, then verification and hygiene summaries, then full detail. Never bury the result under raw terminal output.

9. Publish through the configured tracker

Every pack carries the idempotency marker <!-- evidence-pack:<task-reference>:<revision> -->. Before publishing, check whether one already exists for this task: no match, or a match for a different revision, means publish fresh; a match for the same revision means this is a regeneration — update that publication in place rather than creating a duplicate.

docs/agents/issue-tracker.md names which tracker is configured. How to check for the marker and how to update in place differ by tracker, so only those mechanics are externalized, one file per tracker:

  • GitHub → github-implementation.md
  • GitLab → gitlab-implementation.md
  • Local .scratch → local-implementation.md
  • Other (freeform) → other-implementation.md

If the mode is confirmed but publication fails (auth, network, tracker outage), keep the generated pack in the local recovery location from step 1, report that evidence generation succeeded but publication failed, and do not reclassify the task as local-mode just because the post didn't land.

10. Report back

Report per the rules in claim-labels.md: implementation status and evidence status as two separate lines, neither one silently overwriting the other.

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.