Skip to content

Add typed property forms for packaged schemas person and project, following the task form pattern #2102

Closed

Description

@malibio

Goal

person and project are packaged schemas shipping with the release — same tier as task. They should follow the task pattern for individual-node property forms.

Current state:

  • project — renders no property form at all, despite a full schema (core_schemas.rs:198-331: status, priority, start_date, end_date, tasks relationship). It has no plugin entry anywhere in /lib/plugins/.
  • person — renders a hardcoded two-field form (person-schema-form.svelte:62-93) instead of its schema.
  • task — TaskSchemaForm, 702 lines, the reference implementation.

Note TaskNodeViewer is a 39-line pass-through (task-node-viewer.svelte:30) that renders no form. Property forms resolve through the separate schemaForm: plugin key, so no new *NodeViewer components are needed.

Key finding — the template is ~85-90% boilerplate

A line-by-line audit of task-schema-form.svelte found only ~60-80 of 702 lines are genuinely task-specific:

  • enum option constants (:98-151)
  • six one-line typed writers (:284-332)

Everything else is either generic scaffolding or duplication of code that already exists:

Segment Lines Status
3× date picker Popover+Calendar :430-476, :546-636 verbatim duplicate of schema-field-leaf.svelte:105-132
assignee combobox :478-544 verbatim duplicate of schema-property-form.svelte:388-462 (incl. the same dead // TODO: Populate from UserService)
formatEnumLabel :246-251 5th copy in the codebase
3 date helpers :254-277 duplicate of schema-field-leaf.svelte:60-80
user-field loop :642-665 verbatim duplicate of generic-schema-form.svelte:159-182

The hardcoded enum constants duplicate the schema itself. STATUS_OPTIONS (:100-105) re-declares in TypeScript exactly what core_schemas.rs:57-75 already carries as EnumValue { value, label } — same four values, same labels. SchemaFieldLeaf.getEnumValues (schema-field-leaf.svelte:53-58) already reads coreValues ∪ userValues correctly.

There is no task-specific business logic. updateStatus (:284-287) writes status only — setting status to done does not set completedAt, and in_progress does not set startedAt. No cross-field rules, no status-transition logic, no validation. If that automation is wanted it is new design work, not behavior to copy.

Copying this template as-is for two more types produces ~1,400 lines that are ~90% identical, and each new packaged type compounds it.

Approach — same pattern, via composition

Keep the two-tier model (typed forms for packaged schemas; generic form for user/AI-authored schemas), but implement the tier by composition so the pattern is shared rather than copied:

  1. TypedFormShell — owns .schema-form-wrapper, Collapsible, trigger row (badge / summary / filled/total fields / chevron), Relationships button + RelationshipViewerModal, and the shared NestedPropertyModal. Each typed form supplies only its field grid.
  2. Drive the hardcoded fields through SchemaFieldLeaf rather than bespoke markup. The schema already supplies enum values and labels. Removes ~250 lines from the template and deletes the enum-constant duplication.
  3. useNamespacedProperties(nodeId, namespace) — wraps the read-both-shapes / write-nested pair (:208-238); person already needs it.
  4. One shared util for formatEnumLabel + the three date helpers, replacing 5 and 2 copies respectively.

Each typed form then carries only its genuinely type-specific parts, and per-type typing and UX control are preserved.

Persistence — decision needed

TaskSchemaForm uses sharedNodeStore.updateTaskNode (shared-node-store.svelte.ts:2515-2782), which is task-only — it hard-rejects non-task nodes at :2527-2531. It provides optimistic apply, immediate (non-debounced) persist, narrow response merge, and full OCC conflict handling. Deliberately no rollback (:2665-2678).

There is no typed backend endpoint for person or project. Only update_task_node exists across packages/core/src, the daemon, and src-tauri (node_service/schema.rs:207, sqlite_store/nodes.rs:2153, commands/nodes.rs:874-887). Full typed parity per type = Rust update model + service method + store method + gRPC message + Tauri command + registration + adapter method + ~270 lines duplicating updateTaskNode.

Two options:

  • (a) Generic path — sharedNodeStore.updateNode(nodeId, { properties: { person: {...} } }). Already routes through pluginRegistry.getNodeUpdater (:1454-1461), deep-merges into the type namespace so partial patches don't drop siblings, and has real rollbackUpdate() which the typed path lacks. To get optimistic top-level promotion, add entries to OPTIMISTIC_TYPED_FIELDS (node-normalize.ts:34-38) — note normalizeNodeData (:12-20) currently branches only on task and ai-chat, so person/project properties are not promoted today.
  • (b) Full typed endpoints — substantial backend work per type, for a path that has less rollback capability than the generic one.

Recommendation: (a). Proceeding on that basis unless redirected. If a typed endpoint is later warranted for a specific type, a plugin updater (core-plugins.ts:193-214) slots in without changing the form.

Storage shape

TaskSchemaForm writes namespaced properties.task.<field> (:205); person-schema-form.svelte:26-39 also writes namespaced. The generic form writes flat properties[field.name] (generic-schema-form.svelte:12-13). Packaged typed forms should stay namespaced, matching task. (This reverses an earlier recommendation made when convergence on the generic form was still the plan.)

Registration changes

  • project has no plugin at all — needs a full projectNodePlugin (id, slash command, node.lazyLoad, reference, schemaForm) added to the corePlugins array (core-plugins.ts:689-702). There is no project-node.svelte either.
  • person is missing from CORE_NODE_TYPES (node-type-predicates.ts:13-27), so isCustomSchemaType('person') is currently true — it is classified as a custom type. Masked today only because the typed-form branch is checked first (base-node-viewer.svelte:1362). Add 'person'.
  • project is already in CORE_NODE_TYPES (:16), so once its plugin exists dispatch works with no predicate change. That allowlist entry is exactly why it renders nothing today.

Field mapping

person (core_schemas.rs:1129-1182) — name (string), email (string, unique + unique_case_insensitive at :1174-1176).

  • email uniqueness is new work: no control reads unique today, and SchemaField in schema-node.ts:64-111 does not even declare those properties. The schema comment (:1171-1174) specifies "suggest an existing match pre-commit, never reject".
  • Existing person form syncs name → node content (person-schema-form.svelte:41-44) so it renders inline — person-specific behavior the task form does not demonstrate. Preserve it.

project (core_schemas.rs:198-331) — maps almost entirely onto controls the task form already demonstrates:

  • status (enum, 5 values, required: true + default "planning"), priority (enum, 3), start_date / end_date (date)
  • Gap: required + default semantics are not honored by any control today (SchemaFieldLeaf enum case :83-104 has no handling; schema-property-form.svelte:307-313 does fall back to field.default)
  • tasks relationship (:318-329, Out/Many → task, reverse project/One) is reachable via RelationshipViewerModal; inline relationship rendering is new work with no existing pattern

Note snake_case/camelCase split: schema uses start_date/due_date, frontend TaskNode uses dueDate/startedAt — which is why CORE_FIELD_NAMES (:98) lists both spellings. Project needs the same decision; no mapping helper exists.

Cleanup

  • Delete schema-property-form.svelte (~20KB, no production import — referenced only from property-form-field-dispatch.test.ts)
  • Stale comments referencing a nonexistent DateSchemaForm: base-node-viewer.svelte:343, schema-form-loader.svelte.ts:4, plugins/types.ts:38
  • base-node-viewer.svelte:1361 claims user-defined types use "generic SchemaPropertyForm" — wrong
  • generic-schema-form.svelte:36-39 calls RelationshipViewerModal read-only; it supports editing (relationship-viewer-modal.svelte:2-13)
  • Task form shows the Relationships button unconditionally (:671-678); generic form gates on non-empty groups (generic-schema-form.svelte:56-71). Adopt the gated behavior.

Acceptance criteria

  • Opening a project node renders a typed property form: status, priority, start_date, end_date
  • Opening a person node renders a typed form covering the full person schema, with name→content sync preserved
  • projectNodePlugin created and registered; person added to CORE_NODE_TYPES
  • Shared TypedFormShell extracted; task, person, project all use it
  • Hardcoded enum constants removed in favour of schema coreValues/userValues
  • Date-picker and enum-label duplication collapsed to one shared implementation
  • Task node property editing behaviour unchanged (no regression)
  • Person/project writes persist under the namespaced shape
  • Dead schema-property-form.svelte deleted; stale comments corrected
  • required/default enum semantics decided and applied consistently
  • Email-uniqueness suggestion behaviour specified (or explicitly deferred)

Related

Open question

project has no slash command and no plugin, so nodes are currently creatable only via AI/MCP or direct backend calls. Confirm project is intended to be user-creatable — if so, the missing creation path is part of this work.

Activity

  1. malibio commented on Aug 17, 2026

    @malibio
    CollaboratorAuthor

    Direction correction — converge on ONE form pattern

    Clarified intent: every schema-backed node type should render through the same pattern. Task is not special — its form was hardcoded because its shape was already known, not because the type warrants bespoke treatment.

    That inverts the target of this issue. The goal is not to give person and project their own hand-written forms mirroring TaskSchemaForm. It is the opposite: the generic schema-driven form becomes the single pattern, and the hand-written forms are deleted — person-schema-form.svelte, the dead schema-property-form.svelte, and ultimately task-schema-form.svelte too.

    Re-stating why adding *NodeViewer components is not the lever: TaskNodeViewer is a 39-line pass-through whose whole body is <BaseNodeViewer {nodeId} /> (task-node-viewer.svelte:30). It renders no form. Property forms resolve through the separate schemaForm: registry. New viewer components would change nothing on screen.

    Revised end state

    • One schema-driven form renders properties for every type that has schema fields
    • Form availability derives from schema presence, not the CORE_NODE_TYPES allowlist
    • No per-type hand-written property forms remain
    • Structural/editor primitives (header, code-block, horizontal-line, …) still render no property panel

    Caveat blocking immediate deletion of TaskSchemaForm

    task-schema-form.svelte is 702 lines against the generic form's 222. That delta is presumed to encode real capability — likely extensible status enums, date controls, assignee lookup, relationship editing, and richer persistence/rollback handling.

    Where the task form does something the generic form cannot, the resolution is to lift that capability into the generic form, not to preserve a special case. A capability-gap analysis is underway; deletion of task-schema-form.svelte is gated on closing the gaps it identifies, so task's current behaviour does not regress.

    Sequencing:

    1. Unblock project (allowlist / schema-presence fix) — immediate visible win
    2. Close generic-form capability gaps identified by the analysis
    3. Migrate person off its hardcoded form (requires the flat-vs-namespaced storage decision noted above)
    4. Migrate task off TaskSchemaForm and delete it
    5. Delete dead schema-property-form.svelte

    Steps 1 and 5 are independent and can land first.

  2. malibio commented on Aug 17, 2026

    @malibio
    CollaboratorAuthor

    Correction — supersedes the previous comment

    The previous comment argued for converging everything onto the generic form and deleting the hand-written ones. That was wrong, because it collapsed two genuinely different tiers into one.

    person and project are packaged schemas — they ship with the release, and their shape is known at build time, exactly like task. They belong in the same tier as task, not in the user-authored tier.

    Correct architecture — two tiers

    Tier Shape known Form
    Packaged schemas (task, person, project) build time hand-written typed form, per type
    User / AI-authored schemas runtime only generic schema-driven form

    This matches the hybrid Core-vs-Extension model in node-behavior-system.md. task-schema-form.svelte is not technical debt to be deleted — it is the template the other packaged types should follow.

    Why typed forms are worth their size

    TaskSchemaForm is 702 lines largely because it uses a typed write path: sharedNodeStore.updateTaskNode(...) (task-schema-form.svelte:282-327), carrying task-specific optimistic updates and rollback. That type safety is the point, and it is what the generic form cannot provide for a type whose shape is unknown. person and project should get equivalent typed paths.

    Revised plan

    1. Write person-schema-form.svelte as a proper typed form covering the full person schema (core_schemas.rs:1131-1190), replacing today's hardcoded two-field version
    2. Write project-schema-form.svelte covering the project schema (core_schemas.rs:199-330) — status, priority, start_date, end_date, and the tasks relationship
    3. Register both under the schemaForm: key in core-plugins.ts, following the task registration at core-plugins.ts:218-220
    4. Fix the CORE_NODE_TYPES gate so project is not blocked from rendering a form at all (node-type-predicates.ts:16)
    5. Factor shared typed-form scaffolding so three typed forms do not triplicate boilerplate
    6. Delete genuinely dead code: schema-property-form.svelte (no production import)

    Not doing: deleting task-schema-form.svelte, or migrating packaged types onto the generic form.

    Known trade-off, accepted deliberately

    Adding a field to a packaged schema now means editing both core_schemas.rs and the corresponding typed form, kept in sync by hand. That is the acknowledged cost of type safety and per-type UX for shipped types — worth recording so it is not later mistaken for an oversight.

    Storage shape still needs deciding

    Unchanged from the issue body: person-schema-form.svelte persists to properties.person.<field> (namespaced) while the generic form uses flat properties[field.name]. TaskSchemaForm writes properties.task.<field> (task-schema-form.svelte:205), so the namespaced shape is what the packaged-typed-form tier actually uses. Recommend person and project follow the namespaced convention to match task, rather than the flat generic shape. This reverses the earlier recommendation in the issue body, which assumed convergence on the generic form.

    Stale references found

    Several comments reference a DateSchemaForm that does not exist (base-node-viewer.svelte:343, schema-form-loader.svelte.ts:4, plugins/types.ts:38). Also base-node-viewer.svelte:1361 still claims user-defined types use "generic SchemaPropertyForm". Worth correcting alongside this work.

  3. changed the title [-]Individual node view renders no property form for project; person uses a hardcoded two-field form[/-] [+]Add typed property forms for packaged schemas person and project, following the task form pattern[/+] on Aug 17, 2026
  4. malibio commented on Aug 17, 2026

    @malibio
    CollaboratorAuthor

    Resolved — slash commands are intentionally not part of this work

    The open question at the bottom of the issue ("confirm project is intended to be user-creatable") is answered: no slash command for project, by decision.

    Slash commands are deliberately limited to task and the primitive/core editor types (text, header, code-block, quote-block, ordered-list, horizontal-line, table, checkbox). For those, "insert this block here" is unambiguous. For semantic entity types like project and person, the creation experience is not yet clear — where the node lives, whether it nests under the current node, how it gets titled — so slash-command creation is intentionally withheld rather than shipped half-defined.

    Consequences for this issue

    • projectNodePlugin is narrower than the issue body specifies. It needs the plugin shell + schemaForm registration + reference (and node.lazyLoad if project nodes render inline), but no slashCommands entry. The issue body's "(id, slash command, node.lazyLoad, reference, schemaForm)" should be read without the slash command.
    • Not a gap to close. The absence of a project creation path in the UI is a decision, not an oversight. No creation-path work belongs in this issue.
    • Testing note: with no slash command, project nodes are reachable only via AI/MCP or direct backend calls. Verifying the project form requires creating a project node through chat (or a direct call) first — it will not be discoverable by clicking through the UI. Worth stating in any test plan so the form isn't assumed broken when no project node exists to open.

    The person form is unaffected — personNodePlugin already exists with a slash command registered (core-plugins.ts:660-670). Whether that should be withdrawn under this same reasoning is a separate question, not in scope here.

  5. malibio commented on Aug 17, 2026

    @malibio
    CollaboratorAuthor

    Scope addition — remove the /person slash command

    Folding this into this issue rather than filing separately, since it is the same decision applied to a type that already shipped.

    The previous comment noted /person as "a separate question, not in scope". Decided: remove it. Slash commands stay limited to task and the primitive editor types. person is a semantic entity type in the same category as project, so the same reasoning applies — the "where does this node live / how does it get titled" ambiguity is identical, and canHaveChildren: false (core-plugins.ts:673) means a /person node dropped mid-document is a leaf with no clear home.

    This leaves person consistent with project: reachable via AI/MCP and reference/autocomplete paths, but not via slash-command insertion.

    Change

    Delete the slashCommands array from personNodePlugin.config (core-plugins.ts:661-670), keeping canHaveChildren / canBeChild. The rest of the plugin — node.lazyLoad, reference, schemaForm — stays; only the slash-command entry goes.

    Test assertions that must be updated

    The core-plugin slash-command count is asserted in four places, all hardcoding 13 and naming person in the comment. Each drops to 12:

    • packages/desktop-app/src/tests/plugins/core-plugins.test.ts:169 — stats.slashCommandsCount
    • packages/desktop-app/src/tests/plugins/core-plugins.test.ts:188 — commands length
    • packages/desktop-app/src/tests/services/slash-command-service-registry-integration.test.ts:27
    • packages/desktop-app/src/tests/services/slash-command-service-registry-integration.test.ts:165

    Update the trailing comments to drop person from the enumerated list as well, so the next reader is not hunting a phantom command. Note these comments currently cite issue numbers (removed #1919) — per the documentation standard, do not add new issue references when editing them.

    Acceptance criteria

    • /person no longer appears in the slash-command menu
    • personNodePlugin retains its node, reference, and schemaForm registrations
    • The four slash-command count assertions updated to 12, with person removed from their comments
    • Person nodes remain creatable via AI/MCP and usable via @ reference/autocomplete
  6. malibio commented on Aug 17, 2026

    @malibio
    CollaboratorAuthor

    Correction — email uniqueness is smaller than scoped

    The issue body describes person's email uniqueness as "new work: no control reads unique today". That understates what already exists.

    The agent-facing contract is already defined and shipped. create_schema's tool schema documents both flags to the model (packages/agent/src/local_agent/tools.rs:790-791):

    unique — "Set true when each instance should have a distinct value for this field (e.g. an email or SKU). ADVISORY ONLY — does not block or reject duplicate writes; it only lets the system suggest an existing likely-duplicate node when a new value collides."

    unique_case_insensitive — "Like 'unique', but case-insensitive — use for fields like email or username where case shouldn't matter. ADVISORY ONLY … Do not set both 'unique' and 'unique_case_insensitive' on the same field."

    That matches the person schema's own comment (core_schemas.rs:1171-1174): suggest an existing match pre-commit, never reject.

    What is actually missing is only the frontend:

    • SchemaField in packages/desktop-app/src/lib/types/schema-node.ts:64-111 does not declare unique or uniqueCaseInsensitive (the sole "unique" mention at :65 is unrelated prose about field-name uniqueness)
    • No component in packages/desktop-app/src/lib references either flag

    So the work is: add the two properties to the TS type, and implement the suggest-on-collision affordance in the form. The semantics are already specified — do not redesign them. Whether the duplicate-suggestion lookup has a backend query to call is still unverified and should be checked before implementation.

  7. malibio commented on Aug 17, 2026

    @malibio
    CollaboratorAuthor

    Scope addition — skill example collides with project as a core type

    The Schema Creation skill's third worked example teaches the agent to create_schema a Project (packages/agent/src/skill_pipeline.rs:104-127, mirrored in packages/skill/SKILL.md:463):

    { "name": "Project", "description": "A tracked project with status and timeline",
      "title_template": "{name} ({status})", "fields": [ ... ] }

    But project is already a core schema (core_schemas.rs:199). The example therefore contradicts the agent's own rules — SCHEMA_CREATION_RULES ("Never call create_schema for a type already in RELEVANT ENTITY TYPES") and SCHEMA_ALREADY_EXISTS. Few-shot examples carry more weight than prose rules, so this actively teaches the failure mode the rules try to prevent.

    This is a pre-existing inconsistency, not caused by this issue — but this issue makes it more visible by giving project a first-class typed form. Fixing it here keeps the change coherent.

    Change: rename the example to a genuinely non-core noun (e.g. Campaign, Shipment) and update the mirrored copy in SKILL.md.

    Lower-risk but same family: skill_rules.rs:113 (TARGET_TYPE_MUST_EXIST) uses Project has_task task as a relationship example. It does not instruct creation, but it normalises project as a user-authored type. Worth changing alongside.

    Note SKILL.md is a hybrid — only the block between <!-- BEGIN GENERATED: schema-rules --> and <!-- END --> regenerates via cargo run -p nodespace-agent --bin gen_skill_md -- --write. The line-463 example is hand-written and must be edited directly. gen_skill_md.rs:157 fails the build if the generated block is stale.

    Not an issue for the slash-command work: no seeded skill references /person or any slash command — they are purely a frontend concern (schema-plugin-loader.ts:118-131). Removing /person requires no skill revision.

    Added acceptance criteria

    • Schema Creation skill's Project example renamed to a non-core type; SKILL.md:463 copy updated
    • TARGET_TYPE_MUST_EXIST example reviewed for the same collision
    • gen_skill_md --check passes after the edits
  8. malibio commented on Aug 17, 2026

    @malibio
    CollaboratorAuthor

    Cleanup scope — verified against current main

    The issue body lists dead code and stale comments as cleanup. These were trialled locally and reverted (no implementation happening yet), so the exact changes are recorded here for whoever implements.

    Verified after #2105 (friendly_name split) and #1998 (node-type classification) landed.

    1. Delete schema-property-form.svelte — 511 lines, zero production imports

    packages/desktop-app/src/lib/components/property-forms/schema-property-form.svelte

    Only two references exist: its own internal viewerId: 'schema-property-form' string (:269) and one test import. No production code imports it.

    Do not delete its test file wholesale. src/tests/components/property-forms/property-form-field-dispatch.test.ts also covers GenericSchemaForm and TaskSchemaForm, which are both live. Only the SchemaPropertyForm portions come out:

    • the import at :32
    • three describe blocks starting at :153, :178, :240 — these run from :153 to EOF, so truncating there is clean
    • two header-comment lines: the SchemaPropertyForm → type ns bullet, and the trailing clause "plus the boolean leaf that SchemaPropertyForm previously left unimplemented"

    Verified: the two remaining tests (GenericSchemaForm — nested values persist FLAT, TaskSchemaForm — nested values persist under properties.task) pass after the trim.

    2. Six stale comments referencing components that do not exist

    DateSchemaForm has never existed. SchemaPropertyForm ceases to exist under item 1.

    File:line Current Suggested
    design/components/base-node-viewer.svelte:343 // This triggers lazy loading of TaskSchemaForm, DateSchemaForm, etc. // This triggers lazy loading of the type's registered schema form.
    design/components/base-node-viewer.svelte:1364-1365 ...everything else falls back to the generic SchemaPropertyForm — including core types with no registered form (project) ...everything else falls back to GenericSchemaForm — including core types with no registered form (project)
    plugins/types.ts:38 (TaskSchemaForm, DateSchemaForm, etc.) (e.g. TaskSchemaForm)
    plugins/types.ts:219 User-defined types fall back to the generic SchemaPropertyForm. User-defined types fall back to GenericSchemaForm.
    plugins/plugin-registry.ts:565 (fallback to SchemaPropertyForm) (fallback to GenericSchemaForm)
    components/viewers/task-node-viewer.svelte:11 Root Cause: Schema-driven SchemaPropertyForm incompatible with strongly-typed TaskNode Root Cause: A generic schema-driven form is incompatible with strongly-typed TaskNode

    Note design/components/schema-form-loader.svelte.ts:4 previously carried a DateSchemaForm reference too — already corrected by #2105, no action needed.

    Full regression check after both items: src/tests/components/property-forms/ + src/tests/plugins/ → 258 tests passing.

    3. Re-check this issue's premises before starting

    Two merges landed after this issue was written:

    • Split SchemaField into name/friendly_name/description #2105 (5c4b437f) split SchemaField into name/friendly_name/description. friendly_name is now a non-optional String, and all UI label surfaces read it through one helper, $lib/utils/schema-field-label.ts (labelForField() → field.friendlyName, no fallback). The Kanban "Group by" dropdown (kanban-view.svelte:347) and table headers already use it. Any part of this issue assuming the old description-as-label behaviour is stale.
    • isCustomSchemaType conflates "is core" with "has a dedicated frontend integration" across 4 call sites #1998 (e57af24a) classifies node types by frontend integration rather than core-list membership — directly touching the CORE_NODE_TYPES allowlist this issue identifies as the reason project renders no property form. Re-verify that root cause against current main; the mechanism may have changed or the gate may already be gone.
  9. malibio commented on Aug 17, 2026

    @malibio
    CollaboratorAuthor

    Stale — #2115 shipped the email-uniqueness work

    a23226cd (PR #2115, "Adopt-existing suggestion UI + convergence duplicate marker (ADR-065)") landed after this issue was written and invalidates part of it.

    Corrections to the issue body and the earlier uniqueness comment:

    • SchemaField in packages/desktop-app/src/lib/types/schema-node.ts now declares unique (:125) and uniqueCaseInsensitive (:132). My earlier statement that the TS type does not carry them is no longer true.
    • The email suggest-on-collision affordance is implemented, not outstanding. person-schema-form.svelte calls find_duplicate_for on email blur and offers "use existing" / "keep as new", never gating the save — suggest-don't-block, per ADR-065. A new find_duplicate Tauri command, backendAdapter.findDuplicateFor on both Tauri and HTTP transports, and a MockAdapter stub all shipped with it.
    • person-schema-form.svelte has grown 116 → 255 lines and is no longer the "hardcoded two-field form" this issue describes. It now carries real duplicate-detection behaviour.

    Impact on this issue's plan. The proposal to replace person-schema-form.svelte wholesale must now preserve the adopt-existing flow — that is shipped, tested behaviour, not scaffolding to discard. Re-read the file before planning its replacement.

    Person's form work here should be re-scoped: the remaining gap is schema-driven field coverage, not duplicate handling.

  10. self-assigned this
    on Aug 18, 2026
  11. mstomar125 commented on Aug 18, 2026

    @mstomar125
    Contributor

    Resolution

    Re-investigated against current main (per the note this issue carried after core#2013 merged). Both user-visible bugs this issue was originally filed for turned out to already be fixed:

    • project renders no property form — fixed by core#2013. GenericSchemaForm's fallback is now unconditional on "no hardcoded form registered," not gated on the old CORE_NODE_TYPES allowlist that incorrectly excluded project. Verified: opening a project node renders status/priority/start_date/end_date, correctly reads/writes the namespaced shape, and the Relationships button is already gated on non-empty groups.
    • person misclassified as custom — moot. CORE_NODE_TYPES was deleted by core#2013; classification is now plugin-registry-derived.

    PR #2135 lands the remaining safe cleanup: deleted the now-fully-redundant schema-property-form.svelte (ported its test coverage onto GenericSchemaForm, which now owns that behavior), added end-to-end regression coverage for GenericSchemaForm rendering the real project schema, and fixed several stale comments (including one core#2013 itself introduced) pointing at the deleted component and a DateSchemaForm that never existed.

    Deliberately deferred, with reasoning, as separate follow-ups:

    Full reasoning and test results are in the PR description.

  12. added a commit that references this issue on Aug 18, 2026
    8a2947f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions