Agent Skillsdifferent-ai/openwork › publish-evidence

publish-evidence

GitHub

发布测试证据以支持人工验证,确保审查可审计。用于在测试运行后更新PR评论,展示测试结果、断言证据及复现命令,拒绝误导性证据并处理红标用例。

.opencode/skills/publish-evidence/SKILL.md different-ai/openwork

触发场景

需要发布或更新PR中的测试证据时 测试套件运行完成后需生成可审计的验证报告时

安装

npx skills add different-ai/openwork --skill publish-evidence -g -y
更多选项

非标准路径

npx skills add https://github.com/different-ai/openwork/tree/dev/.opencode/skills/publish-evidence -g -y

不安装直接使用

npx skills use different-ai/openwork@publish-evidence

指定 Agent (Claude Code)

npx skills add different-ai/openwork --skill publish-evidence -a claude-code -g -y

安装 repo 全部 skill

npx skills add different-ai/openwork --all -g -y

预览 repo 内 skill

npx skills add different-ai/openwork --list

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-run selects 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: 0 published, 1 failed claims published (or publish failed), 2 pending claims still need judging (set a vision key and rerun).

Refuse misleading evidence

  • Never use --force to hide a SHA mismatch. Re-run the spec on the PR head.
  • Use --force only 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 a Failed or Incomplete verdict.
  • Read BLOB_READ_WRITE_TOKEN from the environment or the Infisical fallback. Without it, still post verdicts with a no-screenshots note.

版本历史

  • ff5d298 当前 2026-08-20 11:35

同 Skill 集合

.opencode/skills/agent-first-screenshots/SKILL.md
.opencode/skills/browser-automation/SKILL.md
.opencode/skills/build-a-witness/SKILL.md
.opencode/skills/cloud-dashboard-walkthrough/SKILL.md
.opencode/skills/create-plugin/SKILL.md
.opencode/skills/daytona-chrome-cdp/SKILL.md
.opencode/skills/daytona-cloud-instance/SKILL.md
.opencode/skills/daytona-cloud-server/SKILL.md
.opencode/skills/daytona-dev/SKILL.md
.opencode/skills/daytona-electron-den/SKILL.md
.opencode/skills/daytona-electron-test/SKILL.md
.opencode/skills/daytona-flow-validator/SKILL.md
.opencode/skills/daytona-recording-artifacts/SKILL.md
.opencode/skills/daytona-secrets-volume/SKILL.md
.opencode/skills/daytona-seeded-cloud-demo/SKILL.md
.opencode/skills/daytona-windows-cert/SKILL.md
.opencode/skills/diagnose-a-red-run/SKILL.md
.opencode/skills/fraimz/SKILL.md
.opencode/skills/get-env-var/SKILL.md
.opencode/skills/openwork-models/SKILL.md
.opencode/skills/product-tutorial-pipeline/SKILL.md
.opencode/skills/prove-a-pr/SKILL.md
.opencode/skills/run-evals/SKILL.md
.opencode/skills/run-tests/SKILL.md
.opencode/skills/shadcn/SKILL.md
.opencode/skills/upload-photo/SKILL.md
.opencode/skills/write-a-spec/SKILL.md
.warden/skills/desktop-den-sync-review/SKILL.md
.warden/skills/diff-security-review/SKILL.md

元信息

文件数
0
版本
757601b
Hash
f87a765e
收录时间
2026-08-20 11:35

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-17 02:15
浙ICP备14020137号-1