Skip to content

docs: clarify bounty submission hygiene#386

Open
aiautotool wants to merge 1 commit into
ramimbo:mainfrom
aiautotool:bounty-383-submission-hygiene-docs
Open

docs: clarify bounty submission hygiene#386
aiautotool wants to merge 1 commit into
ramimbo:mainfrom
aiautotool:bounty-383-submission-hygiene-docs

Conversation

@aiautotool
Copy link
Copy Markdown

@aiautotool aiautotool commented May 26, 2026

Summary

  • Tighten the agent checklist so contributors verify live bounty capacity, active attempts, and overlapping PRs before opening work.
  • Add claim-window guidance in bounty rules: exact bounty reference, intended files/surfaces, test plan, evidence, and duplicate-scope avoidance.
  • Extend the PR template with concrete preflight fields for capacity, attempts/open PRs, intended scope, and out-of-scope notes.

Evidence

  • Confusion, missing step, stale example, or bug this addresses: Bounty MRWK bounty: agent submission hygiene and claim-window docs #383 asks for short agent-facing guidance that reduces duplicate, stale, or mis-targeted bounty submissions.
  • Bounty capacity checked: GET https://api.mrwk.ltclab.site/api/v1/bounties/58 returned status: "open", awards_remaining: 2.
  • Active attempts/open PRs checked: GET https://api.mrwk.ltclab.site/api/v1/bounties/58/attempts returned no active attempts; open PR list did not show an existing MRWK bounty: agent submission hygiene and claim-window docs #383 submission.
  • Intended scope and files: docs/agent-guide.md, docs/bounty-rules.md, .github/pull_request_template.md.
  • Out of scope: runtime code, API behavior, MCP behavior, payout logic, ledger behavior.

Test Evidence

  • ruff format --check .
  • ruff check .
  • mypy app
  • pytest
  • ./.venv/bin/python scripts/docs_smoke.py (docs smoke ok)
  • git diff --check

MRWK

Bounty #383

No private keys, seed material, secrets, deployment credentials, private vulnerability details, payout credentials, or MRWK price claims are included.

Summary by CodeRabbit

  • Documentation
    • Enhanced bounty submission guidance with expanded checklists covering capacity verification and scope documentation
    • Added clearer criteria for pull request bodies, including required bounty references and test plans
    • Improved guidelines for verifying bounty status and avoiding overlapping work with existing attempts

Review Change Stack

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 26, 2026

📝 Walkthrough

Walkthrough

This PR updates bounty submission guidance across three complementary documents. The pull request template adds checklist prompts for capacity and attempt verification; the agent guide expands the bounty submission checklist with openness checks and claim-window guidance; and the bounty rules document adds pre-submission state verification requirements and PR body quality criteria.

Changes

Bounty Submission Guidance

Layer / File(s) Summary
Bounty submission guidance framework
.github/pull_request_template.md, docs/agent-guide.md, docs/bounty-rules.md
Pull request template adds checklist prompts for bounty capacity and active attempt verification; agent guide replaces short checklist with expanded ordered steps including bounty openness confirmation, active PR overlap checks, and claim-window style bounty sub-guidance; bounty rules document adds "Before opening a bounty PR" verification steps and criteria for high-quality PR bodies (exact bounty reference, scope, test plan, and acceptance-aligned evidence).

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related issues

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'docs: clarify bounty submission hygiene' accurately summarizes the main change: improving documentation guidance for bounty submissions to reduce errors and duplicates.
Description check ✅ Passed The PR description follows the template with all required sections completed: summary, evidence, test evidence, and MRWK reference. It provides specific details about bounty capacity checks, file scope, and test results.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@carpedkm carpedkm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found one claim-window coverage gap.

The new guidance in docs/agent-guide.md says claim-window PR bodies should include the expected PR size, but .github/pull_request_template.md only asks for capacity, active attempts/open PRs, intended scope/files, and out-of-scope notes. Because this template is the path contributors will actually fill in for bounty PRs, it still does not capture one of the explicit Bounty #383 / discussion #128 fields: expected PR size. That makes it easy for future submissions to remain non-compliant even after this docs update.

Please add an explicit Expected PR size: prompt to the PR template, preferably near Intended scope and files:, and keep the wording aligned with the new agent-guide checklist. A focused docs smoke rerun should be enough after that.

