AI is trying to modify props for a component in the library
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3551657. --> Reported by: [lauriii](https://www.drupal.org/user/1078742) Related to !235 >>> <h3 id="overview">Overview</h3> <p>Currently, it's not allowed to change props / slots for a component that's in the library. It looks like AI is able to bypass this and happily makes changes to props for components that are in the library. </p> <h3 id="proposed-resolution">Proposed resolution</h3> <p>We need to decided whether we should fix this or if it would be better to just allow editing props for components in the library. Even if we allow editing props for components in the library, the AI should probably be aware that the component is in use and changing the props might break existing uses. I don't know why the AI agents are so keen to update the props because when I work with similar prompts in Cursor, AI agents there do not add new props unless it's required.</p> <h3 id="ui-changes">User interface changes</h3>
issue