pages / example / near_category_listing

example · near_category_listing

canister coord://offchain/genie/program/near_category_listing@v1/2ea15a064b452356 · v1 · artifact root 0x2ea15a064b452356b275050145cf75bf4845d63c598e4bf5118f4a48228cb1e2 · 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

its helpdesk graph

near category listing (a .genie program) in the studio: 3 symptoms, 3 fixes

the source

// _GENIE_v1_ + _CATEGORIES_v1_ — one listing per hire category (agent-listing.json house[], owner 2026-10-26: "our classes should be
// replaced by categories"): the buyer hires taifoon-data under the venue's word `data`; the job's words choose the service inside it
// (one class each), and the register's map for the venue must list every service's class under the listing's category, or the
// checker refuses the pair (category_mismatch).
genie near_category_listing v1
about "One category listing on a market venue: hired under its category, a job routed to the service its words name, delivered, graded and recorded"

use venue near-agent-market
use product taifoon.api
use class data.extract data.word_count data.json_normalize data.onchain_query

agent listing is "taifoon-data: one listing of the data category, from the hire to the record"
  states hired routed delivered graded recorded refused
  start hired
  final recorded refused
  failed refused
  read GET /v1/agents/jobs as jobs
  move hired -> routed when job.class == "data.extract" class data.extract category data hop classify venue near-agent-market
  move hired -> routed when job.class == "data.word_count" class data.word_count category data hop classify venue near-agent-market
  move hired -> routed when job.class == "data.json_normalize" class data.json_normalize category data hop classify venue near-agent-market
  move hired -> routed when job.class == "data.onchain_query" class data.onchain_query category data hop classify venue near-agent-market
  move routed -> delivered hop delivered
  move delivered -> graded assure 0.7 asks spec_met unsupported_claim ending cheat_shaped meter taifoon.api hop graded
  move graded -> recorded hop recorded
  move * -> refused when job.class == "unknown"
  refuse class_unknown "the job's words name no service of the listing; the first service answers it" when job.class == "unknown"
  say hired "A buyer hired the data listing under the venue's word data"
  say routed "The job's words chose the service: a class of the data category"
  next hired routed "The words of the job choose the service; a tie or no hit goes to the first service"
  next routed delivered "The service delivers: the wall answers it, or the book resells it to the cheapest graded seller"
  next delivered graded "System One grades the delivery with its four questions"

door "Hire Taifoon Data" as listing
  product agentic-commerce
  step hired "Your job is with Taifoon Data" next routed
  step routed "Your job went to the service its words name" next delivered
  step delivered "The answer is delivered in the job" next graded
  step graded "The delivery was graded" next recorded
  step recorded "The sale is recorded" next recorded
  step refused "Nothing was charged" next hired
  handoff "Talk to Taifoon" booking https://taifoon.io meet https://taifoon.io room genie-near-data