Repository navigation
Description
Overview
NodeSpace's schema/Play system already lets any user or agent compose custom node types and automation freely (create_schema, update_schema, Play authoring). This issue adds a small, concrete demonstration of that composability using developer work-tracking workflows people already recognize (Linear-style, Jira-style, spec-driven) — not a new platform capability, just canned, well-designed sequences of calls to capabilities that already exist or are separately tracked as prerequisites (see Dependencies).
This issue supersedes its own earlier framing. An earlier draft of this body described a Linear recipe that mutated task.status/task.priority directly, with no distinct issue type — node_type stayed "task" throughout. That framing is now obsolete: ../nodespace-docs/decisions/078-schema-extends-relationship-for-field-composition.md (ADR-078) was designed specifically because a Linear-style Issue and, hypothetically, an unrelated "marketing campaign task" both want to specialize task differently, and nothing let NodeSpace tell them apart or give each its own real identity. This issue is rewritten against that finalized design.
Problem Statement
A new NodeSpace user has no fast way to see the product's value in a workflow they already know. Typing out an issue schema, a cycle schema, extending task's status vocabulary, and writing rollover/validation Plays by hand is a reasonable thing for NodeSpace to demonstrate, but nobody should have to author it from scratch on day one.
A second, related gap surfaced during this recipe's design: schema/field descriptions (see #2653) only ever explain a single schema in isolation ("what is epic.target_date"). Nothing teaches an agent the system-wide narrative a methodology recipe actually represents — how an Issue relates to a Cycle, what "starting a cycle" means as a sequence, why a status change gets rejected by a validation Play. That knowledge is inherently cross-schema and belongs to the recipe, not to any one schema's own description.
Proposed Solution
A canonical, NodeSpace-authored (but user-editable) TypeScript recipe file per methodology — an ordered array of typed steps (create_schema, add_field_values, create_play, etc.) — with exactly two consumers:
- GUI (onboarding wizard step + a re-triggerable Settings action): executes the TS step array directly, each step dispatched to the corresponding existing Tauri command (
create_schema,update_schema/add_field_values, Play-install), the same patternconfigure_skillalready uses. Includes collision handling: if a step's target schema id already exists, retry with a deterministic suffix (cycle→cycle__2, first free), and surface what happened in the result shown to the user — never silently adopt or silently overwrite an existing schema, and never block on a confirmation dialog either; auto-resolve and disclose. - External agent (CLI-capable, or MCP-only — both are already-generic transports over the same CLI verbs,
packages/skill/shims/*andpackages/cli/src/commands/mcp.rs's passthrough tool respectively, so neither needs new capability-specific work): reads a generated reference doc,packages/skill/references/<methodology>-recipe.md, phrased as literalnodespace schema create ...-style CLI-verb steps, produced by a small generator script from the canonical TS source.SKILL.mdgets a short pointer entry into it, distributed to.claude/skills/nodespace/references/via the existinginstall_skillmechanism at skill-install time — no new packaging logic.
The local/native in-process agent is explicitly NOT a third consumer of this installation mechanism — its tool registry (packages/agent/src/local_agent/tools.rs) has no Tauri access and no CLI/subprocess access (confirmed: it calls straight into nodespace_core primitives), and recipe installation is only reachable via the GUI itself, same as any other end user (i.e., a user triggers the install from Settings/onboarding in the Tauri app — the local agent never runs the install steps). This is scoped narrowly to who executes installation — it says nothing about post-install usage guidance, which is addressed separately below.
Seeded skills for post-install usage guidance
Distinct from the install-time mechanism above: once issue/cycle exist and their Plays are active, any agent (local or external — both reach seeded skill nodes via the existing find_skills/routing mechanism, ADR-038/ADR-057) needs guidance on using them correctly — this is the system-wide, cross-schema narrative #2653's schema-description plumbing cannot provide by itself (see Problem Statement). This is ordinary recipe content, not new core infrastructure: skill is already a core schema, PlaybookNode.seed_node_ids (ADR-075) already has room to track exactly this, and find_skills already discovers whatever skill nodes exist regardless of who authored them.
Seed several small, narrowly-scoped skills — not one broad "Linear methodology" skill — mirroring the existing 11 core skills' own shape (each task-scoped: "Node Creation," "Relationship Management," etc., never one monolithic "how to use NodeSpace" skill) and matching how ADR-038's similarity-threshold retrieval (<0.8 → no skill injected) rewards precise, narrow matches over a single skill diluted across many intents:
- "Creating an Issue" —
issuevs. plaintask,estimate, status vocabulary (backlog/in_reviewand what they collapse to attaskscope), priority's extended values. - "Working with Cycles" —
cycle.tasksrelationship (not a bare property), how cycle-creation/rollover Plays behave, thatcyclehas no storedstatus(derived from dates). - "Issue Validation Rules" — what the two Invariant Plays (sub-issue completion gate, blocker gate) reject and why, so an agent understands a rejected write rather than treating it as a bug.
Exact skill count/boundaries decided during implementation; the above is illustrative, not exhaustive.
Architecture Impact
This issue implements ../nodespace-docs/decisions/078-schema-extends-relationship-for-field-composition.md (ADR-078) for the first time in real recipe content — issue is a genuinely new, real node_type (extends: task), not a relabeling of task. It deliberately does NOT implement ../nodespace-docs/decisions/075-playbooknode-installable-bundle-record.md (ADR-075) — PlaybookNode (bundle-install tracking, narrowed in scope per ADR-078's rewrite of ADR-075) remains separately tracked by #2570, unaffected by this issue; installed schema/Play state is left as ordinary graph data, indistinguishable from anything hand-authored, with no provenance tracking. This is an intentional, accepted scope cut, unchanged from the original framing. The seeded-skills addition above is consistent with ADR-057 (skill nodes as ordinary markdown-child root nodes) and ADR-038 (skill-mediated discovery) — no changes to either mechanism, just new content authored against them.
Implementation Approach
Canonical recipe source
- One TS file per methodology under
packages/desktop-app/src/lib/methodology-recipes/(e.g.linear.ts), exporting an ordered array of typed steps. NodeSpace ships these as first-party authored content; a user may hand-edit their local copy, though this is the exception path, not the primary one. - Step shape covers at minimum:
{op: 'create_schema', payload: {...}},{op: 'add_field_values', payload: {...}},{op: 'create_play', payload: {...}}, and a new{op: 'create_skill', payload: {...}}step for the seeded skills above — payload shapes should mirror the existingcreate_schema/update_schema/skill-creation request params already used elsewhere in the frontend, not invent a parallel format.
Generator + CI drift check
- A generator script under
scripts/(Bun/TS, per this repo's tooling convention) reads a methodology's TS recipe and emitspackages/skill/references/<methodology>-recipe.md, phrased as literal CLI-verb call sequences (e.g.nodespace schema create ...). - Add a
--check/--writepair mirroringpackages/cli/examples/gen_skill_md.rs's existing convention (bun run skill:gen/bun run skill:check) — a new pair of package.json scripts, checked in CI (or as part of the existingskill:checkgate if that's a cleaner fit — evaluate during implementation) so the generated doc can never silently drift from the TS source it's derived from. SKILL.mdgains a short pointer entry referencing the generated doc (does not duplicate its content).
GUI wiring
- A new onboarding wizard step (the wizard's step sequence is currently hardcoded
{#if currentStep === '...'}blocks inpackages/desktop-app/src/lib/components/onboarding/onboarding-wizard.svelte— extend itsWizardStepunion andstepSequencederivation) presenting a single-choice picker: Linear-style / Jira-style (bare) / Spec-driven / Skip. This is the wizard's first non-binary (radio/select) step — no existing pattern to copy structurally, unlike the existing binary act-or-skipskillstep. - A matching Settings action re-triggers the identical execution path (same TS recipe, same Tauri commands) independently of onboarding — this issue must not couple the execution logic to the wizard specifically.
- Note in the PR: onboarding is expected to be substantially reworked later; keep this step's wiring as decoupled from the wizard's current ad hoc structure as practical, since it will need to survive that rewrite.
First recipe: Linear-style
issue schema — a real, extends-declared subtype of task (ADR-078), not a relabeling:
id: "issue",extends: task. An instance created against this schema getsnode_type: "issue"— genuinely, not"task"with a display label bolted on. Its display name ("Issue") is a direct lookup ofissue's owncontentfield, per ADR-078's "Relationship to ADR-075" section — noPlaybookNode/marker mechanism needed for this.estimatefield, declared directly onissue(numeric or small enum — decide exact type during implementation; Linear's own is points-based, not hour-based). This is a fieldissueowns outright, not inherited, so it needs nomaps_tohandling.- Status vocabulary: NOT a new
issue_statusfield. Per ADR-078's "Enum-value extension on an inherited field" section,issueextends the inheritedtask.statusfield viaadd_field_values, appendingbacklogandin_review, each carrying a requiredmaps_topointing at the pre-existing base value it collapses to attaskscope (backlog → todo,in_review → in_progress) — mirroring Jira's status-category model. This keeps the field name identical totask.status, so any Play or query written againsttask(including the core auto-complete Play, Seed a core Play that completes a parent task when all its children are done #2636) keeps matchingissuenodes with zero rewrite, and scope-relative resolution (ADR-078) ensures a base-scoped reader seestodo/in_progress, never the raw extended value, unless it's explicitly reading atissuescope. - Triage: not a new concept — just another appended
statusvalue (triage,maps_to: "todo"), decided during implementation whether it's worth including for v1 or deferred. - Priority:
task.prioritygainsurgentandnonedirectly viaadd_field_values(nomaps_toneeded — priority has no Jira-style category requirement the way status does; this is a flat superset extending the existing 5-level scale, see Expand core task.priority to a 5-level scale (Highest/High/Medium/Low/Lowest) #2651). - Blocking/relation/creator relationships:
issueinheritsblocks/blocked_by,relates_to/related_from,duplicates/duplicated_by(task-to-task) andcreator(fromperson) automatically onceextendscomposes relationships the same as fields (ADR-078) — see Add core blocks/blocked_by, relates_to/duplicates, and creator relationships on task #2637, which adds these to coretask/person. This recipe declares none of them itself. - Sub-issues: require no schema work at all.
has_child— NodeSpace's universal outline/hierarchy edge — already supports nesting any node type, includingissue, generically. A sub-issue is structurally just anissuenested under anotherissuevia the existing mechanism. Progress roll-up ("3/5 sub-issues done") is a UI/Play-level read concern, not a schema addition. - Labels: use the existing
Collection/member_ofmechanism — a Collection withissueinstances as members, no new schema. Teams: same mechanism,Collectionwithpersoninstances as members (per a separate, broader "Collections as teams" direction, not specific to this recipe). - Auto-archive: a scheduled Play transitions stale, inactive Issues to
lifecycle_status: "archived"— the existing, universal node-governance field (Node.lifecycle_status,active/archived/deleted), not a Linear-specific concept. Decide staleness threshold during implementation.
cycle schema (schema-only type, not core):
start_date,end_datefields. Deliberately NOstatusfield — matches Linear's actual behavior (a Cycle's active/past/upcoming state is derived from comparing dates to now, never stored) and avoids a second Play whose only job would be keeping a stored status in sync with dates. Contrast with the existing coreprojectschema, which correctly DOES have a storedstatus(Linear's Project genuinely has one) — do not conflate the two patterns.duration_daysfield, numeric,default: 14— an ordinarySchemaField.default, user-editable post-install without touching any Play. The cycle-creation Play (below) reads this value rather than hardcoding a day count.cycledeclares atasksrelationship (Out, Many; reversecycle, One) mirroring the existingproject→tasksrelationship pattern exactly (packages/core/src/models/core_schemas.rsproject schema, ~line 371-381) — NOT a barecustom:cycle_idproperty ontask. The relationship targetstask(notissuespecifically) — subtype-aware querying (ADR-078) means querying/filteringcycle.tasksalready reachesissueinstances for free, so there is no need to retarget it narrower.- (Optional, non-blocking) Cycle estimate totals — a running sum of
estimateacross the Cycle's linked Issues, kept in sync via a Play using Add collection-aggregation action to the playbook engine (sum/count over a for_each collection) #2639's collection-aggregation capability once it lands. Not required for this issue's core scope; include if Add collection-aggregation action to the playbook engine (sum/count over a for_each collection) #2639 has landed by implementation time, otherwise defer.
Plays:
- Cycle-creation Play (scheduled): if no
cycleexists covering "today plus N days," create the next one.start_date/end_datecomputed from the most recent existing cycle'send_dateplus its ownduration_daysfield, using Add computed-date arithmetic to the playbook engine (action values, not just CEL conditions) #2640's date-arithmetic capability (add_days-equivalent) — this Play cannot be expressed without Add computed-date arithmetic to the playbook engine (action values, not just CEL conditions) #2640, since neither CEL nor action-value resolution can compute a new date today. - Rollover Play (scheduled): scans
cyclenodes whereend_date < now,for_eachs incompletetask/issues (statusnot in a done-category value), reassigns each to the successor cycle (assumes one already exists, created by Play 1). Relies on derived identity (../nodespace-docs/decisions/074-derived-identity-for-scan-based-triggers.md, ADR-074, delivered) so concurrent/multi-device firing collapses correctly. - Validation Play — "can't close with open sub-issues" (Invariant-class, Add a reject/validation action type so an invariant Play can veto a write, not just augment it #2642/Wire RuleClass::Invariant rules into the write path so they actually run synchronously, in-transaction #2643): rejects a
statuschange to a done-category value if anyhas_childchild is not itself done-category. Requires Make graph_resolver.rs direction-aware so Play conditions can walk any relationship's reverse side #2641 (reverse traversal, to readhas_child's reverse direction) and Add a reject/validation action type so an invariant Play can veto a write, not just augment it #2642/Wire RuleClass::Invariant rules into the write path so they actually run synchronously, in-transaction #2643 (reject action type + synchronous write-path wiring) to be expressible and enforced at all. - Validation Play — "can't start with an open blocker" (Invariant-class): rejects a
statuschange toin_progress-category if anyblocked_bytask is not done-category. Same dependencies as (3), plus Add core blocks/blocked_by, relates_to/duplicates, and creator relationships on task #2637 forblocked_byto exist as a relationship at all. - Auto-complete parent and auto-archive stale issues are core/general-purpose, not authored by this recipe — see Seed a core Play that completes a parent task when all its children are done #2636 and the Auto-archive note above, respectively.
No schema changes needed for Project grouping — the existing core project schema and its tasks/project relationship already cover this; the recipe creates no project-related schema at all.
Revision — scope expanded and corrections applied (2026-09-18)
Implementation surfaced four factual errors in the body above, plus two prerequisites this issue cannot land without. Both prerequisites are folded into this issue rather than filed separately, by decision.
Corrections to the body above
maps_to: "todo"is invalid — the correct target isopen. Coretask.statusdeclaresopen/in_progress/done/cancelled(packages/core/src/models/core_schemas.rs:58-63), andTaskStatushas matching variants with noTodo(packages/core/src/models/task_node.rs:109-121). There is notodovalue anywhere in NodeSpace. ADR-078 requires everymapsToto name a value the field already carries before the call (packages/core/src/schema/mod.rs:524), sotodowould be rejected at write time. The mapping is thereforebacklog → open,triage → open,in_review → in_progress.- The JSON key is
mapsTo, notmaps_to.EnumValueis#[serde(rename_all = "camelCase")](packages/nodespace-types/src/schema.rs:109). - There is no
playbook createCLI verb.PlaybookActionexposes onlylist/logs/enable/disable/get-workflow-state. A Play is an ordinary node ofnode_type: "play"carrying arulesproperty, so the generated reference doc phrases Play installation asnode create --type play. - Add collection-aggregation action to the playbook engine (sum/count over a for_each collection) #2639 and Add computed-date arithmetic to the playbook engine (action values, not just CEL conditions) #2640 shipped as binding functions, not action types.
sum,countandadd_daysare usable inside any action'sparams(packages/core/src/playbook/actions.rs:359-363).ActionTypehas exactly five variants:create_node,update_node,add_relationship,remove_relationship,reject.
Additionally, the body's packages/desktop-app/src/lib/methodology-recipes/linear.ts path and its Bun-generator instruction are superseded by the established first-party-content pattern: recipe content is typed Rust in packages/core, alongside get_core_schemas() and seed_skill_nodes(), and the generator is a Rust example mirroring packages/cli/examples/gen_skill_md.rs (same GeneratedRegion registry, same --check/--write, same marker splice, joining the existing skill:check gate). This keeps schema steps running through handle_create_schema in-process, so extends cycle detection, mapsTo resolution and reverse-name validation all apply unchanged.
Prerequisite 1 — play becomes a declared core schema
architecture/playbook-system.md:401-409 states that play and log ship as isCore: true schemas registered at engine startup. Neither exists in get_core_schemas(). The playbook engine queries query_nodes_by_type("play", "active") against an undeclared type.
Rule correctness is not the gap — validate_play_rules (packages/core/src/services/node_service/crud.rs:271, :1463) already parses every rule, compiles its CEL conditions and runs the full validate_play pipeline at write time, which is stronger than schema validation would give. What is missing is declared identity: the type is not browsable, not schema-validated, and not visible to the schema-driven surfaces.
This issue adds the play schema because it ships the first real Plays. Backend only — play is deliberately NOT added to SIDENAV_CORE_TYPES; there is no GUI surface for Plays yet. CLI remains the interface.
Prerequisite 2 — Play diagnostics move out of the graph to a general log file
playbook_log nodes are written into the user's knowledge graph as engine self-diagnostics. This is wrong on four counts:
- One production consumer. Only
nodespace playbook logsreads them (packages/cli/src/commands/playbook.rs:104). Everything else referencing the type is test assertions. - Already duplicated. The engine emits equivalent
warn!/debug!tracing alongside every log node it writes. - Self-trigger hazard. Nothing excludes
playbook_logfrom Play triggers, so the engine writes into the substrate it watches, bounded only byMAX_CHAIN_DEPTH: 10. - Corrupts under sync. No node-level local-only mechanism exists (
localOnlyis per-property). The dedup fingerprint deliberately excludes node ids and timestamps so the same structural error fingerprints identically on every device — two devices logging the same failure produce the same fingerprint with independently-incrementedoccurrences, which then collide. The counter becomes neither a sum nor a max, just whichever write landed last.
Play errors are operational telemetry, not knowledge. This issue deletes the node-write path and routes the same diagnostics to a general log file that any subsystem can write to, under the existing ~/.nodespace/logs/ convention. MAX_CHAIN_DEPTH enforcement, the seven PlayErrorType variants and fingerprint dedup are retained — only the destination changes.
The logs subcommand is removed from nodespace playbook, and a top-level nodespace logs is added in its place, since the log is no longer playbook-specific. This also resolves the log vs playbook_log naming drift by removing the graph type entirely.
Not in scope: a FeedNode giving users a general view of workspace activity is a separate, later direction. It is named here so Play error logs are not re-added to the graph on the assumption they fill that gap — they do not.
Acceptance Criteria
Play as a first-class declared type
-
playadded toget_core_schemas()asisCore: true, with the field shape documented inplaybook-system.md(description,rules,schema_version) -
playnodes validate against the schema on write, and existingvalidate_play_rulesbehavior is unchanged -
playis NOT added toSIDENAV_CORE_TYPES— no GUI surface in this issue (test asserts the absence, so a later GUI change is deliberate)
Logging
-
playbook_lognode-write path deleted (create_or_update_log_node,create_or_update_repair_log_node); no engine diagnostics reach the graph - Diagnostics written to a general log file under
~/.nodespace/logs/, usable by any subsystem, not playbook-specific -
MAX_CHAIN_DEPTHenforcement,PlayErrorTypevariants and fingerprint dedup retained -
logssubcommand removed fromnodespace playbook - Top-level
nodespace logsadded - Skill guidance updated for both CLI changes:
nodespace logsdocumented in the generated CLI reference, and the removedplaybook logsverb no longer referenced anywhere inpackages/skill/
Linear recipe
- Linear recipe content lives in
packages/coreas typed Rust, following theget_core_schemas()/seed_skill_nodes()pattern - Generator (Rust example, mirroring
gen_skill_md.rs) producespackages/skill/references/linear-recipe.mdfrom that source -
--checkmode fails when the generated doc is stale relative to its source (test) -
SKILL.mdreferences the generated doc - Onboarding wizard offers a Linear-style / Jira-style / Spec-driven / Skip choice as a new step, executing the Linear recipe when chosen
- The same execution path is independently triggerable from Settings, not coupled to wizard-only code
- Schema-id collision during execution is handled by deterministic auto-suffix retry, never silent adoption or silent overwrite, and disclosed in the result shown to the user
-
issueschema created withextends: task, verified to produce realnode_type: "issue"instances (not"task") -
issue's status vocabulary extension usesadd_field_values+mapsToon the inheritedstatusfield — no newissue_statusfield — withbacklog → open,triage → open,in_review → in_progress -
cycleschema created withstart_date/end_date/duration_days(nostatusfield) and atasksrelationship mirroringproject's pattern, targetingtask - Cycle-creation and rollover Plays, plus both validation Plays (sub-issue completion gate, blocker gate), implemented as separate Plays, seeded with
_seed.default_rulesso they are resettable - Several narrow, task-scoped
skillnodes seeded as recipe content (e.g. "Creating an Issue," "Working with Cycles," "Issue Validation Rules" — not one monolithic skill) - Recipe installs on demand only — nothing is added to
seed_agent_nodes, so a workspace that never chooses a methodology is unchanged - No sample
issue/cycleinstances are created by the recipe
Gates
- Tests pass (
bun run test:all) - Code passes
bun run quality:fix
Dropped from the original criteria: PlaybookNode.seed_node_ids tracking — PlaybookNode (ADR-075) remains out of scope per the Architecture Impact section above and is tracked by #2570. Seeded skills are plain skill nodes with no provenance record, consistent with that section's stated scope cut.
Technical Specifications
Reference Files
packages/desktop-app/src-tauri/src/skill_setup.rs(install_skill, ~line 386) — precedent for theconfigure_skillTauri-command pattern and howSKILL.md/references//shims/get bundled and installedpackages/cli/examples/gen_skill_md.rs— the--check/--writegenerator pattern to mirrorpackages/skill/references/— existing reference-doc examples (cli.md,shared-workspaces.md,graph-authored-guidance.md) showing the doc format/style to matchpackages/skill/shims/claude-code/nodespace-hook.ts— confirms shims are generic CLI-verb transports (execFile('nodespace', args)), nothing methodology-specific needed herepackages/cli/src/commands/mcp.rs— confirms the MCP passthrough tool is also a generic CLI-verb transport, nothing methodology-specific needed herepackages/core/src/models/core_schemas.rs—task(~line 44),project(~line 227, especially thetasksrelationship at ~line 371-381),person(~line 1258,tasks/assigneerelationship) schemas — the exact patternsissue/cycleand their relationships mirrorpackages/agent/src/skill_pipeline.rs(seed_skill_nodes, ~line 357) — the existing 11-skill seeding pattern this recipe's own seeded skills follow (narrow, task-scoped, markdown children per ADR-057)packages/desktop-app/src/lib/components/onboarding/onboarding-wizard.svelte—WizardStepunion (~line 28),stepSequencederivation (~line 116-126), existing binary-choice step pattern (skillstep, ~line 463-507) to reference (structurally different — this is a radio/select step, not binary)../nodespace-docs/decisions/074-derived-identity-for-scan-based-triggers.md(ADR-074),../nodespace-docs/decisions/076-schema-field-value-extension-and-task-status-enforcement.md(ADR-076),../nodespace-docs/decisions/078-schema-extends-relationship-for-field-composition.md(ADR-078),../nodespace-docs/decisions/060-playbook-execution-under-multi-device-sync.md(ADR-060),../nodespace-docs/decisions/057-skill-node-markdown-children.md(ADR-057),../nodespace-docs/decisions/038-skill-mediated-tool-routing.md(ADR-038) — mechanisms this recipe depends on
Dependencies
- Implement extends schema relationship with real node_type subtype identity #2598 (implement
extendsschema relationship with realnode_typesubtype identity) — theissueschema's entire premise depends on this - Add computed-date arithmetic to the playbook engine (action values, not just CEL conditions) #2640 (computed-date arithmetic in the playbook engine) — the cycle-creation Play cannot compute
end_datewithout this - Store relationship_type's reverse name as a queryable column on the relationship edge table #2638 → Make graph_resolver.rs direction-aware so Play conditions can walk any relationship's reverse side #2641 (reverse relationship name column, then direction-aware
graph_resolver.rs) — both validation Plays' conditions (open sub-issues, open blockers) depend on reverse traversal
Activity
malibio commentedon Sep 13, 2026
Marked Blocked — not ready for implementation yet:
in_reviewis a distinct status value or folds intoin_progress, whether the install seeds any example Cycle/Issue content, and the exacttask.prioritymapping direction (relabel existing values vs. addurgent/nonealongside them unchanged).task extends: ...— now depends on ADR-078 (../nodespace-docs/decisions/078-schema-extends-relationship-for-field-composition.md), which is itself still being actively revised (theextendsmechanism'snode_typesemantics are under active architectural review as of this comment — see ADR-078's eventual updated text for the committed design). This issue should not be picked up until ADR-078 is finalized and its own implementation has landed.Unblock once both are resolved.
mstomar125 commentedon Sep 15, 2026
Board-accuracy check: this issue's blocker, #2585 (`add_field_values` schema op), closed 2026-09-13 — confirmed the op is genuinely implemented (`packages/core/src/schema/mod.rs`, `FieldValueAddition`/`add_field_values` handling). The other referenced dependency, #2565 (derived identity for scan-based triggers), is also already closed. No other blocker is listed in this issue's own Dependencies section.
Moving to Backlog — genuinely unblocked and pickable now, not held on anything external.
malibio commentedon Sep 15, 2026
Status update: design finalized, dependency chain identified
The recipe design is now finalized and this issue's body has been fully rewritten to match — superseding the earlier framing (which mutated
task.statusdirectly with no distinctissuetype). The Linear recipe now specifiesissueas a realnode_typeviaextends: task(ADR-078), status/priority vocabulary extension viaadd_field_values+maps_to, and two Invariant-class validation Plays (sub-issue completion gate, blocker gate) alongside the cycle-creation/rollover Plays.Remaining as Blocked, not because the design is unsettled, but because five concrete, cross-linked infrastructure issues — each discovered by direct code inspection while designing this recipe — must land first:
extendsschema relationship / realnode_typesubtype identityend_datewithout it)blocks/blocked_by/relates_to/duplicates/creatorrelationships (blocker-validation Play and Reporter field depend on this)This issue should move off Blocked once #2598 has landed (the minimum needed to begin implementation) — the remaining dependencies gate specific Plays within the recipe, not the recipe's foundational schema work.
malibio commentedon Sep 16, 2026
Infrastructure update: #2642 (reject action type) and #2643 (synchronous Invariant execution) — both cited inline in this issue's Plays section as dependencies for the two validation Plays — are now merged (#2644, #2650 respectively). Remaining hard blockers for this recipe: #2598 (
extends, the issue schema's entire premise), #2640 (date arithmetic, blocks cycle-creation), #2638→#2641 (reverse traversal, blocks both validation Plays' conditions specifically — note this is separate from the reject/execution machinery that just landed; the conditions still cannot read has_child/blocked_by in reverse without it).malibio commentedon Sep 17, 2026
Baseline before implementation — Frontend: 256 test files passed, 5214 tests passed (Duration 64.65s).
malibio commentedon Sep 17, 2026
Implementation note — correction to the issue body's status mapping.
The body specifies
backlog -> todoandtriage -> todoas themapsTotargets for the extendedtask.statusvocabulary. There is notodovalue in NodeSpace. Coretask.statusdeclaresopen/in_progress/done/cancelled(packages/core/src/models/core_schemas.rs:58-63), andTaskStatushas matching variants Open/InProgress/Done/Cancelled with no Todo (packages/core/src/models/task_node.rs:109-121).ADR-078 requires every
mapsToto name a value the field already has, sotodowould be rejected at write time. Implementing as:backlog->opentriage->openin_review->in_progress(unchanged from the body)Also confirmed while mapping the surface:
mapsTois the JSON key (camelCase), notmaps_to.playcarrying arulesproperty; there is noplaybook createCLI verb, so the generated reference doc phrases Play installation asnode create --type play.sum,count,add_days) usable inside action params, not as newActionTypevariants.malibio commentedon Sep 18, 2026
Implementation complete; pushing for review.
Seven commits, each a coherent unit:
playas a core schema (backend only — a test pins its absence fromSIDENAV_CORE_TYPES)logging.rs, removeplaybook logsvalidate_schema_pathfixesinstall_recipewith disclosed collision re-keyingListMethodologies/InstallMethodologygRPC + Tauri commandsFour real bugs surfaced, none reachable before this work:
validate_schema_pathrejected built-in structural edges (has_child) thatGraphResolverwalks fine — a condition over sub-issues was refused despite being executableblocked_byreachingissuethroughextends), consulting only the concrete type's own declarations{trigger.node.id}as itsadd_relationshipsource — the ending cycle — so it re-added each task to the cycle it was already in. Everything validated; the work simply never moved. Fixed by merging creation and rollover into one Play, since the successor's id is only reachable as{actions[0].result.id}skill:checknamed a fixed pair of source files, misdirecting anyone hitting recipe driftDeferred decisions, as agreed:
estimate: enum on a modified-Fibonacci scale (1/2/3/5/8), extensible — points not hours, gaps deliberatetriageships in v1, mapping toopenduration_days(default 14) read off the ending cycle, so changing it is a field edit not a Play rewritesum()exists, but no field to write it to without a stored total that would need its own PlayScope note: two scheduled Plays became one. The cron is
0 5 0 * * * *(daily, 00:05).Tests: frontend 258 files / 5231 tests (baseline 256 / 5214); Rust core 34 binaries green;
quality:fixclean.