Architecture Note · Operations & RevOps
Deterministic B2B Customer Onboarding: Blocker Attribution, TTV Variance, and Human Cutover Gates
Why LLM status summaries obscure enterprise implementation delays—and how SQLite milestone templates, explicit vendor-versus-customer blocker math, and HTTP 409 sign-off gates keep go-lives auditable.
The Operational Problem: Unattributed Slippage and Opaque Go-Live Readiness
Post-sale implementation determines when contracted ARR converts into live product usage. Across concurrent enterprise rollouts spanning London, Zurich, Frankfurt, New York, Toronto, Tokyo, Sydney, and Singapore, delivery teams manage five recurring gates: Kickoff, SSO/SAML Setup, Data Migration, UAT Sign-off, and Production Cutover. When timelines slip past a 30-day Mid-Market or 60-day Enterprise Multi-Region baseline, spreadsheets rarely isolate Vendor-owned engineering defects from Customer-owned bottlenecks such as frozen database exports or delayed Identity Provider approvals. Without deterministic attribution, implementation leads spend executive calls debating delay ownership while unverified UAT sign-offs expose production cutovers to downtime.
Why Naive AI Wrappers Fail in Enterprise Implementation
Layering a generic chat wrapper over Slack threads, CRM notes, and delivery tickets breaks down along four predictable failure lines:
- Nondeterministic TTV and SLA math: Language models summarize sentiment instead of computing exact variance from open blocker durations. An 11-day customer Oracle freeze and a 7-day vendor ETL defect collapse into vague “at-risk” prose rather than exact days-to-go-live and ARR-at-delay exposure.
- Silent blame drift: Without typed ownership enums enforced at write time, generated updates soften or misattribute delays across Vendor, Customer, and Shared third-party workstreams, undermining escalation calls and sponsor accountability.
- Unverified cutover and digest dispatch: Allowing an automated agent to close UAT gates or fire weekly stakeholder digests from noisy ticket comments risks releasing stale RAG statuses or advancing production cutovers without deliverable parity verification.
- Data egress and lingering uploads: Sending customer implementation artifacts—such as SAML metadata, clinic rosters, or historical ledger exports—to unvetted external endpoints creates residency exposure and leaves stale upload files sitting on disk.
The Deterministic Architecture That Fixes It
A production onboarding portal isolates deterministic state transitions, variance math, and approval enforcement in FastAPI and SQLite (WAL mode) while constraining text synthesis to auditable drafts.
- ACV-tiered SQLite templates and ephemeral uploads: Calling
POST /api/projects/createinstantiates a five-phase rollout (kickoff,sso_saml,data_migration,uat_signoff,production_cutover) from reusable SQLitemilestone_templatescalibrated toself_serve(14-day SLA),mid_market(30-day SLA), orenterprise_multi_region(60-day SLA). Batch CSV/JSON imports stage inONBOARDING_UPLOAD_DIRwith an automatic 1-hour (3600s) wipe, protected by SHA-256/HMAC magic invite tokens (scripts/mint_invite.py) with tenant isolation and sliding-window rate limiting. - Explicit blocker attribution and TTV calculation: Blockers logged via
POST /api/milestones/{id}/blockersrequire a typed owner (vendor_owned,customer_owned, orshared) and integer delay days. Projected go-live days equalmax(planned_days, planned_days + open_delay_sum), switching account status toBlockedonce variance hits 7 days or a phase is blocked.GET /api/metrics/ttvreports average days-to-go-live, bottleneck stages, and team utilization underpytestcoverage. - Mandatory HTTP 409 human sign-off gates: Completing high-risk milestones (
uat_signoff,production_cutover, orrequires_human_signoff=true) viaPOST /api/milestones/{id}/completereturnsHTTP 409 Conflictunlesshuman_signoff_confirmedistruewith a namedapprover_name. Weekly reports synthesized byPOST /api/projects/{id}/digest—usingOfflineDeterministicAdapterby default with zero external API keys, orOpenAICompatibleAdapter—enterpending_lead_reviewand enforceHTTP 409 Conflicton dispatch until explicitly approved. Outbound distribution remains confined to Enterprise Email, inbound-only voice, and opt-in Official WhatsApp Business Cloud API channels. - Hash-chained audit logs and formula-safe exports: Every sign-off and blocker resolution appends to SHA-256 hash-chained
audit_logs(GET /api/audit/logs).GET /api/metrics/audit.csvemits RFC 4180 CSV with OWASP formula-injection sanitization (prefixing leading=,+,-,@, tab, or carriage-return values) so exported sign-off trails open safely in Excel.
Operational Takeaway
Predictable B2B go-lives require deterministic state machines rather than conversational guesswork. When ACV-tier SQLite templates govern phased rollouts, typed blocker ownership drives exact TTV slippage math, HTTP 409 gates block unreviewed cutovers and digests, and hash-chained logs export cleanly to RFC 4180 CSV, implementation leaders gain portfolio clarity without surrendering control.