flow

Cash Flow Tracker — tool-call lifecycle

One cash_flow_tracker call end to end: the query hits CashFlowService, which fans into QBO + Fishbowl + ClaritySoft in parallel and assembles the unified cash view. No events — reads are direct.

Flow

Overview

The answer to “what is it querying specifically”: three parallel vendor reads, one assembled view. A query never touches the event system — that is the CQRS split; contrast with any command flow (e.g. Propose Vendor Bill — command lifecyclePropose Vendor Bill — command lifecycleFlowv0.1.0One propose_vendor_bill call end to end: queue → ProposalCreated → human approve → ProposalApproved → applier routes by ...Ownervisionary-engineeringView flowView docs).

While Fishbowl is absent (the connector long pole), the inventory branch degrades: openOrders omitted, unavailableSources: ['fishbowl'], divergence alert suppressed — never a failed tool call.

The flow

How it works

  1. Max (agent) on claude.aiMCP tool call
  2. Cash Flow Trackerdirect request/response — no events
  3. CashFlowServicecash position + AR/AP aging / open SO/PO / weighted pipeline
  4. Accounting Readvendor API
  5. Inventory Readvendor API
  6. CRM Readvendor API
  7. QuickBooks Onlineresults fold in
  8. Fishbowl Inventoryabsent → degraded: openOrders omitted, marked unavailable
  9. ClaritySoft CRMresults fold in
  10. CashFlowView assembled → returned in the tool result (divergence + runway alerts; direct response — no event lifecycle on reads)