Validation I ran on head 656c937:

  • ./.venv/bin/python scripts/docs_smoke.py -> docs smoke ok
  • git diff --check origin/main...HEAD -> clean
  • live submission quality gate against the PR body -> PASS for Bounty #383

No private keys, seed material, secrets, deployment credentials, private vulnerability details, payout credentials, or MRWK price claims are included.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/agent-guide.md`:
- Around line 222-223: Replace the phrase "claim-window style bounties" with the
hyphenated compound "claim-window-style bounties" in the sentence starting "For
claim-window style bounties, keep the PR body..." so the modifier is
grammatically correct and more readable.

In `@docs/bounty-rules.md`:
- Line 96: Replace the wording "same exact scope" with "same scope" in the
sentence that reads "covers the same exact scope, do not race it with a
duplicate PR." (locate the phrase "covers the same exact scope" in the doc and
update it to "covers the same scope") to remove the redundant word and tighten
the phrasing.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 28e6f674-7761-4f1d-bed4-55360976d8a0

📥 Commits

Reviewing files that changed from the base of the PR and between 04153ee and 656c937.

📒 Files selected for processing (3)
  • .github/pull_request_template.md
  • docs/agent-guide.md
  • docs/bounty-rules.md

Comment thread docs/agent-guide.md
Comment on lines +222 to +223
For claim-window style bounties, keep the PR body precise enough that a
maintainer can see the intended review window without reading the whole diff:
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Hyphenate the compound modifier for readability.

At Line 222, use “claim-window-style bounties” for cleaner grammar in the heading sentence.

🧰 Tools
🪛 LanguageTool

[grammar] ~222-~222: Use a hyphen to join words.
Context: ...longer being reviewed. For claim-window style bounties, keep the PR body precise...

(QB_NEW_EN_HYPHEN)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/agent-guide.md` around lines 222 - 223, Replace the phrase "claim-window
style bounties" with the hyphenated compound "claim-window-style bounties" in
the sentence starting "For claim-window style bounties, keep the PR body..." so
the modifier is grammatically correct and more readable.

Comment thread docs/bounty-rules.md
Good PR bodies make the claim window easy to review. Include the exact bounty
reference, the intended files or surfaces, the test plan, and the evidence that
shows the work satisfies the acceptance text. If another active attempt already
covers the same exact scope, do not race it with a duplicate PR.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Remove redundant wording in scope sentence.

At Line 96, replace “same exact scope” with “same scope” to tighten phrasing.

🧰 Tools
🪛 LanguageTool

[style] ~96-~96: This phrase is redundant. Consider writing “same”.
Context: ...other active attempt already covers the same exact scope, do not race it with a duplicate ...

(SAME_EXACT)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/bounty-rules.md` at line 96, Replace the wording "same exact scope" with
"same scope" in the sentence that reads "covers the same exact scope, do not
race it with a duplicate PR." (locate the phrase "covers the same exact scope"
in the doc and update it to "covers the same scope") to remove the redundant
word and tighten the phrasing.

ramimbo pushed a commit that referenced this pull request May 26, 2026
Bounty #383 — agent submission hygiene and claim-window docs

Adds two complementary updates for the 2nd award slot:

1. docs/api-examples.md: Pre-Bounty Preflight Checks section with
   live API examples for checking award capacity, active attempts,
   open PR overlap, and stale/exhausted round detection.

2. docs/agent-guide.md: Recovering from Rejection section under
   Bounty Submission Checklist, explaining how to respond to
   mrwk:rejected and mrwk:needs-info labels.

These changes complement PR #386 which focuses on the agent
checklist and PR template. This PR adds the API-level preflight
workflow and post-submission recovery guidance.

Refs #383
@ramimbo ramimbo added the mrwk:needs-info More information needed label May 26, 2026
@ramimbo
Copy link
Copy Markdown
Owner

ramimbo commented May 26, 2026

Maintainer status: held with mrwk:needs-info. The docs direction is useful, but the PR template still needs an explicit Expected PR size: prompt aligned with the claim-window guidance before this can be accepted. A focused docs-smoke rerun is enough after that change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mrwk:needs-info More information needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants