offplan · online
Workstream · stage1

Stage 1 — Roman Call Integration

Activeworkstreamstage1priority P0
Owner
sergei
Created
2026-05-04
Plan
launch-plan-v3-roman-integration
Priority
P0
Tags
architecture, ux, domain, security

Goal

Перенести 12 пунктов из звонка с Романом (CONV-15) + 7 уточняющих заметок Сергея в Stage 1 главного плана. Это надстройка над launch-plan-v3-full.html, не отдельный plan-файл.

Tasks

What's Next

Sub-plan 2 RATIFIED CONV-35 ✅ closed. plans/onboarding-trial-mode.md — 5 steps closed: interview (CONV-34, 14 picks) → research (Perplexity Sonar Deep Research, 12 findings) → approaches (single + 3 ratifications: Stripe ADR 0017 / Trial daily caps DROPPED / Cyprus e-invoicing DROPPED jurisdiction shift) → plan body (~1750 lines + 13 Implementation Steps + Step 13 Operator playbook) → business review (5 concern agents → 76 findings → 16 Category A applied + 13 Category B ratified inline) → ratification sweep → workstream onboarding-trial-implementation created. ADR 0017 NEW (Stripe Stage 1 formal — closes launch-plan-v3 «Stripe vs Paddle TBD»). ADR 0013 v1.1 amendment (deprecated upcoming_invoicecreate_preview). ADR 0008 amendment (Trial = T2 Pro default + config-driven pricing). Phase 1.2.2 v4.19 HTML amendment (Org subdomain + project path resolution). Commits: 34b6a80 (Steps 2-4) + b8b5c74 (Step 4.4) + 7e5957f (Step 4.5) + 7728261 (Step 5 + ratification flip). 4 local commits ahead origin/main (awaiting push).

Next priorities:

  1. Sub-plan 3: plans/legal-multi-party-framework.md (P1) — jurisdiction-dependent (Abu Dhabi likely candidate per CONV-35). 4 new legal documents для multi-party access framework. Anchors Phase 1.3 § 2.4.C controller_org_id buyer joint-controller v4.18 gate + § 1.4.C reverse-invite legal basis v4.17 gate + Sub-plan 2 §1.3.C Free Guest × host-project capability amendment (B2 ratification — Model B Edit content no publish).
  2. Sub-plan 4: plans/buyer-profile-and-presentation.md (P1) — anchors ADR 0012 + Phase 1.11.1-8.
  3. ADR 0011 (email sender architecture) full spec — separate /plan session needed before Phase 1.2 launch (7 trial cascade emails depend on it). Carry-over from CONV-34.
  4. ADR 0014 full spec — pending dedicated /plan session before Phase 1.5.6 implementation (MCP wrapper auth + prompt-injection sanitisation). Carry-over from CONV-34.
  5. 2 stale Learnings deprecation в Notion (CONV-7 5-tier model + «Invite клиента» VV legacy) — carry-over CONV-31 → CONV-35.
  6. Roma scaffold kickoff (Phase 1.2 implementation) — может стартовать параллельно через workstreams/onboarding-trial-implementation.md 5-phase tasks (1.2.1-1.2.5). Phase 1.2.2 URL middleware = smallest discrete chunk, unblocks routing for everything else. Awaits: Roman pricing input + designer email copy + ADR 0011 + ADR 0014 + legal entity lock.
  7. UAE-specific tax research (parallel к Cyprus research) — triggered on legal entity lock. Currently Abu Dhabi likely candidate per CONV-35 user signal — Stripe Tax UAE support 2024 GA available, but FTA e-invoicing format + reverse-charge specifics need parallel research.

Wave 2 closed (8/8 chunks) — Chunk 8 done CONV-31. All architectural decisions now codified в 5 ADRs + 0005 v3 revision (Microsoft + Custom SSO scope для Tier 3 Stage 2). All Phase callout pointers переведены с «pending» status text на live links на новые ADR файлы (~29 fixes). Changelog v4.14 entry. Preview repo synced. Wave 2 timeline: Chunks 1-6 (Foundational + Edge cases) → Chunk 7 (Phase 1.7 deep rewrite) → Chunk 7.5 (Phase callouts cleanup sweep) → Chunk 8 (ADR placeholders + 0005 v3 + callout cleanup) ✓.

