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
package cleanup
Justin D'Souza5489dcc9c660
diff --git a/README.md b/README.mdindex 9c4285b9..2f668717 100644--- a/README.md+++ b/README.md@@ -113,21 +113,19 @@ make build### Install Locally```bash-beacon endpoint install --collector /path/to/beacon-otelcol+beacon endpoint installbeacon endpoint status```The normal CLI flow uses per-user endpoint paths by default. Cursor hooks,Claude Code OTLP, and Codex OTLP all write to the same user runtime log:`~/.beacon/endpoint/logs/runtime.jsonl`. Use `--system` only for root-managed-package or MDM deployments. The endpoint collector config requires Beacon's-custom `beacon-otelcol` binary, which is provided by the macOS package; CLI-only-installs must put `beacon-otelcol` on `PATH` or pass `--collector`.+package or MDM deployments.### Set Content Retention```bash-beacon endpoint install --collector /path/to/beacon-otelcol --content-retention metadata+beacon endpoint install --content-retention metadata```### Configure Wazuh Output@@ -219,7 +217,7 @@ Common commands:```bashbeacon version-beacon endpoint install --collector /path/to/beacon-otelcol+beacon endpoint installbeacon endpoint statusbeacon endpoint discoverbeacon endpoint dashboard --open@@ -267,15 +265,15 @@ installs the CLI, collector, Wazuh content pack, and deployment scripts. Thepackage should apply explicit system endpoint settings, for example:```bash-beacon endpoint install --system --collector /opt/beacon/bin/beacon-otelcol --harness claude,codex --content-retention metadata+beacon endpoint install --system --harness claude,codex --content-retention metadata```Before publishing a release, verify the build from a clean checkout and cleanmacOS host or VM:- `beacon version` reports the expected version, commit, and build date.-- `beacon endpoint install --collector /path/to/beacon-otelcol --no-start`- succeeds without developer tooling.+- `beacon endpoint install --no-start` succeeds without developer+ tooling.- `beacon endpoint status` reports config, collector, service, harness,diagnostic, and runtime log paths.- `beacon endpoint wazuh validate` writes a valid Beacon JSONL event.diff --git a/cli/beacon/.goreleaser.yaml b/cli/beacon/.goreleaser.yamlindex d2386d28..6f576910 100644--- a/cli/beacon/.goreleaser.yaml+++ b/cli/beacon/.goreleaser.yaml@@ -42,6 +42,8 @@ archives:name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"files:- README*+ - src: ../../collector-builder/dist/beacon-otelcol/beacon-otelcol+ dst: beacon-otelcolchecksum:name_template: "checksums.txt"@@ -83,11 +85,10 @@ brews:commit_msg_template: "Homebrew formula update for {{ .ProjectName }} version {{ .Tag }}"install: |bin.install "beacon"+ bin.install "beacon-otelcol"caveats: |- The Homebrew formula installs the beacon CLI only. Endpoint telemetry also- requires the custom beacon-otelcol collector; install the macOS package- that includes it, place beacon-otelcol on PATH, or pass:- beacon endpoint install --collector /path/to/beacon-otelcol+ To configure local endpoint telemetry, run:+ beacon endpoint installtest: |system "#{bin}/beacon", "version"@@ -112,8 +113,7 @@ release:## Quick Start```bash- # Endpoint telemetry requires the custom beacon-otelcol collector.- beacon endpoint install --collector /path/to/beacon-otelcol+ beacon endpoint installbeacon endpoint statusbeacon endpoint wazuh print-config```diff --git a/cli/beacon/README.md b/cli/beacon/README.mdindex f4faf0af..ab063bab 100644--- a/cli/beacon/README.md+++ b/cli/beacon/README.md@@ -11,7 +11,7 @@ make build## Common Commands```bash-./beacon endpoint install --collector /path/to/beacon-otelcol+./beacon endpoint install./beacon endpoint status --json./beacon endpoint discover --json./beacon endpoint repair@@ -21,8 +21,7 @@ make buildEndpoint commands use per-user paths by default so hook and OTLP telemetry share`~/.beacon/endpoint/logs/runtime.jsonl`. Use `--system` for root-managed-deployment paths. Endpoint install requires Beacon's custom `beacon-otelcol`-collector, provided by the macOS package or passed with `--collector`.+deployment paths.## Dashboarddiff --git a/cli/beacon/internal/endpoint/collector/collector.go b/cli/beacon/internal/endpoint/collector/collector.goindex 9b739897..1a8535b2 100644--- a/cli/beacon/internal/endpoint/collector/collector.go+++ b/cli/beacon/internal/endpoint/collector/collector.go@@ -41,7 +41,7 @@ func ResolveBinary(configured string) (string, error) {if path := DiscoverBinary(""); path != "" {return path, nil}- return "", fmt.Errorf("beacon endpoint install requires the Beacon OpenTelemetry Collector (%s); install the macOS package that includes %s, ensure %s is on PATH, or pass --collector /path/to/%s", BinaryName, PackagedBinaryPath, BinaryName, BinaryName)+ return "", fmt.Errorf("Beacon installation is missing the endpoint collector (%s); reinstall Beacon so %s is installed beside the beacon CLI, or pass --collector /path/to/%s for development and custom deployments", BinaryName, BinaryName, BinaryName)}func DiscoverBinary(configured string) string {diff --git a/packaging/macos/README.md b/packaging/macos/README.mdindex 44d2d227..36d829df 100644--- a/packaging/macos/README.md+++ b/packaging/macos/README.md@@ -52,15 +52,13 @@ service.## Manual Install```bash-sudo beacon endpoint install --system --collector /opt/beacon/bin/beacon-otelcol+sudo beacon endpoint install --systembeacon endpoint statusbeacon endpoint wazuh print-config```-Endpoint installs require Beacon's custom `beacon-otelcol` collector because the-generated Collector config uses the `beaconjson` exporter. The macOS package-installs it at `/opt/beacon/bin/beacon-otelcol`; CLI-only installs must place-`beacon-otelcol` on `PATH` or pass `--collector`.+The macOS package installs Beacon's custom `beacon-otelcol` collector at+`/opt/beacon/bin/beacon-otelcol`, so the CLI discovers it automatically.## Smoke Testdiff --git a/packaging/macos/pkgbuild.md b/packaging/macos/pkgbuild.mdindex 785b6af2..cd65ca22 100644--- a/packaging/macos/pkgbuild.md+++ b/packaging/macos/pkgbuild.md@@ -42,6 +42,10 @@ collector-builder/dist/beacon-otelcol/beacon-otelcolOverride those paths with `BEACON_BIN` and `BEACON_COLLECTOR` if releaseautomation builds into a different directory.+The Homebrew release archive also includes `beacon-otelcol` from+`collector-builder/dist/beacon-otelcol/beacon-otelcol` and installs it beside+`beacon`, so `beacon endpoint install` works without extra flags.+## Package BuildCreate an unsigned local test package: