Agent Skills
› semantica-agi/semantica
› provenance
provenance
GitHub用于在 Semantica 图中追踪数据血缘、来源归属、审计轨迹及溯源断言。支持追溯节点事实的来源链、作者和时间戳,以及查看特定时间段或操作者的图变更审计日志。
触发场景
用户询问数据来源或血缘关系
用户需要检查数据修改历史或审计记录
用户请求验证数据的可信度或作者信息
安装
npx skills add semantica-agi/semantica --skill provenance -g -y
SKILL.md
Frontmatter
{
"name": "provenance",
"description": "Trace data lineage, source attribution, audit trails, and provenance assertions in Semantica graphs."
}
/semantica:provenance
Inspect provenance metadata. Usage: /semantica:provenance <task> [args]
$ARGUMENTS = task + optional node, edge, or time range.
trace <node_id> [--depth N]
Trace the provenance of a node or fact.
from semantica.provenance import ProvenanceTracer
tracer = ProvenanceTracer()
trace = tracer.trace_node(node_id=node_id, depth=depth)
Output: source chain, authors, timestamps, and validation status.
audit [--since <ts>] [--actor <id>]
View audit logs for graph changes.
audit_log = tracer.get_audit_log(since=since, actor=actor)
Return: change events, actor, affected objects, and action details.
版本历史
- 9094f1e 当前 2026-07-05 09:26


