Skip to content

feat(server): meta.instanceName, the name a node navigates as - #95

Merged
endrix merged 1 commit into
mainfrom
feat/instance-name
Oct 24, 2026
Merged

endrix merged 1 commit into
mainfrom
feat/instance-name

Conversation

@endrix

@endrix endrix commented Oct 22, 2026

Copy link
Copy Markdown
Owner

Summary

A drill-down names its crumb, and the hierarchy outline matches its row, by the node's instance name, which has always been the node's label. A producer whose node is drawn under one name and navigates under another had no way to say so. The case that found it: the NDF diagram draws a clause of document B at the edge of document A, external, drilling into B; the crumb then said the clause's title and the outline found no row for it.

  • meta.instanceName (a non-empty string) becomes wf:entityInstanceName, trimmed. Nothing else moves: the label, and the entity name that rename and lookups use, stay as they were. Any other value on the key is ignored.
  • Neutral: the key says what a node navigates as, nothing about what it is.
  • instance-name.test.ts (3 tests); CHANGELOG entry.

Plan item N9 of the ndf-ide plan. Independent of #90–#94.

Test plan

  • npm run typecheck, npm run check:neutrality
  • diagram-server suite

https://claude.ai/code/session_012yAjXyWw6JyWsXvHG3cG9c

A drill-down names its crumb, and the hierarchy outline matches its row,
by the node's instance name, which has always been its label. A producer
whose node is drawn under one name and navigates under another had no way
to say so: a clause of document B drawn at the edge of document A drills
into B, and the crumb then said the clause's title, and the outline found
no row for it.

`meta.instanceName`, a non-empty string, becomes `wf:entityInstanceName`,
trimmed. The label and the entity name that rename and lookups use stay
as they were; anything else on the key is ignored. Platform-neutral: the
key says nothing about what a node is, only what it navigates as.

Claude-Session: https://claude.ai/code/session_012yAjXyWw6JyWsXvHG3cG9c
@endrix
endrix merged commit 3fe3c9b into main Oct 24, 2026
1 check passed
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.

1 participant