Repository navigation
Description
Summary
Remove NodeSpace Pro's "Shared Workspaces (Multi-User)" agent guidance from core:
- the reference file;
- its section in
SKILL.md; - the agent crate's PTY-session embed;
- the publish script's mentions.
The Pro build adds its own copy through NODESPACE_SKILL_EXTENSIONS (#3369, ADR-082 §5), so Pro users' agents keep it.
Context
- What the guidance is.
packages/skill/references/shared-workspaces.md(13 lines) and the section atpackages/skill/SKILL.mdlines 36-38 tell agents how to behave when "a NodeSpace collection … is synced and shared with a teammate through NodeSpace Pro". That covers write visibility, attribution, sync latency, and date nodes not syncing. No core install can be in that situation. - ADR-081 (proposed) R3 recommends option (a). The guidance moves to nodespace-sync, and ADR-082 §5's skill-content input is how the Pro build adds it back.
- If R3 chooses (c), deletion: drop the SYNC dependency and do the same removal.
- If R3 chooses (b), keep it reworded: replace steps 2-4 with rewording the reference file and the SKILL.md section so they name no product.
- After Install skill references from the staged directory and record installed files #3368 and Add the NODESPACE_SKILL_EXTENSIONS build input to core's skill build #3369:
- no installer list names the file, because the installer takes references from the staged directory;
- the publish list is derived from
packages/skill/references/; - the Pro build can add a reference at build time.
- Why sync merges after core. Add the NODESPACE_SKILL_EXTENSIONS build input to core's skill build #3369 fails a build that adds a reference with the same name as one of core's. So nodespace-sync writes its change (the guidance in its own directory, plus its build running
bun run build:skillwith the variable set) against this issue's branch, and merges it once this has merged, or in its next pin bump. Its review against this branch is the gate. - What this changes for Pro today.
- Today's Pro GUI build never runs core's skill build (ADR-082 §1): its config overlay drops
resources/skill/**/*and the installer sidecar. So the Pro app changes nothing until nodespace-sync adopts the input. - The Pro daemon links
nodespace-agentat its pin, so its PTY sessions keep the embedded copy until nodespace-sync bumps that pin.
- Today's Pro GUI build never runs core's skill build (ADR-082 §1): its config overlay drops
- Where the file still ships.
- The PTY-session embed.
packages/agent/src/agent_catalog/context_assembly.rsembeds it withinclude_str!:SKILL_SHARED_WORKSPACESand its doc, lines 36-45.write_skill_mdwrites it (418-422), andembedded_shared_workspaces_matches_source_file(792-795) asserts it.packages/agentbelongs to another maintainer's lane. This change needs that owner's sign-off on the PR before it merges. - The publish script.
scripts/publish-skill-repo.tsand its test may still name the file inreadSkillSourcefields, docs, or the "copied through verbatim" and "SKILL.md links to" tests (~168-175, ~186-195), depending on what Install skill references from the staged directory and record installed files #3368 left.
- The PTY-session embed.
- Installed copies.
- An install that has Install skill references from the staged directory and record installed files #3368's record removes the file at its next install.
- Installs without a record depend on Install skill references from the staged directory and record installed files #3368's option A: the
PRE_RECORD_REFERENCESconstant keeps naming this file, as intended. - The public skill repository keeps its copy, because
pushFilesToRepo(scripts/push-to-external-repo.ts) never deletes.
- Effect on the ratchet. This lowers
proWordingby 4 at af8ddb6:SKILL.md:38,shared-workspaces.md:3and:5, andcontext_assembly.rs:40.
Scope
-
Delete
packages/skill/references/shared-workspaces.md. -
packages/skill/SKILL.md. Delete the## Shared Workspaces (Multi-User)section, lines 36-38 including the trailing blank line. It is hand-written, outside any<!-- BEGIN GENERATED -->region. -
packages/agent/src/agent_catalog/context_assembly.rs(owner sign-off):- delete
SKILL_SHARED_WORKSPACESand its doc; - delete its
writeinwrite_skill_md; - delete the test
embedded_shared_workspaces_matches_source_file.
write_skill_md_also_writes_the_references_tierscans the directory, so it needs no change. - delete
-
scripts/publish-skill-repo.tsand its test.- Remove every remaining mention of the file.
- Delete the tests that assert it is published or linked, and move their rationale comment onto the
graph-authored-guidance.mdlink test. - Add
expect(sharedShimPaths()).not.toContain('references/shared-workspaces.md').
-
packages/skill/src/tests/installer.test.ts. Update any comment that still lists the file as shipped. Tests ofPRE_RECORD_REFERENCESstay.
Out of scope
- Writing the Pro guidance, or the Pro build step. That is the SYNC counterpart.
packages/skill/references/cli.md's generated--sockethelp text ("dev/Pro daemon's socket"). It follows Remove Pro edition branching from the core app, daemon, CLI and installer #3357's CLI change andbun run skill:gen.- Pruning in
scripts/push-to-external-repo.ts. This PR records a one-time manual deletion instead (step 7). - Any other change in
packages/agent.
Steps
- Follow CLAUDE.md's startup sequence:
- pull
main; EnterWorktree({name: "issue-<N>-skill-pro-guidance"});bun install, then thebun run testbaseline;- self-assign at pickup and set In Progress.
- pull
- Confirm the gates:
- Add the NODESPACE_SKILL_EXTENSIONS build input to core's skill build #3369 has merged;
- ADR-081 R3's outcome;
- under (a), nodespace-sync's build change has been written and reviewed against this branch. Link its PR in this PR's description.
- Delete the reference file and the SKILL.md section.
- Update
context_assembly.rs, and ask thepackages/agentowner to review. - Update the publish script, its tests and the installer test comments.
- Check the staging:
- Run
bun run build:skill(which runsskill:check), thenls packages/desktop-app/src-tauri/resources/skill/references/.shared-workspaces.mdmust be gone. - Stage with
NODESPACE_SKILL_EXTENSIONSpointing at a temporary directory that holdsreferences/shared-workspaces.mdand aSKILL.mdfragment. It must succeed with no name clash, which proves nodespace-sync's change will build.
- Run
- Run
bun run scripts/check-pro-boundary.tsand paste the printedBASELINES(proWording−4 at af8ddb6). Then verify, and finish:bun run quality:fix, and commit;git push origin HEAD:issue-<N>-skill-pro-guidance;gh pr create --head issue-<N>-skill-pro-guidance;- merge only with
bun run merge <PR#>, once review and the agent-lane owner have approved.
- After the first core release that includes this change has run its
sync-skill-repojob, deleteskills/nodespace/references/shared-workspaces.mdfromNodeSpaceAI/nodespace-skillby hand. The publish job never deletes files. Record this as a checklist item in the PR description.
Acceptance criteria
- This grep returns only
PRE_RECORD_REFERENCES(if Install skill references from the staged directory and record installed files #3368 chose option A), its tests, and the publish test's absence assertion:git grep -n -I -P '(?i:shared-workspaces|shared workspaces)|\bNodeSpace Pro\b' -- packages/skill packages/agent scripts -
SKILL.mdno longer mentions Pro, syncing or teammates. -
bun run build:skillstages noshared-workspaces.md. Staging an extension directory that adds one succeeds. - The public file list is
SKILL.mdplus core's remaining references. -
packages/agentcompiles, itscontext_assemblytests pass, and the owner's approval is on the PR. -
BASELINESinscripts/check-pro-boundary.tsis lowered to the counts the CLI prints, and the CLI exits 0. - Under R3 (a), the SYNC counterpart has been reviewed against this branch and is linked.
Tests and verification
bun run test:skillbun run test:scriptsbun run skill:checkbun run build:skill.tools/bin/cargo-nextest nextest run -p nodespace-agent --lib context_assemblycargo clippy -p nodespace-agent --all-targets -- -D warningsbun run test:changed(skill, scripts and Rust tiers)bun run scripts/check-pro-boundary.ts
Dependencies
- Guardrail: stop new Pro code from landing in core #3302: the ratchet whose baselines this lowers.
- Add the NODESPACE_SKILL_EXTENSIONS build input to core's skill build #3369: the build input the Pro build uses to add the guidance back. Install skill references from the staged directory and record installed files #3368, NodeSpaceAI/nodespace-docs#88 (ADR-081) and NodeSpaceAI/nodespace-docs#90 (ADR-082) come through it.
- SYNC:Pro build runs core's skill build with NODESPACE_SKILL_EXTENSIONS set to its shared-workspaces guidance and bundles the skill installer, reviewed against the Move the Pro shared-workspaces agent guidance out of core's skill #3370 branch. Needed unless R3 chose (c). It merges on nodespace-sync's side after this PR, or in its pin bump.
Risks and rollback
- Pro users lose the guidance until nodespace-sync ships its build change. Today's Pro app does not install core's skill at all, so this changes nothing there. The Pro daemon's PTY sessions keep the embedded copy until nodespace-sync next moves its core pin.
- Agents in Pro-daemon PTY sessions. After that pin bump, the session's own
SKILL.mdno longer carries the section. Those agents still read the user-level skill that the Pro app installs with the added reference. - The public repository keeps its stale copy until step 7 is done.
- Rollback. Revert the PR. That restores the file, the section and the embed. A later install brings the file back to users' machines, and a Pro build that also adds it then fails on the name clash until one side drops it.
Plan key: C10.6 (pro-boundary DAG).
🤖 Generated with Claude Code
Activity
mstomar125 commentedon Oct 1, 2026
@malibio this one needs your sign-off before we pick it up, because it touches
packages/agent.The change is small and stays inside the scope above:
SKILL_SHARED_WORKSPACES(theinclude_str!embed and its doc,context_assembly.rs~36-45).write_skill_mdlines that write it (~418-422).embedded_shared_workspaces_matches_source_filetest (~792-795).The shared-workspaces guidance then moves out of core's skill, and Pro supplies it through
NODESPACE_SKILL_EXTENSIONS(#3369, merged today in #3404). Nothing else inpackages/agentchanges.We're holding it until you've had a look. If we haven't heard by end of day, we'll pick it up again and ask for your review on the PR before it merges.
🤖 Generated with Claude Code
malibio commentedon Oct 1, 2026
@mstomar125 Approved for the
packages/agentchanges. This matches ADR-081 R3 as accepted: the guidance leaves core's skill, and Pro adds it back viaNODESPACE_SKILL_EXTENSIONS. Go ahead.Heads-up: ADR-081–085 are now Accepted on nodespace-docs main (
23a28e9), with changes from the drafts. Your PRs show as merged; the final text is in the revision commits on top. The main differences:extends(pro-database-settings,pro-collection,pro-person), plus Pro edge fields (e.g.permissiononmember_of). There is no generic settings accessor. Restriction and the AI-chat privacy machinery (personal collection, schema default, Play) leave core.node.sync_seq,embedding.originandidx_emb_modifiedare dropped now.required_extensions: ["pro"]on the settings node. Core refuses such a database on every surface with "This database needs NodeSpace Pro" plus a download link (https://nodespace.aifor now).syncEnabledflag removed. The slot iscollaboration.entry. There's no website "Share / Sync" action and no File menu item.Issues: #3412 and #3413 (core-release blockers) and #3414 and #3415 (after release) are the umbrella issues against the final ADRs. Each lists the earlier
pro-boundaryissues it folds in. Companions: nodespace-sync#517–#519 and nodespace-cloud#201.Please pause #3358–#3362 (the
database.sync-entryslot and website entry point), since they conflict with the decisions above. Check anything else in the series against the final ADRs before starting it. Already-merged work that needs follow-up: #3378 (settings accessor), #3382 (keptembedding.origin), #3389 (restriction as a core contract), #3400 (Play rewording; the Play is deleted instead). #3409 also landed Pro code after the freeze. Let's sync on how to fold the series into the umbrella issues.🤖 Generated with Claude Code