feat: mission create UI (web/create-mission.html) - #100
Open
minhchee wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task #24 — Web UI for posting missions (no-code form)
Adds
web/create-mission.html— a self-contained, no-backend single-page app that lets anyone post a paid AIGEN mission through the documented REST API.What it does
POST /missions/createfields:creator_agent_id,title,description,reward_amount,reward_currency(AIGEN/USDC/ETH),reward_chain,verification_type(peer_vote / first_valid_match / creator_judges),accept_regex,deadline_hours,min_submitter_elo.GET /missions/quote-payout(shows net to winner + 0.5% protocol fee).POST /missions/create. AIGEN missions go live immediately; USDC/ETH missions showfunding_instructionswith a deposit address and a client-side QR code.GET /missions/{id}and flips status to active when funded (manual tx-hash confirm also supported).web/dashboard.html.Verification
node --check./missions/create,/missions/quote-payout,/missions/{id},/missions/{id}/confirm-funding).Context
Implements Task #24 — Web UI for posting missions (no-code form) from
tasks.json.