| name | provenance |
| description | Trace artifact provenance. |
| practices | ["supply-chain-integrity","adr","hermetic-builds"] |
| hexagonal_role | driven-adapter |
| consumes | [] |
| produces | ["result.json"] |
| context_rel | [] |
| skill_api_version | 1 |
| allowed-tools | Read, Grep, Glob, Bash |
| context | {"window":"fork","intent":{"mode":"task"},"sections":{"exclude":["TASK"]},"intel_scope":"full"} |
| metadata | {"tier":"background","dependencies":[],"internal":true} |
| output_contract | stdout: lineage report |
Provenance Skill
Trace knowledge artifact lineage to sources.
Execution Steps
Given /provenance <artifact>:
Step 1: Read the Artifact
Tool: Read
Parameters:
file_path: <artifact-path>
Look for provenance metadata:
- Source references
- Session IDs
- Dates
- Related artifacts
Step 2: Trace Source Chain
grep -i "source\|session\|from\|extracted" <artifact-path>
ao search "<artifact-name>" 2>/dev/null
Step 3: Search Session Transcripts with CASS
Use CASS to find when this artifact was discussed:
artifact_name=$(basename "<artifact-path>" .md)
cass search "$artifact_name" --json --limit 5
Parse CASS results to find:
- Sessions where artifact was created/discussed
- Timeline of references
- Related sessions by workspace
CASS JSON output fields:
{
"hits": [{
"title": "...",
"source_path": "/path/to/session.jsonl",
"created_at": 1766076237333,
"score":