Ce evidence linker

From Moffran/calibrated_explanations · View interactive version

Ce evidence linker is an AI agent skill from the GitHub repository Moffran/calibrated_explanations. Generate, curate, and validate CE capability evidence records linking test execution results to TIFs, requirements, and claims; use when closing a verification chain step, producing curated evidence summaries, or diagnosing coverage gaps in development/capabilities/evidence/.

How to use this skill

Skill file

CE Evidence Linker

Use this skill when

Inputs

Workflow

  1. Parse test results. Run or read the capability test suite:

```bash

pytest tests/capabilities/ -v --tb=short 2>&1

```

Identify each test ID, its pass/fail status, and the TIF or requirement it covers

(from test naming convention test_should_<behavior>_when_<condition>).

  1. Map tests to TIF IDs. Use the TIF README table in

development/capabilities/verification/tif/README.md to resolve

test_id → TIF ID → requirement IDs → claim IDs.

  1. Compute coverage. For each claim:
  1. Produce a curated evidence summary in

development/capabilities/evidence/evidence_<area>_<version>.md.

Follow the curated evidence format from development/capabilities/evidence/README.md.

Minimum fields per evidence record:

  1. Identify open gaps. List requirements with no passing evidence in priority order:
  1. Flag regressions. Compare against previous evidence summary. Flag any

TIF that previously had passing evidence but now shows a failing test.

  1. Update requirement verification_status fields where newly passing evidence

closes a previously unverified requirement. Set to verified.

Verification

make capability-chain-check
python scripts/quality/validate_capability_chain.py

Output contract

Return:

  1. Curated evidence summary file contents for development/capabilities/evidence/.
  2. Full chain-status table: claim → requirement → TIF → test → status.
  3. Gap list: requirements with no passing evidence (categorised by gap type).
  4. Regression list: TIFs that regressed since last evidence record.
  5. List of verification_status fields updated to verified.

Constraints

these fields is not usable as formal evidence.

(a) all TIF IDs for that requirement have a passing test, and

(b) the evidence record has been written with the required fields.

outputs from CI go to reports/verification/ — do not mix these directories.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.