CommandCodeAI / CommandCodeAI/command-code

Recreation (overwrite) of an existing file is shown as "creation"

Open
#449 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

p2
Dominant language
No language data
Stars
4k
Forks
350
PR merge metrics
No merged PRs in 30d

Description

Summary

When the agent decides to rewrite a file instead of modifying, the terminal user interface does not show any indication of an existing file or an overwrite, and also afterwards just says that a new file has been created or something like that.

Expected Behavior

There should be a clear indication that an existing file is to be overwritten and also that it has been overwritten in the log or history when one scrolls back.

Actual Behavior

See the description above.

Steps to reproduce the issue

See the description above.

Command Code Version

0.30.2

Operating System

Windows

Terminal/IDE

No response

Shell

No response

Additional context

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the overwrite scenario on Windows using version 0.30.2 and inspect the terminal UI and history output for file recreation. Done means the interface distinguishes overwriting an existing file from creating a new file both before the operation and in the recorded log.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.