The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu
Go agent-ai-cliagent-harnessesagent-securitybrowser-extensionciclaude-codecloudcodexcursordetection-engineeringjevknowledge-basememorymobile-device-managementobservabilitysecuritysecurity-information-and-event-managementsecurity-toolstelemetrytraces
update docs
Justin D'Souzaf80094e3d08d
diff --git a/README.md b/README.mdindex f427d781..ff89fdeb 100644--- a/README.md+++ b/README.md@@ -2,7 +2,7 @@<img src="images/beacon-hero.png" alt="Beacon" width="860"></p>-<h1 align="center">Asymptote Lab's Agent Beacon</h1>+<h1 align="center">Beacon</h1><p align="center"><a href="https://github.com/asymptote-labs/agent-beacon/releases"><img src="https://img.shields.io/github/v/release/asymptote-labs/agent-beacon" alt="GitHub release"></a>@@ -22,13 +22,13 @@·<a href="https://discord.gg/zdNChS2fBu">Discord</a>·- <a href="https://docs.asymptotelabs.ai/cli/installation">Install</a>+ <a href="https://docs.asymptotelabs.ai/cli/install">Install</a>·- <a href="https://docs.asymptotelabs.ai/cli/security-it-teams">For Security & IT Teams</a>+ <a href="https://docs.asymptotelabs.ai/security">For Security & IT Teams</a>·<a href="https://docs.asymptotelabs.ai/cli/dashboard">Dashboard</a>·- <a href="https://docs.asymptotelabs.ai/cli/command-reference">Commands</a>+ <a href="https://docs.asymptotelabs.ai/cli">Commands</a></p>## Beacon Overview@@ -40,7 +40,7 @@ to see, reconstruct, or reason about what agents actually did.Beacon solves this problem by capturing the full agent execution trace across every[harness](#agent-runtimes) and [environment](#supported-surfaces), and normalizes that-activity into a [single, unified schema](https://docs.asymptotelabs.ai/cli/event-schema).+activity into a [single, unified schema](https://docs.asymptotelabs.ai/telemetry-schema/event-schema).**Key Capabilities:**@@ -49,10 +49,10 @@ activity into a [single, unified schema](https://docs.asymptotelabs.ai/cli/event| **Broad runtime coverage** | [Local agent runtimes](#local-agents), plus [browser chat, CI, cloud agents, and SDKs](#supported-surfaces) || **One unified schema** | Every session, prompt, tool, command, edit, approval, and token in one event model || **Local-first by default** | Data stays on the machine: durable JSONL and a read-only [dashboard](https://docs.asymptotelabs.ai/cli/dashboard), no account |-| **Reviewed cross-harness memory** | Opt-in trace evaluation and human-approved project memory that future agents can retrieve through MCP or Agent Skills |+| **Reviewed cross-harness memory** | Opt-in trace evaluation and explicitly approved project memory that future agents can retrieve through MCP or Agent Skills || **Offline threat detection** | `beacon scan` runs open [Threat Rules](spec/threat-rules/SPEC.md) over your logs, with no network || **Forwards where you already work** | Stream the same log to [your SIEM, observability, or object storage](#output-destinations) |-| **Deploys in one command or fleet-wide** | [One command](https://docs.asymptotelabs.ai/cli/installation) on a laptop, [MDM](#mdm-deployment) across a fleet |+| **Deploys in one command or fleet-wide** | [One command](https://docs.asymptotelabs.ai/cli/install) on a laptop, [MDM](#mdm-deployment) across a fleet |Read the [documentation](https://docs.asymptotelabs.ai) to learn more.@@ -112,7 +112,7 @@ beacon endpoint dashboard**Ways to Run Beacon:**- **Open Source:** free, local-only, your machine and your logs.- [Quickstart](https://docs.asymptotelabs.ai/cli/quickstart)+ [Quickstart](https://docs.asymptotelabs.ai/get-started/quickstart)- **Asymptote Enterprise:** fleet rollout through MDM, managed ingest with per-deviceapproval and revocation, and one dashboard across your organization.[Book a demo →](https://asymptotelabs.ai/contact)@@ -156,23 +156,23 @@ for the full breakdown by surface.| Logo | Runtime | Collection | Session | Prompt | Tool | Command | File | Approval | MCP | Tokens || :-: | --- | --- | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: |-| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/antigravity.png" alt="" width="16"> | [Antigravity CLI](https://docs.asymptotelabs.ai/cli/supported-runtimes-antigravity-cli) | Hooks | ✅ | ✅ | ✅ | ✅ | ✅ | – | – | – |-| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/claude-code.png" alt="" width="16"> | [Claude Code](https://docs.asymptotelabs.ai/cli/supported-runtimes-claude-code) | OTLP + hooks + poll | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |-| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/claude-code.png" alt="" width="16"> | [Claude Cowork](https://docs.asymptotelabs.ai/cli/supported-runtimes-claude-cowork) | OTLP | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |-| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/cline.png" alt="" width="16"> | [Cline](https://docs.asymptotelabs.ai/cli/supported-runtimes-cline) | Plugin + poll | ✅ | ✅ | ✅ | ✅ | ✅ | – | ✅ | ✅ |-| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/codex.png" alt="" width="16"> | [Codex CLI](https://docs.asymptotelabs.ai/cli/supported-runtimes-codex-cli) | OTLP + hooks + poll | ✅ | ✅ | ✅ | ✅ | – | ✅ | – | ✅ |-| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/codex.png" alt="" width="16"> | [Codex Desktop](https://docs.asymptotelabs.ai/cli/supported-runtimes-codex-cli) | OTLP | ✅ | ✅ | ✅ | ✅ | – | ✅ | – | ✅ |-| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/cursor.png" alt="" width="16"> | [Cursor](https://docs.asymptotelabs.ai/cli/supported-runtimes-cursor) | Hooks + poll | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | – |+| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/antigravity.png" alt="" width="16"> | [Antigravity CLI](https://docs.asymptotelabs.ai/runtimes/antigravity-cli) | Hooks | ✅ | ✅ | ✅ | ✅ | ✅ | – | – | – |+| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/claude-code.png" alt="" width="16"> | [Claude Code](https://docs.asymptotelabs.ai/runtimes/claude-code) | OTLP + hooks + poll | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |+| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/claude-code.png" alt="" width="16"> | [Claude Cowork](https://docs.asymptotelabs.ai/runtimes/claude-cowork) | OTLP | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |+| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/cline.png" alt="" width="16"> | [Cline](https://docs.asymptotelabs.ai/runtimes/cline) | Plugin + poll | ✅ | ✅ | ✅ | ✅ | ✅ | – | ✅ | ✅ |+| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/codex.png" alt="" width="16"> | [Codex CLI](https://docs.asymptotelabs.ai/runtimes/codex-cli) | OTLP + hooks + poll | ✅ | ✅ | ✅ | ✅ | – | ✅ | – | ✅ |+| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/codex.png" alt="" width="16"> | [Codex Desktop](https://docs.asymptotelabs.ai/runtimes/codex-cli) | OTLP | ✅ | ✅ | ✅ | ✅ | – | ✅ | – | ✅ |+| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/cursor.png" alt="" width="16"> | [Cursor](https://docs.asymptotelabs.ai/runtimes/cursor) | Hooks + poll | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | – || <img src="https://www.google.com/s2/favicons?domain=deepseek.com&sz=32" alt="" width="16"> | [DeepSeek Harness](https://docs.asymptotelabs.ai/runtimes/deepseek-harness) | Hooks | ✅ | ✅ | ✅ | ✅ | ✅ | – | ✅ | – |-| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/devin.png" alt="" width="16"> | [Devin CLI](https://docs.asymptotelabs.ai/cli/supported-runtimes-devin) | Hooks | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | – |-| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/devin.png" alt="" width="16"> | [Devin Desktop](https://docs.asymptotelabs.ai/cli/supported-runtimes-devin-desktop) | Hooks | – | ✅ | ✅ | ✅ | ✅ | – | ✅ | – |-| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/factory.png" alt="" width="16"> | [Factory Droid](https://docs.asymptotelabs.ai/cli/supported-runtimes-factory-droid) | OTLP + hooks + poll | ✅ | ✅ | ✅ | – | ✅ | ✅ | – | – |+| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/devin.png" alt="" width="16"> | [Devin CLI](https://docs.asymptotelabs.ai/runtimes/devin) | Hooks | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | – |+| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/devin.png" alt="" width="16"> | [Devin Desktop](https://docs.asymptotelabs.ai/runtimes/devin-desktop) | Hooks | – | ✅ | ✅ | ✅ | ✅ | – | ✅ | – |+| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/factory.png" alt="" width="16"> | [Factory Droid](https://docs.asymptotelabs.ai/runtimes/factory-droid) | OTLP + hooks + poll | ✅ | ✅ | ✅ | – | ✅ | ✅ | – | – || <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/vercel-fx.png" alt="" width="16"> | [fx (Vercel Labs)](https://docs.asymptotelabs.ai/runtimes/vercel-fx) | Poll | ✅ | ✅ | ✅ | ✅ | ✅ | – | ✅ | ✅ |-| <img src="https://www.google.com/s2/favicons?domain=gemini.google.com&sz=32" alt="" width="16"> | [Gemini CLI](https://docs.asymptotelabs.ai/cli/supported-runtimes-gemini-cli) | OTLP | – | ✅ | ✅ | – | ✅ | ✅ | ✅ | – |-| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/github-copilot.png" alt="" width="16"> | [GitHub Copilot CLI](https://docs.asymptotelabs.ai/cli/supported-runtimes-github-copilot-cli) | OTLP | ✅ | ✅ | ✅ | – | – | ✅ | – | – |-| <img src="https://www.google.com/s2/favicons?domain=block.xyz&sz=32" alt="" width="16"> | [goose](https://docs.asymptotelabs.ai/runtimes/goose) | OTLP + hooks | ✅ | ✅ | ✅ | ✅ | ✅ | – | ✅ | ✅ |-| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/grok-build.png" alt="" width="16"> | [Grok Build](https://docs.asymptotelabs.ai/cli/supported-runtimes-grok-build) | Hooks + poll | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | – | – |-| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/hermes-agent.png" alt="" width="16"> | [Hermes Agent](https://docs.asymptotelabs.ai/cli/supported-runtimes-hermes-agent) | Hooks + poll | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | – |+| <img src="https://www.google.com/s2/favicons?domain=gemini.google.com&sz=32" alt="" width="16"> | [Gemini CLI](https://docs.asymptotelabs.ai/runtimes/gemini-cli) | OTLP | – | ✅ | ✅ | – | ✅ | ✅ | ✅ | – |+| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/github-copilot.png" alt="" width="16"> | [GitHub Copilot CLI](https://docs.asymptotelabs.ai/runtimes/github-copilot-cli) | OTLP | ✅ | ✅ | ✅ | – | – | ✅ | – | – |+| <img src="https://www.google.com/s2/favicons?domain=block.xyz&sz=32" alt="" width="16"> | [goose](https://docs.asymptotelabs.ai/runtimes/goose) | Adapter only; manual hooks/OTLP | ✅ | ✅ | ✅ | ✅ | ✅ | – | ✅ | ✅ |+| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/grok-build.png" alt="" width="16"> | [Grok Build](https://docs.asymptotelabs.ai/runtimes/grok-build) | Hooks + poll | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | – | – |+| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/hermes-agent.png" alt="" width="16"> | [Hermes Agent](https://docs.asymptotelabs.ai/runtimes/hermes-agent) | Hooks + poll | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | – || <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/kiro.png" alt="" width="16"> | [Kiro](https://docs.asymptotelabs.ai/runtimes/kiro) | Hooks | ✅ | ✅ | ✅ | ✅ | ✅ | – | ✅ | – || <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/muse-code.png" alt="" width="16"> | [Muse Code](https://docs.asymptotelabs.ai/runtimes/muse-code) | Hooks | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | – | – || <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/omp.png" alt="" width="16"> | [Oh My Pi](https://docs.asymptotelabs.ai/runtimes/oh-my-pi) | Extension | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |@@ -183,7 +183,7 @@ for the full breakdown by surface.| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/prime-agent.png" alt="" width="16"> | [Prime Agent](https://docs.asymptotelabs.ai/runtimes/prime-agent) | Extension + poll | ✅ | ✅ | ✅ | ✅ | ✅ | – | – | ✅ || <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/qwen-code.png" alt="" width="16"> | [Qwen Code](https://docs.asymptotelabs.ai/runtimes/qwen-code) | Hooks | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | – | – || <img src="https://www.google.com/s2/favicons?domain=github.com&sz=32" alt="" width="16"> | [Senpi](https://docs.asymptotelabs.ai/runtimes/senpi) | Extension | ✅ | ✅ | ✅ | ✅ | ✅ | – | – | ✅ |-| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/visual-studio-code.png" alt="" width="16"> | [VS Code](https://docs.asymptotelabs.ai/cli/supported-runtimes-vscode) | OTLP + hooks | ✅ | ✅ | ✅ | ~ | ~ | – | ~ | – |+| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/visual-studio-code.png" alt="" width="16"> | [VS Code](https://docs.asymptotelabs.ai/runtimes/vscode) | OTLP + hooks | ✅ | ✅ | ✅ | ~ | ~ | – | ~ | – |#### Browser Chat@@ -199,7 +199,7 @@ for the full breakdown by surface.| <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/claude-code.png" alt="" width="16"> | [Claude Code Cloud Agents](https://docs.asymptotelabs.ai/claude-code-cloud-agents) | Sandbox hooks → GCS or S3 | ✅ | ✅ | ✅ | ✅ | ✅ | – || <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/cursor.png" alt="" width="16"> | [Cursor Cloud Agents](https://docs.asymptotelabs.ai/cursor-cloud-agents) | Sandbox hooks → GCS or S3 | – | ✅ | ✅ | ✅ | ✅ | – || <img src="cli/beacon/internal/endpoint/dashboard/static/runtime-logos/devin.png" alt="" width="16"> | [Devin Cloud Agents](https://docs.asymptotelabs.ai/devin-cloud-agents) | API poll → GCS | ✅ | ✅ | – | – | – | ✅ |-| <img src="https://www.google.com/s2/favicons?domain=github.com&sz=32" alt="" width="16"> | [CI jobs](https://docs.asymptotelabs.ai/supported-runtimes-claude-code-ci) | `beacon ci exec` → temporary local collector | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |+| <img src="https://www.google.com/s2/favicons?domain=github.com&sz=32" alt="" width="16"> | [CI jobs](https://docs.asymptotelabs.ai/runtimes/claude-code-ci) | `beacon ci exec` → temporary local collector | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |##### SDK Instrumentationdiff --git a/docs/architecture/architecture.mdx b/docs/architecture/architecture.mdxindex c9dfd3da..cc18a399 100644--- a/docs/architecture/architecture.mdx+++ b/docs/architecture/architecture.mdx@@ -91,7 +91,13 @@ Beacon writes one JSON object per line to the [runtime JSONL log](/concepts/coreEvents from every surface share session, run, tool-call, and event identifiers, so one agent session reconstructs as an ordered timeline instead of disconnected records. `gen_ai.tool.call.id` carries the runtime's own name for a tool invocation, and `event.id` is derived from the event itself, so a hook and an OTLP capture of the same action agree on identity.-The local [dashboard](/concepts/core-concepts#dashboard) reads recent runtime logs over a loopback-only service for rollout validation and investigation, with Log Search, Detections and Findings, and a Security Overview. Token attribution rolls up through the dashboard token view and [`beacon token-usage`](/cli/token-usage). The dashboard is read-only: it inspects local state and never mutates endpoint configuration or telemetry.+The local [dashboard](/concepts/core-concepts#dashboard) reads recent runtime logs+over a loopback-only service for rollout validation and investigation, with+session timelines, activity summaries, Detections and Findings, Token Usage,+Agent Inventory, and read-only Memory. Token attribution rolls up through the+dashboard token view and [`beacon token-usage`](/cli/token-usage). The dashboard+is read-only: it inspects local state and never mutates endpoint configuration,+telemetry, or memory review state.### Detectdiff --git a/docs/changelog/cli.mdx b/docs/changelog/cli.mdxindex 58cb6ffa..e2db47d0 100644--- a/docs/changelog/cli.mdx+++ b/docs/changelog/cli.mdx@@ -13,6 +13,37 @@ Stay up to date with the latest changes to the Agent Beacon CLI.### Unreleased+### v1.3.17 · September 21, 2026++- **Reviewed cross-harness memory** · Beacon now has an explicit local learning+ workflow under `beacon memory`. Evaluations select local traces, optionally call+ TypeSafe Jev's System One API with a bounded redacted projection, and persist+ results in a local `memory.db` beside the endpoint log base directory. Reviewers+ can list, inspect, approve, reject, or supersede memory candidates before any+ project memory is created.+- **Approved memory reuse through MCP and Agent Skills** · `beacon mcp serve` now+ exposes approved-memory tools (`search_memory`, `get_memory`, and+ `get_memory_context`) alongside the existing local activity tools. Approved+ memory can also be previewed or installed as deterministic Agent Skills with+ `beacon memory skills preview|install`, writing to `.agents/skills/<slug>/SKILL.md`+ only through an explicit CLI action.+- **Memory dashboard and docs** · The local dashboard adds a read-only Memory page+ for evaluations, candidates, and approved memories. The cross-harness memory+ concept and CLI reference document the Jev boundary, project scoping, MCP reuse,+ and Agent Skill publishing.++### v1.3.16 · September 20, 2026++- **Session-centric local dashboard** · The dashboard root now groups local runtime+ activity by agent session, showing prompt, risk, harness, model, repository,+ duration, activity counts, and last-artifact summaries. Session detail pages add+ timelines, severity and type filters, metadata summaries, raw JSON drawers, and+ value inspectors while staying loopback-only and read-only.+- **Dashboard navigation refresh** · Local investigation views now separate Agent+ Activity Sessions, Agent Activity analytics, Findings, Detections, Token Usage,+ Agent Inventory, and Memory so rollout validation and local triage no longer+ depend on a flat event table.+### v1.3.15 · September 19, 2026- **Local session-store sync across more runtimes** · Beacon can now backfilldiff --git a/docs/cli/dashboard.mdx b/docs/cli/dashboard.mdxindex fdff0ade..ecaf8888 100644--- a/docs/cli/dashboard.mdx+++ b/docs/cli/dashboard.mdx@@ -7,14 +7,6 @@ description: "Run the local Beacon endpoint dashboard"Beacon includes a local-only dashboard for investigating the runtime JSONL log. The dashboard binds to loopback by default, has no external network dependency during normal use, and is intended for local investigation rather than remote administration.-<Frame caption="Log Search helps investigate Beacon endpoint events by harness, model, severity, category, quick filter, and free-text query.">- <img src="/images/dashboard-log-search.png" alt="Beacon endpoint Log Search view showing investigation filters, quick filters, event rows, and model-aware search controls." />-</Frame>--<Frame caption="Security Overview summarizes local AI agent activity, risk signals, harnesses, models, repositories, MCP servers, and runtime inventory.">- <img src="/images/dashboard-overview.png" alt="Beacon endpoint Security Overview showing security posture metrics, top harnesses, top models, top repositories, MCP servers, and runtime inventory." />-</Frame>-```bash title="Command syntax"beacon endpoint dashboard```@@ -25,19 +17,42 @@ beacon endpoint dashboard## What it shows-The dashboard reads the configured runtime JSONL log and provides a read-only view of local Beacon events. It follows Beacon's local rotation pattern, so Log Search can include the active file and numbered archives such as `runtime.jsonl.1`. In the default CLI setup, it reads the same per-user log used by Antigravity CLI, Claude Code, Cline, Cursor, Devin CLI, Devin Desktop, Factory, Grok Build, Hermes Agent, and OpenCode hooks, Claude Code OTLP, Codex CLI and Codex Desktop OTLP, optional Gemini CLI OTLP, Factory Droid OTLP, and OpenClaw Gateway OTLP telemetry.--- **Log Search:** investigate event rows with free-text search, harness, model, severity, and category filters.-- **Detections:** browse the active [threat-rule](/detections) set that Beacon would use for local scans, including rules installed in the local store or the built-in baseline when no store is installed.-- **Findings:** run the active rules over the configured runtime log on demand and review matching evidence with severity and session filters.-- **Quick filters:** focus on high-severity events, failures, approvals, MCP activity, file changes, commands, and events that may need review.-- **Security Overview:** review event totals, needs-review counts, high or critical activity, denied or blocked activity, failed tools, sessions, top harnesses, top models, top repositories, and MCP servers.-- **Runtime inventory:** inspect [Inventory Local Agent Runtimes](/guides/inventory) for detected harnesses and telemetry status across supported local runtimes.-- **Runtime-log source:** see source details and warnings when a system collector may be writing OTLP events to a different log.-- **Rotated archives:** open event details from active or archived runtime logs, even when older archive numbers have already been pruned.+The dashboard reads the configured runtime JSONL log and provides a read-only view+of local Beacon events. It follows Beacon's local rotation pattern, so session+lists and event details can include the active file and numbered archives such as+`runtime.jsonl.1`. In the default CLI setup, it reads the same per-user log used+by Antigravity CLI, Claude Code, Cline, Cursor, Devin CLI, Devin Desktop, Factory+Droid, Grok Build, Hermes Agent, OpenCode, and the other supported hook, plugin,+poll, and OTLP collection paths.++- **Agent Activity Sessions:** browse grouped agent sessions with risk, prompt,+ harness, model, repository, duration, activity counts, and last-artifact+ summaries.+- **Session detail:** open a session timeline with metadata, activity and severity+ summaries, event filters, raw JSON, and value inspectors.+- **Agent Activity:** review aggregate local activity, risk signals, harnesses,+ models, repositories, MCP servers, and runtime inventory.+- **Memory:** inspect read-only counts and tables for local evaluations, review+ candidates, and approved project memories from `memory.db`.+- **Token Usage:** review runtime-reported token usage and cost where sources+ provide it.+- **Detections:** browse the active [threat-rule](/detections) set that Beacon+ would use for local scans, including rules installed in the local store or the+ built-in baseline when no store is installed.+- **Findings:** run the active rules over the configured runtime log on demand and+ review matching evidence with severity and session filters.+- **Agent Inventory:** inspect [Inventory Local Agent Runtimes](/guides/inventory)+ for detected harnesses, MCP servers, Agent Skills, hooks, and telemetry status.+- **Runtime-log source:** see source details and warnings when a system collector+ may be writing OTLP events to a different log.+- **Rotated archives:** open event details from active or archived runtime logs,+ even when older archive numbers have already been pruned.The Detections and Findings screens mirror the same local rule resolution and scan behavior used by [`beacon scan`](/cli/scan). They do not fetch rule packs, mutate telemetry, or require a hosted Beacon account.+The Memory screen is also read-only. Candidate approval, rejection, superseding,+Jev evaluation, and Agent Skill installation stay in [`beacon memory`](/cli/memory).+## Flags| Flag | Description |diff --git a/docs/cli/index.mdx b/docs/cli/index.mdxindex f5a20b95..4c3fa8d8 100644--- a/docs/cli/index.mdx+++ b/docs/cli/index.mdx@@ -38,6 +38,7 @@ Top-level Agent Beacon CLI commands.| [`beacon doctor`](/cli/endpoint-doctor) | Alias for `beacon endpoint doctor`. || [`beacon endpoint`](/cli/endpoint) | Manage local endpoint telemetry, runtime logs, and integrations. || [`beacon inventory`](/cli/endpoint-inventory) | Alias for `beacon endpoint inventory`. |+| [`beacon memory`](/cli/memory) | Evaluate traces, review candidates, and install approved project memory. || [`beacon mcp`](/cli/mcp) | Expose local Beacon activity to MCP clients. || [`beacon rules`](/cli/rules) | Manage and author Beacon threat-detection rules. || [`beacon scan`](/cli/scan) | Run threat-detection rules over local endpoint telemetry. |diff --git a/docs/cli/mcp-doctor.mdx b/docs/cli/mcp-doctor.mdxindex ac46c064..4108f11c 100644--- a/docs/cli/mcp-doctor.mdx+++ b/docs/cli/mcp-doctor.mdx@@ -11,7 +11,9 @@ description: "Validate local Beacon MCP setup"beacon mcp doctor```-Doctor resolves the effective runtime log path, checks transport settings, samples readable events and archives, and confirms that the expected MCP tools are registered.+Doctor resolves the effective runtime log path, checks transport settings, samples+readable events and archives, and confirms that the expected MCP tools are+registered. Those tools cover both local activity and approved project memory.## Checks@@ -27,6 +29,10 @@ Doctor reports:- Readable runtime archives- Registered MCP tools+The expected tool set is `search_activity`, `summarize_activity`,+`get_activity_event`, `list_activity_filters`, `search_memory`, `get_memory`, and+`get_memory_context`.+If the runtime log does not exist yet, doctor reports that Beacon MCP can still start, but activity answers will be empty until endpoint telemetry writes events.## Flagsdiff --git a/docs/cli/mcp-serve.mdx b/docs/cli/mcp-serve.mdxindex 58672b7a..05a6bc58 100644--- a/docs/cli/mcp-serve.mdx+++ b/docs/cli/mcp-serve.mdx@@ -11,7 +11,21 @@ description: "Run the local Beacon MCP server"beacon mcp serve```-The server reads the configured Beacon runtime JSONL log and exposes compact activity tools to MCP clients. Use stdio for clients that launch Beacon as a subprocess. Use HTTP only for local loopback testing or local tools that connect to a running server.+The server reads the configured Beacon runtime JSONL log and the approved-memory+store next to the endpoint log base directory. It exposes compact activity tools+plus read-only approved-memory tools to MCP clients. Use stdio for clients that+launch Beacon as a subprocess. Use HTTP only for local loopback testing or local+tools that connect to a running server.++Registered tools:++- `search_activity`+- `summarize_activity`+- `get_activity_event`+- `list_activity_filters`+- `search_memory`+- `get_memory`+- `get_memory_context`## Flagsdiff --git a/docs/cli/mcp.mdx b/docs/cli/mcp.mdxindex dd90dae0..8b397e73 100644--- a/docs/cli/mcp.mdx+++ b/docs/cli/mcp.mdx@@ -5,13 +5,19 @@ description: "Expose local Beacon activity to MCP clients"## Command overview-The `beacon mcp` command group exposes local Beacon endpoint activity to MCP clients so an assistant can search, summarize, and retrieve compact event records from the local `runtime.jsonl` log.+The `beacon mcp` command group exposes local Beacon endpoint activity and+approved project memory to MCP clients. An assistant can search, summarize, and+retrieve compact event records from the local `runtime.jsonl` log, then retrieve+reviewed memory that was explicitly approved through [`beacon memory`](/cli/memory).```bash title="Command syntax"beacon mcp [command]```-The server reads the same local runtime log used by the [dashboard](/cli/dashboard). It supports stdio for desktop MCP clients and loopback HTTP JSON-RPC for local tools that connect to a running server.+The server reads the same local runtime log used by the [dashboard](/cli/dashboard)+and the local `memory.db` store next to the endpoint log base directory. It+supports stdio for desktop MCP clients and loopback HTTP JSON-RPC for local tools+that connect to a running server.## Commands@@ -37,9 +43,17 @@ Beacon exposes these MCP tools:| `summarize_activity` | Summarize local Beacon activity over a time window and optional filters. || `get_activity_event` | Fetch one compact event by an ID returned from `search_activity`. || `list_activity_filters` | List common filter values found in local Beacon activity logs. |+| `search_memory` | Search approved Beacon project memory and return compact summaries. |+| `get_memory` | Fetch one approved memory item by ID. |+| `get_memory_context` | Return a small approved-memory context set for the current task. |Search and summary tools accept filters such as `since`, `until`, `limit`, `q`, `harness`, `model`, `action`, `severity`, `category`, `repository`, `session`, `file`, `command`, `mcp`, `approval`, `decision`, `policy`, `review`, and `wazuh_level`.+Memory tools read approved project memory only. They do not run Jev, approve+candidates, install Agent Skills, or expose pending/rejected candidates. Use+`project_id` or the MCP client's project context when a client needs memory for a+specific repository.+## Flags| Flag | Description |@@ -51,7 +65,9 @@ Search and summary tools accept filters such as `since`, `until`, `limit`, `q`,| `--addr ADDR` | Loopback HTTP JSON-RPC listen address for `--transport http`. Defaults to `127.0.0.1:8766` |<Note>- `beacon mcp` only reads local Beacon runtime logs. It does not require a hosted Beacon account, and HTTP transport should remain bound to loopback.+ `beacon mcp` only reads local Beacon runtime logs and approved local memory. It+ does not require a hosted Beacon account, and HTTP transport should remain bound+ to loopback.</Note>## Relateddiff --git a/docs/cli/memory.mdx b/docs/cli/memory.mdxindex 7a178c97..f4645f41 100644--- a/docs/cli/memory.mdx+++ b/docs/cli/memory.mdx@@ -14,6 +14,21 @@ The commands are grouped by resource:- `beacon memory candidates list|show|approve|reject|supersede`- `beacon memory skills preview|install`+All subcommands accept the common endpoint and project-scope flags:++| Flag | Description |+|------|-------------|+| `--user` | Use per-user endpoint paths. Enabled by default |+| `--system` | Use system endpoint paths |+| `--log-path <path>` | Runtime JSONL log path |+| `--project <path>` | Project path for memory scoping. Defaults to the current directory |+| `--json` | Print machine-readable JSON |++Beacon stores learning artifacts in `memory.db` next to the resolved endpoint base+directory for the runtime log. The store is durable local state and is scoped by+the resolved project ID, so approved memory for one repository is not automatically+returned for another.+## Evaluate tracesPreview selected traces and estimated Jev calls without a network request:@@ -35,10 +50,26 @@ Useful flags:- `--trace <id>` evaluates one trace ID.- `--harness <name>` filters traces by harness.- `--since <rfc3339>` and `--until <rfc3339>` bound the trace window.+- `--limit <n>` and `--page <n>` page through selected traces.+- `--query <text>` or `-q <text>` searches trace text before evaluation.- `--jev-model <model>` selects the Jev model, such as `jev-latest` or a pinned version.- `--jev-endpoint <url>` overrides the TypeSafe System One endpoint.+- `--jev-api-key <key>` overrides API key lookup.+- `--jev-cost-per-trace <usd>` changes the dry-run cost estimate.+- `--timeout <duration>` sets the Jev request timeout.- `--json` prints machine-readable output.+`--jev-api-key` defaults to `TYPESAFE_API_KEY`, then `BEACON_JEV_API_KEY`.+`--jev-endpoint` can also come from `BEACON_JEV_ENDPOINT`, and the model can come+from `BEACON_JEV_MODEL`.++List and inspect stored evaluations:++```bash+beacon memory evaluations list --limit 25+beacon memory evaluations show <evaluation-id>+```+## Review candidatesList generated candidates:@@ -47,6 +78,13 @@ List generated candidates:beacon memory candidates list```+Filter candidate review queues:++```bash+beacon memory candidates list --state pending --kind workflow+beacon memory candidates list -q "package smoke"+```+Inspect one candidate:```bash@@ -66,6 +104,10 @@ beacon memory candidates reject <candidate-id> --reason "too specific"beacon memory candidates supersede <candidate-id> --replacement <memory-id>```+Approving creates an approved memory record for the resolved project. Rejecting and+superseding preserve the review transition with the optional `--reason` so later+reviews can explain why a candidate was not installed.+## Install Agent SkillsPreview the skill content without writing:@@ -88,6 +130,11 @@ Beacon writes:Existing files are not overwritten unless you pass `--force`.+Skill files include Beacon provenance so future reviewers can trace the generated+instruction back to the approved memory and source trace. Installation is a write+to the current project or the path passed with `--project`; it is never triggered+by endpoint hooks or MCP reads.+## MCP retrieval`beacon mcp serve` exposes approved memory as read-only MCP tools:@@ -99,6 +146,10 @@ Existing files are not overwritten unless you pass `--force`.These tools let future agents retrieve approved project knowledge regardless of whichharness originally produced the trace.+The local dashboard also includes a read-only Memory page showing evaluation,+candidate, and approved-memory counts. Mutating actions still live in this CLI+workflow.+## Network boundary`beacon memory evaluations run` is the only command in this workflow that can calldiff --git a/docs/cli/token-usage.mdx b/docs/cli/token-usage.mdxindex c51cb5fc..30e22a1e 100644--- a/docs/cli/token-usage.mdx+++ b/docs/cli/token-usage.mdx@@ -61,7 +61,7 @@ Cline reports usage once per task rather than per model call, because Beacon's r| VS Code Copilot | As above || Factory Droid | As above || Grok Bot | Reaches Beacon only through Cursor's server-side OpenTelemetry export, so usage arrives only if that export carries the semconv names |-| goose | goose's `chat` spans carry the full `gen_ai.usage.*` set, cache reads and writes included, under the exact semconv names -- that much is read out of the runtime rather than hoped for. What is conditional is whether it arrives: usage reaches Beacon only over OTLP, so a goose endpoint with hooks installed and `beacon endpoint install --harness goose` never run is correctly silent rather than faulty. goose reports no cost. See [goose](/runtimes/goose) |+| goose | goose's `chat` spans carry the full `gen_ai.usage.*` set, cache reads and writes included, under the exact semconv names -- that much is read out of the runtime rather than hoped for. What is conditional is whether it arrives: usage reaches Beacon only over manually configured OTLP, so a hooks-only goose setup is correctly silent rather than faulty. goose reports no cost. See [goose](/runtimes/goose) |This table records what Beacon is built to read, not what your machine actually produced. A runtime can be listed here and still contribute nothing, because it was never run, or because its build reports no usage.diff --git a/docs/concepts/core-concepts.mdx b/docs/concepts/core-concepts.mdxindex dd8a8de0..62522117 100644--- a/docs/concepts/core-concepts.mdx+++ b/docs/concepts/core-concepts.mdx@@ -130,7 +130,11 @@ The **Google Cloud Storage content pack** is Beacon's generated setup guidance,## Dashboard-The **dashboard** is a loopback-only local view over Beacon runtime logs. It includes Log Search for investigating events, Detections and Findings for reviewing local threat-rule matches, and Security Overview for summarizing local activity, risk signals, harnesses, models, repositories, MCP servers, and runtime inventory without requiring a hosted Beacon account.+The **dashboard** is a loopback-only local view over Beacon runtime logs and+adjacent local stores. It includes Agent Activity Sessions and session detail for+investigating timelines, Agent Activity for local summaries, Detections and+Findings for reviewing local threat-rule matches, Memory for read-only learning+state, Token Usage, and Agent Inventory without requiring a hosted Beacon account.## Agent runtime inventorydiff --git a/docs/concepts/cross-harness-memory.mdx b/docs/concepts/cross-harness-memory.mdxindex 04e229b3..ab37930b 100644--- a/docs/concepts/cross-harness-memory.mdx+++ b/docs/concepts/cross-harness-memory.mdx@@ -45,6 +45,11 @@ provenance, evaluator model, and usage metadata when the API reports it.Use `--dry-run` first to preview selected traces and estimated calls without makinga network request.+The evaluator uses the hosted TypeSafe endpoint and `jev-latest` by default. Set+`TYPESAFE_API_KEY` or `BEACON_JEV_API_KEY` for hosted evaluation, or pass+`--jev-endpoint` / `BEACON_JEV_ENDPOINT` and `--jev-model` / `BEACON_JEV_MODEL`+to target an internal compatible evaluator.+## Local storage and scopeLearning artifacts are stored in `memory.db` next to the endpoint runtime log base@@ -54,6 +59,10 @@ Approved memory is scoped to the resolved project. Cross-project or user-globalmemory is not automatic. If you install a skill, Beacon writes it under the currentproject's `.agents/skills/<slug>/SKILL.md`.+Project scope is derived from the current working directory by default. Use+`--project <path>` when reviewing a trace for a different repository or when a+client needs to retrieve memory for a specific project.+## Reuse surfacesBeacon exposes approved memory in two local ways:@@ -74,6 +83,8 @@ retrieve later.- Jev calls are made only by the explicit `beacon memory evaluations run` command.- Trace projections are bounded and redacted before being sent.- Candidate approval and skill installation are explicit CLI actions.+- The dashboard's Memory page is read-only; review transitions and skill writes stay+ in the CLI.If your organization forbids external evaluation, skip `beacon memory evaluations run`or point it at an internal compatible evaluator.diff --git a/docs/get-started/overview.mdx b/docs/get-started/overview.mdxindex c4d5421b..84c1e599 100644--- a/docs/get-started/overview.mdx+++ b/docs/get-started/overview.mdx@@ -1,6 +1,6 @@---title: "Beacon Overview"-description: "Beacon is the open-source self-improving memory layer for AI agents."+description: "Beacon is the open-source trace and reviewed-memory layer for AI agents."---Beacon captures activity across agent harnesses and turns it into a shared history you can search, debug, analyze, and learn from.@@ -28,7 +28,8 @@ Every agent session contains useful context: debugging paths, repository conventBeacon captures that history so it can be reused across future runs and across different harnesses.-Every run adds to the knowledge base.+Every run can add to the local trace history. Reusable project memory is created+only when you explicitly evaluate traces and approve candidates.| Capability | Local | Beacon Managed || --- | --- | --- |diff --git a/docs/guides/agent-runtime-telemetry.mdx b/docs/guides/agent-runtime-telemetry.mdxindex b11e0346..d1fb0d7e 100644--- a/docs/guides/agent-runtime-telemetry.mdx+++ b/docs/guides/agent-runtime-telemetry.mdx@@ -57,7 +57,7 @@ If the validation event appears but runtime activity does not, check [Inventory## 2. Open the local dashboard-Open Log Search and Security Overview:+Open the local dashboard:```bash title="Open the dashboard"beacon endpoint dashboard --open@@ -80,7 +80,7 @@ Beacon normalizes runtime-specific signals into the [Endpoint Event Schema](/tel## 4. Investigate activity-In Log Search, start with:+In Agent Activity Sessions and Agent Activity, start with:- Harness or model- Severity or needs-reviewdiff --git a/docs/guides/inventory.mdx b/docs/guides/inventory.mdxindex d6b0d54c..c9659a59 100644--- a/docs/guides/inventory.mdx+++ b/docs/guides/inventory.mdx@@ -195,7 +195,7 @@ Check whether:Collect, inspect, and forward normalized telemetry from local agent runtimes.</Card><Card title="beacon endpoint dashboard" icon="chart-line" href="/cli/dashboard">- Open the local dashboard and review Security Overview.+ Open the local dashboard and review Agent Activity, Agent Inventory, and Memory.</Card><Card title="beacon endpoint inventory" icon="clipboard-list" href="/cli/endpoint-inventory">Review flags, examples, and JSON output behavior.diff --git a/docs/guides/local-testing/dashboard.mdx b/docs/guides/local-testing/dashboard.mdxindex 6e98e0c7..3428c9b5 100644--- a/docs/guides/local-testing/dashboard.mdx+++ b/docs/guides/local-testing/dashboard.mdx@@ -1,13 +1,18 @@---title: "Test the Local Dashboard"-description: "Use the local Beacon dashboard to validate endpoint events and security summaries"+description: "Use the local Beacon dashboard to validate endpoint events, sessions, memory, and findings"---## Overview-The Beacon endpoint dashboard is a local-only, read-only UI for inspecting the runtime JSONL log. Use it after health checks and validation events to confirm that local events are visible to an analyst.+The Beacon endpoint dashboard is a local-only, read-only UI for inspecting the+runtime JSONL log, active threat rules, runtime inventory, token usage, and+approved-memory state. Use it after health checks and validation events to confirm+that local telemetry is visible to an analyst.-This guide shows how to open the dashboard, write a known event, verify Log Search, and review Security Overview.+This guide shows how to open the dashboard, write a known event, verify activity+views, inspect session detail when session metadata is present, and review Memory,+Findings, Detections, Inventory, and Token Usage.## Setup@@ -50,36 +55,56 @@ To inspect a specific runtime log:beacon endpoint dashboard --log-path /path/to/runtime.jsonl```-## 2. Test log search+## 2. Test activity visibility-Write a validation event, then open Log Search and confirm the event appears in the table.+Write a validation event, then open the dashboard and confirm the event is visible+in the local activity views.-```bash title="Create data for Log Search"+```bash title="Create data for dashboard activity views"beacon endpoint test-eventbeacon endpoint dashboard --open```-Use filters and quick filters to narrow the view by harness, model, severity, category, failures, approvals, MCP activity, file changes, commands, or events that may need review. Event details should open for rows from either the active log or a rotated archive.+The root page groups events with a session ID into **Agent Activity Sessions**.+Synthetic validation events may not have enough session metadata to become a rich+session row, so use **Agent Activity** and event details to validate a controlled+single event.-<Frame caption="Log Search helps investigate Beacon endpoint events by harness, model, severity, category, quick filter, and free-text query.">- <img src="/images/dashboard-log-search.png" alt="Beacon endpoint Log Search view showing investigation filters, quick filters, event rows, and model-aware search controls." />-</Frame>+Use filters to narrow activity by harness, model, severity, category, failures,+approvals, MCP activity, file changes, commands, session, or events that may need+review. Event details should open for rows from either the active log or a rotated+archive.-## 3. Test security overview+## 3. Review sessions and summaries-Open Security Overview after writing test events or generating local agent activity. Confirm the summary cards and inventory panels reflect the local runtime log you are testing.+Generate local agent activity with a supported runtime, then use **Agent Activity+Sessions** to open a session detail page. Confirm the prompt, harness, model,+repository, activity counts, severity summary, event timeline, and raw JSON drawer+reflect the same runtime log you are testing.-<Frame caption="Security Overview summarizes local AI agent activity, risk signals, harnesses, models, repositories, MCP servers, and runtime inventory.">- <img src="/images/dashboard-overview.png" alt="Beacon endpoint Security Overview showing security posture metrics, top harnesses, top models, top repositories, MCP servers, and runtime inventory." />-</Frame>+Open **Agent Activity** to review aggregate event totals, needs-review counts,+high or critical activity, denied or blocked activity, failed tools, sessions,+top harnesses, top models, top repositories, and MCP servers.-Security Overview is useful for confirming event totals, needs-review counts, high or critical activity, denied or blocked activity, failed tools, sessions, top harnesses, top models, top repositories, MCP servers, and runtime inventory.+## 4. Review Memory, Findings, and Inventory++Use the remaining local views to check adjacent state:++- **Memory:** read-only evaluation, candidate, and approved-memory counts from+ `memory.db`.+- **Detections:** the active threat-rule set from the local rules store or built-in+ baseline.+- **Findings:** on-demand rule matches over the configured runtime log.+- **Agent Inventory:** detected runtimes, MCP servers, Agent Skills, hooks, and+ telemetry status.+- **Token Usage:** runtime-reported token counts and cost where supported.## Key features demonstrated- Dashboard startup against the expected runtime log.-- Log Search visibility for a controlled validation event.-- Security Overview summaries for local runtime activity.+- Activity visibility for a controlled validation event.+- Session browsing and detail views for real agent runs.+- Memory, findings, detections, token, and inventory views.- Loopback-only inspection without a hosted Beacon account.## Troubleshootingdiff --git a/docs/guides/local-testing/endpoint-validation.mdx b/docs/guides/local-testing/endpoint-validation.mdxindex f6718ee7..1d30c7ef 100644--- a/docs/guides/local-testing/endpoint-validation.mdx+++ b/docs/guides/local-testing/endpoint-validation.mdx@@ -59,7 +59,8 @@ wrote validation event: ok## View results-The final status check should show a recent last Beacon event. If you open the dashboard, Log Search should include the synthetic validation event.+The final status check should show a recent last Beacon event. If you open the+dashboard, the local activity views should include the synthetic validation event.```bash title="Open dashboard"beacon endpoint dashboard --opendiff --git a/docs/guides/local-testing/events.mdx b/docs/guides/local-testing/events.mdxindex 3e26085e..d1b4ded1 100644--- a/docs/guides/local-testing/events.mdx+++ b/docs/guides/local-testing/events.mdx@@ -104,7 +104,9 @@ beacon endpoint statusbeacon endpoint dashboard --open```-The status output should include a recent last Beacon event when the runtime log has been written successfully. The dashboard should show the validation event in Log Search.+The status output should include a recent last Beacon event when the runtime log+has been written successfully. The dashboard should show the validation event in+local activity views.## Troubleshootingdiff --git a/docs/guides/local-testing/index.mdx b/docs/guides/local-testing/index.mdxindex 3256c7db..436bd1e1 100644--- a/docs/guides/local-testing/index.mdx+++ b/docs/guides/local-testing/index.mdx@@ -38,7 +38,7 @@ Diagnostics: passingUse `beacon endpoint test-event` to append a known-good synthetic event to the runtime JSONL log.</Step><Step title="Review the dashboard">- Start `beacon endpoint dashboard --open` and confirm the validation event appears in Log Search and summary views.+ Start `beacon endpoint dashboard --open` and confirm the validation event appears in local activity views. For real agent runs, open an Agent Activity Sessions row and inspect the session timeline.</Step><Step title="Validate MCP access">Run `beacon mcp doctor`, then test an MCP query path against the same runtime log to confirm local assistants only receive the intended compact activity summaries.@@ -55,7 +55,7 @@ Diagnostics: passingConfirm endpoint health, write validation events, and inspect the runtime JSONL log.</Card><Card title="Test the Local Dashboard" icon="chart-line" href="/guides/local-testing/dashboard">- Review Log Search, Security Overview, and runtime inventory from the local dashboard.+ Review activity sessions, event details, memory, findings, detections, token usage, and runtime inventory from the local dashboard.</Card><Card title="Test MCP Access" icon="server" href="/guides/local-testing/mcp">Test local MCP tools and connect Cursor or Claude Code to Beacon activity.diff --git a/docs/guides/local-testing/mcp.mdx b/docs/guides/local-testing/mcp.mdxindex 24336e41..a5072768 100644--- a/docs/guides/local-testing/mcp.mdx+++ b/docs/guides/local-testing/mcp.mdx@@ -5,13 +5,19 @@ description: "Understand how Beacon exposes local endpoint activity to MCP clien## Overview-Model Context Protocol (MCP) lets local assistants connect to tools and data sources through a standard interface. Beacon uses MCP to make local endpoint activity searchable from an MCP client without requiring a hosted Beacon account.+Model Context Protocol (MCP) lets local assistants connect to tools and data+sources through a standard interface. Beacon uses MCP to make local endpoint+activity searchable and approved project memory retrievable from an MCP client+without requiring a hosted Beacon account.This guide shows how to validate Beacon MCP locally, connect Cursor or Claude Code, and test that MCP query results match the same runtime log used by the dashboard.## What Beacon MCP exposes-`beacon mcp` exposes compact activity tools over MCP so an assistant can search, summarize, and fetch events from the local Beacon runtime log.+`beacon mcp` exposes compact activity tools over MCP so an assistant can search,+summarize, and fetch events from the local Beacon runtime log. It also exposes+approved-memory tools so future agents can reuse human-reviewed project knowledge+created through [`beacon memory`](/cli/memory).Beacon exposes these MCP tools:@@ -21,6 +27,12 @@ Beacon exposes these MCP tools:| `summarize_activity` | Summarize local Beacon activity over a time window and optional filters. || `get_activity_event` | Fetch one compact event by an ID returned from `search_activity`. || `list_activity_filters` | List common filter values found in local Beacon activity logs. |+| `search_memory` | Search approved Beacon project memory and return compact summaries. |+| `get_memory` | Fetch one approved memory item by ID. |+| `get_memory_context` | Return a small approved-memory context set for the current task. |++Memory tools are read-only. They do not evaluate traces, approve candidates, or+install Agent Skills.## Setup@@ -46,6 +58,7 @@ $ beacon mcp doctorruntime log: readabletransport: stdiotools: search_activity, summarize_activity, get_activity_event, list_activity_filters+ search_memory, get_memory, get_memory_contextsample events: found```</Accordion>@@ -72,6 +85,8 @@ MCP is useful when an analyst wants to ask a local assistant targeted questions- Summarize activity by harness, model, repository, category, or MCP server over a time window.- Pull one event by ID and compare it with the same event in the dashboard.- List available filters before narrowing an investigation to a specific command, file, session, or repository.+- Retrieve approved project memory as context for a new task without exposing+ pending or rejected memory candidates.## 3. Test MCP end to end@@ -91,7 +106,7 @@ MCP is useful when an analyst wants to ask a local assistant targeted questions```</Step><Step title="Connect an MCP client">- Follow [Connect Cursor and Claude Code](#4-connect-cursor-and-claude-code) below, then ask the client to search recent Beacon activity or summarize activity from the last hour.+ Follow [Connect Cursor and Claude Code](#4-connect-cursor-and-claude-code) below, then ask the client to search recent Beacon activity, summarize activity from the last hour, or retrieve approved memory for the current project.</Step><Step title="Test loopback HTTP if needed">If your local tool uses HTTP JSON-RPC, validate the loopback transport before connecting.@@ -101,7 +116,8 @@ MCP is useful when an analyst wants to ask a local assistant targeted questions```</Step><Step title="Compare with the dashboard">- Open Log Search and confirm MCP query results match the same event window and event IDs shown by the dashboard.+ Open the dashboard and confirm MCP query results match the same event window,+ event IDs, and approved memory shown by the local views.```bashbeacon endpoint dashboard --open@@ -141,7 +157,11 @@ Add `beacon` under `mcpServers`, merging it with any existing servers:}```-Restart Cursor or run **Developer: Reload Window**, then verify the server in **Cursor Settings → MCP**. Beacon should connect with four tools: `search_activity`, `summarize_activity`, `get_activity_event`, and `list_activity_filters`.+Restart Cursor or run **Developer: Reload Window**, then verify the server in+**Cursor Settings → MCP**. Beacon should connect with seven tools:+`search_activity`, `summarize_activity`, `get_activity_event`,+`list_activity_filters`, `search_memory`, `get_memory`, and+`get_memory_context`.<Note>Replace `/opt/homebrew/bin/beacon` with the path from `which beacon`. Do not rely on `"command": "beacon"` because Cursor's subprocess environment may not include Homebrew or shell `PATH` entries.@@ -197,6 +217,7 @@ Inside a Claude Code session, run `/mcp` and confirm Beacon is connected. Projec- Local MCP access to the same runtime log used by the dashboard.- Compact activity search, summary, event fetch, and filter discovery tools.+- Read-only retrieval of approved project memory through MCP.- Cursor and Claude Code client configuration using an absolute Beacon path.- Loopback-only HTTP testing when stdio is not the right local transport.diff --git a/docs/index.mdx b/docs/index.mdxindex 93750b94..9f458593 100644--- a/docs/index.mdx+++ b/docs/index.mdx@@ -8,11 +8,11 @@ description: "Beacon is the open-source self-improving memory layer for AI agent<img src="/logo/beacon-lockup-light.svg" alt="Beacon logo" width="720" height="252" /></picture>-Beacon is the open-source self-improving memory layer for AI agents. It was designed and built by the founders of [Asymptote Labs](https://asymptotelabs.ai/).+Beacon is the open-source trace and reviewed-memory layer for AI agents. It was designed and built by the founders of [Asymptote Labs](https://asymptotelabs.ai/).It captures agent activity across Claude Code, Cursor, Codex, OpenCode, and 20+ other harnesses, creating a shared history of how agents work across local, CI, and cloud environments.-Use Beacon to understand agent behavior, debug workflows, and turn what your agents learn into reusable knowledge that compounds across harnesses.+Use Beacon to understand agent behavior, debug workflows, and explicitly turn reviewed agent runs into reusable knowledge that compounds across harnesses.## Install Beacondiff --git a/docs/log-forwarding/local-jsonl.mdx b/docs/log-forwarding/local-jsonl.mdxindex 4bb42a74..3f5708ab 100644--- a/docs/log-forwarding/local-jsonl.mdx+++ b/docs/log-forwarding/local-jsonl.mdx@@ -23,7 +23,7 @@ User mode is convenient for local evaluation. System mode is preferred for packaBeacon uses the same JSONL source for:- Local inspection with `beacon endpoint status`, `beacon endpoint doctor`, and diagnostics commands.-- The loopback-only [endpoint dashboard](/cli/dashboard), including Log Search and Security Overview.+- The loopback-only [endpoint dashboard](/cli/dashboard), including activity sessions, findings, detections, token usage, and inventory.- Validation events written by forwarding commands.- Customer-managed shippers that tail the active `runtime.jsonl` path.diff --git a/docs/runtimes/goose.mdx b/docs/runtimes/goose.mdxindex fd62f54b..9e225db4 100644--- a/docs/runtimes/goose.mdx+++ b/docs/runtimes/goose.mdx@@ -1,20 +1,30 @@---title: "goose"-description: "Beacon support details for goose endpoint telemetry"+description: "Manual Beacon adapter details for goose endpoint telemetry"---## Runtime overview-Beacon supports goose — the open-source agent from Block — through **two** collection paths, and both are wanted on the same machine:+Beacon currently has a goose payload adapter, but not automatic goose installer+wiring. There are no goose-specific endpoint install, hooks install, or discovery+status paths yet.-```bash-beacon endpoint hooks install --harness goose # plugin hooks-beacon endpoint install --harness goose # OTLP export-```+Manual goose coverage can combine two collection paths:++- A manually written goose hooks file that invokes `beacon-hooks --platform goose`+ subcommands.+- goose's own OTLP HTTP export pointed at the local Beacon collector.-`--harness codename-goose` and `--harness block-goose` are also accepted, and install the same thing.+The two paths are not alternatives. goose's hooks report prompts, tool calls,+command lines and file edits; goose's OpenTelemetry export reports token usage,+the model and provider, response ids and the agent's reasoning. **Neither path+carries the other's data**, so an endpoint with only one configured is partial.-The two are not alternatives. goose's hooks report prompts, tool calls, command lines and file edits; goose's OpenTelemetry export reports token usage, the model and provider, response ids and the agent's reasoning. **Neither path carries the other's data**, so an endpoint with only one installed is half instrumented.+<Warning>+This page documents the current manual adapter contract. Until installer and+discovery support are added, use it as implementation guidance rather than a+turnkey `beacon endpoint install` workflow.+</Warning><Note>**One integration covers the CLI and the desktop app.** goose runs one agent core behind both, they discover plugins from the same directory, and both export under the same `service.name`. There is one harness name — `goose` — rather than one per surface.@@ -26,15 +36,17 @@ The two are not alternatives. goose's hooks report prompts, tool calls, command## Prerequisites-Before enabling goose telemetry, make sure:+Before manually enabling goose telemetry, make sure:- goose is installed, either the CLI or the desktop app.-- `beacon endpoint install` has run so shared endpoint config, the collector, and runtime log paths exist. The OTLP path needs the collector actually listening; the hook path does not.+- `beacon endpoint install` has run for the endpoint generally so shared endpoint+ config, the collector, and runtime log paths exist. The OTLP path needs the+ collector actually listening; the hook path does not.- goose is restarted, or a new session started, after installing or removing hooks — plugins are discovered when a session begins.## Collection path 1: plugin hooks-goose discovers plugins as the **immediate subdirectories** of its plugins directory, names each plugin after its directory, and loads `<plugin-root>/hooks/hooks.json` from every plugin that is enabled. So Beacon owns a **directory** rather than a file, and never reads or writes any other plugin beside it.+goose discovers plugins as the **immediate subdirectories** of its plugins directory, names each plugin after its directory, and loads `<plugin-root>/hooks/hooks.json` from every plugin that is enabled. A future Beacon installer should own a **directory** rather than a file, and should not read or write any other plugin beside it.| Scope | Directory | Covers ||-------|-----------|--------|@@ -49,7 +61,8 @@ goose discovers plugins as the **immediate subdirectories** of its plugins direcThis is the opposite of [Kiro](/runtimes/kiro), where hook files merge across scopes, and it matches [OpenHands](/runtimes/openhands), where a project file shadows the user one.</Warning>-`beacon endpoint inventory` reports both scopes, so an install at either is visible.+Today, manually configured goose hooks are not reported as a first-class installed+harness by `beacon endpoint discover` or `beacon endpoint hooks status`.<Note>**`.agents/plugins` is a shared directory, not goose's namespace.** It is the [Open Plugins](https://open-plugins.com) convention, so another agent implementing that specification would also discover this plugin and run its hooks — and those events would be attributed to goose, because nothing in a hook payload says which host invoked it. goose sets no distinguishing variable and the event schema has no field for the question.@@ -91,17 +104,21 @@ The no-op `{}` that every other runtime reads as "no opinion" lands there, and s**That allow approves nothing.** goose's hook chain is a plugin-policy layer inside `ToolExecutionOperation`, and the pipeline runs `ToolApprovalOperation` *before* it — so the operator's decision has already been made by the time a hook is consulted. It means "this policy hook does not object", and reaches no permission judge. This is the opposite of [Qwen Code](/runtimes/qwen-code), where answering "allow" would disarm the user's own prompts and Beacon therefore answers with an empty object.</Warning>-### Beacon owns one plugin directory and nothing else--Because goose loads every plugin it discovers, an install is additive by construction: your own plugins keep working, untouched, and Beacon never parses them.+### Manual plugin directory-The one thing Beacon claims is the directory name `beacon-endpoint`. If its `hooks/hooks.json` already holds a hook Beacon did not write, both install and uninstall **refuse** with an error naming the hook rather than overwriting or deleting it — move that hook into a plugin of its own and run the install again. A file goose itself could not parse is overwritten, since there are no live hooks in it to protect.+Because goose loads every plugin it discovers, adding a Beacon-shaped plugin+directory is additive by construction: your own plugins keep working, untouched.-Re-running the install rewrites the file rather than appending to it, so a repair does not end with each event registered twice. Uninstall removes the file **and the plugin directory Beacon created**, because a plugin directory with no hooks file is still a plugin goose discovers and records in `config.yaml`. A directory you put something else into is left alone.+If you create the conventional `beacon-endpoint` directory by hand, keep it+dedicated to Beacon hook commands and avoid mixing unrelated hooks into the same+`hooks/hooks.json`. This mirrors the ownership boundary the eventual installer+should enforce.## Collection path 2: OpenTelemetry export-goose ships a real OpenTelemetry exporter emitting OTel GenAI semantic-convention spans, and `beacon endpoint install --harness goose` points it at the local collector by writing two keys into goose's own `config.yaml`:+goose ships a real OpenTelemetry exporter emitting OTel GenAI semantic-convention+spans. Configure it manually by pointing goose's own `config.yaml` at the local+collector HTTP port:```yamlotel_exporter_otlp_endpoint: http://127.0.0.1:4318@@ -114,11 +131,12 @@ otel_exporter_otlp_timeout: 10000This path is what carries `gen_ai.usage.*` — including cache reads and writes — along with `gen_ai.request.model`, `gen_ai.provider.name`, `gen_ai.response.id`, `gen_ai.response.finish_reasons` and the agent's reasoning, on `chat` and `execute_tool` spans. None of that appears on any hook.-### Your config.yaml is edited, not rewritten+### Your config.yaml stays yours-`config.yaml` is a file you write by hand — your provider, your model, your extensions, your permissions. Beacon changes two keys and **preserves comments, key order, values, nesting and two-space indentation**, and backs the file up before writing. A config Beacon cannot parse is refused rather than overwritten.--The one thing not preserved is **blank lines between top-level keys**, which the YAML library cannot retain. That is the reason for the backup.+`config.yaml` is a file you write by hand — your provider, your model, your+extensions, your permissions. Beacon does not currently rewrite this file for+goose; add or update the OTLP keys yourself and keep whatever backup practice you+use for manual goose configuration.### The file is not the whole answer@@ -134,37 +152,38 @@ Reporting "enabled" from the file alone would say a runtime is covered when it i## Discovery and status-```bash title="Show goose status on both paths"-beacon endpoint hooks status --harness goose-beacon endpoint status --json | jq '.harnesses[] | select(.name == "goose")'-```--goose reports as the `goose` harness. Hook events carry `harness.collection_method=hook` — the events, the payload shapes and the hooks schema are all goose's, and Beacon ships no plugin source goose loads and executes — while OTLP events carry `harness.collection_method=otlp`.+goose events normalize to the `goose` harness when the manual paths are+configured. Hook events carry `harness.collection_method=hook` because the events,+payload shapes, and hooks schema are goose's. OTLP events carry+`harness.collection_method=otlp`.<Note>-**A hooks file on disk is a registration, not a guarantee.** goose lets you disable a plugin from the `plugins` map in `config.yaml` or from `disabledPlugins` in a `settings.json` at any of three scopes, and a disabled plugin keeps its hooks file. `beacon endpoint hooks status` reports the registration, which is the narrower claim it can actually make — answering the rest would mean reimplementing goose's precedence across four files it does not version. Run one session and check the log to confirm events are arriving.+**A hooks file on disk is a registration, not a guarantee.** goose lets you+disable a plugin from the `plugins` map in `config.yaml` or from+`disabledPlugins` in a `settings.json` at any of three scopes, and a disabled+plugin keeps its hooks file. Run one session and check the log to confirm events+are arriving.</Note>-## Install or configuration support+## Manual configuration support-```bash-beacon endpoint hooks install --harness goose # ~/.agents/plugins/beacon-endpoint/-beacon endpoint hooks install --harness goose --level project # <repo>/.agents/plugins/beacon-endpoint/-beacon endpoint install --harness goose # OTLP export in goose's config.yaml-beacon endpoint hooks status --harness goose-beacon endpoint hooks uninstall --harness goose-```+Beacon does not yet create, status-check, or uninstall goose hook files. To test+the adapter, write a goose `hooks.json` manually and point hook commands at the+installed `beacon-hooks` binary with `--platform goose`. Use goose's own+configuration to enable OTLP HTTP export to `http://127.0.0.1:4318`.-Commit `.agents/plugins/beacon-endpoint/` if you want the hooks to apply to everyone working in the repository — remembering that it then **replaces** any user-scope install for sessions in that repository.+Commit `.agents/plugins/beacon-endpoint/` only if you intentionally want the hooks+to apply to everyone working in the repository, remembering that project scope+replaces any user-scope plugin with the same name for sessions in that repository.## Telemetry coverage| Area | Support ||------|---------|-| Runtime discovery | Supported through the plugin directory at both scopes, and through `config.yaml` for the export |+| Runtime discovery | Not first-class yet. Manual hooks and OTLP export can write `goose` events, but `beacon endpoint discover` does not install or report goose as a managed target || Harness attribution | Supported. `goose`, `goose_cli`, `goose-cli`, `goose cli`, `goosecli`, `goose_agent`, `goose-agent`, `goose agent`, `codename_goose`, `codename-goose`, `codename goose`, `block_goose`, `block-goose`, and `block goose` normalize to `goose` |-| Hook install, status, uninstall, and repair | Supported |-| OTLP export configuration | Supported. Written into goose's own `config.yaml`, preserving the rest of the file |+| Hook install, status, uninstall, and repair | Not yet supported by `beacon endpoint hooks` |+| OTLP export configuration | Manual. Write goose's own `config.yaml` to use the collector HTTP port || Session lifecycle | Supported. `session.started` from `SessionStart`, `session.ended` from `SessionEnd`, `tool.completed` from `Stop` || Prompts | Supported. `prompt.submitted` from `UserPromptSubmit`, read from the payload's `message` field || Tool use | Supported for pre-tool and post-tool activity, correlated by `gen_ai.tool.call.id` |@@ -176,8 +195,8 @@ Commit `.agents/plugins/beacon-endpoint/` if you want the hooks to apply to ever| Model, provider, and reasoning | Supported through OTLP only || Approval decisions | Not collected. See [Known gaps](#known-gaps) || Reported cost | Not collected. goose reports tokens, not a price |-| Local JSONL and dashboard | Supported |-| MDM deployment | Supported for the endpoint agent. goose hooks are installed per repository or in the logged-in user's context |+| Local JSONL and dashboard | Supported when manual hook or OTLP telemetry reaches Beacon |+| MDM deployment | Supported for the endpoint agent. goose hook and OTLP configuration remain manual until installer support lands |### Tool taxonomy@@ -250,12 +269,11 @@ The OTLP path carries message content only when `OTEL_INSTRUMENTATION_GENAI_CAPTPlugins are discovered when a session starts, so an install taken while goose is running takes effect on the next session. Restart goose, or start a new session, after installing or removing hooks.-Confirm status, then generate one goose event and check the log:+Generate one goose event and check the log:```bash-beacon endpoint hooks status --harness goosebeacon endpoint doctor --system-grep '"name":"goose"' ~/.beacon/endpoint/logs/runtime.jsonl | tail -3+rg '"name":"goose"' ~/.beacon/endpoint/logs/runtime.jsonl```If goose hook telemetry is missing:diff --git a/docs/runtimes/index.mdx b/docs/runtimes/index.mdxindex 6474a790..1f09bf62 100644--- a/docs/runtimes/index.mdx+++ b/docs/runtimes/index.mdx@@ -32,7 +32,7 @@ These integrations are grouped by where the agent runs and how telemetry is coll| [fx (Vercel Labs)](/runtimes/vercel-fx) | Poll of fx's own session records under `~/.fx/sessions` through `beacon endpoint fx sync` | Session start, prompts, tool calls, commands with exit codes and output, file reads and edits with diffs, MCP tool calls, agent messages, history compaction, and token usage and cost. No approval or session-end telemetry, because fx persists neither || [Gemini CLI](/runtimes/gemini-cli) | Opt-in local OTLP | Prompts, tool calls, MCP activity, file operations, and approval-related events emitted through OTLP || [GitHub Copilot CLI](/runtimes/github-copilot-cli) | MDM-managed OTLP HTTP | Prompt, session, tool, and approval-like activity emitted through Copilot CLI spans |-| [goose](/runtimes/goose) | Native plugin hooks in `.agents/plugins/`, plus an opt-in local OTLP export over HTTP | Hooks: session start and end, prompts, pre-tool and post-tool activity, failed tools, command lines, file creates and edits with diffs, and MCP tool calls. OTLP adds token usage, model and provider, response ids, and agent reasoning. No tool output of any kind on the hook path, so no command exit codes or output, and no approval decisions, because goose exposes none of those on a hook |+| [goose](/runtimes/goose) | Adapter only today: manually written plugin hooks in `.agents/plugins/`, plus manually configured local OTLP export over HTTP | Hooks: session start and end, prompts, pre-tool and post-tool activity, failed tools, command lines, file creates and edits with diffs, and MCP tool calls. OTLP adds token usage, model and provider, response ids, and agent reasoning. No automatic installer/discovery yet, no tool output of any kind on the hook path, and no approval decisions because goose exposes none of those on a hook || [Grok Build](/runtimes/grok-build) | Native hooks plus optional poll of `~/.grok/sessions` through `beacon endpoint grok sync` | Hooks: session, prompt, pre-tool, post-tool, failed tool, stop, session-end, command, and file telemetry. Poll: historical committed sessions, tool activity, commands, file activity, and compaction where persisted || [Kiro](/runtimes/kiro) | Native hooks through a Beacon-owned file in `.kiro/hooks/` | Session start, prompts, pre-tool and post-tool activity, commands with output, file reads and edits, MCP tool calls, failed tools, and the agent's final response. No approval decisions or token usage, because Kiro exposes neither on a hook || [Muse Code](/runtimes/muse-code) | Native hooks through a managed hooks file | Session start, prompt, pre-tool, post-tool, permission request, subagent, context compaction, stop, command, and file telemetry |@@ -127,7 +127,7 @@ MDM assets, meaning Jamf Pro Extension Attributes, Fleet osquery queries, and Ri| OpenClaw Gateway | Install the managed plugin in the account the gateway runs as with `beacon endpoint hooks install --harness openclaw`, then grant `plugins.entries.beacon-endpoint.hooks.allowConversationAccess` in OpenClaw's own config so token usage is collected. For the gateway's OTLP export, use [`beacon endpoint integrations openclaw`](/cli/openclaw) to print local settings and validate events; Beacon never writes OpenClaw's config. To backfill committed session files, schedule `beacon endpoint integrations openclaw sessions sync` in the gateway account or leave `--watch` running. || Prime Agent | Install the managed extension for live telemetry with `beacon endpoint hooks install --harness prime`. To backfill committed local sessions and subagent artifacts, schedule `beacon endpoint prime sync` in the logged-in user's context or leave `--watch` running. |-Install hooks separately in the logged-in user's context when you need richer hook telemetry. This applies to Antigravity CLI, Claude Code, Cline, Codex CLI session-context hooks, Cursor, Devin CLI, Devin Desktop, Factory Droid, Grok Build, Hermes Agent, goose, Muse Code, Oh My Pi, OpenClaw Gateway, OpenCode, OpenHands, Pi, Qwen Code, and the optional VS Code hooks. Poll sync commands are also run or scheduled in the account that owns the runtime's local session store.+Install hooks separately in the logged-in user's context when you need richer hook telemetry. This applies to Antigravity CLI, Claude Code, Cline, Codex CLI session-context hooks, Cursor, Devin CLI, Devin Desktop, Factory Droid, Grok Build, Hermes Agent, Muse Code, Oh My Pi, OpenClaw Gateway, OpenCode, OpenHands, Pi, Qwen Code, and the optional VS Code hooks. goose is the current exception: its adapter can map manually configured hooks, but Beacon does not yet install or discover it. Poll sync commands are also run or scheduled in the account that owns the runtime's local session store.If a system collector is running while the CLI is reading the default per-user log, `beacon endpoint status` and the local dashboard surface a runtime-log source warning so you can tell where OTLP events are being written.diff --git a/docs/runtimes/prime-agent.mdx b/docs/runtimes/prime-agent.mdxindex 6f004e74..99c8f43d 100644--- a/docs/runtimes/prime-agent.mdx+++ b/docs/runtimes/prime-agent.mdx@@ -11,7 +11,7 @@ Beacon supports [Prime Agent](https://github.com/PrimeIntellect-ai/prime-agent),Prime Agent is a hard fork of [pi-mono](https://github.com/badlogic/pi-mono), as [Oh My Pi](/runtimes/oh-my-pi) and [Senpi](/runtimes/senpi) are. All four are supported separately and recorded under their own harness names, because they are separately installed products that one machine can run side by side.</Note>-Prime Agent fits neither of Beacon's two usual live integration shapes. It has no hooks configuration file to merge a managed hook block into, and no OpenTelemetry export to point at the local collector. Its documented observation surface is the TypeScript extension API it inherited from Pi, so the live integration is extension-shaped: one Beacon-owned extension file forwards runtime events to `beacon-hooks`, the same shape as the [Pi](/runtimes/pi), [Oh My Pi](/runtimes/oh-my-pi), [OpenCode](/cli/supported-runtimes-opencode) and [Cline](/cli/supported-runtimes-cline) integrations.+Prime Agent fits neither of Beacon's two usual live integration shapes. It has no hooks configuration file to merge a managed hook block into, and no OpenTelemetry export to point at the local collector. Its documented observation surface is the TypeScript extension API it inherited from Pi, so the live integration is extension-shaped: one Beacon-owned extension file forwards runtime events to `beacon-hooks`, the same shape as the [Pi](/runtimes/pi), [Oh My Pi](/runtimes/oh-my-pi), [OpenCode](/runtimes/opencode) and [Cline](/runtimes/cline) integrations.Beacon can also read Prime Agent's committed JSONL session store after the fact:@@ -129,7 +129,7 @@ The extension itself sends nothing over the network. It spawns the local `beacon## Known gaps-- **No approval telemetry.** Prime Agent's `tool_call` event lets an extension block a call, but that is an extension deciding rather than an operator being asked. It exposes no operator approval decision through the extension API, so Beacon records these as tool activity and writes no approval events. [Pi](/runtimes/pi) and [Cline](/cli/supported-runtimes-cline) work the same way for the same reason; [Oh My Pi](/runtimes/oh-my-pi) is the fork that does report real ones. Detections in `rules/approval-abuse/` do not fire on Prime Agent activity.+- **No approval telemetry.** Prime Agent's `tool_call` event lets an extension block a call, but that is an extension deciding rather than an operator being asked. It exposes no operator approval decision through the extension API, so Beacon records these as tool activity and writes no approval events. [Pi](/runtimes/pi) and [Cline](/runtimes/cline) work the same way for the same reason; [Oh My Pi](/runtimes/oh-my-pi) is the fork that does report real ones. Detections in `rules/approval-abuse/` do not fire on Prime Agent activity.- **MCP calls are not separately attributed.** Consistent with its single-tool design, Prime Agent does not expose MCP servers as agent tools: each integration is a Python skill package the model imports and calls from inside the kernel. So an MCP call arrives as part of a cell's code in `command.command` rather than as an `mcp.tool_invoked` event with a server and tool name, and the two questions MCP telemetry usually answers — which server did this agent reach, and what did it call there — have no dedicated field to answer them here. This is a property of the runtime rather than a gap Beacon can close from its side.- **No per-cell exit code.** A Python cell does not have one. The runtime reports a `status` of `ok`, `error`, or `aborted`, which Beacon records verbatim; deriving a `0`/`1` from it would put a shell's vocabulary on something that is not a shell. An interrupted cell is recorded as aborted rather than failed, so a Ctrl+C does not read as an agent error.- **No enforcement.** As with every other runtime, enforcement stays behind the optional, off-by-default policy provider seam (`BEACON_POLICY_PROVIDER`), which is not wired to Prime Agent. Its blocking `tool_call` handler makes it a viable target for that seam later.diff --git a/docs/security/data-inventory.mdx b/docs/security/data-inventory.mdxindex c30720c2..ef87867b 100644--- a/docs/security/data-inventory.mdx+++ b/docs/security/data-inventory.mdx@@ -62,6 +62,30 @@ Inventory heartbeat telemetry uses a separate local JSONL file, `inventory_stateBy default, snapshots include config-file metadata, MCP server metadata, skill metadata, and hook config metadata across supported local runtimes. They do not include skill instruction bodies, MCP secret values, full environment values, full command arguments, or unrelated config content. When `include_contents` is enabled, snapshots additionally carry redacted, size-limited `content` and `definition` blocks as described above.+## Local memory metadata++`beacon memory` writes a local SQLite store, `memory.db`, next to the endpoint log+base directory. The store is separate from `runtime.jsonl` and keeps reviewed+learning artifacts scoped to the resolved project:++| Memory area | Data retained |+|-------------|---------------|+| Evaluations | Trace identity, project identity, bounded trace summary, Jev question results, evaluator model, usage metadata when returned, and evaluation timestamps |+| Candidates | Candidate title, body, kind, state, evidence pointers, source evaluation, project identity, and review transition metadata |+| Approved memories | Approved title, body, kind, project identity, provenance, and review metadata |++Approved memory can be read through local MCP tools (`search_memory`,+`get_memory`, and `get_memory_context`) and can be rendered into an Agent Skill+with `beacon memory skills install`. That skill write is an explicit CLI action+to `.agents/skills/<slug>/SKILL.md`; Beacon hooks and the dashboard never install+skills or mutate memory review state.++`beacon memory evaluations run` is the only command in this workflow that can call+Jev. Dry runs do not make a network request. When evaluation is enabled, Beacon+sends a bounded, redacted trace projection to the configured TypeSafe System One+endpoint or a compatible internal endpoint. Normal endpoint capture, MCP reads,+dashboard views, candidate review, and skill preview/install do not call Jev.+## Required fields| Field | Meaning |