Skip to content

Implement Privacy-Conscious Defaults#671

Open
sempervictus wants to merge 1 commit intostakpak:mainfrom
sempervictus:feat/sovereign_defaults
Open

Implement Privacy-Conscious Defaults#671
sempervictus wants to merge 1 commit intostakpak:mainfrom
sempervictus:feat/sovereign_defaults

Conversation

@sempervictus
Copy link
Copy Markdown

Enforce user opt-in for the significant data collection performed. Relevant to GDPR, CCPA, etc. There's no need to collect this much information about users and their activity unless they elect to have that information collected.

All external communications now require explicit opt-in via
environment variables as opposed to requiring users to find and
explicitly apply opt-outs from data collection. Relevant for GRC
concerns such as GDPR and other regional privacy regulations as
well as basic user-retention/adoption - adress sentiment concern.

Summary:
- Auto-update checks blocked by default (requires
`STAKPAK_ENABLE_UPDATES=1`)
- Machine fingerprinting blocked by default (requires
`STAKPAK_GENERATE_MACHINE_ID=1`)
- Telemetry payload fields blocked individually (requires
`STAKPAK_ENABLE_TELEMETRY=1` + per-field opts)
- Fixed interactive mode telemetry bypass
(`collect_telemetry.unwrap_or(false)`)

Privacy Impact:
- Zero external calls unless user explicitly opts in
- No persistent machine identification without consent
- Granular control over telemetry data fields
- Sovereign workflow enforced by default
@kajogo777 kajogo777 requested a review from ahmedhesham6 March 27, 2026 22:27
@ahmedhesham6
Copy link
Copy Markdown
Collaborator

@sempervictus Thanks for the PR! I like the change. However, it includes two unrelated changes — could we split them into separate PRs so each one stays single-scoped

@sempervictus
Copy link
Copy Markdown
Author

@ahmedhesham6 - happy to amend. What's out of scope? The two commits are intended to enable use for the all too popular "sovereign inference" use case.

@ahmedhesham6
Copy link
Copy Markdown
Collaborator

@sempervictus I mean the addition of the Rulebook URL its out of this scope

@sempervictus sempervictus force-pushed the feat/sovereign_defaults branch from 88aaaf4 to c1aad7d Compare March 31, 2026 06:59
@sempervictus
Copy link
Copy Markdown
Author

thanks @ahmedhesham6 - split out into #678

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.

2 participants