Skip to content

Track by default with one-time disclosure (replaces consent gate) - #21

Merged
ActualLearner merged 1 commit into
mainfrom
disclosure-model
Aug 24, 2026
Merged

ActualLearner merged 1 commit into
mainfrom
disclosure-model

Conversation

@ActualLearner

Copy link
Copy Markdown
Owner

Why

Competitive analysis of the Neovim habit/efficiency category and data-collecting dev tools (full evidence in docs/research/competitive-analysis.md):

  • No Neovim plugin asks consent for local observation — hardtime.nvim (3.8k★) logs key usage with only a casual log-path mention; keymap-stats collects with no wording at all.
  • Local-only tools skip consent entirely (ActivityWatch): consent protects against data leaving the machine, and KeyCoach never transmits (ADR 0001).
  • The Neovim community's strict opt-in norm applies to remote telemetry, which doesn't apply here.
  • Our 3-step consent walkthrough was the largest install-friction item and had no peer in the category.

What

  • Tracking starts on setup by default; a fresh install shows a one-time disclosure notice (what is observed, nothing leaves the machine, how to pause).
  • Opt-outs preserved in order of permanence: :KeyCoachPause → :KeyCoachClear → enabled = false → stored consent refusal (honored until :KeyCoachEnable).
  • Removed: the three-step walkthrough, the KC setup statusline state, the onboarding module.
  • Mappings file now defaults to stdpath("config")/lua/keycoach_mappings.lua.
  • Product spec, help doc, README, and QA checklist updated to the disclosure model.

Test plan

  • 97 tests pass, StyLua clean. New tests: tracks-by-default with defaulted mappings file; stored-refusal honored until re-enable; fresh-install smoke now asserts tracking + disclosure model.

…fault

Competitive research (docs/research/competitive-analysis.md) shows no
Neovim plugin gates local observation behind consent: hardtime and
keymap-stats observe locally without asking, and local-only tools like
ActivityWatch treat consent as unnecessary when nothing transmits. The
Neovim community's strictness is about remote telemetry, which KeyCoach
has none of.

Tracking now starts on setup by default. A fresh install shows a one-time
disclosure notice (what is observed, nothing leaves the machine, how to
pause). The three-step walkthrough and the KC setup statusline state are
removed; the mappings file defaults to
stdpath("config")/lua/keycoach_mappings.lua and is loaded by KeyCoach
itself.

Opt-outs preserved in order of permanence: :KeyCoachPause, :KeyCoachClear,
enabled = false, and a stored consent refusal keeps KeyCoach disabled
until :KeyCoachEnable. Product spec, help doc, README, and QA checklist
updated to the disclosure model.
@coderabbitai

coderabbitai Bot commented Aug 24, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: b067ccb4-5eda-42af-b5a3-b63299f276a2


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ActualLearner
ActualLearner merged commit 7f7830a into main Aug 24, 2026
4 checks passed
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.

1 participant