Address todos in CCC language scope form field rendering tests
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3586108. -->
Reported by: [kristen pol](https://www.drupal.org/user/8389)
>>>
<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 from:</p>
<p><span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-2"><a href="https://www.drupal.org/project/ai_context/issues/3586091" title="Status: Fixed">#3586091: Review CCC todo comments for action items</a></span></p>
<p>### Language scope form field rendering (7 tests)</p>
<p>The largest cluster. These tests cover core CRUD for scope values on both context item forms and agent configuration forms. If the language scope doesn't render its form fields, users can't select language-based scoping.</p>
<p>The root cause may be a test setup issue (e.g., language config not installed in `setUp()`) rather than broken production code, but the underlying functionality must be verified as working.</p>
<p>| File | Method | Line |<br>
|------|--------|------|<br>
| `tests/src/Functional/AiContextScopeContextItemFormTest.php` | `testLanguageCheckboxesPresent` | 133 (commented out) |<br>
| `tests/src/Functional/AiContextScopeContextItemFormTest.php` | `testSubmittedScopeValuesAreSaved` | 190 |<br>
| `tests/src/Functional/AiContextScopeContextItemFormTest.php` | `testEditingShowsSavedScopeValues` | 199 |<br>
| `tests/src/Functional/AiContextScopeContextItemFormTest.php` | `testScopeValuesUpdateOnResave` | 208 |<br>
| `tests/src/Functional/AiContextScopeAgentFormTest.php` | `testAllScopeTypesShown` | 145 |<br>
| `tests/src/Functional/AiContextScopeAgentFormTest.php` | `testSubmittedSubscriptionsAreSaved` | 154 |<br>
| `tests/src/Functional/AiContextScopeAgentFormTest.php` | `testEditingShowsSavedSubscriptions` | 163 |</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Fix todos</p>
<h3 id="summary-remaining-tasks">Target date or deadline</h3>
<p>May 2026</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<ul>
<li>Fix todos</li>
<li>Review and run tests</li>
</ul>
<h3 id="summary-ai-usage">AI usage (if applicable)</h3>
<p>[x] 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