A team is designing a long-running agentic workflow that processes large GitHub repository audit logs. The agent must maintain awareness of findings across thousands of log entries without exceeding the model's context window limit. The solution must also ensure that findings from six months ago do not silently influence current audit decisions unless explicitly retrieved. Which combination of THREE design choices correctly addresses these constraints? (Choose THREE.)
- A. Summarize completed audit batches into compressed, structured durable artifacts and archive them outside the active context, making them available on explicit retrieval only.✓ Correct
- B. Store all historical findings in an external semantic search index; retrieve only the findings relevant to the current log entry via similarity search at each step.✓ Correct
- C. Replicate the full context window state to every tool integration endpoint so all tools always have complete historical context.
- D. Use a rolling window that keeps only the last N log entries in the active context, discarding older entries from the window as new ones arrive.
- E. Expand the model's context window by upgrading to a model with a larger token limit so all findings fit in memory simultaneously.
- F. Set a staleness threshold on archived findings so that findings older than a defined period are flagged as potentially stale and require explicit agent confirmation before influencing a decision.✓ Correct
Explanation
Options A, B, and F are correct. Option B (external semantic search with on-demand retrieval) addresses the context window constraint by keeping historical data outside active context and pulling only relevant information — this is the 'external memory' pattern that prevents context overflow. Option A (compressing completed batches into durable archived artifacts) directly maps to 'capturing task progress and decisions as durable artifacts' and ensures older findings do not passively linger in context. Option F (staleness thresholds requiring explicit confirmation) directly addresses 'preventing stale context from influencing agent decisions' — findings older than the threshold are not ignored but must be deliberately retrieved and confirmed, giving the agent control over historical influence. Option D is wrong because a simple rolling window discards older findings entirely rather than archiving them — this causes loss of important audit history that may need to be retrieved deliberately. Option E is wrong because upgrading to a larger context model does not solve the architectural problem of stale context influence; even with a larger window, six-month-old findings would silently affect decisions. Option C is wrong because replicating the full context to all tool endpoints introduces massive redundancy, amplifies stale context problems across every integration, and contradicts the principle of scoping context to task-relevant information.