flow

Propose Vendor Bill — command lifecycle

One propose_vendor_bill call end to end: queue → ProposalCreated → human approve → ProposalApproved → applier routes by PO linkage → Fishbowl import or QBO bill → MutationApplied.

Flow

Overview

The “dispatch for the workflow-based tooling,” watchable: the propose queues (no data mutates), the human’s click is the only execution path, and the applier picks the vendor route at apply time by PO linkage — the two-path rule from vendor discovery. This is the richest command flow (two possible vendor writes); contrast with a read like Cash Flow Tracker — tool-call lifecycleCash Flow Tracker — tool-call lifecycleFlowv0.1.0One cash_flow_tracker call end to end: the query hits CashFlowService, which fans into QBO + Fishbowl + ClaritySoft in p...Ownervisionary-engineeringView flowView docs, which never enters the event system.

The flow

How it works

  1. Max (agent) on claude.aiMCP tool call
  2. Propose Vendor Billqueue only — no vendor write
  3. Approval Bus queues the proposalpending + widget token minted
  4. Proposal Createdapproval card renders
  5. Cleared human reviews the cardhuman click — approve
  6. Commit Approval (app-only)RBAC + atomic pending→approved claim
  7. Approval Bus claims + dispatchesexactly-once claim
  8. Proposal Approveddispatch by kind: vendor-bill-intake
  9. VendorBillApplier — routes by PO linkagePO-linked → Fishbowl (auto-pushes to QBO) / non-PO → direct QBO bill
  10. Fishbowl Import Billthe one vendor write
  11. QBO Create Billthe one vendor write
  12. Fishbowl Inventoryresult recorded on the proposal
  13. QuickBooks Onlineresult recorded on the proposal
  14. Mutation Appliedcard refreshes
  15. Terminal: proposal applied (a thrown apply records failed instead — Mutation Failed)