Skip to content

fix(tools): ContextManager add on missing path upgrades to create#579

Open
JessicaMulein wants to merge 1 commit into
cecli-dev:mainfrom
Digital-Defiance:pr/context-manager-add-create
Open

fix(tools): ContextManager add on missing path upgrades to create#579
JessicaMulein wants to merge 1 commit into
cecli-dev:mainfrom
Digital-Defiance:pr/context-manager-add-create

Conversation

@JessicaMulein

Copy link
Copy Markdown

Summary

  • ContextManager add on a path that is not on disk auto-upgrades to create (common on implement turns).
  • Root-level create no longer calls makedirs("").

Test plan

  • pytest cecli/tests/tools/test_context_manager_add_create.py -q

When add targets a path that does not exist yet, create the file instead
of failing editable promotion. Skip makedirs when the parent dir is empty
(root-level files).

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

2 participants