Repository navigation
fix: confine runtime file writes and preserve synced issue status - #61
Merged
Merged
Conversation
- Confine runtime-managed file operations (hooks, MCP config, git askpass, baseline, excludes, sandbox environment) to the workspace root using os.OpenRoot, rejecting symlink and path-traversal escapes. - Keep the platform status, close source and automation state of existing issues on repeated tracker sync; only refresh external content and the recorded external state. - Free collaboration: create a group without an SOP, choose repositories ([] for none) and a sandbox profile; filter tasks by responsible user. - Task sidebar: running / recently ended / earlier groups with failure counts, resizable width, [] and full-width title tags, readable items.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
.git/info/excludeblocks and sandbox environment files — now go through a workspace-rooted handle (os.OpenRoot). A symlinked or traversing path inside a task workspace can no longer redirect these writes outside the workspace. New helpers live ininternal/runtime/managed_files.go.projectId+inputalone.repositoryIdsis optional ([]means no repositories, omitted means all), andsandboxProfileIdorworkflowIdcan supply the environment and initial roles. The task list can be filtered to tasks the current user is responsible for.[]and full-width【】title tags are both supported, and long titles are truncated with a tooltip.Scope
Compatibility
POST /api/task-groupsis backward compatible: existing{workflowId, projectId, input}bodies behave as before.Validation
Safety