KAFUNE
Works

Works

Systems we run daily in-house and operations software we have built (client names withheld for confidentiality).

  1. 01 Sales Desk
  2. 02 Multichannel Commerce Engine

01 / Sales Desk

In-house (B2B sales) · AI agents

From lead research to replies. AI drafts, a person approves, then it sends.

Role Design, development and operation

SOURCES INBOX HARVEST read-only LEDGER deals · lots timeline AI DRAFT reply · outreach HUMAN APPROVE SEND
Companies in the ledger
150+
Companies in the ledger
MCP tools
28
MCP tools
Emails sent without approval
0
Emails sent without approval

Challenge

Finding buyers, reaching out, reading replies and answering them was consuming one person’s entire time, and every outgoing message needed a judgment call.

Design & build

We separated collection, parsing, drafting, and sending into distinct stages. The parser has no outbound write permissions and converts incoming mail into typed JSON. Every draft passes a two-stage audit (deterministic rule checks plus an independent AI check) before reaching Slack for approval, and only approved drafts can be sent.

Life of one email

  1. collected
  2. recorded
  3. read
  4. drafted
  5. approved
  6. sent

Only “approved” is triggered by a person in Slack.

What we cared about

  • Every approval records who approved and when, making unapproved sending structurally impossible
  • Incoming mail is treated strictly as data rather than instructions to prevent prompt injection
  • Writing rules live in a single shared file read by both agents and people
  • Shadow runs continuously measure edit distance against human-sent replies, adopting updates only when benchmarked on historical data

Stack

  • Claude
  • MCP
  • Cloudflare Workers
  • D1
  • Vectorize
  • Gmail API
  • Slack
  • Playwright

02 / Multichannel Commerce Engine

Sales business · Operations system

One product master, running across every sales channel.

Role Design, development and operation

SOURCE mirror MASTER diff · hash state machine ADAPTER A ADAPTER B ADAPTER C HUMAN REVIEW
Architecture decision records
10
Architecture decision records
Automated tests
200+
Automated tests
Listing states
8
Listing states

Challenge

Every new sales channel meant more copying and reformatting of product data, and it became hard to track what was listed where and what had sold.

Design & build

We introduced a product master that mirrors the main channel as-is, and isolated each channel’s differences in an adapter. Imports only process products whose content hash changed, and listings move through a state machine from draft to sold.

Listing lifecycle

  1. draft
  2. priced
  3. approved
  4. exported
  5. listed
  6. sold

In addition to the base flow, delisted and excluded bring the total to eight states. Only “approved” is triggered by a person.

What we cared about

  • Keep the existing workflow: the main channel stays the input
  • Approval is always done by a person, with who and when recorded
  • A new channel only needs one more adapter
  • Design decisions are kept as ADRs so the system can be handed over

Stack

  • Cloudflare Workers
  • D1
  • R2
  • Hono
  • Drizzle
  • zod
  • React
  • Vitest
  • Playwright

Reach out whether you already have a specific workflow in mind or need a rough budget range for internal review.

Contact