Skip to content

docs: document ClawHub install telemetry opt-out - #114376

Merged
vincentkoc merged 6 commits into
openclaw:mainfrom
kobihikri:docs/document-clawhub-install-telemetry
Oct 14, 2026
Merged

vincentkoc merged 6 commits into
openclaw:mainfrom
kobihikri:docs/document-clawhub-install-telemetry

Conversation

@kobihikri

@kobihikri kobihikri commented Jul 27, 2026 •

Copy link
Copy Markdown

What Problem This Solves

The environment-variable reference does not list the existing ClawHub install-reporting opt-out, so operators cannot discover it alongside other runtime controls.

Why This Change Was Made

Add a short entry that links the canonical ClawHub telemetry guide, documents the accepted opt-out values, and explains the legacy spelling fallback. Clarify that install reporting is authenticated and best effort.

User Impact

Operators can find CLAWHUB_DISABLE_TELEMETRY in the environment reference and disable install reports. Runtime behavior and configuration remain unchanged.

Evidence

  • Verified the shared token-gated reporter, skill/plugin callers, boolean parser, and legacy precedence against main b02cbe287435a356b330a0990958f45b41308eb4.
  • Verified the live canonical telemetry guide and its upstream source.
  • oxfmt --check docs/help/environment.md, git diff --check, and docs listing passed. Generated heading output includes the new section.
  • Independent review of 966484f8eb01161a61daa4e01c0804002ec701e3 found no remaining issue. The final diff adds 12 documentation lines; production and test code are unchanged.
  • Full docs checks remain with exact-head PR CI; no runtime test is needed for this documentation-only change.

Review follow-up

Resolved the old conflict using the native baseline-refresh workflow while preserving contributor ancestry. The earlier request to regenerate docs/docs_map.md is superseded by the current docs/AGENTS.md: the committed file is a source stub, and publishing generates the full map. The stub is unchanged; generated stdout includes the new heading.

Installing a skill or plugin from ClawHub reports the install to ClawHub, and
CLAWHUB_DISABLE_TELEMETRY turns that off. Neither was documented: the variable
appears only in src/infra/clawhub.ts and its tests, with no mention in docs,
README, SECURITY.md, or .env.example.

Add a section to the environment reference covering the opt-out variable, its
legacy CLAWDHUB_DISABLE_TELEMETRY spelling, the token-gated condition, and the
fields each report carries.
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: XS triage: docs-discoverability Candidate: docs discoverability/listing change may belong elsewhere. triage: low-signal-docs Candidate: docs-only change looks low signal; maintainer review needed. labels Jul 27, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. labels Jul 27, 2026
@clawsweeper

clawsweeper Bot commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

The PR documents ClawHub’s existing install-telemetry opt-out values and legacy fallback in the environment reference.

Example: An operator searches the environment reference for CLAWHUB_DISABLE_TELEMETRY.

  • Before: The reference contains no entry for the variable.
  • After: The entry lists 1, true, yes, and on, explains the CLAWDHUB_DISABLE_TELEMETRY fallback, and links the telemetry guide.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, source-verified documentation improvement with no findings and passing exact-head documentation CI.
Proof confidence 🌊 off-meta tidepool Not applicable: Every changed file is under docs/, so runtime proof is exempt; the documented contract, live canonical guide, and successful exact-head documentation check support the change.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Docs · Worth it: Yes · Fix scope: Complete
User problem: Operators cannot find the existing ClawHub install-reporting opt-out in the environment-variable reference.
Reason: The entry improves discovery, accurately describes existing behavior, and has explicit maintainer engagement.

Merge readiness

✅ Ready for maintainer review

This PR provides a useful, accurate reference entry that current main still lacks; earlier link and generated-map concerns are resolved, and exact-head documentation CI passes.

Priority: P3
Reviewed head: 966484f8eb01161a61daa4e01c0804002ec701e3

Before merge

None.

Findings

None.

Agent review details

How this fits together

The environment reference describes operator controls; ClawHub skill and plugin installers use a shared reporter that checks authentication and the opt-out before sending an install event.

flowchart TD
  A[Environment reference] --> B[Operator environment]
  A --> C[Canonical telemetry guide]
  D[Skill and plugin installs] --> E[Shared install reporter]
  B --> E
  E --> F[ClawHub install endpoint]
Loading

Technical review

Best possible solution:

Add this concise reference entry while retaining the canonical telemetry guide and generated-map ownership.

Do we have a high-confidence way to reproduce the issue?

Current-main source confirms that the environment reference omits an opt-out already implemented by the ClawHub reporter.

Is this the best way to solve the issue?

The concise entry closes the reference gap without duplicating the canonical guide or changing runtime behavior.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against b658d87152fb.

Security

None.

Evidence

