v27: Harden ENSJobPages preview and add FreeTrialSubdomainRegistrar alpha-agent mint flow#1465
v27: Harden ENSJobPages preview and add FreeTrialSubdomainRegistrar alpha-agent mint flow#1465MontrealAI wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6f314e8566
ℹ️ 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".
| </details> | ||
| </div> | ||
| </div> | ||
| </div> |
There was a problem hiding this comment.
Remove the stray closing div in admin controls section
This extra </div> leaves the document with one more closing div than opening div, so the parser closes a parent wrapper early and later sections render outside the intended layout container. In practice this can break spacing/responsiveness for everything after the admin controls block and leaves the final container close unmatched.
Useful? React with 👍 / 👎.
Motivation
AGIJobManager.ensJobPages()path and show a clear degraded fallback when unavailable.*.alpha.agent.agi.ethENS subname via theFreeTrialSubdomainRegistrarwhile remaining technically honest (free registration, gas only, time-limited trial).Description
resolveEnsJobPagesContract()to preferAGIJobManager.ensJobPages()on live connected mainnet, otherwise use the verified fallback0x06188e...;updateEnsJobPagePreview()now reads snapshot-aware methods (jobLabelSnapshot,jobEnsLabel,jobEnsName,jobEnsURI,jobEnsNode) and never inventsjob-<id>labels; readiness text remains honest about public vs internal readiness.FreeTrialSubdomainRegistrarABI, constants (FREE_TRIAL_SUBDOMAIN_REGISTRAR,FREE_TRIAL_PARENT_NAME,FREE_TRIAL_PARENT_NODE), and UI panel (alphaAgentMintSection) with public registrar state card, strict client-side label validation (8–63 chars,a-z0-9only, no dots/hyphens/spaces), live availability viavalidateLabel+available, child node preview vianamehash,registerSimple(parentNode,label,newOwner)review modal, and post-success handling that parses events, stores recent names, auto-fillsagentSub, and callsverifySubdomain('agent', true).NameWrapper.canModifyName(...), plus an advancedregister(...)accordion for expert use (resolver, fuses, raw records).getActiveJobIdsFromEvents()so degraded reads now return an explicit degraded state (no synthetic IDs presented) and surface clear warnings.missionControl, command palette (Mint free alpha-agent ENS/Refresh registrar state/Open registrar controls), and mobile sheet (Mint free alpha-agent ENSshortcut); preserved and extended v26 mobile shell and kept all existing verify flows/UI surfaces intact.v27, added NameWrapper supplemental reads needed for registrar admin checks, keptAGIJobManager,ENSJobPages, andFreeTrialSubdomainRegistraras distinct systems, and preserved single-file architecture (ui/agijobmanager_genesis_job_mainnet_2026-03-05-v27.html).Testing
node --check /tmp/v27.js, which returnedOK.rgsearches to confirm no forbidden legacy references (0xc19A84...,alpha.jobs.agi.eth) or rawalert/confirm/promptcalls; pattern checks returned clean.updateAlphaAgentMintPreview, andregisterSimplereview modal wiring) and validated thatregisterSimpleis used as the default happy-path in the UI review modal (value =0 ETHshown).Files:
ui/agijobmanager_genesis_job_mainnet_2026-03-05-v27.html(standalone updated artifact).Codex Task