Skip to content

Latest commit

 

History

History
166 lines (123 loc) · 12.2 KB

File metadata and controls

166 lines (123 loc) · 12.2 KB

AGIJobManager Documentation Hub

v0.9.7: Start here for the download, participant journey and role-specific instructions. Native six-decimal USDC is the only settlement token. This release supplies no live manager; historical receipts are not current deployments. Read mainnet readiness before launch.

Institutional documentation for operators, integrators, contributors, and auditors.

Start here in one minute

If you only read one thing right now:

UI surfaces at a glance

Surface What it is now Use this when Canonical doc
Standalone HTML UI artifact Versioned, single-file, mainnet-focused browser artifact (ui/agijobmanager-usdc.html). You need a direct operator/reviewer interface without running the full UI stack. ui/GENESIS_JOB_MAINNET_HTML_UI.md
Broader/full UI effort Next.js UI with ongoing development, test, and release tracks. You are developing, testing, or evaluating the full UI roadmap. ui/README.md and ../ui/README.md

UI task routing (fast path)

Standalone HTML UI safety routing

When you intentionally operate the single-file mainnet artifact (ui/agijobmanager-usdc.html), use this order:

  1. ui/GENESIS_JOB_MAINNET_HTML_UI.md for preconditions, gate checks, and action flow.
  2. ../ui/README.md to confirm file inventory and artifact status in ui/.
  3. ../hardhat/README.md and DEPLOYMENT/ENS_JOB_PAGES_MAINNET_REPLACEMENT.md for deployment/cutover authority.

If guidance appears to conflict, follow deployment/operator runbooks and on-chain contract behavior.

UI safety boundary: standalone HTML is a client surface, not deployment authority; use Hardhat/deployment docs for owner/cutover decisions.

Canonical docs (use these when docs overlap)

Canonical ENS behavior (single source of truth)

  • Name format: <prefix><jobId>.<jobsRootName>
  • Current defaults: prefix agijob with names like agijob0.alpha.jobs.agi.eth, agijob1.alpha.jobs.agi.eth
  • Responsibility split: AGIJobManager decides numeric jobId; ENSJobPages decides prefix/root + snapshotting + ENS writes
  • Fresh USDC cutover order: deploy a separate helper -> have the ENS parent create its dedicated wrapped-root token owned by the helper -> wire only the new manager -> validate creation, delegated writes and terminal revocation -> consider locks. Preserve original jobs and wiring.
  • Safety model: ENS hooks are best-effort and non-fatal to settlement/dispute outcomes

Start here if you are...

Audience map

Audience Start here Then read
New contributor QUICKSTART.md TESTING.md, REPO_MAP.md
Protocol operator OVERVIEW.md DEPLOYMENT/README.md, OPERATIONS/RUNBOOK.md, OPERATIONS/INCIDENT_RESPONSE.md
Contract owner (non-technical) DEPLOYMENT/OWNER_MAINNET_DEPLOYMENT_AND_OPERATIONS_GUIDE.md OWNER_RUNBOOK.md, ETHERSCAN_GUIDE.md
Security reviewer SECURITY_MODEL.md CONTRACTS/AGIJobManager.md, REFERENCE/EVENTS_AND_ERRORS.md
Integrator CONTRACTS/INTEGRATIONS.md REFERENCE/CONTRACT_INTERFACE.md
UI operator / reviewer ui/GENESIS_JOB_MAINNET_HTML_UI.md ui/README.md, ../ui/README.md

Most common operator tasks

Most common operator questions (fast answers)

  • What is canonical if docs disagree? Follow the canonical set above (Hardhat guide, ENS replacement runbook, ENS overview, deployment troubleshooting).
  • What deployment path is recommended? Hardhat 3 is the supported deployment and local test runtime; Truffle and Ganache have been removed.
  • What is manual vs automated during ENS replacement? The helper script deploys, checks runtime, sets its manager, verifies source and transfers to the explicit owner. Dedicated-root setup and the new manager pointer are manual. Same-manager page migration and any broad wrapper authority are separately reviewed; fresh USDC does not repoint original jobs.
  • How are ENS names built? <prefix><jobId>.<jobsRootName> where AGIJobManager provides jobId and ENSJobPages provides prefix/root.
  • When is locking safe? Only after post-cutover read/event checks and any legacy migration decisions are complete.

Core set

Generated references

Design assets (text-only)

Most common operator mistakes (avoid these)

  • Assuming Hardhat scripts create the dedicated root or call the new manager’s setEnsJobPages(...) (they do not), or granting unnecessary blanket authority over legacy names.
  • Locking ENS/identity configuration before post-cutover checks and legacy migration decisions are complete.
  • Expecting prefix changes to rename already snapshotted legacy labels.
  • Treating ENS hook failures as protocol settlement failures without checking AGIJobManager events first.

Etherscan safety boundaries (owner/operator)

  • A verified explorer supports read checks and reviewed owner writes. Verify network, contract, method, inputs and signer independently; using an explorer alone does not establish safety.
  • Script-first actions: contract deployment and source verification workflow.
  • Dedicated-root setup and the new manager pointer switch require the respective authorized owners. Same-manager page migration is a separate procedure, not a fresh-USDC step.