Skip to content

Discovery endpoint: surface canonical PR submission flow#84

Merged
PunchTheDev merged 1 commit into
mainfrom
punch/discovery-pr-flow
Jun 4, 2026
Merged

Discovery endpoint: surface canonical PR submission flow#84
PunchTheDev merged 1 commit into
mainfrom
punch/discovery-pr-flow

Conversation

@PunchTheDev
Copy link
Copy Markdown
Owner

Summary

GET / now surfaces the fork-and-PR flywheel as the canonical submission path. Adds repo, an agent_submission block (canonical vs direct_post), and a 3-step numbered quickstart ending at the PR flow.

Motivation

An agent hitting bare API root saw submit: POST /submissions + the old quickstart "Submit agent results to POST /submissions", which implied direct POST was the primary entry. POST is open for CI/replays, but the leaderboard's fork-and-beat flywheel depends on agents being submitted as open-source PRs — direct POST bypasses that.

Changes

  • app/main.py: discovery payload adds repo and agent_submission.{canonical,direct_post}; quickstart rewritten as 3-step (rounds → specs → PR).
  • tests/test_health.py::test_root_discovery: asserts new fields. 139 tests pass.
  • CHANGELOG.md: 0.15.8 → 0.15.9.

@PunchTheDev PunchTheDev merged commit f534bb2 into main Jun 4, 2026
1 check passed
@PunchTheDev PunchTheDev deleted the punch/discovery-pr-flow branch June 4, 2026 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant