Repository navigation
Description
Background
Raised as an open question in core#2102 (typed property forms for person/project), carried over unresolved since the original investigation:
project is a core node type with a full backend schema (core_schemas.rs: status, priority, start_date, end_date, a tasks relationship) and — as of core#2013 — a working, schema-driven properties form when a project node is opened. But project has no plugin registration at all (packages/desktop-app/src/lib/plugins/core-plugins.ts — personNodePlugin, taskNodePlugin, etc. all exist; there is no projectNodePlugin) and consequently:
- No slash command — there is no
/projectthe way there is/taskor/person. - No dedicated
project-node.svelteinline component (this is intentional per core#2013 —projectis correctly classified as an entity row, same ascollection/document/user, not an inline-editable node). - No reference component beyond the generic
BaseNodeReferencefallback (which may already be sufficient).
The practical effect: a project node can currently only be created via AI/MCP tool calls or a direct backend call — there is no user-facing UI path to create one.
Question to resolve
Is project intended to be directly user-creatable via a slash command, the same as task and person? Or is it intended to be an AI/agent-managed entity type only (e.g., projects are set up by the agent as part of planning, not typed in ad hoc by a user mid-outline)?
This is a product decision, not a mechanical one — flagging for confirmation before any implementation.
If yes (user-creatable)
- Add a
projectNodePlugintocore-plugins.ts(id, slash command,reference) — nonode.lazyLoadneeded;projectshould stay an entity row per core#2013's classification, matchingcollection. - Confirm the entity-row "open in other pane" affordance and arrow-navigation-skip behavior (both already work generically via
rendersAsEntityRow, driven offhasInlineNodeComponent, not plugin registration — should need no changes) still behave correctly once a slash command exists. - Regression-test the new slash command the same way
person's is tested.
If no (agent/MCP-only)
Close this issue with that decision recorded, and consider whether the schema/plugin-registry docs should say so explicitly (e.g., a code comment on the project schema definition in core_schemas.rs noting it is intentionally not slash-command-creatable).
Related
- core#2102 — where this question was originally raised and left open pending confirmation.
Activity
Delete dead SchemaPropertyForm, fix stale generic-form comments (closes
malibio commentedon Aug 18, 2026
Decision: no —
projectis not user-creatable via slash commandProduct call from @malibio: slash commands are for basic primitive types, plus
task. Entity types are not slash-creatable.Taking the "If no" branch: no
projectNodePlugin, no/project. The rationale is recorded in code at both ends so the absence reads as intentional:packages/core/src/models/core_schemas.rs— on theprojectschema definitionpackages/desktop-app/src/lib/plugins/core-plugins.ts— a "which types get a slash command" note where a reader would look for the missing registrationNotes from verifying the issue's claims against the code
All accurate. Two things worth recording:
The open sub-question resolves cleanly. The issue asked whether entity-row behavior ("open in other pane", arrow-navigation skip) would still work once a plugin existed. It's moot now, but the answer is yes and for a reason worth knowing:
rendersAsEntityRowderives from absence of an inline node component, not from plugin registration (node-type-predicates.ts:35).projectalready renders correctly as an entity row today with no plugin at all.Projects are not unreachable.
projectis inSIDENAV_CORE_TYPES(stores/schemas.svelte.ts:24), so it is browsable/queryable in the sidenav and opens to the generic schema-driven form. This decision removes only ad-hoc mid-outline creation, not discoverability.Follow-up: the rule exposes two existing violations
Auditing every plugin against "primitives + task":
/task/person/ai-chatpersonandai-chatare entity types that currently do have slash commands — the same category asproject. Applied consistently, the rule says both should lose theirs.Not touching either here, since removing a working user-facing affordance is a separate product call with a different blast radius (
/ai-chatin particular is likely a primary entry point for starting a chat). @malibio — want a follow-up issue to remove/personand/ai-chat, or are they intentional exceptions alongsidetask? Proceeding with #2133 as scoped either way.malibio commentedon Aug 18, 2026
Updated for the full rule: primitives +
taskonly — not entity types, and not user-defined types.PR #2151 records the decision. Comments only, no behavior change.
Second violation: user-defined types already generate slash commands
Beyond
/personand/ai-chat(flagged above),createPluginFromSchemagives every user-defined schema type a slash command —schema-plugin-loader.ts:127, priorityCUSTOM_ENTITY. Define aVenueschema and you get/venue.That directly contradicts "not even user-defined types", but I did not change it in #2151, because it is a different kind of change from the rest of this issue:
schema-plugin-loader.test.ts:98,118,146,155,165) that would need to invert.SIDENAV_CORE_TYPES); user-defined types would need an equivalent, which is a design question, not a deletion.So this is a real product decision with its own blast radius, not a mechanical follow-on. @malibio — worth its own issue covering both violation sets:
/personand/ai-chatHappy to open it with a recommendation; say the word and I'll write it up. #2133 itself is done as scoped.
malibio commentedon Aug 18, 2026
Scope note for the record, from @malibio, closing out the questions this issue surfaced.
The agentic method is the primary way of creating new types. The UI experience for types with complex/nested properties — schemas, playbooks, queries — is not yet defined, and is deliberately not being specified here or in the follow-ups.
Consequences, so nobody treats these as gaps to fill:
create_schema), which is well-developed: dedicated rules inpackages/agent/src/skill_rules.rs:50-62, in-turn validation-error retry, and a rule that user-supplied values with no matching field are recorded under a new key rather than silently dropped. No UI authoring surface exists (SchemaNodeViewer for Schema Editing (DEFERRED - Backend Complete) #195 is the deferred editor)./querywas already removed because it produced definition-less nodes (notargetType/filters) that could not render. Query nodes are materialized from a type's default view or created by AI/MCP (core-plugins.ts:525-530). This is the reference implementation for the pattern.packages/core/src/playbook/), with rules stored under a nestedproperties["playbook"]["rules"]namespace. No frontend plugin registration and no dedicated agent tooling yet.The common thread: each stores structure a mid-outline slash command could not supply, which is the same reason #2133 landed where it did.
createSchemaInstance'sproperties: {}behavior is correct for the flat types it serves today; whether it generalizes to nested schemas is part of the undefined experience, to be settled when that work is scoped — not a latent bug, and not a prerequisite for #2152 or #2153.No issues filed for any of the above, by decision.