feat(provenance): content-derived Agent fingerprint for scoreboard - #198
Draft
zhangnju wants to merge 1 commit into
Draft
feat(provenance): content-derived Agent fingerprint for scoreboard#198zhangnju wants to merge 1 commit into
zhangnju wants to merge 1 commit into
Conversation
Add a reproducibility fingerprint to the self-evolution loop. Each scoreboard evaluation records only version + provider + model_id, with no content fingerprint, so editing the system prompt / AGENTS.md / a skill without bumping version leaves two evaluations looking identical while testing different Agents. - core: buildAgentProvenance() hashes the raw config inputs (system prompt template, AGENTS.md, tool contract, each installed SKILL.md) into per-part sub-hashes plus a top-level agent_sha256; canonical-JSON hashing for stability. - server: BenchmarkEvaluation gains an optional provenance field, parsed fault-tolerantly (snake_case on disk -> camelCase DTO; a block missing agent_sha256 is dropped whole). - cli: `penguin provenance` prints the fingerprint deterministically (yaml/json) -- the capture path the skills call, since an LLM cannot compute sha256. - skills: agent-optimization captures the fingerprint via the CLI before appending an evaluation; agent-evaluation notes the version tie-in. - example benchmark carries illustrative provenance so the eval center shows it.
hiyouga
marked this pull request as draft
August 7, 2026 08:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a reproducibility fingerprint to the self-evolution loop. Each scoreboard evaluation records only version + provider + model_id, with no content fingerprint, so editing the system prompt / AGENTS.md / a skill without bumping version leaves two evaluations looking identical while testing different Agents.
penguin provenanceprints the fingerprint deterministically (yaml/json) -- the capture path the skills call, since an LLM cannot compute sha256.