Add expected PR size bounty guidance [Bounty #383]#392
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR requires contributors to declare claim-window scope in PRs (exact bounty reference, intended files/surfaces, expected PR size, test plan, out-of-scope) via updated PR template, agent guide, and bounty rules, and adds a docs_smoke.py check to validate the template contains "expected pr size:". ChangesBounty Scope Documentation and Validation
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related issues
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 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 `@scripts/docs_smoke.py`:
- Around line 67-74: The PR-template check is currently guarded by "if ok:" so
it is skipped when earlier checks fail; remove that conditional and run the
block unconditionally while keeping the existing checks that set the "ok" flag
(referencing pr_template, ROOT, PR_TEMPLATE, and ok) so template existence and
"expected pr size:" content are always validated and failures still aggregate by
setting ok = False when checks fail.
🪄 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: d2eaf4d3-3570-4af5-ab90-16dea5d991e7
📒 Files selected for processing (4)
.github/pull_request_template.mddocs/agent-guide.mddocs/bounty-rules.mdscripts/docs_smoke.py
tolga-tom-nook
left a comment
There was a problem hiding this comment.
Manual review pass for bounty #340 on PR #392 at head 910f01b.
Evidence checked:
- Inspected
.github/pull_request_template.md,docs/agent-guide.md,docs/bounty-rules.md, andscripts/docs_smoke.py. - Verified the docs/template additions stay focused on claim-window scope, expected PR size, evidence, and out-of-scope notes for bounty submissions.
- Ran
./.venv/bin/python scripts/docs_smoke.py->docs smoke ok. - Ran
./.venv/bin/python -m ruff check scripts/docs_smoke.py-> passed.
I do not see a blocking issue in the docs behavior. The ruff format --check command is not meaningful for the Markdown files without Ruff preview mode, but the Python smoke script itself is clean.
ayskobtw-lil
left a comment
There was a problem hiding this comment.
No blockers from my follow-up review on current head 910f01b.
Evidence checked:
- Inspected
.github/pull_request_template.md,docs/agent-guide.md,docs/bounty-rules.md, andscripts/docs_smoke.pyagainst Bounty #383. - Verified the PR template now has explicit claim-window fields for bounty capacity/open PR checks, intended files/surfaces, expected PR size, and out-of-scope notes.
- Verified the agent guide and bounty rules describe the same claim-window packet: exact bounty, intended surfaces, expected size, test plan, evidence, and out-of-scope notes.
- Verified the second commit addresses CodeRabbit's docs-smoke nit: the PR-template check now runs even if earlier docs checks have already set
ok = False, so missingExpected PR size:cannot be masked by an earlier failure. - Checked that scope is limited to docs/template/docs-smoke behavior and does not add payout, price, bridge, cash-out, runtime, API, ledger, wallet, or MCP claims.
- Hosted quality check was green in the PR metadata I inspected.
Local validation:
python scripts/docs_smoke.py-> docs smoke okpython -m pytest tests/test_docs_public_urls.py tests/test_submission_quality_gate.py -q-> 39 passedpython -m ruff check scripts/docs_smoke.py-> passedpython -m ruff format --check scripts/docs_smoke.py-> 1 file already formattedpython -m mypy scripts/docs_smoke.py-> successgit diff --check origin/main...HEAD-> clean
Summary
Expected PR size:prompt to the pull request template.scripts/docs_smoke.pyso the expected-size prompt is checked before future docs/template changes pass smoke.Evidence
mrwk:needs-infospecifically because the PR template lacks an explicitExpected PR size:prompt.GET https://api.mrwk.ltclab.site/api/v1/bounties/58returnedstatus: openandawards_remaining: 1;GET https://api.mrwk.ltclab.site/api/v1/bounties/58/attemptsreturned no active attempts. PR docs: add pre-bounty preflight checks and rejection recovery guide [Bounty #383] #387 is paid; PR docs: clarify bounty submission hygiene #386 remains held on the missing expected-size prompt..github/pull_request_template.md,docs/agent-guide.md,docs/bounty-rules.md,scripts/docs_smoke.py.Test Evidence
uv run --extra dev python -m ruff check .-> passed.uv run --extra dev python -m ruff format --check .-> 65 files already formatted.uv run --extra dev python scripts/docs_smoke.py-> docs smoke ok.uv run --extra dev python -m pytest tests/test_docs_public_urls.py tests/test_check_agents.py tests/test_submission_quality_gate.py -q-> 41 passed.uv run --extra dev python -m mypy app-> success.uv run --extra dev python -m pytest -q-> 377 passed.git diff --check-> clean.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
Chores