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
docs(changelog): v1.3.36 through v1.3.40
shukieshah55397354c3e8
diff --git a/docs/changelog/cli.mdx b/docs/changelog/cli.mdxindex 464ea406..e62c99c7 100644--- a/docs/changelog/cli.mdx+++ b/docs/changelog/cli.mdx@@ -11,7 +11,65 @@ Stay up to date with the latest changes to the Agent Beacon CLI.## October 2026+### v1.3.40 · October 14, 2026++- **Status shows customer forwarders and stops sending MDM installs to `connect`** · `beacon endpoint status` prints one line for each S3, GCS or Falcon LogScale forwarder the package helpers installed, such as `S3 forwarder: loaded=true running=true`, and `--json` adds `script_forwarders`. The `Beacon Cloud: not connected` line and its `beacon endpoint connect` hint are left out on a system install that was never connected and on any install with its own forwarder, where the line read as an unfinished step and named a command that needs a personal sign-in. A connected or partly connected endpoint still shows the line, and per-user installs keep the hint.- **OpenCode sessions found in OpenCode's data directory** · `beacon endpoint opencode status` and `sync`, `beacon handoff`, and the session backfill now read OpenCode's store from `$XDG_DATA_HOME/opencode` or `~/.local/share/opencode`, where OpenCode writes `opencode.db`, on every platform. They previously looked in `~/.config/opencode` (`%APPDATA%\opencode` on Windows), which holds only plugins and configuration, so they found no sessions unless `--data-dir` was passed. `OPENCODE_DB` is honored as OpenCode resolves it.+- **Codex and Hermes Agent session stores follow `CODEX_HOME` and `HERMES_HOME`** · `beacon endpoint codex status` and `sync`, `beacon handoff` and `beacon mcp connect` use `CODEX_HOME` when it is set, as Codex does: the value is taken literally, without `~` or variable expansion, and must be an existing directory. Hermes Agent status, sync and handoff find `state.db` the way Hermes does, under `HERMES_HOME` (with a leading `~/` and `$VAR` references expanded) or under `~/.hermes` plus `HERMES_DATA_DIR_SUFFIX` (`%LOCALAPPDATA%\hermes` on Windows). Both previously read only `~/.codex` and `~/.hermes/state.db`. `--codex-dir`, `--db` and `--store-dir` still override, and Hermes profiles selected only with `hermes -p` or `hermes profile use` are not followed yet.+- **Claude Code workspaces read from the transcript** · When `sessions-index.json` is missing or does not name a session's workspace, `beacon endpoint claude status`, Claude session sync and `beacon handoff` now use the `cwd` recorded in the transcript. They used to decode it from the project directory name, which turns every dash into a path separator, so `/work/agent-beacon` came out as `/work/agent/beacon`.+- **Codex handoff briefs in transcript order** · `beacon handoff` ordered a Codex session's rollout files by modification time, so touching or restoring an older file could make an older request appear as the latest, followed by its older reply. Activity is now ordered by the transcript's own timestamps.+- **`--around-event` with `--event-type`** · `beacon endpoint traces show --around-event N --event-type …` treated `N` as a position in the filtered list, so it returned the wrong window, or nothing near the end of a trace. `N` is now the original event number, `--before` and `--after` count matching events, and when event `N` is filtered out the window is centered where it would have been. The `beacon-memory-distill` skill no longer works around this.+- **Trace browser fixes** · `beacon traces` measures text in terminal columns, so a title in Chinese, Japanese or Korean, or with emoji, no longer pushes the harness column off screen, long event summaries wrap instead of being clipped, and an emoji made of joined characters is never split. Ctrl+C now quits while you are typing a search; it used to be ignored until you left the search.+- **Trace titles, rows and paging** · Trace titles, previews and search snippets are cut on character boundaries, so long CJK or emoji prompts no longer end in `�` in the dashboard, `beacon endpoint traces list` and the local history, which rebuilds its labels once. Plain-text `list`, `search` and `show` collapse line breaks and tabs in metadata so each result stays on one row; `--json` keeps the original text. A `--page` near the integer limit no longer panics `traces list`, and very large `--before` or `--after` values no longer return an empty window.+- **Dashboard fixes** · When several events share a timestamp, a limited dashboard result keeps the newest ones; it compared line ids as strings and could keep line 9 while dropping lines 10 and 11. Changing the activity filter quickly no longer lets an older, slower response, or its error, replace the newer results.+- **Write diffs end where the file ends** · Diffs the hooks build for Write and Edit events added a blank `+` line to every file ending in a newline and counted one line too many in each hunk. They now match the file, and a whole-file diff marks content without a final newline with `\ No newline at end of file`.+- **OpenCode plugin fixes** · The plugin keeps streamed assistant text and reasoning that arrive after the last snapshot, which it dropped when a stream ended without a final snapshot. It releases the saved arguments of a failed tool call instead of holding them until the session is deleted, and a hook that throws while being disposed no longer stops the remaining hooks from being cleaned up.+- **Invalid dates no longer drop plugin events** · The Cline, Pi, Oh My Pi, Prime Agent, Senpi and OpenClaw plugins dropped a whole hook event when it carried an invalid date. They now write that value as `null`, as `JSON.stringify` does, and keep the event.+- **Backfill budget counts only what is written** · A replayed line that duplicate detection suppressed still spent the session backfill's byte budget, and with the budget full it could stop a collector early. Only lines actually written are counted now.+- **OpenClaw OTLP checks look only at OTLP events** · `beacon endpoint integrations openclaw status` and `validate` counted any `openclaw_gateway` event as proof that gateway OTLP export works, so a working plugin or session sync hid a broken export, and with `--since` a fresh plugin event made an old OTLP event count as recent. They now consider only events received over OTLP.+- **Git branch and remote through symlinked workspaces** · When the working directory is a symlink into a repository, the hooks now resolve it first, as Git does, so the branch and remote come from that repository and not from an enclosing one, such as a dotfiles repository in your home directory.+- **Codex token counts with two series in one export** · For the legacy `codex.turn.token_usage` metric, the collector matched cached-token counts to input by timestamp only, so when one export held two series (after a model switch, for example) each input had the other series' cached tokens subtracted too. Beacon-managed Codex configs take token usage from traces, so only older or hand-edited configs send this metric.+- **Pricing reports name only fallbacks that were used** · `beacon token-usage` reported `cache_write_at_input_rate` whenever an override priced one-hour cache writes but left out the five-minute rate, even when no five-minute writes were priced at the input rate. It now reports the fallback only when it was applied. Estimates are unchanged.+- **`config.json` is replaced atomically** · Rewrites of the endpoint `config.json` truncated the file in place, so a command reading it at the same moment could see an empty or partial file and fall back to defaults. The file is now written to a temporary file and renamed into place. A symlinked `config.json` becomes a regular file.+- **SQLite paths containing `#` or `%`** · The trace history and memory databases opened a different file when their path contained `#` or `%`, for example through `BEACON_HISTORY_DB` or a Windows account name, while status still showed the configured path. Every SQLite open now escapes the path. A database already created at the wrong path is not moved.++### v1.3.39 · October 12, 2026++- **SubQ as a memory evaluator** · `beacon memory evaluations run --evaluator subq` sends the same redacted trace projection and rubric questions to [SubQ's Decisions API](/cli/memory#subq) that Jev receives; Jev stays the default. The key comes from `--subq-api-key`, `SUBQ_API_KEY` or `BEACON_SUBQ_API_KEY`, the endpoint and model from `--subq-endpoint` and `--subq-model` (or `BEACON_SUBQ_ENDPOINT` and `BEACON_SUBQ_MODEL`), and `BEACON_EVALUATOR` sets the provider. `--jev-cost-per-trace` is renamed `--cost-per-trace`, and the old name still works. The `beacon-memory-distill` skill adds `--evaluator subq` when a SubQ key is the only one set.+- **The GCS forwarder helper says why Vector rejected its config** · The macOS GCS `install-forwarder.sh` exited with code 78 and printed nothing when `vector validate` failed. It now prints Vector's message and says the installed forwarder was left unchanged. For `Invalid JWT Signature` it adds that a new service-account key can take up to a minute to start working, which is the usual cause when the key was created just before the install.++### v1.3.38 · October 12, 2026++- **Terraform modules for S3 and GCS forwarding** · `terraform/aws-s3` creates a new S3 bucket (public access blocked, TLS required, encrypted, versioned, with a lifecycle rule on the prefix) and the put-only `beacon-endpoint-writer` IAM user. `terraform/gcs` creates a new Cloud Storage bucket and a `beacon-endpoint-writer` service account that can only create objects under the prefix. Neither creates keys unless you ask, so no secret lands in Terraform state by default. See [AWS S3 with Terraform](/log-forwarding/aws-s3-terraform) and [Google Cloud Storage with Terraform](/log-forwarding/gcs-terraform); the Fleet, Jamf, Rippling and single-Mac rollout guides now include Terraform steps.++### v1.3.37 · October 11, 2026++- **Metadata-only forwarding strips the remaining content fields** · Retrieval queries and documents, tool definitions, evaluation explanations, agent descriptions, stop sequences, `approval.reason` and `policy.reason` were still forwarded in Metadata-only mode. They are now removed on the device before upload, and a test fails on any new event field that has not been classified as content or metadata.+- **Forwarder config kept current on install, repair and upgrade** · The Beacon Cloud forwarder's `vector.toml` was written only by `beacon endpoint connect`, so a connected endpoint kept an older pack, including the old Metadata-only transform, until it reconnected, which rotates the device key. Install, repair and the Linux package upgrade now re-render it from the enrollment's ingest URL and privacy mode, validate it with the forwarder's Vector, and restart the forwarder only when the content changed and it is running; the macOS package does the same in postinstall. This never enrolls, never touches the device key and makes no network request. `beacon endpoint repair` used to stop forwarding, because its teardown deleted the forwarder config; it now leaves the forwarder in place. Homebrew and archive upgrades pick up changes on the next `beacon endpoint repair`. See [Keeping the forwarder config current](/cli/endpoint-connect#keeping-the-forwarder-config-current).+- **System installs write user runtime config as that user** · Package postinstall, including the scheduled self-updater, ran native config repair as root, reading and writing `~/.claude/settings.json`, `~/.codex/config.toml` and `~/.gemini/settings.json` and changing their ownership through any symlink the user had planted, which a local user could use to gain root. On Linux and macOS, a child process running as the console user now does the writing, so a planted link reaches only files that user could already write.+- **System backfill reads confined to the console user's home** · A system install, connect or upgrade runs the session backfill as root over the console user's session stores. Those reads now stay inside that home: links that lead out of it, files the user does not own, and FIFOs, sockets and devices are skipped and listed in the install report, and SQLite stores are read from a private copy. User-mode sync and backfill are not confined. Separately, a DeepSeek Harness session file that decompresses past 256 MiB is now refused in every mode. See [Session backfill](/cli/endpoint-install#session-backfill).+- **Private user-mode runtime logs** · In user mode, `~/.beacon/endpoint/logs/runtime.jsonl`, its lock and rotated archives are now created 0600 in 0700 directories instead of 0666 and 0755, and a log an older release left world-writable is narrowed when a writer next opens it. `beacon endpoint doctor` accepts an owner-only user log and suggests `chmod 600`, not `666`, for one it cannot write. The system log under `/var/log/beacon-agent` is unchanged.+- **launchd job logs moved out of `/tmp`** · Beacon's launchd jobs wrote stdout and stderr to fixed names in world-writable `/tmp`, where a local user could read root daemon output or plant a symlink for root to append through. System jobs now log to `/Library/Logs/Beacon/<label>.out` and `.err`, and user LaunchAgents to `~/Library/Logs/Beacon`. The package postinstall and repair move the collector, updater and inventory jobs; the Beacon Cloud forwarder moves on the next `beacon endpoint connect`, and the S3, GCS and Falcon forwarders when their install helper runs again.+- **Windows system install permissions** · A Windows system install gave interactive users Modify on `%ProgramData%\Beacon\Endpoint\logs`, enough to replace it with a junction and redirect the collector's writes, and left `%ProgramData%\Beacon`, which holds the collector config and `hooks\beacon-hooks.exe`, with whatever permissions it already had. Install now resets `%ProgramData%\Beacon` to Administrators ownership with read-only access for users, and interactive users can read and write the files directly in `logs` but cannot delete them, change their permissions or modify the folder. `beacon endpoint doctor --system` reports the old grant as `acl_too_broad`, and `--fix` applies the new permissions. A hook or CLI writer that is not allowed to rotate the log now appends past the size limit instead of dropping the event, which also fixes lost events on Linux and macOS system installs.+- **Hooks no longer approve tool calls for you** · Devin CLI's permission-request hook answered `approve` to every request, so Devin stopped asking about writes and shell commands, and Beacon logged approvals nobody gave. It now gives no decision and records `approval.requested`. The pre-tool hook likewise stops answering `allow` on Antigravity CLI (it prints nothing), Grok Build and runtimes configured by hand (they get `{}`), leaving each runtime's own permission settings in charge. Cursor keeps `{"permission":"allow"}`, which does not override Cursor's own allowlist or approval mode. Policy-provider denies are unchanged.+- **Policy denies honored on Claude Code permission requests** · When a policy provider denied a call in Claude Code's or Qwen Code's permission-request hook, Beacon answered with the PreToolUse deny shape, which that hook ignores, so the prompt went ahead while the log recorded an enforced deny. That phase now returns the `decision.behavior: "deny"` object these runtimes read. It mattered most for tools outside Beacon's PreToolUse matcher, such as `NotebookEdit`.+- **`beacon rules pull` hardened, and the baseline stays active** · `rules pull` requires `https://` (plain `http://` only for loopback), refuses redirects that leave https, caps the download size, tar entry count and rule size, and takes `--sha256 <hex>` to verify the download before anything is installed; without it, pull prints the digest. The embedded baseline rules now stay active beside the rule store, and a store rule replaces a baseline rule only by id, so installing one rule no longer turns the baseline off. `beacon scan --rules <dir>` still runs that directory alone. See [`beacon rules pull`](/cli/rules-pull).+- **Bounded rule evaluation** · Each rule's CEL expression now runs under a cost limit, so a runaway expression fails with an error naming the rule instead of hanging `beacon scan` or the dashboard's findings view. Ordered correlation runs in linear time: `secret-read-then-external-mcp` took 32 seconds on 8,000 credential reads in one session and now takes about half a second.+- **Lens frame hardened, and `beacon lenses add` asks first** · The lens frame removes WebRTC, refuses nested frames, `<link>` elements, speculation rules and `document.write`, and turns off DNS prefetching. That is best-effort hardening, and the docs now say so: an installed lens is code you trust with the trace data it is shown. `beacon lenses add` shows that warning and asks for confirmation, and without a terminal or in CI it refuses unless `--yes` is given. `beacon lenses lint` warns on the same constructs. See [Lenses](/concepts/lenses#what-the-sandbox-does-not-guarantee).+- **Cursor `hooks.json` fields kept** · Install and uninstall rewrote Cursor's `hooks.json` with only the fields Beacon models, which dropped other top-level keys and hook fields such as `failClosed`, turning a blocking security hook fail-open, and rewrote prompt-type hooks as empty commands. Only Beacon's own entries change now. Keys inside each object are written in alphabetical order.+- **Files Changed lens and Cursor tool results** · The Files Changed lens keeps deep directory rows inside the tree, breaks long paths at slashes, and no longer counts approvals as edits. The Cursor hook records a tool's result from `tool_output`, so a WebSearch keeps its output, and the chat view of a shared trace no longer merges a WebSearch into the Write that saves its output or shows the end of a turn as an empty tool.++### v1.3.36 · October 11, 2026++- **`beacon share`** · Publishes one local agent session to beacon.sh as a shared trace and prints its link. With no selector it shares the session it runs inside, or the most recent session in the current directory; `--session`, `--source-path` and `--cwd` pick another, `--list` shows the candidates, and `--print` shows exactly what would be uploaded without making a request. Every event is redacted and home and session paths are rewritten before upload. A new trace is `direct` (anyone with the link); `public` asks first and is refused without a terminal unless `--yes` is given. `beacon share refresh` uploads only the events the trace is missing, at the same URL. See [`beacon share`](/cli/share) and [Sharing sessions](/sharing/index).+- **New `traces:write` sign-in scope** · `beacon login` now requests `traces:write`, which sharing needs. A sign-in from before this release gets an error asking you to run `beacon login` again. Headless machines can use a `bcn_api_` key from `--key` or `BEACON_API_KEY` instead.+- **Share the session an agent is running in** · `beacon share --current`, the default, finds the session it runs inside. Claude Code's `SessionStart` hook exports `BEACON_SESSION_ID` and `BEACON_HARNESS` to the session's shell, and other runtimes fall back to a local record of the last session each hook saw per directory (`~/.beacon/endpoint/active-sessions.json`, identifiers and paths only). The new `beacon-trace-share` agent skill runs it when you ask your agent to share the session, keeps the default `direct` visibility and asks before `public`.+- **Auto-share through Beacon Cloud** · `beacon share auto enable [--visibility] [--project <dir>]` publishes new sessions without running `beacon share` each time. Hooks never upload: they write one local `session.share_requested` event per session, and Beacon Cloud forwarding carries it to beacon.sh, which builds the trace. A repository's committed `.beacon/share.json` can turn auto-share off for everyone, but turns it on only for someone who enabled that project themselves, so a cloned repository cannot publish your sessions. `disable` without `--project` turns it off everywhere, and `status` shows which setting applies and why.+- **Share links in git notes, and sharing on push** · A commit's `beacon:<harness>/<id>` note line can carry the session's share URL, accepted only for https URLs on beacon.sh or your configured Beacon host, and `beacon git notes` prints it. With `beacon git setup --share-sessions`, the pre-push hook shares the sessions linked to the pushed commits that have no URL yet, at most 10 per push and within the hook's 10-second budget, never failing the push, and writes their URLs into the notes. Run `beacon git setup` again in repositories set up by an older Beacon. See [Sharing sessions on push](/cli/git#sharing-sessions-on-push).+- **`beacon share --follow`, and sharing from CI** · `--follow` keeps a trace current while the session runs, uploading only when its events change, until the session ends or you press Ctrl+C. The share docs add [GitHub Actions and GitLab CI examples](/cli/share#ci-examples) that use `BEACON_API_KEY`.+- **Sharing state in local views** · The dashboard, the `beacon traces` browser and `beacon endpoint traces list` mark shared sessions, and mark them stale when the session has activity newer than its last share, with the `beacon share refresh …` command to copy. `traces list --state stale` lists only those, and the plain list adds a last column for shared traces. The dashboard does not share anything itself.+- **OpenCode replies show their text in trace views** · OpenCode records the assistant's reply as `agent.response`, which trace views typed as a session event showing only its label. It is now an agent message with its retained text.+- **Credentials redacted in more forms** · Redaction now catches labeled assignments such as `AWS_SECRET_ACCESS_KEY=…` and `{"api_key": "…"}`, Basic and Digest authorization headers, `--password` and `--token` flags, passwords in URLs, PEM and OpenSSH private keys, and recognizable tokens from Anthropic, OpenAI, AWS, GitHub, GitLab, Slack, Stripe, Google, npm, Hugging Face and Beacon, plus JWTs. Any string under a field named for a credential, such as `password` or `api_key`, is redacted as well, and redaction runs before truncation so a cut cannot leave part of a secret behind. This covers new events in the runtime log and everything forwarded or shared from them; existing log lines are not rewritten. See [What is redacted](/security/retention-redaction#what-is-redacted).### v1.3.35 · October 10, 2026