Project guide

Project Guide | SmallBiz Ops Copilot

Free small-business operations readiness checklist for checkout, inventory, and support workflows. This guide organizes the repository's original implementation notes for small-business operators and commerce workflow builders.

Reviewed 2026-07-28. This page is derived from checked-in repository evidence and links back to its source.

SmallBiz Ops Copilot

Approval-safe support operations control tower for a bounded pilot. It combines a D1-backed queue, operator-invoked triage, assisted draft preparation, mandatory human approval, and an auditable Maltbook webhook handoff.

This repository does not claim autonomous customer support or verified customer-channel delivery. Direct channel ingest is disabled; the only live inbound path is a signed Openclaw webhook. The current outbound boundary ends at a Maltbook webhook handoff.

System Overview

A reviewable control surface for teams that need to organize support work without handing decision authority to a model.

AreaDetails
UsersSmall support teams, online shops, agencies, and owner-operated service businesses.
Product wedgeOne approval-sensitive support workflow adapted as a fixed-scope private pilot.
System scopeSigned webhook intake, D1 queue state, explicit triage, optional model-assisted drafts, approval evidence, and webhook handoff.
Operating boundaryNo direct marketplace/social connector, autonomous send, customer-channel delivery receipt, tenant auth, or production SLA is included.
Evaluation pathInspect /health, /meta, the review pack, and one draft-to-approved-handoff trace.

Evaluation Path

Technical Notes

What's in here

Prerequisites

Configure D1

wrangler d1 create smallbiz_ops_copilot

Set database_id in wrangler.toml:

[[d1_databases]]
binding = "DB"
database_name = "smallbiz_ops_copilot"
database_id = "YOUR_DATABASE_ID"

Secrets

Set in .dev.vars for local dev and via Wrangler for production:

The optional public-data readiness route is aligned with public-apis-4Kr and reports configured provider coverage without returning secret values.

Run Migrations + Seed

npm run db:migrate:local
npm run db:seed:local

Quick Start

npm install
npm run db:migrate:local
npm run db:seed:local
npm run dev

Quality Checks

npm test
npm run smoke:local
npm run debug:local

Operator fast path

  1. GET /health — confirm the runtime is up before reading any queue claims
  2. GET /dashboard/proof-map — read the front-door route map before diving into the queue
  3. GET /integrations/public-apis — confirm optional merchant, market, pricing, and operating-risk enrichment readiness
  4. GET /dashboard/ops-brief — read the compact ops posture first
  5. GET /dashboard/review-pack — inspect the approval gate and operator proof path
  6. GET /dashboard/owner-handoff-board — confirm shift handoff posture
  7. GET /dashboard/outbound-risk-board — check the handoff-risk boundary before treating work as ready

Disabled ingest boundary

POST /ingest/{channel} is intentionally disabled and returns 410.

That is not an accidental gap. This repository is an approval-safe support control tower, not a collection of direct marketplace or social-channel connectors. The signed POST /integrations/openclaw/webhook route is the only live inbound path.

API Endpoints

Key Features

Pilot Offer

The sellable unit is a Secure Workflow Pilot, not an off-the-shelf autonomous support SaaS. A pilot adapts one support queue, one signed intake contract, one approval policy, one handoff target, and one audit/export runbook. Success metrics are agreed from a customer baseline; this repository does not guarantee time savings, conversion, or revenue.

Discuss a private Secure Workflow Pilot

Deploy

npm run deploy:cloudflare

Cloud + AI Architecture

Enterprise Productization

Service Architecture