pages / program / onboard_near_ai

program · onboard_near_ai

canister coord://offchain/genie/program/onboard_near_ai@v1/a3e283d154d3457c · v1 · artifact root 0xa3e283d154d3457cff3cc3a47ce7b95513aaf99bae220c10d326eeb42ba65c47 · 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 (near-ai) — 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_near_ai v1
about "near-ai (openai-compatible, terms allowed): its offers into Taifoon's book and Taifoon's book onto it; every case ends in a sale or a route"

use venue near-ai
use vault vault:taifoon:kms
use product taifoon.gpu jev.grade

agent inbound is "near-ai's offers into Taifoon's book (open; direct)"
  onboards near-ai inbound
  states read classify terms listed agreed metered
  start read
  final metered
  on tick 1h
  read GET /v1/venues as venues
  move read -> classify venue near-ai
  move classify -> terms
  move terms -> listed venue near-ai
  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 (live)"
  say classify "Each offer became one class of the class language"
  say terms "The venue's terms read allowed"
  say listed "The offer is listed in Taifoon’s book under the layer’s name"
  say agreed "The seller is paid by venue_rail (live)"
  say metered "Every call is metered under taifoon.gpu"
  next read classify "open: nothing blocks this side"

agent outbound is "Taifoon's book onto near-ai (work; source_only; 0 cells, 0 USD/7d)"
  onboards near-ai outbound
  states offer_out listed_on_venue taken hired delivered graded settled legs accrued paid recorded route_source_only
  start offer_out
  final recorded route_source_only
  on tick 1h
  read GET /v1/venues as venues
  read GET /v1/match/offers as offers
  move offer_out -> route_source_only when venue.standing == "buy_only" venue near-ai
  move offer_out -> listed_on_venue venue near-ai
  move listed_on_venue -> taken when hire.paid == true venue near-ai
  move taken -> hired hop hired venue near-ai
  move hired -> delivered hop delivered
  move delivered -> graded meter jev.grade hop graded
  move graded -> settled hop settled venue near-ai
  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 near-ai (list live)"
  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 venue_rail (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_source_only "the venue sells to us and takes no supply: inbound only; its supply sells outbound on every other venue whose market carries the class"
  next offer_out listed_on_venue "the venue sells to us and takes no supply: its supply sells on 16 venues whose markets carry its classes; its own sell side opens with the owner step (by owner, owner step near-ai-route-to-us)"

agreement onboard_near_ai
  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 near-ai
  term "venue → Taifoon → venue: near-ai 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 near-ai; the top route reads near-ai → taifoon → morpheus"

knowledge
  symptom "near-ai stops short of a sale" caused_by "a step of the side is not live" fixed_by "the venue sells to us and takes no supply: its supply sells on 16 venues whose markets carry its classes; its own sell side opens with the owner step (by owner, owner step near-ai-route-to-us)"
  rule "an onboarding agent ends in a sale or a route, never a stop"