Bounty #427: Add docs endpoint shortcuts#559
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis PR adds new documentation shortcuts to the docs template: an OpenAPI JSON schema link, machine-readable API query shortcuts (bounties, summaries, activity), and an external MCP JSON-RPC endpoint link. The test is updated to validate these new links appear in the ChangesDocumentation Shortcuts
🚥 Pre-merge checks | ✅ 5 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
|
Local validation update after opening PR:
This is in addition to the focused docs-page test, Ruff check/format check, and |
|
CodeRabbit pre-merge focus warning appears to be using stale repository-initialization metadata. I rechecked the actual GitHub PR diff and local merge-base diff after the review:
So the submitted scope matches the 2-file #427 docs-endpoint shortcut claim. |
|
Reviewed current PR #559 head No blocker found. Evidence checked:
This looks mergeable from my reviewed slice. |
Summary
Bounty #427 / Refs #427.
This adds a focused machine-readable shortcuts section to the public
/docspage so contributors and agents can jump directly from the docs hub to the OpenAPI schema, open-bounty queue, open-bounty summary, latest accepted-work activity JSON, and the MCP JSON-RPC endpoint.Before / After
Before:
/docslinked to general docs and some API pages, but users still had to know or manually compose the exact machine-readable endpoints for schema discovery, open bounty prioritization, activity JSON, and MCP calls.After:
/docsexposes those exact entry points in one coherent section while keeping the existing documentation links unchanged.Evidence
73/ issue#427:status=open,awards_remaining=2,available_mrwk=250, and active attempts[].Validation
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 ./.venv/bin/python -m pytest tests/test_api_mcp.py::test_docs_page_lists_live_ltclab_urls -q-> 1 passed./.venv/bin/python -m ruff check tests/test_api_mcp.py-> passed./.venv/bin/python -m ruff format --check tests/test_api_mcp.py-> 1 file already formattedgit diff --check-> cleanSafety
No wallet material, private keys, cookies, OAuth state, access tokens, signatures, private data, price/off-ramp claims, liquidity claims, exchange claims, bridge promises, or fabricated payout claims are included.
Summary by CodeRabbit
Documentation
Tests