You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
An issue cannot start until it or its parent task is linked to a software project, and a session launched for it runs in that project's folder #4394
With several repositories in one workspace, an issue has to say which repository it changes. This adds a rule that an issue cannot start without a software project, and makes a session launched for a task run in that project's folder.
Problem Statement
The link already exists: a project's tasks relationship gives every task a project on its reverse side, limited to one, and a software-project carries repository and checkout_path. Nothing requires the link.
nodespace session launch --task <id> does not follow it. --project decides the folder and --task only decides the context, so a launch with only a task runs in a private folder, not in the repository.
Proposed Solution
The rule. A core Play in packages/core/src/playbook/core_plays.rs, an invariant that rejects, registered for issue only. Setting an issue's status to in_progress is refused unless:
the issue is linked to a software project (node.project), or
its parent task is (node.child_of.project).
A plain project does not satisfy it, since it has no repository. The rule looks one level up only: a sub-task of a sub-task links the project itself or through its direct parent, and the refusal message says so. Plain tasks, specs and decisions are not affected. It ships like the other rules of the model, so a user can edit it or switch it off.
The launch. When a session is launched for a task and no project is named, the launch handler (packages/daemon/src/services/agent_session_service.rs) resolves the folder the same way: the task's own software project first, then its parent's. The task's own link wins, which lets one parent hold sub-issues for different repositories. A named --project still decides the folder. A plain task with no software project by either route launches in the private folder as today; an issue in that state is refused with a message naming the missing link.
Acceptance Criteria
An issue with no software project, whose parent has none either, is refused in_progress with a message that says what to link
An issue linked to a software project can start, and so can an issue whose parent task is linked to one
An issue linked only to a plain project is refused
A plain task with no project can still start
A session launched with only a task runs in the folder of the task's software project, or of its parent's when the task has none
When the task and its parent name different software projects, the task's own is used
Launching for an issue with no software project by either route is refused with a message naming the missing link
The condition is tested against a real issue, including the check that the linked project is a software project and not a plain one
Non-Goals
Worktrees: a worktree is a folder on the device and the graph does not track it.
Activity
mstomar125 commentedon Nov 27, 2026
Copied into the NodeSpace workspace as an issue (with its acceptance criteria). Work on it is tracked there, so this public copy is closed.