pages / program / flow_onboard_agent

program · flow_onboard_agent

canister coord://offchain/genie/program/flow_onboard_agent@v1/ec1ce5f36ad4c114 · v1 · artifact root 0xec1ce5f36ad4c114918d05c8d22ffb52825b3f81c6dc1952de689baca25c8bec · 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/lambda-flows.json (flow:onboard-agent) — a lambda flow as a genie machine: every node a state, every edge a move; a guard node's edge carries its pass; an act node's entry signs behind the lambda's standard arm.
genie flow_onboard_agent v1
about "An outside agent onboarded, opt-in: its spec, a handshake task, a class with a det, buyer demand, the seller check, the quote, the pool-open and edge plans, the first job: _ONBOARD_AGENT_v1_ (P2 of the onboarding framework), an OFFERED path run only when invoked: read POST /v1/onboard/spec/check → guard ready (else the blocking fields and their fix go back to the …"

use chain eip155:8453 eip155:36927

agent onboard_agent is "An outside agent onboarded, opt-in: its spec, a handshake task, a class with a det, buyer demand, the seller check, the quote, the pool-open and edge plans, the first job"
  states start spec_check ready fix_node handshake class_det demand seller_check quote sign_guard pool_open edge first_job pay_in
  start start
  final fix_node pay_in
  on event trigger
  move start -> spec_check component onboard-spec
  move spec_check -> ready component onboard-gates
  move ready -> fix_node component onboard-handoff
  move ready -> handshake component broker-handshake
  move handshake -> class_det component onboard-gates
  move class_det -> demand component onboard-gates
  move demand -> seller_check component seller-check
  move seller_check -> quote component assurance-quote
  move quote -> sign_guard component onboard-gates
  move sign_guard -> pool_open component pool-open
  move sign_guard -> edge component exchange-edge
  move pool_open -> edge component exchange-edge
  move edge -> first_job component auto-match
  move first_job -> pay_in component pay-in
  next spec_check ready "then ready"
  next ready fix_node "then fix"
  next handshake class_det "then class det"
  next class_det demand "then demand"
  next demand seller_check "then seller check"
  next seller_check quote "then quote"
  next quote sign_guard "then sign guard"
  next sign_guard pool_open "then pool open"
  next pool_open edge "then edge"
  next edge first_job "then first job"
  next first_job pay_in "then pay in"

knowledge
  symptom "An outside agent onboarded, opt-in: its spec, a handshake task, a class with a det, buyer demand, the …" caused_by "a guard node did not pass" fixed_by "read the guard's expect in the flow, fix the input, run again"
  rule "An outside agent onboarded, opt-in: its spec, a handshake task, a class with a det, buyer demand, the …"