Skip to content

fix(telemetry): gate preamble session tracking#1188

Open
jbetala7 wants to merge 1 commit into
garrytan:mainfrom
jbetala7:oss/fix-1150-telemetry-preamble
Open

fix(telemetry): gate preamble session tracking#1188
jbetala7 wants to merge 1 commit into
garrytan:mainfrom
jbetala7:oss/fix-1150-telemetry-preamble

Conversation

@jbetala7
Copy link
Copy Markdown
Contributor

Fixes #1150

Summary

  • gate preamble session-file tracking, pending-marker handling, and timeline logging behind telemetry != off
  • move spawned-session detection behind a helper so generated SKILL.md files no longer embed the OPENCLAW_SESSION string directly
  • update README wording and add regression tests around telemetry gating and generated skill output

Root cause

The preamble generator still emitted several local tracking side effects unconditionally even though telemetry: off is documented as disabling local analytics, and it embedded the OPENCLAW_SESSION env var name directly into every generated SKILL.md preamble.

Testing

  • bun test test/telemetry.test.ts test/gen-skill-docs.test.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Session tracking and OPENCLAW_SESSION preamble not gated by telemetry config

1 participant