[Discuss] CCC architecture audit decision log questions
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3576100. -->
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 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/3573713" title="Status: Closed (fixed)">#3573713: Full architecture review of CCC in prep for 1.0</a></span></p>
<p>The decision log questions to discuss further from the audit:</p>
<p><strong>Decision log questions to avoid rework</strong></p>
<ol>
<li>Expected scale: how many items and selection QPS?</li>
<li>Who can mark items global (admins only?) and should this be audited?</li>
<li>LLM strategy: synchronous or async ranking; caching/TTL and budget?</li>
<li>Retention for usage records: keep full audit or prune aggressively?</li>
<li>Should parent/subcontext constraints be enforced at entity/persistence layer?</li>
<li>What is the testing strategy for programmatic API consumers? , If external modules or integrations call GetAiRelevantContext or AiContextSelector::select() directly, how will backward compatibility be maintained through these refactors given the lack of interface contracts?</li>
</ol>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Discuss questions, make decisions, and create follow-up issues.</p>
<h3 id="summary-remaining-tasks">Target date or deadline</h3>
<p>April 2026</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<ul>
<li>Discuss questions and make decisions</li>
<li>Create follow-up issues as needed</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>
> Related issue: [Issue #3573713](https://www.drupal.org/node/3573713)
issue