Skip to content

The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu

Remove stale content_retention references from dashboard and Sentinel pack

Cursor Agentc2ef98e7bfbb
diff --git a/cli/beacon/internal/endpoint/dashboard/static/app.js b/cli/beacon/internal/endpoint/dashboard/static/app.js
index 7e85d6f0..b1860a36 100644
--- a/cli/beacon/internal/endpoint/dashboard/static/app.js
+++ b/cli/beacon/internal/endpoint/dashboard/static/app.js
@@ -233,7 +233,6 @@ function renderSearchState() {
function renderSummaryOnly() {
setText("#log-path", state.status?.log_path || "Runtime log unavailable");
- setText("#retention", `Data retention: ${state.status?.content_retention || "metadata"}`);
setText("#last-updated", state.summary?.last_event_time ? `Last event ${formatTime(state.summary.last_event_time)}` : "");
renderNewEventsIndicator();
renderFilterOptions();
diff --git a/cli/beacon/internal/endpoint/dashboard/static/index.html b/cli/beacon/internal/endpoint/dashboard/static/index.html
index 196bc0ec..157da075 100644
--- a/cli/beacon/internal/endpoint/dashboard/static/index.html
+++ b/cli/beacon/internal/endpoint/dashboard/static/index.html
@@ -153,7 +153,6 @@
<h2>Endpoint Diagnostics</h2>
<p id="log-path" class="muted">Loading runtime log...</p>
</div>
- <div id="retention" class="pill">metadata</div>
</div>
<h2 class="subsection-title">Runtime Inventory</h2>
<div id="harnesses" class="harnesses"></div>
diff --git a/cli/beacon/internal/endpoint/sentinel/pack/dcr-transform.kql b/cli/beacon/internal/endpoint/sentinel/pack/dcr-transform.kql
index 1faed924..aa38d795 100644
--- a/cli/beacon/internal/endpoint/sentinel/pack/dcr-transform.kql
+++ b/cli/beacon/internal/endpoint/sentinel/pack/dcr-transform.kql
@@ -19,5 +19,4 @@ source
Repository = tostring(RawEvent.repository),
Branch = tostring(RawEvent.branch),
Message = tostring(RawEvent.message),
- ContentRetention = tostring(RawEvent.content.retention),
RawData = RawEvent
diff --git a/cli/beacon/internal/endpoint/sentinel/pack/detections.kql b/cli/beacon/internal/endpoint/sentinel/pack/detections.kql
index 5b76611d..9ce27569 100644
--- a/cli/beacon/internal/endpoint/sentinel/pack/detections.kql
+++ b/cli/beacon/internal/endpoint/sentinel/pack/detections.kql
@@ -5,12 +5,6 @@ BeaconRuntime_CL
| where Repository has_any ("production", "infra", "secrets", "security")
| project TimeGenerated, HostName, UserName, HarnessName, SessionId, CommandLine, Repository, Branch, Message
-// Detection idea: Beacon event with retained full content in strict environments.
-BeaconRuntime_CL
-| where TimeGenerated > ago(1h)
-| where ContentRetention == "full"
-| project TimeGenerated, HostName, UserName, HarnessName, EventAction, ContentRetention, Message
-
// Detection idea: agent edits to credential-like files.
BeaconRuntime_CL
| where TimeGenerated > ago(1h)