Skip to content

[Bug]: First agent prompt rewrites tracked guideline files on a clean workspace #76

@bjoernzosel

Description

@bjoernzosel

Platform

macOS

Operating system version

macOs 26.3 (25D125)

System architecture

ARM64 (M1, M2, etc)

PolyScope Version

0.14.0

Bug description

A fresh workspace starts clean, but after the first agent prompt the working tree becomes dirty.

Tracked files like AGENTS.md and CLAUDE.md are rewritten locally even though no user-requested file edit happened.

Steps to reproduce

  1. Create a fresh workspace from main
  2. Verify git status is clean
  3. Send the first prompt to the agent
  4. Check git status again

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions