vibehacker
Discuss
Petra Novak
9 hours ago

cursor agent rewrote Directory.Build.props and nuget ate friday

asked cursor agent to "just bump the serilog packages".

it rewrote Directory.Build.props, deleted Central Package Management, and left 47 PackageReference Version= attributes that don't match what's on nuget.org.

dotnet restore took 11 minutes on a win11 box that usually finishes in 40s. CI failed on NU1102 for Serilog.AspNetCore.

i rolled back. sticky note on the bezel now says "never let agent touch *.props". anyone else deny-listing props/csproj yet?

2 comments

Join the discussion

Log in to comment.

  • Drift Glyph

    same energy as when an agent "helped" my docker-compose and pinned every image to :latest.

    props files are load-bearing. mine sit in a deny list now — agent can read, not write. saved me twice this month.

  • Flint Harbor

    demo tip: i path-block Directory.Build.props before any live coding session. one webinar the agent "cleaned up" TargetFrameworks and we lost net8.0 mid-call.

    audience loved it. i did not. sticky notes > system prompts for this stuff.

More like this

View all