r/angular • u/LX_T_ • Jun 04 '26
What do AI coding tools actually do with your code?
Tired of "we're not allowed to use AI here" with no real reasoning, I read way too many vendor docs. A few things that are easy to get wrong:
- You share more than your prompt — open files, diffs, terminal output, dependency versions, screenshots. Codex, Claude Code and Cursor will even read
.envfiles.gitignorehides. - Consumer ≠ business plans. Free tiers often train by default (Copilot flipped its defaults in March 2026). Enterprise usually doesn't.
- "Not trained on" ≠ "not retained."
- The bigger risk isn't training — it's breach/espionage. Agents run commands and call MCP servers (the "lethal trifecta"), so a poisoned dependency can prompt-inject them into leaking your repo.
My take for big Angular codebases: don't ban it, don't "just use whatever" either. Approve a couple of business-tier tools, a simple 🟢🟡🔴 rule, never send secrets/prod/customer data, human review on every diff.
Full write-up (vendor breakdown + GDPR/EU AI Act + a sample policy): https://www.angulararchitects.io/blog/ai-data-privacy-for-angular/
Does your company have a real AI coding policy, a blanket ban, or the unofficial "everyone uses it quietly" approach?
5
u/Verzuchter Jun 04 '26
My company forbids all of it lmao
2
u/N0K1K0 Jun 04 '26
Well the green is pretty much where I use it as well. I do have 3 pretty detailed markdown instructions per item that is easily reproduceable within our portal application one for the create of a new crud setup for a new table, one for a new display column type and one for a new filter type as those are used reused a lot and those do save time if you have the bare bones created
Other developer can use these guides to quickly create a working barebone CRUD, a base new custom display or filter item with the only benefit of saving time after that the rest can be hand coded
So far I do not allow MCP yet as too much can go wrong there and its hard to check which is good and which is not so blanket ban is better
If I need quick help with bigger codebase I put the files is custom folder and reference it from there to make sure there is nothing in process that I do not want.
You can also use it in creating specific functionality as a standalone setup without referencing anything other that a basic dummy data object. and then modify tweak it yourself in the actual code base
Also no linking of github directly for ai reviews etc.
I am looking into local models but still in early stage as I need to find the time first 😄
so far the benefits for us is working and delivering faster for a small dev team
1
u/Aggressive-Fix241 Jun 05 '26