Redo context item duplicate feature without ECA
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3577426. -->
Reported by: [kristen pol](https://www.drupal.org/user/8389)
Related to !84
>>>
<p>[Tracker]<br>
<strong>Update Summary: </strong>[One-line status update for stakeholders]<br>
<strong>Check-in Date: </strong>MM/DD/YYYY<br>
<strong>Blocked by: </strong>[#XXXXXX] (New issues on new lines)<br>
<strong>Additional Collaborators: </strong> @username1, @username2<br>
<em>Metadata is used by the <a href="https://www.drupalstarforge.ai/" title="AI Tracker">AI Tracker.</a> Docs and additional fields <a href="https://www.drupalstarforge.ai/ai-dashboard/docs" title="AI Issue Tracker Documentation">here</a>.</em><br>
[/Tracker]</p>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Follow-up to:</p>
<p><span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/ai_context/issues/3569967" title="Status: Closed (fixed)">#3569967: [Discuss] Figure out which CCC features can be optional for MVP</a></span></p>
<p>The only reason ECA was used for the context item duplicate feature was that Drupal CMS uses ECA for duplication (not sure why) and Jurgen was able to add the same approach quickly here.</p>
<p>But, it would be easy enough to just add the code ourselves instead and have one less dependency.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Replace ECA Duplicate feature with custom code</p>
<h3 id="summary-remaining-tasks">Target date or deadline</h3>
<p>March 2026</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<ul>
<li>Update code</li>
<li>Review and test</li>
</ul>
<h3 id="summary-ai-usage">AI usage (if applicable)</h3>
<p>[ ] AI Assisted Issue<br>
This issue was generated with AI assistance, but was reviewed and refined by the creator.</p>
<p>[ ] AI Assisted Code<br>
This code was mainly generated by a human, with AI autocompleting or parts AI generated, but under full human supervision.</p>
<p>[ ] AI Generated Code<br>
This code was mainly generated by an AI with human guidance, and reviewed, tested, and refined by a human.</p>
<p>[ ] Vibe Coded<br>
This code was generated by an AI and has only been functionally tested.</p>
> Related issue: [Issue #3569967](https://www.drupal.org/node/3569967)
issue