pages / program / onboard_morpheus

program · onboard_morpheus

canister coord://offchain/genie/program/onboard_morpheus@v1/b0211923ca7781f6 · v1 · artifact root 0xb0211923ca7781f639a59849efd5c608391172cab57a767d88ab1aca9a9138ab · previous none (first version) · superroot at publish not sealed yet

sealed cases that reached it: 0 — sealed cases that reached this word (the store counts, never reads)

the words it says

the source

// generated by genie import from lang/gen/venue-onboard.json (morpheus) — the venue's two agents under the hub rule venue → Taifoon → venue; edit lang/cue/venue-onboard.cue or the registers, not this file.
genie onboard_morpheus v1
about "morpheus (openai-compatible, terms per_seller): its offers into Taifoon's book and Taifoon's book onto it; every case ends in a sale or a route"

use venue morpheus
use vault vault:taifoon:kms
use product taifoon.gpu jev.grade

agent inbound is "morpheus's offers into Taifoon's book (work; protocol_adapter, rail_fallback)"
  onboards morpheus inbound
  states read classify terms listed agreed metered route_protocol_adapter
  start read
  final metered route_protocol_adapter
  on tick 1h
  read GET /v1/venues as venues
  move read -> classify venue morpheus
  move classify -> route_protocol_adapter when adapter.module == null venue morpheus
  move classify -> terms
  move terms -> listed venue morpheus
  move listed -> agreed
  move agreed -> metered meter taifoon.gpu
  refuse no_route "the case has no resolution in lang/cue/venue-onboard.cue: a work item, never a stop"
  say read "The venue's offers are read (missing)"
  say classify "Each offer became one class of the class language"
  say terms "The venue's terms read per_seller"
  say listed "The offer is listed in Taifoon’s book under the layer’s name"
  say agreed "The seller is paid by keyed_credit (live)"
  say metered "Every call is metered under taifoon.gpu"
  say route_protocol_adapter "the adapter is the one of the venue's protocol family (packages/resale/adapters); a family with no adapter there is a generated task under tasks/, still a route with a work item"
  next read classify "read the venue's offers on its openai-compatible lane (offer.in missing) (by task)"

agent outbound is "Taifoon's book onto morpheus (held; entry_after_sale, protocol_adapter, rail_fallback; 16 cells, 1576.49 USD/7d)"
  onboards morpheus outbound
  states offer_out listed_on_venue taken hired delivered graded settled legs accrued paid recorded route_protocol_adapter route_entry_after_sale
  start offer_out
  final recorded route_protocol_adapter route_entry_after_sale
  on tick 1h
  read GET /v1/venues as venues
  read GET /v1/match/offers as offers
  move offer_out -> route_protocol_adapter when adapter.module == null venue morpheus
  move offer_out -> listed_on_venue venue morpheus
  move listed_on_venue -> route_entry_after_sale when entry.paid_from_sale == false venue morpheus
  move listed_on_venue -> taken when hire.paid == true venue morpheus
  move taken -> hired hop hired venue morpheus
  move hired -> delivered hop delivered
  move delivered -> graded meter jev.grade hop graded
  move graded -> settled hop settled venue morpheus
  move settled -> legs hop legs
  move legs -> accrued hop accrued
  move accrued -> paid hop paid
  move paid -> recorded hop recorded
  refuse no_route "the case has no resolution in lang/cue/venue-onboard.cue: a work item, never a stop"
  say offer_out "An offer of Taifoon’s book is ready for the venue"
  say listed_on_venue "The offer is listed on morpheus (list missing)"
  say taken "A buyer on the venue took the offer"
  say hired "The layer hired the seller behind the offer"
  say delivered "The delivery is in and content-checked"
  say graded "System One graded the delivery"
  say settled "The buyer paid in by x402_base (live)"
  say legs "The legs are written: the seller's price, our fee 20% over it"
  say accrued "Each leg sits on its owner’s account"
  say paid "The seller is paid on its own venue, by claim where no rail pays it"
  say recorded "The sale is recorded"
  say route_protocol_adapter "the adapter is the one of the venue's protocol family (packages/resale/adapters); a family with no adapter there is a generated task under tasks/, still a route with a work item"
  say route_entry_after_sale "_ZERO_DOLLAR_HELD_v1_: a stake, bond, listing fee or top-up is paid only from a sale a buyer paid; the route is held at list until then and names the cost"
  next offer_out listed_on_venue "entry costs stake (a provider registration and bids (MOR)): paid only from a sale a buyer paid (zero-dollar rule) (by owner)"

agreement onboard_morpheus
  parties buyer seller layer
  hops offer_in classify listed hired delivered graded settled legs accrued split paid recorded
  leg our_fee 20% over
  leg seller_share rest
  settle via vault:taifoon:kms meter taifoon.gpu
  venue morpheus
  term "venue → Taifoon → venue: morpheus sells into the book and buys from it; the buyer pays the seller's price plus our fee 20% over it"
  term "16 cells of the matrix touch morpheus; the top route reads akash → taifoon → morpheus"

knowledge
  symptom "morpheus stops short of a sale" caused_by "a step of the side is not live" fixed_by "entry costs stake (a provider registration and bids (MOR)): paid only from a sale a buyer paid (zero-dollar rule) (by owner)"
  rule "an onboarding agent ends in a sale or a route, never a stop"