Pivot — 4 sub-plan ratifications (separate /plan sessions in priority order):

  1. P0 plans/permission-and-tenancy-model.mdPart 1 ratified CONV-32; Part 2 pending. Anchors ADRs 0009 (Tenancy) + 0010 (Stock allocation). Behavioural spec (UX flows + edge cases + permission matrix as business rules) — NOT tech-level (DB schema / API contracts = Roma scaffold + Ilya estimate, implementation choice).
  2. P0 plans/onboarding-trial-mode.md — anchors ADR 0008 (Tier model). Pricing per tier, exact limits (X projects / Y team / N units), naming finalisation (T1/T2/T3 vs Starter/Studio/Agency/Enterprise), Free Guest expiry policy + conversion triggers. Depends on hosting cost projection (Phase 1.7.13) + Roman input.
  3. P1 plans/legal-multi-party-framework.md — jurisdiction-dependent (pending Cyprus confirmation). 4 new legal documents для multi-party access framework.
  4. P1 plans/buyer-profile-and-presentation.md — anchors ADR 0012 (Real-time sync) + Phase 1.11.1-8. Buyer entity + tokenised URL + Remote Presentation flow. Если Phase 1.11.6-8 не лезут в Stage 1 timeline → переезжают в Stage 2.

Pending cross-cutting items:

Wave 2 Chunk 7.5 closed (Phase callouts cleanup sweep). Plan plans/stage1-chunk-7.5-callouts-sweep.md built end-to-end across 8 фаз Stage 1. Hybrid approach: A — re-label sub-plan-pointer callouts (1.2 / 1.3 / 1.9 / 1.11); B — absorb placeholders в numbered tasks (1.4 → +5 tasks 1.4.9-1.4.13; 1.5 → +1 task 1.5.6 + merge 1.5.Y в 1.5.1; 1.8 → +3 tasks 1.8.7-1.8.9; 1.10 → +7 tasks 1.10.8-1.10.14, 2 deduplicated); collapse v4.7-v4.10 cross-link pointers → 1 v4.13 summary callout (1.4 + 1.10). Phase 1.11 v4.12 parking-lot нетронут per L1. Total: 11 old callouts удалены, 16 new numbered tasks added. Changelog v4.13 entry. Cross-refs cleaned (1.10.0 deps + §4.4 + Phase 1.3 1.2.T → sub-plan link).

Parking-lot (deferred awaiting jurisdiction + lawyer + sub-plan ratifications + ADRs):

После Chunk 7.5: Chunk 8 ADR placeholders — 0008 (Tier model) / 0009 (Tenancy) / 0010 (Stock allocation) / 0011 (Email sender) / 0012 (Real-time sync) + 0005 v3 update. После Chunk 8 — Wave 2 closed. Затем 4 sub-plan ratifications: permission-and-tenancy-model.md / onboarding-trial-mode.md / legal-multi-party-framework.md / buyer-profile-and-presentation.md (включая CONV-30 buyer-profile + agent-driven session handover idea).

Sales-app mockup track (parallel): Roma в CONV-29 запустил Path 2 (Next.js 16 + Tailwind v4 + shadcn/ui + Storybook) — design-system/sales-app/. Brandbook reconciliation question (atelier vs Skeleton White) — отдельная сессия после HTML plan polish.

What's Next (CONV-20 archived)

Sergey-review v4.4 mostly done + plan split locally + phase rework pending. В CONV-19 прошлись по Foundational §2-§5 с clarity polishes (Partner type wording, tier shape qualitative scaffolding, §4.3 Scoping rewrite, §5 Visibility lead + Custom preset + viewer-state row 4 fix); counter badges 8→7 закрыли; stage 1 contents extracted in launch-plan-stage-1.html (NEW, 2870 строк); main file shrunk 3576→1268. Priority table in stage-1 fixed (added Phase 1.3 ⭐ + 1.11 ⭐ which были missing). NOT YET DONE: (1) визуальный sanity-check split'а; (2) sync 3 файлов в preview repo + commit + push (split не commitнут даже локально в os/); (3) phase rework вокруг Atelier prototype — Sergey прислал /Users/diver/Downloads/admin-quick-build-atelier-standalone.html как новое направление для Phase 1.2 (заменяет демо-режим). Phase 1.2 упрощается; Phase 1.5 (MCP/AI tagging) priority может бумпнуться 🟡 High → 🔴 Critical (Atelier promises «AI tags pages» on Floor Plans upload). После phase rework → Roman send → ratification. Memory plan_permission_tenancy_state.md уже flag'нут DIVERGENCE callout'ом наверху (Block C1 + C4 stale).

Key Context

Session Log