Skip to content

docs: productization design spec#4

Open
Sidgit11 wants to merge 2 commits into
mainfrom
docs/productize-spec
Open

docs: productization design spec#4
Sidgit11 wants to merge 2 commits into
mainfrom
docs/productize-spec

Conversation

@Sidgit11
Copy link
Copy Markdown
Owner

Design spec for turning the prototype into a real multi-tenant SaaS product for 3-5 design partners. Review this before we hand off to the writing-plans skill for a phased execution plan.

Key decisions captured:

  • New separate git repo so the live demo stays frozen
  • Approach B (full-prototype-to-prod) not just the wedge
  • 10-12 week phased plan
  • Logging + tests first-class from Phase 0
  • Voice notes, Outlook, real shipment-data discovery, billing all explicitly out of scope

File: docs/superpowers/specs/2026-05-27-productize-tradyon-procurement-design.md

…, full-prototype-to-prod

Brainstormed scope for turning the prototype into a real multi-tenant SaaS product:
- audience: 3-5 design partners, no billing yet
- isolation: separate git repo so the demo at procurement-manager.vercel.app stays frozen
- approach B: harden every existing feature (digest, inbox, RFQ, vendors, opportunities, forecasts, agents)
- ingestion: real Gmail OAuth + WhatsApp Cloud/Periskope + existing chat-export upload
- 4 agents in propose-only mode (vendor-discovery deferred)
- lean SaaS ops: Sentry, Better Stack, Neon backups, runbook
- logging + unit tests are first-class from phase 0

10-12 week phased plan included.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
procurement-manager Ready Ready Preview, Comment May 28, 2026 6:21am

Absorbed every blocker and improvement from the review:
- Split scope into Tier 1 (load-bearing, production-grade) and Tier 2 (no-regression, polish v1.1)
- Gmail tokens: per-user, key_version rotation, needs_reauth UX, edge cases (historyId expiry, label scoping)
- Static org_id lint rule in CI from Phase 0 (strong tenant-isolation guarantee, not just runtime)
- Cron platform: 1-minute Vercel Cron (not 30s), per-org jitter to avoid Anthropic thundering herd
- Moved real Gmail send (RFQ + PO) from Phase 5 into Phase 2 to remove the Phase 5 cascade risk
- Onboarding wizard now its own subsection (4.5.1) with the same rigor as ingestion
- Empty-state library plumbed into every Tier 1 page
- Schema migration safety policy (no push in prod, Neon staging branch first, forward-compatible only)
- Partner offboarding script (delete-org.ts) + supplier-side privacy policy
- Agent quality_signals jsonb captured in Phase 4 even though surfaced UI is v1.1
- Re-baselined estimate to 13 weeks (12 dev + 1 buffer) for Siddhant + Claude

Kept the separate-repo isolation decision per user direction.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant