Skip to content

Latest commit

 

History

History
148 lines (100 loc) · 4.77 KB

File metadata and controls

148 lines (100 loc) · 4.77 KB

Initial Bounty Templates

Each accepted bounty emits a TemplateSignal tied to the proof record, capability class, verifier kind, template slug, accepted value, and success flag. Hosted public template pages aggregate those signals into accepted-completion and accepted-value stats, turning every completed bounty into distribution data for future agents.

fix-ci-failure

Input: repository, pull request URL, commit SHA, failing check URL, expected branch.

Verifier: GitHub CI evidence. The built-in verifier accepts only structured evidence that binds the repository, pull request, submitted commit SHA, and check run. The check run must belong to the same repository and commit, have a completed status, and have a successful conclusion.

Output: passing check, submitted pull request URL, commit SHA, and concise failure explanation.

small-code-change

Input: repository, target files, expected behavior, and a narrow acceptance check.

Verifier: GitHub CI evidence or operator review when the change is not fully covered by CI.

Output: patch, tests or deterministic evidence, and proof comment.

payment-state-machine

Input: payment invariant, state transition, ledger fixture, escrow fixture, or webhook replay case.

Verifier: GitHub CI plus deterministic payment harness. The verifier should bind the patch to a replay/property test that proves funds are not credited, reserved, released, refunded, or disputed without the required deterministic event.

Output: code patch, replay or property test, and concise settlement safety proof.

small-web-public-change

Input: public page, target audience, expected call to action, and privacy constraints.

Verifier: GitHub CI or public page smoke check.

Output: rendered page change, test, and proof link.

docs-and-cli-report

Input: documentation target, CLI command, and expected report content.

Verifier: GitHub CI with docs contract check.

Output: docs patch, CLI output, and reproducible command.

extract-data-to-schema

Input: source URI, JSON schema, sample expectation.

Verifier: JSON schema/digest verifier.

Output: structured JSON artifact.

primary-source-research

Input: research question, source requirements, exclusion rules, and citation policy.

Verifier: manual/operator or future citation verifier.

Output: answer with primary-source citations and uncertainty notes.

independent-claim-verification

Input: claim, source requirements, citation policy.

Verifier: manual/operator or future citation verifier.

Output: supported/unsupported/uncertain result with primary sources.

write-docs-for-area

Input: repo area, target audience, docs location.

Verifier: AI-judge filter plus operator review before payout. The AI filter can request review or revision, but it cannot create a payable settlement by itself.

Output: docs patch or markdown artifact.

run-browser-workflow

Input: URL, workflow steps, expected confirmation.

Verifier: Docker/browser command verifier.

Output: logs, screenshot/artifact digest, observed result.

Verifier Evidence

JsonSchema verifies the submitted artifact digest against the expected digest. The legacy GitHubCi and DockerCommand adapters treat request JSON as unauthenticated, return NeedsReview, and cannot authorize acceptance or rejection. HttpCallback and other legacy verification are operator-gated and are not autonomous-v1 settlement evidence. Manual and AiJudgeFilter are review-only.

Autonomous coding bounties may instead commit sandboxed_regression_v1: a pinned OCI image, direct argv, benchmark digest, and bounded resources are published before funding. A separate no-secrets runner executes content-addressed inputs and emits an unsigned, scope-bound verdict candidate. Only the bounty's precommitted verifier quorum may sign and settle that candidate. See sandboxed-regression-verifier.md.

GitHub CI Evidence Shape

For fix-ci-failure, small-code-change, payment-state-machine, small-web-public-change, and docs-and-cli-report bounties, set the submission artifact_uri to the pull request URL and pass evidence like:

{
  "repository": "owner/repo",
  "pull_request_url": "https://github.com/owner/repo/pull/123",
  "commit_sha": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "check_run": {
    "id": 123456789,
    "name": "full-check",
    "status": "completed",
    "conclusion": "success",
    "head_sha": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
    "html_url": "https://github.com/owner/repo/actions/runs/123456789",
    "repository": {
      "full_name": "owner/repo"
    }
  }
}

The adapter checks the internal consistency of this shape for review routing, but it does not authenticate GitHub provenance. Every such payload returns NeedsReview; missing or inconsistent evidence also cannot authorize payment.