What I checked:

  • Verified introduced change: The pinned introduction diff adds only the telemetry reference section, including authenticated best-effort reporting, accepted values, and blank-primary legacy fallback. Public docs: docs/help/environment.md. (docs/help/environment.md:188, 966484f8eb01)
  • Current main still lacks the entry: The current-main environment reference moves directly from filesystem observation to provider credentials without documenting this opt-out. Public docs: docs/help/environment.md. (docs/help/environment.md:188, b658d87152fb)
  • Documentation matches production behavior: The shared reporter requires a token and checks the opt-out before POSTing; the client ignores blank primary values before consulting the legacy variable, and the boolean parser accepts exactly the documented truthy values. (src/infra/clawhub-client.ts:515, 966484f8eb01)
  • Existing regression coverage and caller semantics: Existing tests cover blank-primary fallback and nonblank-primary precedence; both skill and plugin installation callers swallow telemetry failures, supporting the best-effort wording. (src/infra/clawhub-skills.test.ts:379, 966484f8eb01)
  • Applicable documentation ownership: The complete root and docs instructions were applied; no deeper ancestor instructions or maintainer-notes directory exists. Docs policy assigns the canonical ClawHub guide upstream and requires docs/docs_map.md to remain a source stub, which this PR preserves. Public docs: docs/AGENTS.md. (docs/AGENTS.md:7, 966484f8eb01)
  • Canonical guide verified: The PR explicitly links this repository’s authoritative telemetry guide, satisfying the dependency-contract signal. Its source and the live telemetry guide confirm authenticated, best-effort install reporting and the opt-out; the upstream root policy was read. (docs/telemetry.md:11, 0bf64843c697)

Likely related people:

  • Vincent Koc: Raw commit 2777b08 adds docs/help/environment.md:7 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 2777b089b53f; files: docs/help/environment.md)

PR surface

Docs +12. Total +12 across 1 file. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 1 12 0 +12
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 12 0 +12

Labels

Label changes:

No label changes.

Label justifications:

  • P3: This is a small documentation-discoverability improvement with no runtime or configuration change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (16 earlier review cycles; latest 8 shown)
  • reviewed 2026-08-03T06:34:42.741Z sha 36b8072 :: needs changes before merge. :: [P1] Restore or remove the unresolved telemetry-page link | [P1] Remove the expanded generated docs-map edit
  • reviewed 2026-08-09T17:41:53.041Z sha 36b8072 :: needs changes before merge. :: [P1] Remove the generated docs-map mirror
  • reviewed 2026-08-14T13:10:33.400Z sha 36b8072 :: needs changes before merge. :: [P1] Restore the telemetry guide before linking to it | [P1] Remove the generated docs-map mirror
  • reviewed 2026-08-15T16:28:10.762Z sha 36b8072 :: needs changes before merge. :: [P1] Restore or remove the unresolved telemetry-guide link | [P1] Remove the generated docs-map mirror edit
  • reviewed 2026-08-21T17:39:48.510Z sha 36b8072 :: needs changes before merge. :: [P1] Restore the target of the telemetry-guide link
  • reviewed 2026-08-25T11:19:44.281Z sha 36b8072 :: needs changes before merge. :: [P1] Restore the target of the telemetry-guide link | [P2] Drop the stale generated docs-map hunk when rebasing
  • reviewed 2026-09-02T04:26:02.261Z sha 36b8072 :: needs changes before merge. :: [P1] Restore the target of the telemetry-guide link
  • reviewed 2026-10-02T01:47:08.534Z sha 36b8072 :: needs changes before merge. :: none

Reviewed October 14, 2026, 4:28 AM ET / 08:28 UTC (Revision 17).

Keep /clawhub/telemetry as the single source of truth. What stays here is the
env-var row (this file is the env-var index and did not list the variable) and
the legacy CLAWDHUB_ spelling, which the canonical page does not mention.
@kobihikri

Copy link
Copy Markdown
Author

The review is right — I've cut the section down.

I got the premise wrong. I grepped docs/ for *.md, found nothing about the telemetry, and concluded it was undocumented. But /clawhub/telemetry exists, it's already in docs.json's nav, and it covers the opt-out, the logged-in condition and the payload. My grep just never reached it, and I should have checked further before writing "undocumented" in the PR body.

So the section is now a pointer to that page plus the env-var row. Two things I kept:

  • the table row itself, since docs/help/environment.md is the env-var index and didn't list CLAWHUB_DISABLE_TELEMETRY anywhere;
  • one line for CLAWDHUB_DISABLE_TELEMETRY, the old spelling. It's still live — src/infra/clawhub.ts reads the current name and then falls back to it on line 1730 — and it's the one bit the canonical page doesn't mention.

If you'd rather that last line lived on the canonical page instead, I'm happy to move it there and drop it from here.

