beacon ci
beacon ci runs Beacon telemetry collection for a single CI job without installing a persistent endpoint service or modifying user harness configuration.
beacon ci exec starts a temporary local collector, injects Claude telemetry environment variables into the child command, writes normalized endpoint events to a CI runtime log, then validates that matching events were captured.
beacon ci is designed for ephemeral CI jobs. For managed endpoint rollout on laptops or workstations, use beacon endpoint install.Commands
beacon ci exec
Run a command with Claude Code telemetry captured for the CI job.
beacon ci validate
Validate Beacon CI telemetry artifacts after a job step.
Artifact paths
By default, Beacon writes CI artifacts under$RUNNER_TEMP/beacon when RUNNER_TEMP is set. Otherwise it uses the system temp directory.
| Artifact | Default path |
|---|---|
| Runtime log | $RUNNER_TEMP/beacon/runtime.jsonl |
| Collector config | $RUNNER_TEMP/beacon/otelcol.yaml |
| Collector spool | $RUNNER_TEMP/beacon/spool/otlp.jsonl |
--log-path when your workflow needs a stable artifact path.
beacon ci exec
Run a child command with Claude Code telemetry captured:beacon ci exec starts a temporary Beacon collector, runs the child command after --, stops the collector, validates the runtime log, and prints the artifact paths. The child command’s exit code is preserved.
When GITHUB_ACTIONS=true, Beacon records GitHub Actions run metadata such as workflow, run ID, commit, ref, and actor in the CI session result. Other CI environments are marked as ephemeral CI runs when CI is set.
Flags
| Flag | Description |
|---|---|
--harness <harness> | CI harness to configure. Defaults to claude; only Claude Code is supported in v0.0.35 |
--log-path <path> | CI runtime JSONL log path |
--content-retention <mode> | Content retention mode: metadata, redacted, or full. Defaults to full |
--json | Print the execution and validation result as JSON |
--min-events <count> | Minimum matching events required during validation. Defaults to 1 |
--keep-artifacts | Keep CI runtime log and collector config after exit. Enabled by default |
--base-dir, --work-dir, --collector, --otlp-grpc-port, and --otlp-http-port.
Examples
Capture Claude Code telemetry in GitHub Actions:beacon ci validate
Validate an existing Beacon CI runtime log:Flags
| Flag | Description |
|---|---|
--harness <harness> | Required harness to validate. Defaults to claude |
--log-path <path> | CI runtime JSONL log path. Defaults to $RUNNER_TEMP/beacon/runtime.jsonl or the system temp path |
--json | Print validation results as JSON |
--min-events <count> | Minimum matching events required. Defaults to 1 |
Examples
Validate the default CI artifact path:Related
Claude Code
Review Beacon support for Claude Code endpoint telemetry.
Local testing
Validate Beacon runtime logs, events, dashboards, and MCP access locally.
Endpoint agent
Install persistent endpoint telemetry for managed devices.
Command reference
Browse Beacon commands by hierarchy.

