Building · Industrial infrastructure AI · Oracles · Blockchain for industry Remote · Global

Agency for Smart Contracts

Governance layer Draft v1.0 AGY tickets · Allowlist
Ukiyo Network · Governance layer

Agency for smart contracts roadmap

Observe → decide → simulate → act / escalate

Role: Answer “what may be done”

1. Mission & boundaries

Never invents evidence · Never holds capital

Policy-bounded agents between oracle feeds and on-chain markets. Agents propose; contracts enforce; keys stay off-model.

HoldsProducesNever does
Policy engine, allowlists, escalation, runtimeApproved / rejected / escalated decisions + auditProduce scores, custody LP funds, free-write txs
Observe → Decide → Simulate → Act / Escalate

2. Current state

Building · Local policy stubs
  • White paper + site brief live
  • Local MVP: bands, allowlist, simulate, escalate, audit
  • Missing: on-chain PolicyEngine, fork sim, HSM signer

3. MVP scope (deep)

  • Bands: high ≥8000 advance · mid 5500–7999 reprice/notify · low <5500 pause · stale → pause
  • Degraded/Recovering haircut −500 bps before banding
  • Allowlist only: mint, advance, reprice, pause, notify
  • Escalate if amount > $25k auto-cap or pause-lift / stale policy
  • 2-of-2 human approve/reject
Empty allowlist authorizes nobody.
ActionTargetBounds
mintVerifiedOrderNFTonce per orderId
advanceIndustrySpoolamount ≤ maxAdvance
repriceIndustrySpoolspread 50–2000 bps
pause / notifyIndustrySpoolnotify codes enum

4. Runtime loop

  1. Observe registry score/state + spool state
  2. Decide band → typed allowlisted proposal
  3. Simulate expected state diff
  4. Act via separate signer — or escalate
  5. Audit every step
ActionExpected diffReject if
pausepaused; balances samebalance change
repricespread in boundsout of range
notifyevent onlystorage write
advanceoutstanding+=amt; supplierwrong amt/recipient
mintNFT existsduplicate

5. Phases

Phase 0 · Local brain

Band mapper + simulate + escalate in MVP workspace demo.

Phase 1 · Weeks 5–6 · Sepolia loop

  • Deploy PolicyEngine
  • Typed calldata builders
  • Signer separated from decision
  • 2-of-2 queue

Exit: E2E high-score advance; unknown selector rejected.

Phase 2 · Months 3–4 · Pilot ops

  • Escalation console
  • Notify channels
  • Runbooks + metrics

Phase 3 · Months 5–8 · Hardening

  • Fork simulation
  • Argument-level bounds
  • Novelty escalation
  • Timeboost only for pause/reprice
  • Timelocked policy

Phase 4 · Months 9–12+ · Mainnet agency

  • HSM/MPC · m-of-n
  • Governed mainnet allowlists
  • Optional confidential policy proofs

6. Tickets

IDWorkWhen
AGY-1PolicyEngine allowlist + capsMVP
AGY-2Band mapperMVP
AGY-3Simulate gateMVP
AGY-4Sepolia runtimeMVP
AGY-5Escalation 2-of-2MVP
AGY-6Ops consolePhase 2
AGY-7Notify adaptersPhase 2
AGY-8Fork simulationPhase 3
AGY-9Arg-level decodersPhase 3
AGY-10Novelty escalationPhase 3
AGY-11Timelock governancePhase 3–4
AGY-12HSM/MPC signerPhase 4

7. Security

  • Model never receives keys / RPC / mutable policy
  • Signer accepts only policy-approved calldata
  • Stale oracle → pause band
  • Show rationale + sim diff on escalations

8. Next (after Oracle/SPOOL deployables)

  1. Freeze allowlist sighashes vs SPOOL
  2. AGY-1 deploy script
  3. Split decision worker from signer stub