Disclosure: AI-assisted (Claude Opus 5). I checked the source and the docs page myself.

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Jul 28, 2026
check-docs failed on pnpm format:check (oxfmt) for docs/help/environment.md. The added table's columns were not padded to a consistent width. Now uniform at 101 chars across all three rows.
docs:map:check flagged docs/docs_map.md as out of date after the new H2 was added to docs/help/environment.md. Adds the corresponding entry in heading order.
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 2, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. labels Aug 9, 2026
@clawsweeper clawsweeper Bot added the merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. label Aug 21, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. labels Aug 25, 2026
@clawsweeper clawsweeper Bot added the merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. label Sep 2, 2026
@openclaw-barnacle

Copy link
Copy Markdown

This pull request has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.

@openclaw-barnacle openclaw-barnacle Bot added the stale Marked as stale due to inactivity label Sep 17, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. labels Oct 2, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the stale Marked as stale due to inactivity label Oct 2, 2026
@vincentkoc vincentkoc self-assigned this Oct 14, 2026
@vincentkoc vincentkoc changed the title docs: document ClawHub install telemetry and its opt-out (AI-assisted) docs: document ClawHub install telemetry opt-out Oct 14, 2026
@vincentkoc

Copy link
Copy Markdown
Member

@clawsweeper re-review

Updated head: 966484f. The conflict is resolved, authenticated reporting and legacy precedence are explicit, and the current docs-map source stub remains unchanged. Generated heading output and targeted documentation checks passed; see the updated PR evidence.

@clawsweeper

clawsweeper Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@vincentkoc
vincentkoc merged commit b12bdb3 into openclaw:main Oct 14, 2026
72 of 74 checks passed
@vincentkoc

Copy link
Copy Markdown
Member

Merged via squash.

vincentkoc added a commit that referenced this pull request Oct 14, 2026
…/plugin-memory-addon-presentation-20261014

* commit 'a8da8c92e3dbb21dd1441a30eb842fcd942e82b6': (52 commits)
  test(ui): await terminal reconnect fixture readiness (#171945)
  perf(gateway): retain only the requested ordered session page (#171968)
  test(gateway): cover automation run-alias placement lifecycle (#139313)
  fix(ci): retry FRV job listings with smaller pages after GitHub 5xx (#171952)
  fix(process): prevent false cleanup failures after CLI stdin closes (#171969)
  test(doctor): cover released updater advisory warnings (#157086)
  fix(ci): skip Testbox builds for known prose files (#171946)
  perf(sessions): remove redundant snapshot walks (#171964)
  fix(ci): skip plugin scaffold build for SDK instructions (#171944)
  fix(infra): preserve scheduler scope abort state after retirement
  fix: setup diagnostics can repair state without approval (#171960)
  perf(usage): avoid per-session admission churn during inventory (#171868)
  fix(ci): exclude documentation from extension lint scope (#171909)
  test(gateway): keep runtime-only compat flags out of live gateway config (#171953)
  docs: document ClawHub install telemetry opt-out (#114376)
  fix: recover completed chat replies after missed publication (#171766)
  refactor(ui): decouple session controller types from Lit (#171559)
  fix(gateway): settle worker reconciliation during busy shutdowns (#171843)
  fix(ci): ignore protocol prose in bundled check selection (#171908)
  fix(ui): align replacement lines and highlight inline diff edits (#171935)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 15, 2026
* docs: document ClawHub install telemetry and its opt-out

Installing a skill or plugin from ClawHub reports the install to ClawHub, and
CLAWHUB_DISABLE_TELEMETRY turns that off. Neither was documented: the variable
appears only in src/infra/clawhub.ts and its tests, with no mention in docs,
README, SECURITY.md, or .env.example.

Add a section to the environment reference covering the opt-out variable, its
legacy CLAWDHUB_DISABLE_TELEMETRY spelling, the token-gated condition, and the
fields each report carries.

* docs: link the canonical telemetry page instead of restating it

Keep /clawhub/telemetry as the single source of truth. What stays here is the
env-var row (this file is the env-var index and did not list the variable) and
the legacy CLAWDHUB_ spelling, which the canonical page does not mention.

* docs: align telemetry table columns for oxfmt

check-docs failed on pnpm format:check (oxfmt) for docs/help/environment.md. The added table's columns were not padded to a consistent width. Now uniform at 101 chars across all three rows.

* docs: regenerate docs_map for the new telemetry heading

docs:map:check flagged docs/docs_map.md as out of date after the new H2 was added to docs/help/environment.md. Adds the corresponding entry in heading order.

* docs: clarify ClawHub install telemetry opt-out

---------

Co-authored-by: Vincent Koc <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. triage: docs-discoverability Candidate: docs discoverability/listing change may belong elsewhere. triage: low-signal-docs Candidate: docs-only change looks low signal; maintainer review needed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants