Agent Skills
› different-ai/openwork
› publish-evidence
publish-evidence
GitHub发布测试证据以支持人工验证,确保审查可审计。用于在测试运行后更新PR评论,展示测试结果、断言证据及复现命令,拒绝误导性证据并处理红标用例。
Trigger Scenarios
需要发布或更新PR中的测试证据时
测试套件运行完成后需生成可审计的验证报告时
Install
npx skills add different-ai/openwork --skill publish-evidence -g -y
SKILL.md
Frontmatter
{
"name": "publish-evidence",
"description": "Publish test evidence, publish all test runs, update PR verification, or audit red evidence. Use after @openwork\/testkit runs."
}
Skill: Publish Evidence
The orchestrator owns this human-verification step. Publishing makes the agent-first verdict inspectable; it never decides pass/fail and never reruns a test.
Make every claim auditable
- Show the test name and verdict, each claim's assertion evidence, the relevant test artifacts, the source test run, and the reproduction command.
- Require one sticky-comment section per claimed test. If a claim has no visible
test-evidence section, report the PR
Incomplete. - Write the
<!-- test-evidence -->marker. The publisher recognizes old sticky markers only to update comments created before the migration.
Publish the PR head
After a multi-test run, publish each test run whose gitSha matches the PR head:
pnpm evals:e2e --publish --pr <n> --test-run <dir|name>
evals:e2e --publish judges pending visual validations in the selected test
run, then publishes it. It publishes existing @openwork/testkit evidence, not legacy
flows, and never reruns tests.
- Omitting
--test-runselects the most recent test run; pass it explicitly when several runs exist so each test's evidence is published deliberately. - Publishing replaces the sticky comment with the selected test run. Confirm the final comment shows the test and verdict you intend reviewers to see.
- Exit codes:
0published,1failed claims published (or publish failed),2pending claims still need judging (set a vision key and rerun).
Refuse misleading evidence
- Never use
--forceto hide a SHA mismatch. Re-run the spec on the PR head. - Use
--forceonly to deliberately publish historical or red test evidence. The output is annotated; call the exception out explicitly. Red tapes are valid human-verification artifacts and should be published when they explain aFailedorIncompleteverdict. - Read
BLOB_READ_WRITE_TOKENfrom the environment or the Infisical fallback. Without it, still post verdicts with a no-screenshots note.
Version History
- ff5d298 Current 2026-08-20 11:35


