Repository navigation
Description
Core release blocker. This carries out steps 0 and 2 of ADR-081's migration: the hard freeze, then removing every Pro concept from core in one pass. The Pro build is expected to break from this change until the Pro rebuild (ADR-081 step 5). That is acceptable: there are no users, and Pro is not distributed.
Decisions
- ADR-081: §4 inventory, §7 steps 0 and 2, §8 ratchet
- ADR-083: §2–§7 (data model)
- ADR-085: §6 (AI-chat privacy machinery leaves core)
Core has no sync, collaboration or access-control semantics afterwards. Every change lands with a database reset. Write no data migration and no compatibility code. Several items reverse work merged under the earlier, proposed version of these ADRs (the generic settings accessor, keeping embedding.origin, the storage-contract comments on restriction, the reworded AI-chat Play). The ADRs were changed, so the earlier work is removed rather than adapted.
Paths are as on main after the Tauri split: packages/desktop-app/app-lib/… and packages/desktop-app/src-tauri/….
Scope and acceptance criteria
Step 0: freeze
- The "Pro / Sync Boundary" section of
CLAUDE.mdstates the hard freeze: no change of any kind to Pro code in core, including fixes, until this issue lands, and Pro features or bugs are filed on nodespace-sync.
Pro frontend and Tauri code (ADR-081 §4 A, C)
- Deleted:
app-lib/src/commands/pro_sync.rs(27pro_*commands),app-lib/src/services/pro_client.rs,app-lib/proto/nodespace_pro.proto, the Pro compile step and itstonic-build/protoc-bin-vendoredbuild dependencies,scripts/refresh-pro-proto.ts,src-tauri/tauri.pro.conf.json, the startup tier probe andpro:tier-detected,ProClient::rebind, and the Pro arm ofupdate_check.rs. - Any reload core still needs after the probe goes is driven by a core-named event or core's existing reconnect hooks.
- Deleted: the Pro stores and services (
pro-sync.svelte.ts,membership.svelte.ts,membership-service.ts),pro-sync-variant.svelte.ts, the Pro plugin and its import,components/collaboration/*, and the first-Pro-consent and Pro-re-login modals. - Deleted: the Account section including the "NodeSpace Pro" card,
workspace-members-card.svelte,add-synced-database-dialog.svelte, and the Account gating insettings-sidebar.svelte/settings-pane.svelte. The Pro residue is gone fromapp-shell.svelte,database.svelte.tsanddebug-channel.ts. - The Labs
syncEnabledflag and the disabled switch on the "Team synchronization" card are removed. The card text is reworded in the step-3 issue. - The free-user guardrail suite and the Pro tests are deleted.
Edition branching (ADR-081 §4 B3)
-
is_pro_build(), theNODESPACE_PRO_*reads, the Pro binary name, the.prolaunchd labels and the Pro plist environment are removed fromapp-lib. -
nodespace_proto::socketholds only debug/release rows. Nois_proparameter,daemon-pro.sock,ui-pro.pidorincompatible-database-pro.jsonremains, andmarker_pathtakes no edition flag. - The CLI no longer probes or cleans up Pro sockets. The
--editioncheck is removed fromscripts/pkg-resources/postinstall; its replacement is a step-5 issue.
Data model (ADR-083)
- Settings node. The
database-settingsschema declares no sync fields;required_extensionsis added by the step-3 issue.DatabaseSettingsNodeBehaviorloses its sync checks anddefault_metadatakeys, and seeding writes no sync values. The generic settings accessor (database_settings/merge_database_settings) and any remaining typed sync accessors are deleted. The singleton id staysdatabase-settings-singleton. - Registry.
DatabaseEntryhas nobound_tenant_*fields,set_bound_tenantis gone, and onlyset_extensionsand the opaqueextensionsmap remain, throughDatabaseInfo, the DTO and the store. Core's frontend reads no key from it. - Restriction.
restrictedToMembersis removed from thecollectionschema, and nothing in core reads or writes it or amember_ofpermission.embedding_roots.rstreats a non-person descendant holding amember_ofedge as the ADR-059 §7 defect without reading restriction, with a test. - AI-chat privacy machinery.
seed_personal_ai_chat_collection_if_needed,set_ai_chat_personal_collection_default, thepersonal_collection_idfield, theplay-core-ai-chat-privacyPlay andAI_CHAT_PRIVACY_PLAY_IDare deleted. A test shows a new chat has nomember_ofedge and can be moved under a page. - Dead columns.
embedding.origin,idx_emb_modifiedandnode.sync_seqare dropped fromdb/schema.rs, androw_to_nodepositions and the embedding write path are updated. Database reset. - Conflict kinds.
ConflictKind::SupersededEditandDuplicateReactiveCreateare deleted, with their UI handling.
Skill, wording and ratchet (ADR-081 §8)
-
packages/skill/references/shared-workspaces.mdand the "Shared Workspaces (Multi-User)" section ofSKILL.mdare removed, and the installer no longer lists the file. - Skill guidance:
SKILL.mdandreferences/cli.mdcontain no multi-user, tenant or sync guidance.bun run build:skilland the SKILL.md drift check pass, andscripts/publish-skill-repo.tspublishes no Pro content. - Comments, docs, user-visible copy and tests in core name no Pro product, nodespace-sync, Supabase, tenants or RLS. The README's "Pro tier" section becomes a plain pointer to [email protected].
-
scripts/check-pro-boundary.tscounts the ADR-081 §8 markers, including the removed data-model identifiers. Every baseline is zero, it is a hard ban (no raise class), and its allowlist is empty. The step-3 issue adds the one allowed module. -
bun run test:changedpasses, and the merge gate passes.
Folds in
This issue replaces these open sub-issues of #3298, written for the earlier keep-Pro-working plan: #3302, #3316, #3318, #3323, #3325, #3326, #3327, #3329, #3331, #3332, #3333, #3334, #3335, #3336, #3342, #3345, #3354, #3355, #3357, #3361 (the flag removal; the entry point is in the step-3 issue), #3366, #3367, #3370, #3371, #3372.
Dependencies
- Blocked by NodeSpaceAI/nodespace-sync#517 (copy Pro code into nodespace-sync as reference). Do not delete anything before it lands.
- Blocks [Core release blocker] Refuse Pro databases on every surface and add the contact entry point (ADR-081 step 3) #3413 (step 3, the other core-release blocker), and through it core's first release.
- Later work that builds on this: Pro rebuild (after core release): finish core's extension points for typed subtypes, edge fields and Pro UI (ADR-082) #3414, Pro rebuild (after core release): core install coexistence checks and other-product notices (ADR-084 §4.3, §5) #3415, NodeSpaceAI/nodespace-sync#518, NodeSpaceAI/nodespace-sync#519, NodeSpaceAI/nodespace-cloud#201.
- Order: nodespace-sync#517 → [Core release blocker] Strip all Pro code, edition branching and sync/ACL state from core in one pass (ADR-081 steps 0 and 2) #3412 → [Core release blocker] Refuse Pro databases on every surface and add the contact entry point (ADR-081 step 3) #3413 → core release → Pro rebuild (after core release): finish core's extension points for typed subtypes, edge fields and Pro UI (ADR-082) #3414 / Pro rebuild (after core release): core install coexistence checks and other-product notices (ADR-084 §4.3, §5) #3415 / nodespace-cloud#201 → nodespace-sync#518 → nodespace-sync#519.
References
Read these before starting. They are the source of truth; where this issue and an ADR disagree, the ADR wins.
Activity
mstomar125 commentedon Oct 1, 2026
The reference copy has landed: NodeSpaceAI/nodespace-sync#517 merged in NodeSpaceAI/nodespace-sync#524 (
5e37fc4c).It copies core
mainata7d2f93dintoreference/core-pro/in nodespace-sync:INDEX.mdwith the Pro symbol ranges in shared files;The only commit on core
mainsincea7d2f93dis247e0dea, which touchesCLAUDE.mdonly, so nothing else is missing from the copy.Core may now delete its Pro code, per ADR-081 §7 step 2.
🤖 Generated with Claude Code
Replace the registry's tenant binding with opaque string extension keys
Strip the Pro Tauri layer and edition branching from app-lib, proto, …
Pin the launchd labels and the app's marker name in tests
Replace the registry's tenant binding with opaque string extension keys
Replace the registry's tenant binding with opaque string extension ke…
Strip the Pro Tauri layer and edition branching from app-lib, proto, …
Pin the launchd labels and the app's marker name in tests
Strip the Pro Tauri layer and edition branching from app-lib, proto, …
Remove the frontend Pro code and host the contact card in a collabora…
Keep a replaceable slot's contribution mounted while its when() input…
Set the Rust EXTENSION_API_VERSION to (2, 0)
Remove the frontend Pro code, render the contact card in the collabor…