Skip to content

Comments

fix(taskctl): replace ctx.session.directory with Instance.directory in executeStart#337

Merged
randomm merged 1 commit intodevfrom
fix/issue-336-ctx-session-directory
Feb 24, 2026
Merged

fix(taskctl): replace ctx.session.directory with Instance.directory in executeStart#337
randomm merged 1 commit intodevfrom
fix/issue-336-ctx-session-directory

Conversation

@randomm
Copy link
Owner

@randomm randomm commented Feb 24, 2026

Fixes #336

When taskctl start is called from the PM MCP bridge, ctx.session is not populated, causing a crash. Instance.directory follows the established pattern already used on line 92 (Instance.project.id) and provides the correct project directory.

@randomm randomm merged commit 9f7e6c4 into dev Feb 24, 2026
1 check passed
@randomm randomm deleted the fix/issue-336-ctx-session-directory branch February 24, 2026 06:16
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.

fix(taskctl): ctx.session.directory undefined when taskctl start called from PM MCP bridge

1 participant