CV-Web vs Pascal Editor Comparison Strategy¶
Last Updated: March 23, 2026 Owner: Product Planning Canonical linkage: This document supports strategy in 00 and execution in 03.
Purpose¶
This document captures the current comparison between:
The Pascal Editor architecture and workflow model (
pascalorg/editor).The local ConstructiVision web implementation (
webpage/Simplestruct/cv-web).
The goal is to make an explicit architectural decision for 2026 planning without forcing a risky full-platform migration.
Scope¶
In scope:
Architecture and delivery comparison.
Practical modernization recommendations for ConstructiVision.
A phased plan for adoption.
Out of scope:
Rewriting ConstructiVision desktop AutoLISP product in 2026.
Full migration to Pascal Editor monorepo/framework in 2026.
Any immediate code changes in this strategy document.
Current State Summary¶
Pascal Editor¶
Observed characteristics:
Monorepo/package-oriented architecture with clear boundaries between core, viewer, and app layers.
Strong separation of state and rendering concerns.
Broader platform scope, including cloud-style concerns and release tooling beyond pure local desktop workflows.
Emphasis on reusable systems and composable runtime patterns.
ConstructiVision cv-web¶
Observed characteristics:
Single-application Vite + React + TypeScript implementation.
Local-first data model with Zustand + Dexie persistence.
Custom viewer and dialog-heavy workflow aligned to ConstructiVision business flows.
High delivery velocity and lower operational complexity than a large monorepo.
Side-by-Side Comparison¶
Category |
Pascal Editor Pattern |
Current cv-web Pattern |
Implication |
|---|---|---|---|
Product scope |
Platform-scale editor |
Focused workflow application |
cv-web can move faster with narrower scope |
Repo structure |
Monorepo, package boundaries |
Single app |
Easier today, less reusable long-term |
State model |
Segmented stores/systems |
Broad unified store |
cv-web should decompose state incrementally |
Persistence |
Local + platform-oriented potential |
Local-first IndexedDB |
Good for early product, needs expansion planning |
Rendering pipeline |
Layered viewer/core model |
App-integrated custom viewer |
extract reusable viewer/core services over time |
Tooling and ops |
Heavier, scalable for larger org |
Lean, fast for small team |
current stack is correct for 2026 delivery |
Decision Framework¶
Use this decision framework when evaluating architecture moves:
Delivery velocity this quarter.
Regression risk to desktop and validation workflows.
Team capacity (solo-heavy development reality).
Maintainability and onboarding cost.
Path to future cloud and subscription capabilities.
Recommendation¶
Primary Recommendation¶
Adopt Pascal-style architecture patterns incrementally inside ConstructiVision, without a full migration in 2026.
Why¶
A full migration is high risk and would likely delay distribution and validation objectives.
cv-web already delivers value and should remain the active web velocity lane.
Pattern adoption yields most of the architectural benefits with far less execution risk.
Phased Adoption Plan¶
Phase A: Internal Boundary Cleanup (Near-term)¶
Decompose store responsibilities into project, viewer, UI, and I/O domains.
Extract geometry/business logic from UI components into pure modules.
Add typed event boundaries for tool interactions.
Exit criteria:
Reduced coupling across dialogs/viewer.
No regression in existing cv-web user workflows.
Phase B: Reusable Core Surface (Mid-term)¶
Formalize a core service layer usable by desktop and web planning tools.
Introduce stable interfaces for persistence and export pipelines.
Add tests for extracted pure logic modules.
Exit criteria:
New feature work lands without touching broad shared state.
Core modules are independently testable and documented.
Phase C: Optional Packaging Evolution (Later)¶
Reevaluate workspace/monorepo split only if team size and product scope justify it.
Keep framework migration optional and evidence-driven.
Exit criteria:
Clear ROI case for repo/tooling shift.
No impact to release-critical desktop timeline.
Risk and Effort Matrix¶
Initiative |
Effort |
Risk |
Confidence |
|---|---|---|---|
Store decomposition in cv-web |
Medium |
Medium |
High |
Geometry/core extraction |
Medium |
Medium |
High |
Event bus boundary layer |
Low-Medium |
Low-Medium |
Medium-High |
Full monorepo migration |
High |
High |
Low-Medium |
Framework migration (Vite -> Next) |
High |
High |
Low |
Explicit Non-Goals for 2026¶
No full rewrite of desktop ConstructiVision.
No forced migration to Pascal Editor framework/repo model.
No expansion that delays P0/P1 validation and release gates.
Integration with Program Docs¶
This strategy affects:
00 vision and success criteria (canonical strategic direction).
03 phase plan (execution alignment and gates).
04 timeline and 10 milestones (dependency and sequencing updates).
07 release and distribution (scope boundaries and release posture).
23 business plan and 08 demo plan (market story and product track alignment).
Team Discussion Checklist¶
Before approving architectural scope changes, decide:
Which 2-3 pattern adoptions are approved this quarter.
What will not be changed in 2026.
Which milestone in 10 captures each approved adoption.
Which risks are added to 05 and who owns them.
Status¶
Current recommendation status: Proposed for team review.
No implementation work from this document is approved until explicitly accepted in milestone planning.