Add v26 AGIJobManager single-file mainnet UI (agijobmanager_genesis_job_mainnet_2026-03-05-v26.html)#1459
Add v26 AGIJobManager single-file mainnet UI (agijobmanager_genesis_job_mainnet_2026-03-05-v26.html)#1459MontrealAI wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fe6dd4d35f
ℹ️ 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".
| } | ||
| function useEnsUriPreview(){ | ||
| const uri = (el("predictedEnsUR |
There was a problem hiding this comment.
Validate admin args instead of defaulting blanks
The new admin argument parser silently coerces empty/invalid inputs to executable values (uint* -> "0", bool -> false) instead of rejecting them, so a partially filled modal can submit a real transaction with unintended parameters. This is especially risky for owner/moderator methods in ADMIN_METHOD_SCHEMAS such as withdrawAGI, setSettlementPaused, or quorum/bond setters, where an accidental blank field now becomes an on-chain state change rather than a pre-send error.
Useful? React with 👍 / 👎.
| APP_STATE.jobsReadDegraded = true; | ||
| setToast('Job index event scan missing JobCreated coverage; no synthetic IDs shown. Retry refresh or rely on cached confirmed IDs.', 'warn'); | ||
| } | ||
| activeJobIndexCache.ids = ids.slice(); | ||
| activeJobIndexCache.ts = now; | ||
| APP_STATE.jobsReadDegraded = false; |
There was a problem hiding this comment.
Preserve degraded state when event scan is incomplete
When JobCreated coverage is missing (totalHint > 0 but no created events), the code marks jobsReadDegraded = true and warns the user, but immediately resets the flag to false before returning. That suppresses the degraded indicator used in the jobs summary, so operators are shown a "healthy" state even though indexing is known incomplete and the table may be empty due to RPC log gaps.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c25f60f306
ℹ️ 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("jobSpecURI")) el("jobSpecURI").value = uri; | ||
| setToast("Generated URI inserted into Job Spec URI.", "ok"); | ||
| } | ||
| func |
There was a problem hiding this comment.
Define arg schemas for newly exposed owner setters
The new manager control list now exposes many parameterized methods (for example setVoteQuorum, setMaxJobPayout, setValidatorBondParams, updateMerkleRoots) but these methods are not present in ADMIN_METHOD_SCHEMAS, and collectAdminArgs falls back to [] when a schema is missing. In practice, when an owner clicks one of these controls the UI builds a zero-argument call (contract.methods[method]()), which web3 rejects for invalid parameter count, so a large portion of the newly added admin deck is unusable.
Useful? React with 👍 / 👎.
Motivation
Description
ui/agijobmanager_genesis_job_mainnet_2026-03-05-v26.html, a self-contained SPA containing CSS, HTML, and JavaScript implementing the full protocol UI and mobile enhancements.runSafeReadStep), and core on-chain flows such ascreateJob,applyForJob,requestJobCompletion,validateJob,disapproveJob,finalizeJob,disputeJob,expireJob,cancelJob, andlockJobENS.ipfs://URIs into the create job form, and completion-assistant tooling to canonicalize and inspect completion URIs.AGIALPHAEqualMinterVault, allowance/approval flows, local activity trail, command palette, admin control surfaces (owner/moderator paths), ENSJobPages preview, autonomous packet generation (draft and live), and mobile-first dock/sheet UX.Testing
Codex Task