kyberforge: agent-audit provenance/sources chain validation #60
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Follow-on deferred from the
agent-auditworkstream (issue #11). Explicitly out of scope for the initial implementation.Related: #11 (parent workstream) · ADR-0015 (
docs/adr/0015-agent-author-dual-provider-scaffold.md)Overview
agent-authorproducesagents/sources.mdat plugin scope (Step 4). This file records which research sources informed which agent files — the provenance chain for agent authoring.skill-audithasvalidate-provenance.shthat validates the equivalentreferences/sources.mdfor skills.agent-audithas no equivalent.Why deferred: At plugin scope,
agents/sources.mdis optional (deleted byagent-authorwhen no research sources are in context). The structure and format ofagents/sources.mdis not yet formally specified. A provenance check becomes worthwhile once the format is stabilised and there are realagents/sources.mdfiles to validate against.Acceptance criteria
validate-provenance.sh <agent-file>(or equivalent) validatesagents/sources.mdat plugin scopesource_keysin context, no unfilled placeholders, contributing files listed exist on disk, research doc field present and non-emptyagent-auditskill body updated to run the provenance check and surface findings as a### Provenancedimensionagent-authorStep 4 updated to reference the expectedagents/sources.mdformat