install
source · Clone the upstream repo
git clone https://github.com/jmagly/aiwg
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/jmagly/aiwg "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.agents/skills/provenance-report" ~/.claude/skills/jmagly-aiwg-provenance-report && rm -rf "$T"
manifest:
.agents/skills/provenance-report/SKILL.mdsource content
Provenance Report Command
Generate a dashboard showing provenance tracking coverage, agent attribution, and chain health.
Instructions
When invoked, generate provenance report:
-
Count tracked vs untracked artifacts
- Scan
directories for all artifacts.aiwg/ - Count provenance records in
.aiwg/research/provenance/records/ - Calculate coverage percentage
- Scan
-
Breakdown by entity type
- Categorize: document, code, test, schema, template, agent, command
- Show tracking percentage per type
-
Breakdown by agent
- Group records by agent URN
- Count artifacts per agent
- Show activity types per agent
-
Chain health metrics
- Count broken links
- Count orphaned records
- Count missing back-references
- Calculate chain completeness score
-
Activity timeline
- Recent provenance activities (last 7 days)
- Most frequently modified artifacts
- Activity distribution by type
-
Generate report
- Format as markdown dashboard
- Include tables and summary metrics
- Optionally save to
.aiwg/reports/provenance-report.md
Arguments
- Show summary only--brief
- Save report to--save.aiwg/reports/provenance-report.md
- Only include activities since date--since [date]
- Output format (default: markdown)--format [markdown|json]
References
- @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/agents/provenance-manager.md - Provenance Manager agent
- @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/schemas/provenance/prov-record.yaml - PROV record schema
- @.aiwg/research/provenance/docs/provenance-guide.md - Provenance guide
- @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/rules/provenance-tracking.md - Provenance tracking rules