Skip to content

Add v26 single-file AGIJobManager mainnet UI (agijobmanager_genesis_job_mainnet_2026-03-05-v26.html)#1461

Open
MontrealAI wants to merge 1 commit into
mainfrom
codex/upgrade-agijobmanager-html-to-v26-cq98zr
Open

Add v26 single-file AGIJobManager mainnet UI (agijobmanager_genesis_job_mainnet_2026-03-05-v26.html)#1461
MontrealAI wants to merge 1 commit into
mainfrom
codex/upgrade-agijobmanager-html-to-v26-cq98zr

Conversation

@MontrealAI
Copy link
Copy Markdown
Owner

Motivation

  • Provide a self-contained, production-oriented single-file web UI (v26) for AGIJobManager on Ethereum Mainnet that unifies job posting, validation, settlement, ENS previewing, and $AGIALPHA bridge/minting flows.
  • Preserve an embedded, readable copy of the smart-contract Terms & Conditions and improve mobile-first navigation and operator ergonomics.

Description

  • Add ui/agijobmanager_genesis_job_mainnet_2026-03-05-v26.html, a complete single-page HTML/CSS/JS application implementing wallet connect, job metadata builder, IPFS (Pinata) upload, createJob flow, apply/validate/finalize/dispute/expire/cancel actions, ENSJobPages preview, and admin controls wired to AGIJobManager and ENSJobPages ABIs.
  • Integrate a deBridge embedded transfer + vault conversion UI to convert bridged $AGIALPHA to the official token and add related helpers (preview, allowance handling, approval flows).
  • Implement rich client features: local drafts and prefs, activity trail, auto-refresh scheduling, command palette, mobile dock/sheet, completion inspection assistant (metadata & image checks), simulated settlement insights, autonomous agent packet generation, and robust safe-read wrappers for degraded RPC/ event fallbacks.
  • Include detailed styling, mobile enhancements, and JS helpers for token amount parsing, bond math, transaction tracking, and admin argument collection for high-risk contract methods.

Testing

  • No automated tests were run for this change (UI addition only).

Codex Task

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 67753364db

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

if(el("generatedSpecCID")) el("generatedSpecCID").textContent = JSON.stringify(data);
if(lastUploadedMetadataURI && el("jobSpecURI")) el("jobSpecURI").value = lastUploadedMetadataURI;
if(el("metadataUriStatus")) el("metadataUriStatus").textContent = lastUploadedMetadataURI ? "IPFS ready" : "Uploaded";
setToast(lastUploadedMetadataURI ? "Metadata uploaded to IPFS and URI inserted into Job Spec URI." : "Metadata
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Define argument schemas for new manager admin methods

The manager control list now exposes many parameterized methods (for example setVoteQuorum, setValidatorBondParams, addAGIType), but collectAdminArgs() builds inputs only from ADMIN_METHOD_SCHEMAS and defaults to [] when a method is missing there. Because those newly listed methods are not in the schema map, the modal collects no arguments and contract.methods[method](...args) is invoked with the wrong arity, which makes these admin actions fail at call construction time for owners/moderators trying to use them.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant