Skip to content

Open policy profile page after submission#16

Draft
gerardo-hash wants to merge 2 commits into
Metta-AI:mainfrom
gerardo-hash:feature/restore-browser-confirmation-page
Draft

Open policy profile page after submission#16
gerardo-hash wants to merge 2 commits into
Metta-AI:mainfrom
gerardo-hash:feature/restore-browser-confirmation-page

Conversation

@gerardo-hash
Copy link
Copy Markdown

Summary

  • After cogames ship, cogames upload, or cogames submit, open the policy-specific Observatory page instead of the generic /observatory/home
  • Adds observatory_policy_url() that builds a direct link with season and policy name pre-selected (/observatory/v2#tab=policies&season=<season>&policy=<name>)
  • The old behavior required manual navigation to find the submitted policy; this takes you directly there

This restores the "confirmation page" experience that previously existed after submission.

Test plan

  • Run cogames ship in an interactive terminal and verify the browser opens the policy-specific page
  • Run cogames submit and verify same behavior
  • Run in non-interactive session and verify the policy URL is printed correctly
  • Verify the URL fragment correctly pre-selects the policy in Observatory UI

🤖 Generated with Claude Code

nishu-builder and others added 2 commits May 7, 2026 15:04
… home

After upload/ship/submit, open the Observatory policy page with season and
policy name pre-selected. Previously opened the generic /observatory/home
which required manual navigation to find the submitted policy.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

3 participants