Duplicate Revisions tabs appear when editing an AI Context Item.
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3577512. -->
Reported by: [annmarysruthy](https://www.drupal.org/user/3664314)
Related to !83
>>>
<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>While editing an AI Context Item, the local task tabs display two identical "Revisions" tabs instead of a single tab.</p>
<p>Steps to reproduce:</p>
<ul>
<li>Create an AI Context Item.</li>
<li>Navigate to the Context Items listing page (/admin/ai/context/items).</li>
<li>Click Edit and observe the local task tabs.</li>
</ul>
<p>Two identical “Revisions” tabs are rendered instead of one.<img src="https://www.drupal.org/files/issues/2026-03-06/duplicate%20revision%20tabs.png" alt="issue image"></p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Implement fix to ensure only one revision tab is registered.</p>
<h3 id="summary-remaining-tasks">Target date or deadline</h3>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<ul>
<li>Identify the duplicate local task source </li>
<li>Implement fix to ensure only one revision tab is registered.</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>
issue