Open
Conversation
dadbodgeoff
pushed a commit
that referenced
this pull request
Feb 3, 2026
- Add drift_setup to CORE_TOOLS in tool-filter.ts so it's always exposed - Fix path resolution in enterprise-server.ts for drift_setup: - Treat project parameter as a PATH, not a project name - Skip registry lookup since project may not exist yet (e.g., for init action) - Add security check to prevent path traversal - Fix path resolution for drift_projects action=register: - Skip registry lookup since project parameter is the NAME for new project - Use args.path for the actual path - Add security check to prevent path traversal - Update Dockerfile with PR #52 fixes: - Add packages/cortex to build (required by MCP server) - Fix build order: detectors → core → cortex → mcp - Change /project to /workspace for mounting - Add --verbose flag to CMD - Remove --frozen-lockfile to handle lockfile drift Fixes issue where drift_setup action=init with absolute path would fail with 'Project not found' error because it tried to look up the path in the project registry before the project was initialized.
dadbodgeoff
pushed a commit
that referenced
this pull request
Feb 3, 2026
- Add drift_setup to CORE_TOOLS in tool-filter.ts so it's always exposed - Fix path resolution in enterprise-server.ts for drift_setup: - Treat project parameter as a PATH, not a project name - Skip registry lookup since project may not exist yet (e.g., for init action) - Add security check to prevent path traversal - Fix path resolution for drift_projects action=register: - Skip registry lookup since project parameter is the NAME for new project - Use args.path for the actual path - Add security check to prevent path traversal - Update Dockerfile with PR #52 fixes: - Add packages/cortex to build (required by MCP server) - Fix build order: detectors → core → cortex → mcp - Change /project to /workspace for mounting - Add --verbose flag to CMD - Remove --frozen-lockfile to handle lockfile drift Fixes issue where drift_setup action=init with absolute path would fail with 'Project not found' error because it tried to look up the path in the project registry before the project was initialized. Co-authored-by: christianwengert <christianwengert@users.noreply.github.com>
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.
Description
I was not able to build the docker image with
docker build -t mcp-drift .resulting inType of Change
Related Issues
Fixes #(issue number)
How Has This Been Tested?
pnpm test)pnpm lint)pnpm build)docker build now works
Checklist
Screenshots (if applicable)
Add screenshots to help explain your changes.
Additional Notes
Any additional information reviewers should know.