Skip to content

Store the normalized name when joining a node by link - #92

Open
Herklos wants to merge 1 commit into
masterfrom
cursor/join-node-normalized-name-aa06
Open

Herklos wants to merge 1 commit into
masterfrom
cursor/join-node-normalized-name-aa06

Conversation

@Herklos

@Herklos Herklos commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

Summary

join_node_by_link built a space with build_space and then stored the raw nodeName instead. A whitespace-only name is now saved as the name build_space produces (space- plus the last six characters of the node id). The build_space docstring matches that behavior.

TypeScript joinNodeByLink already stores the buildSpace entry, so this change is Python only.

Test plan

  • cd packages/python/spaces && uv run --python 3.12 --extra dev pytest (245 passed, including the blank-name regression)
Open in Web Open in Cursor 

join_node_by_link built a space entry and then ignored it, so a
whitespace-only nodeName was stored raw. The spaces list now uses the
name build_space produces.

Co-authored-by: herklos.dev <herklos.dev@protonmail.com>
@Herklos Herklos self-assigned this Oct 13, 2026

This branch has not been deployed

No deployments
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.

2 participants