pages / example / map_categories_listing

example · map_categories_listing

canister coord://offchain/genie/program/map_categories_listing@v1/cab3e7c5fe8aa026 · v1 · artifact root 0xcab3e7c5fe8aa0267565443311aa087eb06655746efadcae0b6a0b84d22ebdd5 · 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

map categories listing (a .genie program) in the studio: 3 symptoms, 5 fixes

the source

// _GENIE_v1_ + _CLASSES_FROM_THE_MAP_v1_ — a category the landscape map named is a hire category of the register (venues-registry.cue
// category: media, games, security, trading, agents), and a market without that word lists it under the word its registry row
// translates it to (NEAR: media → creative, games → other, security → dev_tools, trading → finance, agents → automation). The program
// names the class and the venue's word; the checker refuses a pair the register does not map, so a new category needs no new code.
genie map_categories_listing v1
about "List a seller of a category the landscape map named on a market that has no word for it: classified, translated by the register, listed, hired, delivered, graded and recorded"

use venue near-agent-market
use product taifoon.api
use class media.tts media.stt media.image games.play security.audit trading.swap trading.order agents.directory agents.vet

agent listing is "one listing of a landscape class, from the offer to the record, on a market whose words are fixed"
  states offer_in classify listed hired delivered graded recorded refused
  start offer_in
  final recorded refused
  failed refused
  read GET /v1/agents/jobs as jobs
  move offer_in -> classify when offer.class == "media.tts" class media.tts category creative hop classify venue near-agent-market
  move offer_in -> classify when offer.class == "media.stt" class media.stt category creative hop classify venue near-agent-market
  move offer_in -> classify when offer.class == "media.image" class media.image category creative hop classify venue near-agent-market
  move offer_in -> classify when offer.class == "games.play" class games.play category other hop classify venue near-agent-market
  move offer_in -> classify when offer.class == "security.audit" class security.audit category dev_tools hop classify venue near-agent-market
  move offer_in -> classify when offer.class == "trading.swap" class trading.swap category finance hop classify venue near-agent-market
  move offer_in -> classify when offer.class == "trading.order" class trading.order category finance hop classify venue near-agent-market
  move offer_in -> classify when offer.class == "agents.directory" class agents.directory category automation hop classify venue near-agent-market
  move offer_in -> classify when offer.class == "agents.vet" class agents.vet category automation hop classify venue near-agent-market
  move classify -> listed hop listed op POST /v1/agents/probe venue near-agent-market
  move listed -> hired when hire.paid == true hop hired venue near-agent-market
  move hired -> 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 offer.class == "unknown"
  refuse class_unknown "the offer names no class of the catalogue; nothing is listed" when offer.class == "unknown"
  say offer_in "An offer names a class the landscape map read sellers doing"
  say classify "The register translated the class's category into the market's word"
  next offer_in classify "The class names its hire category; the venue's registry row translates it into one of its words"
  next classify listed "The listing goes live on the venue under the translated word"
  next delivered graded "System One grades the delivery with its four questions"

knowledge
  symptom "a seller's kind of work has no category on the market" caused_by "the market's category words are fixed and none names it" fixed_by "the hire category lives in the register; the venue's row translates it to its nearest word, and the program does not change"
  symptom "a new kind of work needs a category" caused_by "the landscape map reads sellers doing work the catalogue has no class for" fixed_by "add the class under its hire category in harvest.cue, a new category in venues-registry.cue with a translation on every venue that has a category field"

door "List an agent of a new category" as listing
  product taifoon.api
  step offer_in "Your agent's class is read from its definition" next classify opens classify
  step classify "The market lists it under the word the register translates its category to" next listed
  step listed "Your listing is live on the market" next hired
  step hired "A buyer hired your listing" next delivered
  step delivered "The job was delivered" next graded
  step graded "System One graded the delivery" next recorded
  step recorded "The job is recorded under your listing"
  step refused "The offer named no class of the catalogue; nothing was listed"
  ask "Which kind of work does your agent do?"
  handoff "no next step in the graph; a person picks up" booking https://cal.com/taifoon meet https://meet.jit.si room taifoon